aboutsummaryrefslogtreecommitdiff
path: root/tests/test-menu-appointments.cpp
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-10-28 06:06:45 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-28 08:19:49 +0200
commit0492e95dbf6a1f6285a4701379adb6b7d8553d6b (patch)
treed35fc8583d82f4825a5da9fd0ebc4a7dc9e6bb70 /tests/test-menu-appointments.cpp
parent2a52d61b410b9d294c479ad53a06fb6f830b9605 (diff)
downloadayatana-indicator-datetime-0492e95dbf6a1f6285a4701379adb6b7d8553d6b.tar.gz
ayatana-indicator-datetime-0492e95dbf6a1f6285a4701379adb6b7d8553d6b.tar.bz2
ayatana-indicator-datetime-0492e95dbf6a1f6285a4701379adb6b7d8553d6b.zip
Drop the 'ubuntu' prefix from the alarm types and functions
Diffstat (limited to 'tests/test-menu-appointments.cpp')
-rw-r--r--tests/test-menu-appointments.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/test-menu-appointments.cpp b/tests/test-menu-appointments.cpp
index 91a4b42..4d15b9f 100644
--- a/tests/test-menu-appointments.cpp
+++ b/tests/test-menu-appointments.cpp
@@ -1,5 +1,6 @@
/*
* Copyright 2016 Canonical Ltd.
+ * Copyright 2021 Robert Tari
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
@@ -15,6 +16,7 @@
*
* Authors:
* Charles Kerr <charles.kerr@canonical.com>
+ * Robert Tari <robert@tari.in>
*/
#include "glib-fixture.h"
@@ -51,7 +53,7 @@ namespace
TEST_F(MenuAppointmentFixture, DisplayEvents)
{
const auto airport = create_appointment(
- Appointment::UBUNTU_ALARM,
+ Appointment::ALARM,
"uid-airport",
"Pick Aunt Mabel up at the airport",
DateTime::Local(2016,12,24,10,0,0),
@@ -75,7 +77,7 @@ TEST_F(MenuAppointmentFixture, DisplayEvents)
);
const auto santa = create_appointment(
- Appointment::UBUNTU_ALARM,
+ Appointment::ALARM,
"uid-santa",
"Time to set out cookies and milk for Santa",
DateTime::Local(2016,12,25,1,0,0),
@@ -83,7 +85,7 @@ TEST_F(MenuAppointmentFixture, DisplayEvents)
);
const auto bike = create_appointment(
- Appointment::UBUNTU_ALARM,
+ Appointment::ALARM,
"uid-bike",
"Remember to put out the bike, it's in the garage",
DateTime::Local(2016,12,25,1,0,0),
@@ -132,7 +134,7 @@ TEST_F(MenuAppointmentFixture, DisplayEvents)
);
const auto weekday_wakeup_alarm = create_appointment(
- Appointment::UBUNTU_ALARM,
+ Appointment::ALARM,
"wakeup-alarm",
"Wake Up",
DateTime::Local(2017,1,3,6,0,0),
@@ -172,7 +174,7 @@ TEST_F(MenuAppointmentFixture, DisplayEvents)
);
const auto pub_with_pawel = create_appointment(
- Appointment::UBUNTU_ALARM,
+ Appointment::ALARM,
"uid-pawel",
"Meet Pawel at the Pub",
DateTime::Local(2017,2,4,19,0,0),