summaryrefslogtreecommitdiff
path: root/test/components/connection_handler/CMakeLists.txt
blob: 9e0a8ba97da33076f56e3c1fc0ca5d73fe9fa74a (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
include_directories (
  ${LOG4CXX_INCLUDE_DIRECTORY}
  ${GMOCK_INCLUDE_DIRECTORY}
  ./include
  ${CMAKE_SOURCE_DIR}/src/components/connection_handler/include
  ${CMAKE_SOURCE_DIR}/src/components/protocol_handler/include
  ${CMAKE_SOURCE_DIR}/src/components/utils/include
  ../../../src/components/utils/include
  ../../../src/components/config_profile/include
  ../security_manager/include
)

set (LIBRARIES
    gtest
    gtest_main
    gmock
    gmock_main
    ProtocolHandler
    connectionHandler
    Utils
    ConfigProfile
    ProtocolLibrary
)

set (SOURCES
  ./src/connection_handler_impl_test.cc
  ./src/connection_test.cc
  ./src/heart_beat_monitor_test.cc
)

create_test("test_ConnectionHandler" "${SOURCES}" "${LIBRARIES}")

add_library("test_ConnectionHandlerTest" ${SOURCES})