summaryrefslogtreecommitdiff
path: root/app/src/test/java/se
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2024-10-26 04:51:59 +0200
committercyberta <cyberta@riseup.net>2024-12-11 00:09:34 +0000
commit6c1b8f8c0ed8915de7247a603481e4e434ebd6da (patch)
tree041afc3a3fca2b6b6b8b651f7c4d5b9947fb450b /app/src/test/java/se
parent2f79616938eb8d570bad779f6846644e09cfefa4 (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.java5
-rw-r--r--app/src/test/java/se/leap/bitmaskclient/providersetup/ProviderApiManagerV3Test.java5
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;
}