2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-31 06:05:12 +00:00

Fixed tests

This commit is contained in:
Albert Vaca
2017-02-05 21:24:45 +01:00
parent 2e5dc56366
commit cba67c73a0

View File

@@ -92,7 +92,7 @@ public class LanLinkTest extends AndroidTestCase {
goodLanLink.sendPackage(testPackage, callback);
Mockito.verify(callback).sendSuccess();
Mockito.verify(callback).onSuccess();
}
public void testSendPackageFail() throws JSONException {
@@ -105,7 +105,7 @@ public class LanLinkTest extends AndroidTestCase {
badLanLink.sendPackage(testPackage, callback);
Mockito.verify(callback).sendFailure(Mockito.any(RuntimeException.class));
Mockito.verify(callback).onFailure(Mockito.any(RuntimeException.class));
}
@@ -250,7 +250,7 @@ public class LanLinkTest extends AndroidTestCase {
}
assertEquals(new String(data), new String(downloader.getOutputStream().toByteArray()));
Mockito.verify(callback).sendSuccess();
Mockito.verify(callback).onSuccess();
}
}