summaryrefslogtreecommitdiff
path: root/app/src/androidTest
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2015-04-22 14:59:49 +0200
committerParménides GV <parmegv@sdf.org>2015-04-22 14:59:49 +0200
commitacb5e7e33b554b236995926853eb9f1abcb7b6c3 (patch)
tree1efeb6ff6796175854893bcd21622105cecfbcc7 /app/src/androidTest
parent449c3953ce79947554bbfd6ed0386d68aa9f04bd (diff)
Tests for ConfigurationWizard pass
I've done this because of https://leap.se/code/issues/6863#note-2, testing the previous commit's changes.
Diffstat (limited to 'app/src/androidTest')
-rw-r--r--app/src/androidTest/java/se/leap/bitmaskclient/test/testConfigurationWizard.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/src/androidTest/java/se/leap/bitmaskclient/test/testConfigurationWizard.java b/app/src/androidTest/java/se/leap/bitmaskclient/test/testConfigurationWizard.java
index 1fa4cf2f..8db755dd 100644
--- a/app/src/androidTest/java/se/leap/bitmaskclient/test/testConfigurationWizard.java
+++ b/app/src/androidTest/java/se/leap/bitmaskclient/test/testConfigurationWizard.java
@@ -1,5 +1,6 @@
package se.leap.bitmaskclient.test;
+import android.app.Instrumentation;
import android.test.*;
import android.widget.*;
@@ -27,12 +28,13 @@ public class testConfigurationWizard extends ActivityInstrumentationTestCase2<Co
protected void setUp() throws Exception {
super.setUp();
solo = new Solo(getInstrumentation(), getActivity());
- ConnectionManager.setMobileDataEnabled(true, solo.getCurrentActivity().getApplicationContext());
+ //ConnectionManager.setMobileDataEnabled(true, solo.getCurrentActivity().getApplicationContext());
}
@Override
protected void tearDown() throws Exception {
-
+ solo.finishOpenedActivities();
+ super.tearDown();
}
public void testListProviders() {