aboutsummaryrefslogtreecommitdiff
path: root/tests/test-eds-ics-non-attending-alarms.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-eds-ics-non-attending-alarms.cpp')
-rw-r--r--tests/test-eds-ics-non-attending-alarms.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/test-eds-ics-non-attending-alarms.cpp b/tests/test-eds-ics-non-attending-alarms.cpp
index c2c7933..796dd2d 100644
--- a/tests/test-eds-ics-non-attending-alarms.cpp
+++ b/tests/test-eds-ics-non-attending-alarms.cpp
@@ -81,23 +81,6 @@ TEST_F(VAlarmFixture, NonAttendingEvent)
const auto appts = planner->appointments().get();
ASSERT_EQ(0, appts.size());
- /*
- // now let's try this out with AlarmQueue...
- // hook the planner up to a SimpleAlarmQueue and confirm that it triggers for each of the reminders
- auto mock_clock = std::make_shared<MockClock>(range_begin);
- std::shared_ptr<Clock> clock = mock_clock;
- std::shared_ptr<WakeupTimer> wakeup_timer = std::make_shared<MockWakeupTimer>(clock);
- auto alarm_queue = std::make_shared<SimpleAlarmQueue>(clock, planner, wakeup_timer);
- int triggered_count = 0;
- alarm_queue->alarm_reached().connect([&triggered_count, appt](const Appointment&, const Alarm& active_alarm) {
- EXPECT_TRUE(std::find(appt.alarms.begin(), appt.alarms.end(), active_alarm) != appt.alarms.end());
- ++triggered_count;
- });
- for (auto now=range_begin; now<range_end; now+=std::chrono::minutes{1})
- mock_clock->set_localtime(now);
- EXPECT_EQ(appt.alarms.size(), triggered_count);
- */
-
// cleanup
g_time_zone_unref(gtz);
}