aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndrea Azzarone <azzaronea@gmail.com>2018-03-26 21:00:25 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-03-26 21:00:25 +0000
commitf308f59f89e8b433e717a5789d905e5eebaaf03f (patch)
treeb20e21097b4c706cdf4b9fea7b9780a635c49f7b /tests
parent8fe11221b23816176f205fdceb0c5ba5de2904de (diff)
downloadayatana-indicator-datetime-f308f59f89e8b433e717a5789d905e5eebaaf03f.tar.gz
ayatana-indicator-datetime-f308f59f89e8b433e717a5789d905e5eebaaf03f.tar.bz2
ayatana-indicator-datetime-f308f59f89e8b433e717a5789d905e5eebaaf03f.zip
31-jun is not a real day.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-eds-ics-all-day-events.cpp2
-rw-r--r--tests/test-eds-ics-missing-trigger.cpp2
-rw-r--r--tests/test-eds-ics-nonrepeating-events.cpp2
-rw-r--r--tests/test-eds-ics-repeating-events.cpp2
-rw-r--r--tests/test-eds-ics-repeating-valarms.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/test-eds-ics-all-day-events.cpp b/tests/test-eds-ics-all-day-events.cpp
index 42ca2a0..c327f1a 100644
--- a/tests/test-eds-ics-all-day-events.cpp
+++ b/tests/test-eds-ics-all-day-events.cpp
@@ -51,7 +51,7 @@ TEST_F(VAlarmFixture, MultipleAppointments)
// make a planner that looks at the first half of 2015 in EDS
auto planner = std::make_shared<SimpleRangePlanner>(engine, tz);
const DateTime range_begin {gtz, 2015,1, 1, 0, 0, 0.0};
- const DateTime range_end {gtz, 2015,6,31,23,59,59.5};
+ const DateTime range_end {gtz, 2015,6,30,23,59,59.5};
planner->range().set(std::make_pair(range_begin, range_end));
// give EDS a moment to load
diff --git a/tests/test-eds-ics-missing-trigger.cpp b/tests/test-eds-ics-missing-trigger.cpp
index 2b53c31..5a65099 100644
--- a/tests/test-eds-ics-missing-trigger.cpp
+++ b/tests/test-eds-ics-missing-trigger.cpp
@@ -51,7 +51,7 @@ TEST_F(VAlarmFixture, MissingTriggers)
// make a planner that looks at the first half of 2015 in EDS
auto planner = std::make_shared<SimpleRangePlanner>(engine, tz);
const DateTime range_begin {gtz, 2015,1, 1, 0, 0, 0.0};
- const DateTime range_end {gtz, 2015,6,31,23,59,59.5};
+ const DateTime range_end {gtz, 2015,6,30,23,59,59.5};
planner->range().set(std::make_pair(range_begin, range_end));
// give EDS a moment to load
diff --git a/tests/test-eds-ics-nonrepeating-events.cpp b/tests/test-eds-ics-nonrepeating-events.cpp
index 8dcc970..9c60fab 100644
--- a/tests/test-eds-ics-nonrepeating-events.cpp
+++ b/tests/test-eds-ics-nonrepeating-events.cpp
@@ -51,7 +51,7 @@ TEST_F(VAlarmFixture, MultipleAppointments)
// make a planner that looks at the first half of 2015 in EDS
auto planner = std::make_shared<SimpleRangePlanner>(engine, tz);
const DateTime range_begin {gtz, 2015,1, 1, 0, 0, 0.0};
- const DateTime range_end {gtz, 2015,6,31,23,59,59.5};
+ const DateTime range_end {gtz, 2015,6,30,23,59,59.5};
planner->range().set(std::make_pair(range_begin, range_end));
// give EDS a moment to load
diff --git a/tests/test-eds-ics-repeating-events.cpp b/tests/test-eds-ics-repeating-events.cpp
index 26f25ac..f95176a 100644
--- a/tests/test-eds-ics-repeating-events.cpp
+++ b/tests/test-eds-ics-repeating-events.cpp
@@ -51,7 +51,7 @@ TEST_F(VAlarmFixture, MultipleAppointments)
// make a planner that looks at the first half of 2015 in EDS
auto planner = std::make_shared<SimpleRangePlanner>(engine, tz);
const DateTime range_begin {gtz, 2015,1, 1, 0, 0, 0.0};
- const DateTime range_end {gtz, 2015,6,31,23,59,59.5};
+ const DateTime range_end {gtz, 2015,6,30,23,59,59.5};
planner->range().set(std::make_pair(range_begin, range_end));
// give EDS a moment to load
diff --git a/tests/test-eds-ics-repeating-valarms.cpp b/tests/test-eds-ics-repeating-valarms.cpp
index 0ce1433..6ba3e7a 100644
--- a/tests/test-eds-ics-repeating-valarms.cpp
+++ b/tests/test-eds-ics-repeating-valarms.cpp
@@ -51,7 +51,7 @@ TEST_F(VAlarmFixture, MultipleAppointments)
// make a planner that looks at the first half of 2015 in EDS
auto planner = std::make_shared<SimpleRangePlanner>(engine, tz);
const DateTime range_begin {gtz, 2015,1, 1, 0, 0, 0.0};
- const DateTime range_end {gtz, 2015,6,31,23,59,59.5};
+ const DateTime range_end {gtz, 2015,6,30,23,59,59.5};
planner->range().set(std::make_pair(range_begin, range_end));
// give EDS a moment to load