summaryrefslogtreecommitdiffstats
path: root/test/com
diff options
context:
space:
mode:
Diffstat (limited to 'test/com')
-rw-r--r--test/com/isode/stroke/component/ComponentConnectorTest.java7
-rw-r--r--test/com/isode/stroke/network/ChainedConnectorTest.java8
-rw-r--r--test/com/isode/stroke/network/ConnectorTest.java7
3 files changed, 19 insertions, 3 deletions
diff --git a/test/com/isode/stroke/component/ComponentConnectorTest.java b/test/com/isode/stroke/component/ComponentConnectorTest.java
index 413f325..0a59a7d 100644
--- a/test/com/isode/stroke/component/ComponentConnectorTest.java
+++ b/test/com/isode/stroke/component/ComponentConnectorTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -68,6 +68,11 @@ public class ComponentConnectorTest {
}
public HostAddressPort getLocalAddress() { return new HostAddressPort(); }
+
+ @Override
+ public HostAddressPort getRemoteAddress() {
+ return new HostAddressPort();
+ }
public void disconnect() { assert(false); }
diff --git a/test/com/isode/stroke/network/ChainedConnectorTest.java b/test/com/isode/stroke/network/ChainedConnectorTest.java
index a2bb98c..e3661d3 100644
--- a/test/com/isode/stroke/network/ChainedConnectorTest.java
+++ b/test/com/isode/stroke/network/ChainedConnectorTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -63,6 +63,12 @@ public class ChainedConnectorTest {
}
public HostAddressPort getLocalAddress() { return new HostAddressPort(); }
+
+ @Override
+ public HostAddressPort getRemoteAddress() {
+ return new HostAddressPort();
+ }
+
public void disconnect() { assert(false); }
public void write(final SafeByteArray data) { assert(false); }
diff --git a/test/com/isode/stroke/network/ConnectorTest.java b/test/com/isode/stroke/network/ConnectorTest.java
index 43e2300..95080af 100644
--- a/test/com/isode/stroke/network/ConnectorTest.java
+++ b/test/com/isode/stroke/network/ConnectorTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2014 Isode Limited.
+ * Copyright (c) 2010-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -69,6 +69,11 @@ public class ConnectorTest {
}
public HostAddressPort getLocalAddress() { return new HostAddressPort(); }
+
+ @Override
+ public HostAddressPort getRemoteAddress() {
+ return new HostAddressPort();
+ }
public void disconnect() { assert(false); }