Created
September 19, 2016 09:39
-
-
Save Ansh1234/885ef3523e4dad714f6cf3216b4625f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Rule | |
public ActivityTestRule mActivityRule = new ActivityTestRule(LoginActivity.class, false, false); | |
@Before | |
public void init() { | |
Intent intent = new Intent(); | |
intent.putExtra("key", "value"); | |
mActivityRule.launchActivity(intent); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment