~phablet-team/telephony-service/trunk

« back to all changes in this revision

Viewing changes to tests/libtelephonyservice/CMakeLists.txt

Make it possible to remove call notifications from the messaging menu Fixes: #1455408
Approved by: PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
add_executable(ToneGeneratorMock ToneGeneratorMock.cpp)
15
15
qt5_use_modules(ToneGeneratorMock Core DBus)
16
16
 
 
17
add_executable(IndicatorMock IndicatorMock.cpp)
 
18
qt5_use_modules(IndicatorMock Core DBus)
 
19
 
17
20
generate_test(GreeterContactsTest USE_DBUS
18
21
              SOURCES GreeterContactsTest.cpp ${LIBTELEPHONYSERVICE_DIR}/greetercontacts.cpp
19
22
              QT5_MODULES Contacts Core DBus Test
30
33
              WAIT_FOR com.Nokia.Telephony.Tones)
31
34
add_dependencies(ToneGeneratorTest ToneGeneratorMock)
32
35
 
 
36
generate_test(CallNotificationTest USE_DBUS
 
37
              SOURCES CallNotificationTest.cpp ${LIBTELEPHONYSERVICE_DIR}/callnotification.cpp
 
38
              QT5_MODULES Core DBus Test
 
39
              TASKS --task ${CMAKE_CURRENT_BINARY_DIR}/IndicatorMock --task-name indicator --ignore-return
 
40
              WAIT_FOR com.canonical.TelephonyServiceIndicator)
 
41
 
33
42
generate_test(ContactUtilsTest SOURCES ContactUtilsTest.cpp QT5_MODULES Contacts Core Test LIBRARIES telephonyservice USE_UI)
34
43
generate_test(PhoneUtilsTest SOURCES PhoneUtilsTest.cpp LIBRARIES telephonyservice USE_UI)
35
44