aboutsummaryrefslogtreecommitdiff
path: root/tests/sound-menu.cc
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-09-20 14:54:39 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-18 13:39:52 +0200
commit4e0b2a64bed8918ff09012ff30118f9ae0a8d68b (patch)
treeadb46b9ef11b8101ae8f014043e8eec0b959f9ad /tests/sound-menu.cc
parent8e8f12469b4998d998cf9a7f969c6f970dbb6206 (diff)
downloadayatana-indicator-sound-4e0b2a64bed8918ff09012ff30118f9ae0a8d68b.tar.gz
ayatana-indicator-sound-4e0b2a64bed8918ff09012ff30118f9ae0a8d68b.tar.bz2
ayatana-indicator-sound-4e0b2a64bed8918ff09012ff30118f9ae0a8d68b.zip
Update Ayatana IDO names
Diffstat (limited to 'tests/sound-menu.cc')
-rw-r--r--tests/sound-menu.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/sound-menu.cc b/tests/sound-menu.cc
index 587d47f..42acdde 100644
--- a/tests/sound-menu.cc
+++ b/tests/sound-menu.cc
@@ -92,10 +92,10 @@ class SoundMenuTest : public ::testing::Test
/* Player display */
verify_item_attribute(section, 0, "action", g_variant_new_string("indicator.player-id"));
- verify_item_attribute(section, 0, "x-ayatana-type", g_variant_new_string("org.ayatana.unity.media-player"));
+ verify_item_attribute(section, 0, "x-ayatana-type", g_variant_new_string("org.ayatana.indicator.media-player"));
/* Player control */
- verify_item_attribute(section, 1, "x-ayatana-type", g_variant_new_string("org.ayatana.unity.playback-item"));
+ verify_item_attribute(section, 1, "x-ayatana-type", g_variant_new_string("org.ayatana.indicator.playback-item"));
//verify_item_attribute(section, 1, "x-ayatana-play-action", g_variant_new_string(""));
if (!canPlay) {
verify_item_attribute_is_not_set(section, 1, "x-ayatana-play-action", G_VARIANT_TYPE_STRING);
@@ -164,10 +164,10 @@ TEST_F(SoundMenuTest, AddRemovePlayer) {
/* Player display */
verify_item_attribute(section, 0, "action", g_variant_new_string("indicator.player-id"));
- verify_item_attribute(section, 0, "x-ayatana-type", g_variant_new_string("org.ayatana.unity.media-player"));
+ verify_item_attribute(section, 0, "x-ayatana-type", g_variant_new_string("org.ayatana.indicator.media-player"));
/* Player control */
- verify_item_attribute(section, 1, "x-ayatana-type", g_variant_new_string("org.ayatana.unity.playback-item"));
+ verify_item_attribute(section, 1, "x-ayatana-type", g_variant_new_string("org.ayatana.indicator.playback-item"));
verify_item_attribute(section, 1, "x-ayatana-play-action", g_variant_new_string("indicator.play.player-id"));
verify_item_attribute(section, 1, "x-ayatana-next-action", g_variant_new_string("indicator.next.player-id"));
verify_item_attribute(section, 1, "x-ayatana-previous-action", g_variant_new_string("indicator.previous.player-id"));