History log of /frameworks/support/v4/tests/java/android/support/v4/view/ViewPagerActions.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
29212b535486a2f7c6dc7e35ede84f9fa4816e70 01-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Remove flakiness from ViewPager "smooth" tests

Wrap all actions that change the current item in ViewPager
with a custom action that uses Espresso's idling resource
functionality to wait until the ViewPager transitions
into STATE_IDLE state.

This allows us to test flows where the ViewPager state changes
after the internal sliding animation completes.

Bug: 26003516
Change-Id: I0425355279b4c34252ad299342d3e97368aa0f2e
/frameworks/support/v4/tests/java/android/support/v4/view/ViewPagerActions.java
39e84476b45f10ed4929e307372d6f7a2103e9d5 25-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Sync and cleanup pass over support-v4

* Add missing annotations on one TextViewCompat method and its
implementations
* Tighten annotation from IdRes to StyleRes on TextViewCompat's
setTextAppearance
* Switch a few v4 tests to JUnit4, activity rules and Espresso

Change-Id: Ia235b9c527173f0403432c59ba9206a174bf043f
/frameworks/support/v4/tests/java/android/support/v4/view/ViewPagerActions.java
59606ec8e4d812326448f0bf6acde5a0a167a958 09-Dec-2015 Kirill Grouchnikov <kirillg@google.com> Added tests for interactive pager tab strip

* Extracted tests that are agnostic of the interactive nature
of the tab strip into a new abstract base class. These will run
for both PagerTabStrip and PagerTitleStrip.
* Two new leaf classes to test that PagerTitleStrip is non
interactive and PagerTabStrip is interactive (clicks on titles
and clicks in between titles).

Change-Id: Ia3a1ffe23d2ec807638213cfcdc2cab63558189c
/frameworks/support/v4/tests/java/android/support/v4/view/ViewPagerActions.java
a5647c78730032f1de294e8e035f7d4e9ac94731 02-Dec-2015 Kirill Grouchnikov <kirillg@google.com> Second pass for Espresso-powered ViewPager tests.

* Rename ViewPagerActions to ViewPagerUtils and add two matchers.
* Move the adapter class from activity to the test and extract
common functionality to a base class.
* Have two specific adapter implementations for testing adapter
switch at runtime.
* Add a test method to test for ViewPager page content.
* Add another test method to test for ViewPager page content after
setting a new adapter.

Change-Id: I6f39b53673bbf2e10dd14d9bd749154edef85215
/frameworks/support/v4/tests/java/android/support/v4/view/ViewPagerActions.java
5427189579423bcb9f341534f030ce26a2a79d6d 01-Dec-2015 Kirill Grouchnikov <kirillg@google.com> First pass for basic testing of ViewPager with Espresso

Change-Id: I83d27e649e60c8e6e3103cd04220fc07e2a815c6
/frameworks/support/v4/tests/java/android/support/v4/view/ViewPagerActions.java