aboutsummaryrefslogtreecommitdiff
path: root/tests/notification-fixture.h
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/notification-fixture.h
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/notification-fixture.h')
-rw-r--r--tests/notification-fixture.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/notification-fixture.h b/tests/notification-fixture.h
index 739a1fc..f94dd69 100644
--- a/tests/notification-fixture.h
+++ b/tests/notification-fixture.h
@@ -1,5 +1,6 @@
/*
* Copyright 2014-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>
*/
#pragma once
@@ -112,11 +114,11 @@ protected:
appt.end = christmas.end_of_day();
appt.alarms.push_back(ayatana::indicator::datetime::Alarm{"Ho Ho Ho!", CALENDAR_DEFAULT_SOUND, appt.begin});
- // init an Ubuntu Alarm
+ // init an Alarm
ualarm.color = "red";
ualarm.summary = "Wakeup";
ualarm.uid = "E4B57D50247291478ED31DED17FF0A9838DED403";
- ualarm.type = ayatana::indicator::datetime::Appointment::UBUNTU_ALARM;
+ ualarm.type = ayatana::indicator::datetime::Appointment::ALARM;
const auto tomorrow = ayatana::indicator::datetime::DateTime::NowLocal().add_days(1);
ualarm.begin = tomorrow;
ualarm.end = tomorrow;