From 320b1d917d01f2514060bd3306b23c55e1c788f6 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 6 Nov 2021 20:22:49 +0100 Subject: implement missing stubs in ProviderApiManagerTest after introducing tor related ProviderApiManager callbacks --- .../leap/bitmaskclient/eip/ProviderApiManagerTest.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'app/src/test') diff --git a/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java b/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java index dbcb86b8..cd8e34cb 100644 --- a/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java +++ b/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java @@ -107,6 +107,24 @@ public class ProviderApiManagerTest { public void broadcastEvent(Intent intent) { //assertEquals("expected intent: ", expectedIntent, intent); } + + @Override + public void startTorService() throws InterruptedException, IllegalStateException { + } + + @Override + public void stopTorService() throws IllegalStateException { + } + + @Override + public int getTorHttpTunnelPort() { + return 0; + } + + @Override + public boolean isConnectedToWifi() { + return true; + } } @Before -- cgit v1.2.3