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/gridlayout/tests/src/android/support/v7/widget/GridLayoutTest.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/gridlayout/tests/src/android/support/v7/widget/GridLayoutTest.java
|
6c1d418905160cdd346dbc2bf5ca3d92785954fc |
|
25-Aug-2016 |
Aurimas Liutikas <aurimas@google.com> |
Remove all the extra accessor methods added by javac in support-gridlayout. Change private methods to be package protected to avoid extra methods that get added to be able to access them from inner classes. This CL saves 5 methods in our jar. Bug: 31075707 Change-Id: Ife209cfbd9f8853ac4009717583f9af16548192c
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/GridLayoutTest.java
|
d0389218440cdb4070f4beb58bf1c81a4a4650ba |
|
26-Jul-2016 |
Yigit Boyar <yboyar@google.com> |
Improve GridLayoutTest A GridLayoutTest was relying on the fact that a certain text won't fit horizontally which breaks in landscape. This CL limits the width of the container to ensure it does not fit. Even this is flaky since it is using a TextView but enough to fix the test in landscape for now. Bug: 30206950 Change-Id: I88387a7ee58ff4585d5a0c16a9f6aff05e1c74a8
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/GridLayoutTest.java
|
70d141daa825e7443df4aa149acddbfdb0bab64a |
|
23-Mar-2016 |
Yigit Boyar <yboyar@google.com> |
Fix GridLayout to properly convert MarginLayoutParams Bug:27785449 Change-Id: Ief7c2809a1c431dc0d430d6e0479c7c7318937c8
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/GridLayoutTest.java
|
1d3991c0a215d89f59df4e5a12084ca793a25ba6 |
|
12-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Convert tests to consistent structure Use JUnit4 runner (from Espresso core jar), @Before annotation for initial setup, @Test for all test methods. Move away from the deprecated ActivityInstrumentationTestCase2 base class. Bug: 27155526 Change-Id: I537fd4322c494597e80ecf8c9bd73b7f82fe8271
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/GridLayoutTest.java
|