aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-17 08:48:07 -0600
committerTed Gould <ted@gould.cx>2015-02-17 08:48:07 -0600
commit913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd (patch)
tree4dd4f31154e28f799fed4f7f7da7111915914944 /tests/CMakeLists.txt
parent1b0c78a1bd4237a920a569a64efe6bd006e4a9ca (diff)
parent0b6f800a6e99e6485508aef14f666a7aa51a2f6d (diff)
downloadayatana-indicator-sound-913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd.tar.gz
ayatana-indicator-sound-913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd.tar.bz2
ayatana-indicator-sound-913cb4a6496bc2d9dcb5579c3925c7eab92ee7bd.zip
Grabbing the notification mock
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 38a76ae..6e30bf5 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -65,6 +65,14 @@ vala_add(vala-mocks
media-player-mock.vala
)
+vala_add(vala-mocks
+ media-player-list-mock.vala
+)
+
+vala_add(vala-mocks
+ volume-control-mock.vala
+)
+
vala_finish(vala-mocks
SOURCES
vala_mocks_VALA_SOURCES
@@ -184,6 +192,24 @@ target_link_libraries (
add_test(sound-menu-test sound-menu-test)
###########################
+# Notification Test
+###########################
+
+include_directories(${CMAKE_SOURCE_DIR}/src)
+add_executable (notifications-test notifications-test.cc)
+target_link_libraries (
+ notifications-test
+ indicator-sound-service-lib
+ vala-mocks-lib
+ pulse-mock
+ gtest
+ ${SOUNDSERVICE_LIBRARIES}
+ ${TEST_LIBRARIES}
+)
+
+add_test(notifications-test notifications-test)
+
+###########################
# Accounts Service User
###########################