From bd8ae6fee7937f10ec17e2ee7ec77388d5496579 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 13 May 2022 00:09:49 +0200 Subject: reenable snowflake provider api unit tests --- .../se/leap/bitmaskclient/eip/ProviderApiManagerTest.java | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'app/src/test/java/se/leap') 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 { -- cgit v1.2.3