aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-09-02 23:22:04 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-09-02 23:22:04 -0500
commit7b42ea114c18dab35129a5c98b196ff173892498 (patch)
treed1e25f464f1ddd1235a2879664d3d69488f5e5ac /tests
parentb0b9b94246fad179165cca2f4d5026409349fde0 (diff)
downloadayatana-indicator-datetime-7b42ea114c18dab35129a5c98b196ff173892498.tar.gz
ayatana-indicator-datetime-7b42ea114c18dab35129a5c98b196ff173892498.tar.bz2
ayatana-indicator-datetime-7b42ea114c18dab35129a5c98b196ff173892498.zip
update manual-test-snap's diagnostic text to reflect snooze/ok buttons
Diffstat (limited to 'tests')
-rw-r--r--tests/manual-test-snap.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/manual-test-snap.cpp b/tests/manual-test-snap.cpp
index 7d4403d..369e6cd 100644
--- a/tests/manual-test-snap.cpp
+++ b/tests/manual-test-snap.cpp
@@ -78,12 +78,12 @@ int main(int argc, const char* argv[])
g_date_time_unref(begin);
auto loop = g_main_loop_new(nullptr, false);
- auto show = [loop](const Appointment& appt){
- g_message("You clicked 'show' for appt url '%s'", appt.url.c_str());
+ auto on_snooze = [loop](const Appointment& appt){
+ g_message("You clicked 'Snooze' for appt url '%s'", appt.url.c_str());
g_idle_add(quit_idle, loop);
};
- auto dismiss = [loop](const Appointment&){
- g_message("You clicked 'dismiss'");
+ auto on_ok = [loop](const Appointment&){
+ g_message("You clicked 'OK'");
g_idle_add(quit_idle, loop);
};
@@ -97,7 +97,7 @@ int main(int argc, const char* argv[])
auto notification_engine = std::make_shared<uin::Engine>("indicator-datetime-service");
Snap snap (notification_engine, settings);
- snap(a, show, dismiss);
+ snap(a, on_snooze, on_ok);
g_main_loop_run(loop);
g_main_loop_unref(loop);