summaryrefslogtreecommitdiff
path: root/app/src/androidTest/java/se/leap/bitmaskclient/test
diff options
context:
space:
mode:
authorFup Duck <fupduck@sacknagel.com>2017-11-23 11:34:52 +0100
committerFup Duck <fupduck@sacknagel.com>2017-11-24 12:26:55 +0100
commit38796aeb892379b8c2b7e4e1d7af00c4c050e8dc (patch)
tree5149eb015674db51a2be97faa6bfdf70ce3d0700 /app/src/androidTest/java/se/leap/bitmaskclient/test
parentf19e355b2e53af5d76880bb7450137c4c9a2e227 (diff)
Add Splash StartActivity
* added Splash StartActivity to handle updates and initialization * created global Constants * renamed EIP Constants
Diffstat (limited to 'app/src/androidTest/java/se/leap/bitmaskclient/test')
-rw-r--r--app/src/androidTest/java/se/leap/bitmaskclient/test/TestGatewaysManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/androidTest/java/se/leap/bitmaskclient/test/TestGatewaysManager.java b/app/src/androidTest/java/se/leap/bitmaskclient/test/TestGatewaysManager.java
index 0a76638f..b8cc9715 100644
--- a/app/src/androidTest/java/se/leap/bitmaskclient/test/TestGatewaysManager.java
+++ b/app/src/androidTest/java/se/leap/bitmaskclient/test/TestGatewaysManager.java
@@ -25,7 +25,7 @@ import org.json.*;
import java.io.IOException;
import java.util.Arrays;
-import se.leap.bitmaskclient.*;
+import se.leap.bitmaskclient.Constants;
import se.leap.bitmaskclient.eip.*;
/**
@@ -109,7 +109,7 @@ public class TestGatewaysManager extends InstrumentationTestCase {
private void mockGatewaysManager() {
context = getInstrumentation().getContext();
- preferences = context.getSharedPreferences(Dashboard.SHARED_PREFERENCES, Activity.MODE_PRIVATE);
+ preferences = context.getSharedPreferences(Constants.SHARED_PREFERENCES, Activity.MODE_PRIVATE);
gateways_manager = new GatewaysManager(context, preferences);
}