diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2016-04-06 10:37:28 -0300 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-07-05 23:28:08 +0200 |
commit | 272067d4a6aa76117b23b231b3b1888df54ce880 (patch) | |
tree | 4b0ef389d45985349a65fd6e856c033a76d178b8 /tests | |
parent | dc904d41a4465decc3a96d9748c59415fb36c1c9 (diff) | |
download | ayatana-indicator-datetime-272067d4a6aa76117b23b231b3b1888df54ce880.tar.gz ayatana-indicator-datetime-272067d4a6aa76117b23b231b3b1888df54ce880.tar.bz2 ayatana-indicator-datetime-272067d4a6aa76117b23b231b3b1888df54ce880.zip |
Generate instance of object to get individual alarm information.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-eds-ics-non-attending-alarms.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-eds-ics-non-attending-alarms.cpp b/tests/test-eds-ics-non-attending-alarms.cpp index 227ae7f..efbb5fd 100644 --- a/tests/test-eds-ics-non-attending-alarms.cpp +++ b/tests/test-eds-ics-non-attending-alarms.cpp @@ -80,7 +80,9 @@ TEST_F(VAlarmFixture, NonAttendingEvent) // the planner should match what we've got in the calendar.ics file const auto appts = planner->appointments().get(); - ASSERT_EQ(2, appts.size()); + EXPECT_EQ(2, appts.size()); + EXPECT_EQ(appts[0].begin, DateTime(gtz, 2016, 4, 4, 16, 0, 0)); + EXPECT_EQ(appts[1].begin, DateTime(gtz, 2016, 4, 6, 16, 0, 0)); // cleanup g_time_zone_unref(gtz); |