diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2015-04-05 21:12:01 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2015-04-05 21:12:01 -0500 |
commit | 38a39c03d5b44c825afe0d10f67cc0802dcf2573 (patch) | |
tree | 9faff11d5f583f3e7c0c8d54032833c61f7f4000 /tests/test-eds-valarms.cpp | |
parent | 13999bfbed4916149af24be2dc504461c4bdf0e9 (diff) | |
download | ayatana-indicator-datetime-38a39c03d5b44c825afe0d10f67cc0802dcf2573.tar.gz ayatana-indicator-datetime-38a39c03d5b44c825afe0d10f67cc0802dcf2573.tar.bz2 ayatana-indicator-datetime-38a39c03d5b44c825afe0d10f67cc0802dcf2573.zip |
remove some new bits that turned out to be unneeded after all
Diffstat (limited to 'tests/test-eds-valarms.cpp')
-rw-r--r-- | tests/test-eds-valarms.cpp | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/tests/test-eds-valarms.cpp b/tests/test-eds-valarms.cpp index f30539a..e9e07d8 100644 --- a/tests/test-eds-valarms.cpp +++ b/tests/test-eds-valarms.cpp @@ -19,8 +19,6 @@ #include <algorithm> -#include <core/connection.h> - #include <datetime/alarm-queue-simple.h> #include <datetime/clock-mock.h> #include <datetime/engine-eds.h> @@ -32,27 +30,8 @@ #include "timezone-mock.h" #include "wakeup-timer-mock.h" - using namespace unity::indicator::datetime; - -class VAlarmFixture: public GlibFixture -{ -private: - - typedef GlibFixture super; - -protected: - - void SetUp() - { - super::SetUp(); - } - - void TearDown() - { - super::TearDown(); - } -}; +using VAlarmFixture = GlibFixture; /*** **** @@ -83,6 +62,7 @@ TEST_F(VAlarmFixture, MultipleAppointments) wait_msec(max_wait_sec * G_TIME_SPAN_MILLISECOND); } + // the planner should match what we've got in the calendar.ics file const auto appts = planner->appointments().get(); ASSERT_EQ(1, appts.size()); const auto& appt = appts.front(); |