summaryrefslogtreecommitdiff
path: root/app/src/test/java/se
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-05-13 00:09:49 +0200
committercyBerta <cyberta@riseup.net>2022-05-13 00:09:49 +0200
commitbd8ae6fee7937f10ec17e2ee7ec77388d5496579 (patch)
tree9abc75c8b1ce2f9682e67c70a739bf65699d5472 /app/src/test/java/se
parent87839986084a32cf475bd0657b3a748e811aa0e5 (diff)
reenable snowflake provider api unit tests
Diffstat (limited to 'app/src/test/java/se')
-rw-r--r--app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java14
1 files changed, 4 insertions, 10 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 31d6ae89..c3ee344f 100644
--- a/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java
+++ b/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java
@@ -689,10 +689,6 @@ public class ProviderApiManagerTest {
providerApiManager.handleIntent(providerApiCommand);
}
- /**
- * Disabled as long as we hide snowflake in the UI
- */
- /*
@Test
public void test_handleIntentSetupProvider_TorFallback_SecondTryHappyPath() throws IOException, CertificateEncodingException, NoSuchAlgorithmException, TimeoutException, InterruptedException {
Provider provider = getConfiguredProviderAPIv4();
@@ -710,12 +706,10 @@ public class ProviderApiManagerTest {
providerApiManager.handleIntent(providerApiCommand);
assertEquals(8118, TorStatusObservable.getProxyPort());
- }*/
+ }
+
- /**
- * Disabled as long as we hide snowflake in the UI
- */
- /* @Test
+ @Test
public void test_handleIntentSetupProvider_TorFallbackStartServiceException_SecondTryFailed() throws IOException, CertificateEncodingException, NoSuchAlgorithmException, TimeoutException, InterruptedException {
Provider provider = getConfiguredProviderAPIv4();
@@ -732,7 +726,7 @@ public class ProviderApiManagerTest {
providerApiManager.handleIntent(providerApiCommand);
assertEquals(-1, TorStatusObservable.getProxyPort());
- } */
+ }
@Test
public void test_handleIntentSetupProvider_TorFallbackTimeoutException_SecondTryFailed() throws IOException, CertificateEncodingException, NoSuchAlgorithmException, TimeoutException, InterruptedException {