diff options
author | cyBerta <cyberta@riseup.net> | 2021-11-06 20:22:49 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-11-06 20:22:49 +0100 |
commit | 320b1d917d01f2514060bd3306b23c55e1c788f6 (patch) | |
tree | da20bc9ef8b078f430d0d7347b68df978b6f62f5 /app/src | |
parent | c0a1ed833fdecabe4e228d084da51db6e64fadd6 (diff) |
implement missing stubs in ProviderApiManagerTest after introducing tor related ProviderApiManager callbacks
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java | 18 |
1 files changed, 18 insertions, 0 deletions
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 |