diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-07-18 05:35:40 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-07-18 05:35:40 +0200 |
commit | e246fe0945c3e5b99b1aa0ed3cfb77c6a08ca01a (patch) | |
tree | 11bf16345d986ad0f098987b004093be80f0d890 /tests/test-service.cc | |
parent | 11ee7a561c21b7ea6446eb9a15001b264d1c05e6 (diff) | |
download | ayatana-indicator-session-e246fe0945c3e5b99b1aa0ed3cfb77c6a08ca01a.tar.gz ayatana-indicator-session-e246fe0945c3e5b99b1aa0ed3cfb77c6a08ca01a.tar.bz2 ayatana-indicator-session-e246fe0945c3e5b99b1aa0ed3cfb77c6a08ca01a.zip |
Provide to 'Help' menu items. One for Distro Help, one for Desktop Help.
Diffstat (limited to 'tests/test-service.cc')
-rw-r--r-- | tests/test-service.cc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/test-service.cc b/tests/test-service.cc index 7dae887..ddb02d6 100644 --- a/tests/test-service.cc +++ b/tests/test-service.cc @@ -383,9 +383,14 @@ TEST_F (ServiceTest, About) test_simple_action ("about"); } -TEST_F (ServiceTest, Help) +TEST_F (ServiceTest, DesktopHelp) { - test_simple_action ("help"); + test_simple_action ("desktop_help"); +} + +TEST_F (ServiceTest, DistroHelp) +{ + test_simple_action ("distro_help"); } TEST_F (ServiceTest, Hibernate) @@ -693,7 +698,8 @@ TEST_F (ServiceTest, LockdownUserSwitchingAndLockScreen) TEST_F (ServiceTest, DefaultMenuItems) { ASSERT_TRUE (find_menu_item_for_action ("indicator.about", NULL, NULL)); - ASSERT_TRUE (find_menu_item_for_action ("indicator.help", NULL, NULL)); + ASSERT_TRUE (find_menu_item_for_action ("indicator.desktop_help", NULL, NULL)); + ASSERT_TRUE (find_menu_item_for_action ("indicator.distro_help", NULL, NULL)); ASSERT_TRUE (find_menu_item_for_action ("indicator.settings", NULL, NULL)); ASSERT_TRUE (find_menu_item_for_action ("indicator.switch-to-screensaver", NULL, NULL)); ASSERT_TRUE (find_menu_item_for_action ("indicator.switch-to-guest", NULL, NULL)); |