~xavi-garcia-mena/indicator-sound/icon-volume-zero

« back to all changes in this revision

Viewing changes to tests/CMakeLists.txt

  • Committer: CI Train Bot
  • Author(s): Ted Gould
  • Date: 2015-02-19 16:27:24 UTC
  • mfrom: (473.2.46 notification-mock)
  • Revision ID: ci-train-bot@canonical.com-20150219162724-yzhx9ev7503vwqow
Add notifications mock and tests
Approved by: Jussi Pakkanen, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
        media-player-mock.vala
66
66
)
67
67
 
 
68
vala_add(vala-mocks
 
69
        media-player-list-mock.vala
 
70
)
 
71
 
 
72
vala_add(vala-mocks
 
73
        volume-control-mock.vala
 
74
)
 
75
 
68
76
vala_finish(vala-mocks
69
77
        SOURCES
70
78
                vala_mocks_VALA_SOURCES
184
192
add_test(sound-menu-test sound-menu-test)
185
193
 
186
194
###########################
 
195
# Notification Test
 
196
###########################
 
197
 
 
198
include_directories(${CMAKE_SOURCE_DIR}/src)
 
199
add_executable (notifications-test notifications-test.cc)
 
200
target_link_libraries (
 
201
        notifications-test
 
202
        indicator-sound-service-lib
 
203
        vala-mocks-lib
 
204
        pulse-mock
 
205
        gtest
 
206
        ${SOUNDSERVICE_LIBRARIES}
 
207
        ${TEST_LIBRARIES}
 
208
)
 
209
 
 
210
add_test(notifications-test notifications-test)
 
211
 
 
212
###########################
187
213
# Accounts Service User
188
214
###########################
189
215