History log of /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerResizeTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
42e7d6fafcde7bfe261dd7d8d75ee53ca0cd6790 28-Sep-2016 Aurimas Liutikas <aurimas@google.com> Replace usage of Instrumentation#runOnMainSync with ActivityTestRule#runOnUiThread.

ActivityTestRule#runOnUiThread handles exceptions correctly and thus should be used
in place of Instrumentation#runOnMainSync. This changes most of these use-cases
except for tricky cases.

Bug: 31801302
Test: ran support-design:connectedCheck and support-appcompat:connectedCheck
Change-Id: I70904aef89e6bbc2a3cff1b3be697258d666e316
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerResizeTest.java
754cb29c50f09a83251dd4bb633ba445b2411adb 27-Sep-2016 Aurimas Liutikas <aurimas@google.com> Switch from deprecated size annotations to new ones.

Switching from android.test.suitebuilder.annotation.*Test
to android.support.test.filters.*Test.

Bug: 30074170
Test: manual - ran small appcompat tests, they still run and pass
Change-Id: Idce58b988c8e1a809f7f5fae67e0e235159d9fc5
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerResizeTest.java
86d05261a6618fe1c3114ca40cd4077b29cd7790 25-Jul-2016 Aurimas Liutikas <aurimas@google.com> Fix LinearLayoutManagerResizeTest in landscape mode.

LinearLayoutManagerResizeTest was using width to set vertical padding.
Changed to using height for vertical padding and this test now passes in
landscape mode.

Bug: 30231109
Change-Id: I84e4451563727ecf36f1506ef46a259df5cddc7f
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerResizeTest.java
0a017072206f93474ccd2706e7983c2ff778b904 07-Jan-2016 Yigit Boyar <yboyar@google.com> Move all RecyclerView tests to Junit4

This CL moves all RecyclerView tests to Junit4 and uses
the new ActivityTestRule instead of ActivityInstrumentationTest.

Bug: 24494874
Change-Id: I049d8b1ac7869a6af13a3ee7905d6dd1f6eb418b
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerResizeTest.java
999c3976674d20b0de5425490bdfe7415b9c6af2 30-Dec-2015 Yigit Boyar <yboyar@google.com> Divide LinearLayoutManager tests

LLM has many tests that test different configuration variations.
For instance, for saved state, it tests around 600 configuration
variations. Running all of these in a single test call makes test
runner very unhappy.

This CL moves such methods into separate parameterized test classes.
It also updates testing dependencies to get these new features.

If this works well with test runners, I'll divide other layout manager
tests as well.

The only downside is that tests run a lot slower due to new activiy
creation for each but it is definitelly better given the isolation
benefit.

Bug: 24494874
Change-Id: I0e9a5baba2ff8e3aedc5868a89db86499a98c7ae
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/LinearLayoutManagerResizeTest.java