diff options
author | Fup Duck <fupduck@sacknagel.com> | 2017-11-23 11:34:52 +0100 |
---|---|---|
committer | Fup Duck <fupduck@sacknagel.com> | 2017-11-24 12:26:55 +0100 |
commit | 38796aeb892379b8c2b7e4e1d7af00c4c050e8dc (patch) | |
tree | 5149eb015674db51a2be97faa6bfdf70ce3d0700 /app/src/androidTest/java | |
parent | f19e355b2e53af5d76880bb7450137c4c9a2e227 (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')
-rw-r--r-- | app/src/androidTest/java/se/leap/bitmaskclient/test/TestGatewaysManager.java | 4 |
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); } |