diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-07-30 10:54:56 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-07-30 10:54:56 +0000 |
commit | a2f643c295b666f9913a01a43592ce61fbb023ee (patch) | |
tree | 5399ee6853f1fba884c3f303be473d58cf6ae7a9 /tests/test-exporter.cpp | |
parent | 18c9f881e5eb01b157048d083515e59ebdd08afa (diff) | |
parent | a7e8b219e8a9301249301cff6fbe989670d4e312 (diff) | |
download | ayatana-indicator-datetime-a2f643c295b666f9913a01a43592ce61fbb023ee.tar.gz ayatana-indicator-datetime-a2f643c295b666f9913a01a43592ce61fbb023ee.tar.bz2 ayatana-indicator-datetime-a2f643c295b666f9913a01a43592ce61fbb023ee.zip |
Activate the phone's screen when an alarm is displayed. Fixes: 1340329
Approved by: Jussi Pakkanen, PS Jenkins bot
Diffstat (limited to 'tests/test-exporter.cpp')
-rw-r--r-- | tests/test-exporter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-exporter.cpp b/tests/test-exporter.cpp index e947740..2e3411a 100644 --- a/tests/test-exporter.cpp +++ b/tests/test-exporter.cpp @@ -90,7 +90,7 @@ TEST_F(ExporterFixture, Publish) wait_msec(); auto connection = g_bus_get_sync (G_BUS_TYPE_SESSION, nullptr, nullptr); - auto exported = g_dbus_action_group_get (connection, BUS_NAME, BUS_PATH); + auto exported = g_dbus_action_group_get (connection, BUS_DATETIME_NAME, BUS_DATETIME_PATH); auto names_strv = g_action_group_list_actions(G_ACTION_GROUP(exported)); // wait for the exported ActionGroup to be populated @@ -171,8 +171,8 @@ TEST_F(ExporterFixture, AlarmProperties) DatetimeAlarmProperties* proxy = nullptr; datetime_alarm_properties_proxy_new_for_bus(G_BUS_TYPE_SESSION, G_DBUS_PROXY_FLAGS_NONE, - BUS_NAME, - BUS_PATH"/AlarmProperties", + BUS_DATETIME_NAME, + BUS_DATETIME_PATH"/AlarmProperties", nullptr, on_proxy_ready, &proxy); |