diff options
| author | Robert Tari <robert@tari.in> | 2025-02-06 13:07:38 +0100 |
|---|---|---|
| committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2025-03-12 08:54:20 +0100 |
| commit | e87e66518761d407e18461dd942e94989bb3b2ac (patch) | |
| tree | affdf4b29be4ed6517b59a3c5d8c4fce675a6d1f /tests/test-eds-ics-all-day-events.cpp | |
| parent | f1f745daecd0912e17f30626309d412ad23cf47e (diff) | |
| download | ayatana-indicator-datetime-e87e66518761d407e18461dd942e94989bb3b2ac.tar.gz ayatana-indicator-datetime-e87e66518761d407e18461dd942e94989bb3b2ac.tar.bz2 ayatana-indicator-datetime-e87e66518761d407e18461dd942e94989bb3b2ac.zip | |
Add mkCal backend
Diffstat (limited to 'tests/test-eds-ics-all-day-events.cpp')
| -rw-r--r-- | tests/test-eds-ics-all-day-events.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test-eds-ics-all-day-events.cpp b/tests/test-eds-ics-all-day-events.cpp index 0fa40fd..e38c7c7 100644 --- a/tests/test-eds-ics-all-day-events.cpp +++ b/tests/test-eds-ics-all-day-events.cpp @@ -80,7 +80,11 @@ TEST_F(VAlarmFixture, MultipleAppointments) // what we expect to get... Appointment expected_appt; +#ifndef LOMIRI_FEATURES_ENABLED expected_appt.uid = "20150521T111538Z-7449-1000-3572-0@ghidorah"; +#else + expected_appt.uid = "51340540-a924-468e-b3ee-0c0f222cd0f8"; +#endif expected_appt.summary = "Memorial Day"; expected_appt.begin = DateTime{gtz,2015,5,25,0,0,0}; expected_appt.end = DateTime{gtz,2015,5,26,0,0,0}; @@ -98,7 +102,11 @@ TEST_F(VAlarmFixture, MultipleAppointments) EXPECT_PRED3([](auto sColourIn, auto sColourExpected1, auto sColourExpected2) { return sColourIn == sColourExpected1 || sColourIn == sColourExpected2; +#ifndef LOMIRI_FEATURES_ENABLED }, appt.color, "#becedd", "#62a0ea"); +#else + }, appt.color, "#0000FF", ""); +#endif // cleanup g_time_zone_unref(gtz); |
