aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-02-02 13:05:26 -0600
committerRobert Tari <robert@tari.in>2021-08-30 02:11:09 +0200
commit7155cdb14a651d60d0e9576283836848e205d258 (patch)
tree7fda27826aa79ce11f75205f86a2e0cc3da1b008 /tests
parent9f59b4b4f2049869d153e6d9850f70f8c930aa66 (diff)
downloadayatana-indicator-datetime-7155cdb14a651d60d0e9576283836848e205d258.tar.gz
ayatana-indicator-datetime-7155cdb14a651d60d0e9576283836848e205d258.tar.bz2
ayatana-indicator-datetime-7155cdb14a651d60d0e9576283836848e205d258.zip
Move notifications tests into a new unit test. Extract notifications test fixture into a reusable header.
Diffstat (limited to 'tests')
-rw-r--r--tests/notification-fixture.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/notification-fixture.h b/tests/notification-fixture.h
index ec4a8c5..b381b93 100644
--- a/tests/notification-fixture.h
+++ b/tests/notification-fixture.h
@@ -84,7 +84,6 @@ protected:
ayatana::indicator::datetime::Appointment appt;
ayatana::indicator::datetime::Appointment ualarm;
-
DbusTestDbusMock * as_mock = nullptr;
DbusTestDbusMock * notify_mock = nullptr;
DbusTestDbusMock * powerd_mock = nullptr;
@@ -287,7 +286,6 @@ protected:
BUS_HAPTIC_PATH,
BUS_HAPTIC_INTERFACE,
&error);
-
dbus_test_dbus_mock_object_add_method(haptic_mock,
haptic_obj,
HAPTIC_METHOD_VIBRATE_PATTERN,