summaryrefslogtreecommitdiff
path: root/test/components/application_manager/CMakeLists.txt
blob: cdf43100d025615912e67a9915860cf171fecccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
############################## Subfolders #####################################
# --- Policies table test
#add_subdirectory(./policies_manager)

###############################################################################

include_directories (
  ${LOG4CXX_INCLUDE_DIRECTORY}
  ${GMOCK_INCLUDE_DIRECTORY}
  ../../../src/components/application_manager/include
  ../../../src/components/smart_objects/include
  ../../../src/components/formatters/include/
  ../../../src/components/utils/include/
  ${JSONCPP_INCLUDE_DIRECTORY}
  ${CMAKE_BINARY_DIR}/src/components/
)

set(LIBRARIES
    gtest
    gtest_main
    gmock
    gmock_main
    ApplicationManager
    formatters
    jsoncpp
    MOBILE_API
    HMI_API
    SmartObjects
    ProtocolLibrary
)

#create_test("test_APIVersionConverterV1Test" "./api_converter_v1_test.cpp" "${LIBRARIES}")
create_test("test_formatters_commands" "./formatters_commands.cc" "${LIBRARIES}")
#create_test("test_schema_factory_test" "./schema_factory_test.cc" "${LIBRARIES}")
add_library("test_FormattersCommandsTest" "./formatters_commands.cc")