mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
Testing: fixed unit tests
This commit is contained in:
parent
ee1c3e4db9
commit
afe3c1fd50
@ -84,7 +84,6 @@ public class DeviceCommunicationServiceTestCase extends TestBase {
|
||||
|
||||
@Test
|
||||
public void ensureConnected() {
|
||||
mDeviceService.start();
|
||||
// connection goes synchronously here
|
||||
mDeviceService.forDevice(getDevice()).connect();
|
||||
Mockito.verify(mockSupport, Mockito.times(1)).connect();
|
||||
|
@ -47,11 +47,6 @@ class TestDeviceService extends GBDeviceService {
|
||||
super.invokeService(intent);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void start() {
|
||||
super.start();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void stopService(Intent intent) {
|
||||
super.stopService(intent);
|
||||
|
Loading…
Reference in New Issue
Block a user