From 8fca35f94f17a0ebded42e60332055dbcb7a6ae6 Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Sat, 26 Sep 2015 22:24:52 +0200 Subject: [PATCH] try to fix tests --- .../gadgetbridge/service/TestDeviceSupport.java | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceSupport.java b/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceSupport.java index 0f9ecdd3..56ddea6a 100644 --- a/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceSupport.java +++ b/app/src/test/java/nodomain/freeyourgadget/gadgetbridge/service/TestDeviceSupport.java @@ -12,7 +12,8 @@ import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice; import nodomain.freeyourgadget.gadgetbridge.model.Alarm; import nodomain.freeyourgadget.gadgetbridge.model.DeviceType; import nodomain.freeyourgadget.gadgetbridge.model.ServiceCommand; -import nodomain.freeyourgadget.gadgetbridge.model.NotificationKind; +import nodomain.freeyourgadget.gadgetbridge.model.NotificationType; +import nodomain.freeyourgadget.gadgetbridge.model.NotificationSpec; import nodomain.freeyourgadget.gadgetbridge.service.AbstractDeviceSupport; public class TestDeviceSupport extends AbstractDeviceSupport { @@ -49,17 +50,7 @@ public class TestDeviceSupport extends AbstractDeviceSupport { } @Override - public void onSMS(String from, String body) { - - } - - @Override - public void onEmail(String from, String subject, String body) { - - } - - @Override - public void onGenericNotification(String title, String details, int handle, NotificationKind notification_kind) { + public void onNotification(NotificationSpec notificationSpec) { }