aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-test.cc
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-22 23:07:30 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-22 23:07:30 +0000
commit13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc (patch)
tree91d4d03a4980df9a072a371578c7c1993742e838 /tests/indicator-test.cc
parent007ee3b3b425a31e31260c62baf789407bc8b54a (diff)
downloadayatana-indicator-sound-13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc.tar.gz
ayatana-indicator-sound-13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc.tar.bz2
ayatana-indicator-sound-13525d7b0451f0a9ca7b73e83e2f374fbfb7c1bc.zip
Fork from Ubuntu's indicator-sound.
Diffstat (limited to 'tests/indicator-test.cc')
-rw-r--r--tests/indicator-test.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/indicator-test.cc b/tests/indicator-test.cc
index b41a1ab..faa42d0 100644
--- a/tests/indicator-test.cc
+++ b/tests/indicator-test.cc
@@ -28,7 +28,7 @@ class IndicatorTest : public IndicatorFixture
{
protected:
IndicatorTest (void) :
- IndicatorFixture(INDICATOR_SOUND_SERVICE_BINARY, "com.canonical.indicator.sound")
+ IndicatorFixture(INDICATOR_SOUND_SERVICE_BINARY, "org.ayatana.indicator.sound")
{
}
@@ -65,10 +65,10 @@ protected:
TEST_F(IndicatorTest, PhoneMenu) {
- setMenu("/com/canonical/indicator/sound/phone");
+ setMenu("/org/ayatana/indicator/sound/phone");
EXPECT_EVENTUALLY_MENU_ATTRIB(std::vector<int>({0}), "action", "indicator.root");
- EXPECT_MENU_ATTRIB({0}, "x-canonical-type", "com.canonical.indicator.root");
+ EXPECT_MENU_ATTRIB({0}, "x-canonical-type", "org.ayatana.indicator.root");
EXPECT_MENU_ATTRIB({0}, "x-canonical-scroll-action", "indicator.scroll");
EXPECT_MENU_ATTRIB({0}, "x-canonical-secondary-action", "indicator.mute");
@@ -80,10 +80,10 @@ TEST_F(IndicatorTest, PhoneMenu) {
}
TEST_F(IndicatorTest, DesktopMenu) {
- setMenu("/com/canonical/indicator/sound/desktop");
+ setMenu("/org/ayatana/indicator/sound/desktop");
EXPECT_MENU_ATTRIB({0}, "action", "indicator.root");
- EXPECT_MENU_ATTRIB({0}, "x-canonical-type", "com.canonical.indicator.root");
+ EXPECT_MENU_ATTRIB({0}, "x-canonical-type", "org.ayatana.indicator.root");
EXPECT_MENU_ATTRIB({0}, "x-canonical-scroll-action", "indicator.scroll");
EXPECT_MENU_ATTRIB({0}, "x-canonical-secondary-action", "indicator.mute");
@@ -95,7 +95,7 @@ TEST_F(IndicatorTest, DesktopMenu) {
}
TEST_F(IndicatorTest, BaseActions) {
- setActions("/com/canonical/indicator/sound");
+ setActions("/org/ayatana/indicator/sound");
ASSERT_ACTION_EXISTS("root");
ASSERT_ACTION_STATE_TYPE("root", G_VARIANT_TYPE("a{sv}"));