fix idling resource in IntroTestActivity

This commit is contained in:
siddharth2010 2018-08-04 11:27:13 +05:30 committed by Isaac Hutt
parent def6df287d
commit 18daf6b817

View File

@ -70,7 +70,7 @@ public class IntroActivityTest {
} }
@Test @Test
public void testIntroActivity(){ public void testIntroActivity() {
BaristaSleepInteractions.sleep(TEST_PAUSE_MS); BaristaSleepInteractions.sleep(TEST_PAUSE_MS);
ViewInteraction viewPager = onView(withId(R.id.view_pager)); ViewInteraction viewPager = onView(withId(R.id.view_pager));
@ -99,7 +99,6 @@ public class IntroActivityTest {
@After @After
public void endTest() { public void endTest() {
IdlingRegistry.getInstance().unregister(LibraryFragment.IDLING_RESOURCE);
Intents.release(); Intents.release();
} }
} }