~indicator-applet-developers/indicator-network/trunk.14.10

« back to all changes in this revision

Viewing changes to tests/unit/network/menuitems/CMakeLists.txt

  • Committer: CI bot
  • Author(s): Jussi Pakkanen, Antti Kaijanmäki
  • Date: 2014-05-14 11:54:41 UTC
  • mfrom: (321.3.49 indicator-network-cpp)
  • Revision ID: ps-jenkins@lists.canonical.com-20140514115441-dr7yx31kasts2z0n
C++ service using the connectivity-api. Fixes: 1223652, 1226197, 1240561, 1252801, 1276218, 1279335, 1290275

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
set(
 
3
    MENUITEMS_CPP_UNIT_TESTS_SRC
 
4
    test-access-point-item.cpp
 
5
    test-switch-item.cpp
 
6
)
 
7
 
 
8
add_executable(
 
9
    menuitems-cpp-unit-tests
 
10
    ${MENUITEMS_CPP_UNIT_TESTS_SRC}
 
11
)
 
12
 
 
13
qt5_use_modules(
 
14
    menuitems-cpp-unit-tests
 
15
    Core
 
16
    DBus
 
17
    Test
 
18
)
 
19
 
 
20
target_link_libraries(
 
21
    menuitems-cpp-unit-tests
 
22
    test-utils
 
23
    menumodel_cpp
 
24
    ${QTDBUSMOCK_LDFLAGS}
 
25
    ${QTDBUSTEST_LDFLAGS}
 
26
    ${QMENUMODEL_LDFLAGS}
 
27
    ${GIO_LDFLAGS}
 
28
    ${GTEST_LIBRARIES}
 
29
    ${GMOCK_LIBRARIES}
 
30
)
 
31
 
 
32
add_valgrind_test(
 
33
    menuitems-cpp-unit-tests
 
34
    menuitems-cpp-unit-tests
 
35
)