diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-28 08:20:13 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-10-28 08:20:13 +0200 |
commit | 97cc3bfbcba9cbbf612f4c7e04b974816adae3e2 (patch) | |
tree | d35fc8583d82f4825a5da9fd0ebc4a7dc9e6bb70 /tests/test-notification.cpp | |
parent | 2a52d61b410b9d294c479ad53a06fb6f830b9605 (diff) | |
parent | 0492e95dbf6a1f6285a4701379adb6b7d8553d6b (diff) | |
download | ayatana-indicator-datetime-97cc3bfbcba9cbbf612f4c7e04b974816adae3e2.tar.gz ayatana-indicator-datetime-97cc3bfbcba9cbbf612f4c7e04b974816adae3e2.tar.bz2 ayatana-indicator-datetime-97cc3bfbcba9cbbf612f4c7e04b974816adae3e2.zip |
Merge branch 'tari01-pr/ubuntu-alarm'
Attributes GH PR #64: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/64
Diffstat (limited to 'tests/test-notification.cpp')
-rw-r--r-- | tests/test-notification.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/test-notification.cpp b/tests/test-notification.cpp index 83a021f..80eb04c 100644 --- a/tests/test-notification.cpp +++ b/tests/test-notification.cpp @@ -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> */ #include <datetime/appointment.h> @@ -93,10 +95,10 @@ TEST_F(NotificationFixture,Notification) std::set<Appointment::Type> expected_notify_called; // do we expect the notification to show? std::set<Appointment::Type> expected_vibrate_called; // do we expect the phone to vibrate? } test_cal_disabled[] = { - { true, std::set<Appointment::Type>{ Appointment::Type::UBUNTU_ALARM, Appointment::Type::EVENT }, - std::set<Appointment::Type>{ Appointment::Type::UBUNTU_ALARM, Appointment::Type::EVENT } }, - { false, std::set<Appointment::Type>{ Appointment::Type::UBUNTU_ALARM }, - std::set<Appointment::Type>{ Appointment::Type::UBUNTU_ALARM } } + { true, std::set<Appointment::Type>{ Appointment::Type::ALARM, Appointment::Type::EVENT }, + std::set<Appointment::Type>{ Appointment::Type::ALARM, Appointment::Type::EVENT } }, + { false, std::set<Appointment::Type>{ Appointment::Type::ALARM }, + std::set<Appointment::Type>{ Appointment::Type::ALARM } } }; for (const auto& test_appt : test_appts) |