2016-01-26 10:33:53 -08:00
|
|
|
include_directories(../external/catch/single_include .)
|
|
|
|
|
|
|
|
set(HEADERS
|
2016-01-21 10:11:19 -08:00
|
|
|
util/index_helpers.hpp
|
2016-01-26 10:33:53 -08:00
|
|
|
util/test_file.hpp
|
|
|
|
)
|
2016-01-21 16:15:25 -08:00
|
|
|
|
|
|
|
set(SOURCES
|
2016-01-21 10:11:19 -08:00
|
|
|
collection_change_indices.cpp
|
2016-01-21 16:15:25 -08:00
|
|
|
index_set.cpp
|
2016-01-21 10:11:19 -08:00
|
|
|
list.cpp
|
2016-01-21 16:15:25 -08:00
|
|
|
main.cpp
|
2016-01-26 10:33:53 -08:00
|
|
|
parser.cpp
|
2016-02-26 09:49:07 -08:00
|
|
|
results.cpp
|
2016-02-25 08:45:57 -08:00
|
|
|
transaction_log_parsing.cpp
|
2016-01-26 10:33:53 -08:00
|
|
|
util/test_file.cpp
|
|
|
|
)
|
2016-01-21 16:15:25 -08:00
|
|
|
|
2016-01-26 10:33:53 -08:00
|
|
|
add_executable(tests ${SOURCES} ${HEADERS})
|
2016-01-06 15:52:12 -08:00
|
|
|
target_link_libraries(tests realm-object-store)
|
|
|
|
|
2016-05-06 14:00:44 -07:00
|
|
|
create_coverage_target(generate-coverage tests)
|
2016-02-18 17:21:08 -08:00
|
|
|
|
2016-01-06 15:52:12 -08:00
|
|
|
add_custom_target(run-tests USES_TERMINAL DEPENDS tests COMMAND ./tests)
|
2016-05-10 14:38:26 -07:00
|
|
|
|
|
|
|
add_subdirectory(notifications-fuzzer)
|