From 27aefab48e1423c763ed477c720cae7c11ca0f22 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sun, 28 Nov 2021 18:07:03 +0100 Subject: hide snowflake in the settings, disable fallback mechanism, comment out snowflake/tor tests --- .../se/leap/bitmaskclient/eip/ProviderApiManagerTest.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'app/src/test/java/se/leap/bitmaskclient/eip') 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 4d3049f4..d6ee0def 100644 --- a/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java +++ b/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java @@ -658,6 +658,10 @@ 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(); @@ -675,9 +679,12 @@ public class ProviderApiManagerTest { providerApiManager.handleIntent(providerApiCommand); assertEquals(8118, TorStatusObservable.getProxyPort()); - } + }*/ - @Test + /** + * Disabled as long as we hide snowflake in the UI + */ + /* @Test public void test_handleIntentSetupProvider_TorFallbackStartServiceException_SecondTryFailed() throws IOException, CertificateEncodingException, NoSuchAlgorithmException, TimeoutException, InterruptedException { Provider provider = getConfiguredProviderAPIv4(); @@ -694,7 +701,7 @@ public class ProviderApiManagerTest { providerApiManager.handleIntent(providerApiCommand); assertEquals(-1, TorStatusObservable.getProxyPort()); - } + } */ @Test public void test_handleIntentSetupProvider_TorFallbackTimeoutException_SecondTryFailed() throws IOException, CertificateEncodingException, NoSuchAlgorithmException, TimeoutException, InterruptedException { -- cgit v1.2.3