public void testScroll() throws Throwable { UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void testScroll() throws Throwable { TouchUtils.touchAndCancelView(this, scrollable); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void testScroll() throws Throwable { TouchUtils.touchAndCancelView(this, scrollable); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void testScroll() throws Throwable { UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void testScroll() throws Throwable { UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void testScroll() throws Throwable { UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void testScroll() throws Throwable { UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void testScroll() throws Throwable { UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void testScroll() throws Throwable { TouchUtils.touchAndCancelView(this, scrollable); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void testScroll() throws Throwable { UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); } }
public void testScroll() throws Throwable { TouchUtils.touchAndCancelView(this, scrollable); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void testScroll() throws Throwable { UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); } }
public void testScroll() throws Throwable { TouchUtils.touchAndCancelView(this, scrollable); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void scroll() throws Throwable { View scrollable = ((View) activity.getCurrentScrollable()).findViewById(R.id.scroll); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
public void scroll() throws Throwable { View scrollable = ((View) activity.getCurrentScrollable()).findViewById(R.id.scroll); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.UP); getInstrumentation().waitForIdleSync(); UiTestUtils.swipeVertically(this, scrollable, UiTestUtils.Direction.DOWN); getInstrumentation().waitForIdleSync(); }
@Override protected void setUp() throws Exception { super.setUp(); setActivityInitialTouchMode(true); activity = getActivity(); scrollable = (ObservableRecyclerView) activity.findViewById(R.id.scrollable); callbackCounter = new int[2]; getInstrumentation().waitForIdleSync(); }
public void testScroll() throws Throwable { for (int i = 0; i < 3; i++) { UiTestUtils.swipeHorizontally(this, activity.findViewById(R.id.pager), UiTestUtils.Direction.LEFT); getInstrumentation().waitForIdleSync(); scroll(); } for (int i = 0; i < 3; i++) { UiTestUtils.swipeHorizontally(this, activity.findViewById(R.id.pager), UiTestUtils.Direction.RIGHT); getInstrumentation().waitForIdleSync(); scroll(); } }
public void testScroll() throws Throwable { for (int i = 0; i < 5; i++) { UiTestUtils.swipeHorizontally(this, activity.findViewById(R.id.pager), UiTestUtils.Direction.LEFT); getInstrumentation().waitForIdleSync(); scroll(); } for (int i = 0; i < 5; i++) { UiTestUtils.swipeHorizontally(this, activity.findViewById(R.id.pager), UiTestUtils.Direction.RIGHT); getInstrumentation().waitForIdleSync(); scroll(); } }
public void testSaveAndRestoreInstanceState() throws Throwable { for (int i = 0; i < 3; i++) { UiTestUtils.saveAndRestoreInstanceState(this, activity); scroll(); UiTestUtils.swipeHorizontally(this, activity.findViewById(R.id.pager), UiTestUtils.Direction.LEFT); getInstrumentation().waitForIdleSync(); } } }
public void testSaveAndRestoreInstanceState() throws Throwable { for (int i = 0; i < 5; i++) { UiTestUtils.saveAndRestoreInstanceState(this, activity); scroll(); UiTestUtils.swipeHorizontally(this, activity.findViewById(R.id.pager), UiTestUtils.Direction.LEFT); getInstrumentation().waitForIdleSync(); } } }