From 4b695bacf20b7247f6b16483ede5e5d8b51dd355 Mon Sep 17 00:00:00 2001 From: charles kerr Date: Sat, 19 Dec 2015 16:01:46 -0600 Subject: move max_volume into a reusable 'options' class --- tests/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index bf0e051..c11e288 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -71,6 +71,10 @@ vala_add(vala-mocks media-player-list-mock.vala ) +vala_add(vala-mocks + options-mock.vala +) + vala_add(vala-mocks volume-control-mock.vala ) @@ -169,6 +173,7 @@ add_executable (volume-control-test volume-control-test.cc gschemas.compiled) target_link_libraries ( volume-control-test indicator-sound-service-lib + vala-mocks-lib pulse-mock gtest-static ${TEST_LIBRARIES} -- cgit v1.2.3 From 9e54db50c17504289792ee12e4d785a69f2742ec Mon Sep 17 00:00:00 2001 From: charles kerr Date: Sat, 19 Dec 2015 21:11:09 -0600 Subject: instantiate volume-warning and pass it to the service --- tests/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index c11e288..7099d20 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -79,6 +79,10 @@ vala_add(vala-mocks volume-control-mock.vala ) +vala_add(vala-mocks + volume-warning-mock.vala +) + vala_finish(vala-mocks SOURCES vala_mocks_VALA_SOURCES -- cgit v1.2.3 From c63a32007e7c3083131ceba62368d6e83c5b85c8 Mon Sep 17 00:00:00 2001 From: charles kerr Date: Thu, 31 Dec 2015 15:26:44 -0600 Subject: re-add notifications-test to tests --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7099d20..e69c01e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -218,7 +218,7 @@ target_link_libraries ( ${TEST_LIBRARIES} ) -#add_test(notifications-test notifications-test) +add_test(notifications-test notifications-test) ########################### # Accounts Service User -- cgit v1.2.3 From c20038f396bfed592604bb3ab1ddb812717aa832 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 6 Jan 2016 23:32:06 -0600 Subject: re-enable notifications-test --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7099d20..e69c01e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -218,7 +218,7 @@ target_link_libraries ( ${TEST_LIBRARIES} ) -#add_test(notifications-test notifications-test) +add_test(notifications-test notifications-test) ########################### # Accounts Service User -- cgit v1.2.3