2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +00:00

Merge branch 'stable'

This commit is contained in:
Albert Vaca
2015-09-10 15:52:21 -07:00
6 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 823 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 988 B

After

Width:  |  Height:  |  Size: 497 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -26,6 +26,7 @@ import android.util.Log;
import org.apache.mina.core.future.WriteFuture; import org.apache.mina.core.future.WriteFuture;
import org.apache.mina.core.session.IoSession; import org.apache.mina.core.session.IoSession;
import org.json.JSONObject; import org.json.JSONObject;
import org.kde.kdeconnect.Backends.BaseLink;
import org.kde.kdeconnect.Backends.LanBackend.LanLink; import org.kde.kdeconnect.Backends.LanBackend.LanLink;
import org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider; import org.kde.kdeconnect.Backends.LanBackend.LanLinkProvider;
import org.mockito.Mockito; import org.mockito.Mockito;
@@ -80,7 +81,7 @@ public class LanLinkTest extends AndroidTestCase {
Mockito.when(writeFutureFailure.isDone()).thenReturn(true); Mockito.when(writeFutureFailure.isDone()).thenReturn(true);
Mockito.when(writeFutureFailure.getException()).thenReturn(new RuntimeException()); Mockito.when(writeFutureFailure.getException()).thenReturn(new RuntimeException());
lanLink = new LanLink(session, "testDevice", linkProvider); lanLink = new LanLink(session, "testDevice", linkProvider, BaseLink.ConnectionStarted.Remotely);
} }
@Override @Override