diff options
author | cyBerta <cyberta@riseup.net> | 2024-10-26 04:51:59 +0200 |
---|---|---|
committer | cyberta <cyberta@riseup.net> | 2024-12-11 00:09:34 +0000 |
commit | 6c1b8f8c0ed8915de7247a603481e4e434ebd6da (patch) | |
tree | 041afc3a3fca2b6b6b8b651f7c4d5b9947fb450b /app/src/test/java/se | |
parent | 2f79616938eb8d570bad779f6846644e09cfefa4 (diff) |
add support for running bitmask-core's apiv5 bootstrap via tor + snowflake
Diffstat (limited to 'app/src/test/java/se')
-rw-r--r-- | app/src/test/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerTest.java | 5 | ||||
-rw-r--r-- | app/src/test/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV3Test.java | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/app/src/test/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerTest.java b/app/src/test/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerTest.java index 2978edc7..86f9dc8e 100644 --- a/app/src/test/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerTest.java +++ b/app/src/test/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerTest.java @@ -117,6 +117,11 @@ public class ProviderApiManagerTest { } @Override + public int getTorSocksProxyPort() { + return 9050; + } + + @Override public boolean hasNetworkConnection() { return hasNetworkConnection; } diff --git a/app/src/test/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV3Test.java b/app/src/test/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV3Test.java index 646d32d8..db43970c 100644 --- a/app/src/test/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV3Test.java +++ b/app/src/test/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV3Test.java @@ -150,6 +150,11 @@ public class ProviderApiManagerV3Test { } @Override + public int getTorSocksProxyPort() { + return 9050; + } + + @Override public boolean hasNetworkConnection() { return hasNetworkConnection; } |