diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2025-04-01 14:15:39 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2025-04-01 14:15:39 +0200 |
commit | 8493897dd48254f2bb40d5fdfe80d6031f891ce1 (patch) | |
tree | 794164306628f15d1d7a1ae0612215c366affaa8 /tests/test-eds-ics-repeating-events.cpp | |
parent | f1f745daecd0912e17f30626309d412ad23cf47e (diff) | |
parent | be6251cb3234b292cbc3bb9b661d6a0777115f17 (diff) | |
download | ayatana-indicator-datetime-8493897dd48254f2bb40d5fdfe80d6031f891ce1.tar.gz ayatana-indicator-datetime-8493897dd48254f2bb40d5fdfe80d6031f891ce1.tar.bz2 ayatana-indicator-datetime-8493897dd48254f2bb40d5fdfe80d6031f891ce1.zip |
Merge branch 'tari01-pr/mkcal-backend'
Attributes GH PR #135: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/135
Diffstat (limited to 'tests/test-eds-ics-repeating-events.cpp')
-rw-r--r-- | tests/test-eds-ics-repeating-events.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/test-eds-ics-repeating-events.cpp b/tests/test-eds-ics-repeating-events.cpp index a570d0f..701f8da 100644 --- a/tests/test-eds-ics-repeating-events.cpp +++ b/tests/test-eds-ics-repeating-events.cpp @@ -1,6 +1,6 @@ /* * Copyright 2015 Canonical Ltd. - * Copyright 2021-2024 Robert Tari + * Copyright 2021-2025 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 @@ -80,7 +80,11 @@ TEST_F(VAlarmFixture, MultipleAppointments) // what we expect to get... Appointment expected_appt; +#ifndef LOMIRI_FEATURES_ENABLED expected_appt.uid = "20150507T211449Z-4262-32011-1418-1@lomiri-phablet"; +#else + expected_appt.uid = "840ab899-1b0e-4697-9514-dcd336a5e125"; +#endif expected_appt.summary = "Alarm"; std::array<Alarm,8> expected_alarms = { Alarm({"Alarm", "file://" ALARM_DEFAULT_SOUND, DateTime(gtz,2015,5, 8,16,40,0)}), @@ -106,7 +110,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 |