blob: 5c0dbbdcd10c326c239ee6184ce684a68fb95382 (
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
|
include_directories(
${GMOCK_INCLUDE_DIRECTORY}
${LOG4CXX_INCLUDE_DIRECTORY}
${CMAKE_SOURCE_DIR}/src/components/utils/include
./include
${CMAKE_SOURCE_DIR}/src/components/protocol_handler/include
${SecurityManagerIncludeDir}
${CMAKE_SOURCE_DIR}/src/components/config_profile/include
)
set(LIBRARIES
gtest
gtest_main
gmock
gmock_main
ProtocolHandler
connectionHandler
Utils
ConfigProfile
${RTLIB}
ProtocolLibrary
)
set(SOURCES
src/protocol_handler_tm_test.cc
src/incoming_data_handler_test.cc
src/protocol_header_validator_test.cc
)
create_test(test_ProtocolHandler "${SOURCES}" "${LIBRARIES}")
add_library(test_ProtocolHandlerTest ${SOURCES})
|