Java Code Examples for android.support.test.espresso.intent.rule.IntentsTestRule

The following are top voted examples for showing how to use android.support.test.espresso.intent.rule.IntentsTestRule. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: Quran   File: BaseActivityTest.java   View source code 4 votes vote down vote up
public BaseActivityTest(Class<T> activityClass) {
  resetData();
  rule = new IntentsTestRule<>(activityClass, true, false);
}
 
Example 2
Project: bigbang   File: SingleActivityInstrumentationTest.java   View source code 4 votes vote down vote up
protected ActivityTestRule<T> createTestRule() {
  return new IntentsTestRule<>(getActivityClass(), true, false);
}