blob: bc2f0a1ff31a38e86f54dfce67bf77bb92a9dc0c (
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
|
include_directories (
../../../../src/components/utils/include
${GMOCK_INCLUDE_DIRECTORY}
../../../../src/components/smart_objects/include
../../../../src/components/formatters/include/
${JSONCPP_INCLUDE_DIRECTORY}
../../../../src/components/formatters/include/
)
# Libraries are the same for all SchemaItem tests
set (LIBRARIES
gtest
gtest_main
gmock
gmock_main
SmartObjects
formatters
jsoncpp
)
set (SOURCES
./test_BoolSchemaItemTest.cpp
./test_NumberSchemaItemTest.cpp
./test_StringSchemaItemTest.cpp
./test_ArraySchemaItemTest.cpp
./test_CObjectSchemaItem.cpp
./AlwaysTrueSchemaItemTest.cpp
./AlwaysFalseSchemaItemTest.cpp
)
add_library(test_SmartObjectSchema ${SOURCES})
create_test(test_SmartObjectSchemaTest "${SOURCES}" "${LIBRARIES}")
|