diff options
author | Ted Gould <ted@gould.cx> | 2014-04-01 23:20:15 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-04-01 23:20:15 +0000 |
commit | c5d28c44562ab8ba8b16830943d17d3f6923bbec (patch) | |
tree | 985c3e492c4dfcc561422bd69b8e19750e16377f /tests/CMakeLists.txt | |
parent | d3dbfd0e650b22ad50eafb85137d6c720538c24a (diff) | |
parent | 4204b595030f6195500100af47cd3b57038e6013 (diff) | |
download | ayatana-indicator-sound-c5d28c44562ab8ba8b16830943d17d3f6923bbec.tar.gz ayatana-indicator-sound-c5d28c44562ab8ba8b16830943d17d3f6923bbec.tar.bz2 ayatana-indicator-sound-c5d28c44562ab8ba8b16830943d17d3f6923bbec.zip |
Check the username has been gotten before using it. Fixes: 1297078
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 9b0586a..ae68c45 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -158,3 +158,26 @@ add_test(media-player-user-test-timeout media-player-user-test --gtest_filter=MediaPlayerUserTest.TimeoutTest ) +########################### +# Greeter List +########################### + +include_directories(${CMAKE_SOURCE_DIR}/src) +add_executable (greeter-list-test greeter-list.cc) +target_link_libraries ( + greeter-list-test + indicator-sound-service-lib + vala-mocks-lib + gtest + ${SOUNDSERVICE_LIBRARIES} + ${TEST_LIBRARIES} +) + +# Split tests to work around libaccountservice sucking +add_test(greeter-list-test-basic + greeter-list-test --gtest_filter=GreeterListTest.BasicObject +) +add_test(greeter-list-test-iterator + greeter-list-test --gtest_filter=GreeterListTest.BasicIterator +) + |