aboutsummaryrefslogtreecommitdiff
path: root/tests/test-exporter.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-03-24 16:18:12 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-03-24 16:18:12 +0000
commit45abbf3db686fd87ed5eb3eef38618ffe0eedb8a (patch)
treee23159158aaa9d0879c3571aac61ec230638186a /tests/test-exporter.cpp
parent7a6e36e548f574ba1e6ea49af63b2ce0397a848f (diff)
parentf88a1cf792c1b8786db5f447fed148fcd2166d07 (diff)
downloadayatana-indicator-datetime-45abbf3db686fd87ed5eb3eef38618ffe0eedb8a.tar.gz
ayatana-indicator-datetime-45abbf3db686fd87ed5eb3eef38618ffe0eedb8a.tar.bz2
ayatana-indicator-datetime-45abbf3db686fd87ed5eb3eef38618ffe0eedb8a.zip
Change the desktop menu's settings menuitem's label to match the spec. Fixes: 1296585
Diffstat (limited to 'tests/test-exporter.cpp')
-rw-r--r--tests/test-exporter.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/test-exporter.cpp b/tests/test-exporter.cpp
index 104fb4b..a255ef9 100644
--- a/tests/test-exporter.cpp
+++ b/tests/test-exporter.cpp
@@ -104,11 +104,14 @@ TEST_F(ExporterFixture, Publish)
names.insert(names_strv[i]);
// confirm the actions that we expect
- EXPECT_EQ(1, names.count("activate-appointment"));
- EXPECT_EQ(1, names.count("activate-desktop-settings"));
- EXPECT_EQ(1, names.count("activate-phone-clock-app"));
- EXPECT_EQ(1, names.count("activate-phone-settings"));
- EXPECT_EQ(1, names.count("activate-planner"));
+ EXPECT_EQ(1, names.count("desktop.open-alarm-app"));
+ EXPECT_EQ(1, names.count("desktop.open-appointment"));
+ EXPECT_EQ(1, names.count("desktop.open-calendar-app"));
+ EXPECT_EQ(1, names.count("desktop.open-settings-app"));
+ EXPECT_EQ(1, names.count("phone.open-alarm-app"));
+ EXPECT_EQ(1, names.count("phone.open-appointment"));
+ EXPECT_EQ(1, names.count("phone.open-calendar-app"));
+ EXPECT_EQ(1, names.count("phone.open-settings-app"));
EXPECT_EQ(1, names.count("calendar"));
EXPECT_EQ(1, names.count("desktop_greeter-header"));
EXPECT_EQ(1, names.count("desktop-header"));