You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by sa...@apache.org on 2018/08/11 07:02:18 UTC
[3/3] incubator-taverna-mobile git commit: fix issue with modifiers
fix issue with modifiers
Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/commit/775fe175
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/tree/775fe175
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/diff/775fe175
Branch: refs/heads/master
Commit: 775fe175ac1bd8659062f66c4a6081c59763f762
Parents: 155eba6
Author: Sagar <ku...@gmail.com>
Authored: Sat Aug 11 12:24:26 2018 +0530
Committer: Sagar <ku...@gmail.com>
Committed: Sat Aug 11 12:24:26 2018 +0530
----------------------------------------------------------------------
.../taverna/mobile/login/LoginActivityTest.java | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/775fe175/app/src/androidTest/java/org/apache/taverna/mobile/login/LoginActivityTest.java
----------------------------------------------------------------------
diff --git a/app/src/androidTest/java/org/apache/taverna/mobile/login/LoginActivityTest.java b/app/src/androidTest/java/org/apache/taverna/mobile/login/LoginActivityTest.java
index c6b268f..d58a13c 100644
--- a/app/src/androidTest/java/org/apache/taverna/mobile/login/LoginActivityTest.java
+++ b/app/src/androidTest/java/org/apache/taverna/mobile/login/LoginActivityTest.java
@@ -57,23 +57,16 @@ import static org.hamcrest.core.AllOf.allOf;
@RunWith(AndroidJUnit4.class)
public class LoginActivityTest {
- User testUser;
+ private User testUser;
- @Rule
- public ActivityTestRule<LoginActivity> mActivityTestRule
- = new ActivityTestRule<>(LoginActivity.class);
- public final TestComponentRule component =
+ private final TestComponentRule component =
new TestComponentRule(InstrumentationRegistry.getTargetContext());
- public final ActivityTestRule<LoginActivity> mLoginActivityActivityTestRule =
+ private final ActivityTestRule<LoginActivity> mLoginActivityActivityTestRule =
new ActivityTestRule<LoginActivity>(LoginActivity.class, false, false) {
@Override
protected Intent getActivityIntent() {
- /**
- * Override the default intent so we pass a false flag for syncing so it doesn't
- * start a sync service in the background that would affect the behaviour of
- * this test.
- */
+
return new Intent(InstrumentationRegistry.getTargetContext(), LoginActivity
.class);
}