History log of /frameworks/support/v4/tests/java/android/support/v4/view/BaseViewPagerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5d4636f6c702142e33e6fc201fc7e3e1daa6c918 09-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Complete the testing coverage of ViewPager's page change listener.

Verify consistency of callbacks to OnPageChangeListener.onPageScrolled
across a variety of interactions with immediate page changes, smooth
page changes and swipe-initiated page changes.

Change-Id: Ie3a9b53ac3635ebe7bbd49f28ff227023711a10d
/frameworks/support/v4/tests/java/android/support/v4/view/BaseViewPagerTest.java
bd80366a71263e28f82f3b552b604c8e2fe43edc 08-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Testing scroll state changes in ViewPager

Change-Id: I014422c6ea6d6b7648a152035149921200fbabdb
/frameworks/support/v4/tests/java/android/support/v4/view/BaseViewPagerTest.java
b4b862fb02eea897bd2dcc72a928d32c95298f81 05-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Tests for ViewPager's onPageScrollStateChanged callbacks

Change-Id: Iafc3a7d82035c97c356627e3f38475ddbace13c6
/frameworks/support/v4/tests/java/android/support/v4/view/BaseViewPagerTest.java
74bad8b1e399a76ae850709cb000804613db3a4e 02-Feb-2016 Kirill Grouchnikov <kirillg@google.com> First pass for Mockito-powered listener logic in ViewPager tests.

Test callbacks to onPageSelected as we are changing the ViewPager
page selections - via API calls or via swiping between pages.

Change-Id: Iaaac45b1eab9d0a31515770da7cd89c0e08b1ca5
/frameworks/support/v4/tests/java/android/support/v4/view/BaseViewPagerTest.java
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/BaseViewPagerTest.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/BaseViewPagerTest.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/BaseViewPagerTest.java