From add57da80443203406e8b71405b50d96b63ae5f5 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Fri, 27 Feb 2015 23:38:38 +0100 Subject: [PATCH] Fixed test compilation. --- .../java/com/nutomic/syncthingandroid/test/MockRestApi.java | 2 +- .../nutomic/syncthingandroid/test/syncthing/RestApiTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/androidTest/java/com/nutomic/syncthingandroid/test/MockRestApi.java b/src/androidTest/java/com/nutomic/syncthingandroid/test/MockRestApi.java index 18cdf669..efc7ebd2 100644 --- a/src/androidTest/java/com/nutomic/syncthingandroid/test/MockRestApi.java +++ b/src/androidTest/java/com/nutomic/syncthingandroid/test/MockRestApi.java @@ -42,7 +42,7 @@ public class MockRestApi extends RestApi { } @Override - public List getDevices() { + public List getDevices(boolean includeLocal) { return new ArrayList<>(); } diff --git a/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java b/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java index 2fba8936..f0cc51dd 100644 --- a/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java +++ b/src/androidTest/java/com/nutomic/syncthingandroid/test/syncthing/RestApiTest.java @@ -70,7 +70,7 @@ public class RestApiTest extends AndroidTestCase { @SmallTest public void testGetDevices() { - assertNotNull(mApi.getDevices()); + assertNotNull(mApi.getDevices(false)); } @MediumTest