cac6006689cab12a5aa2f79ba68fb65467b3d77f |
|
30-Nov-2015 |
Kirill Grouchnikov <kirillg@google.com> |
Testing ResourcesCompat.getDrawableForDensity * Added unthemed and theme-aware tests for getDrawableForDensity (with major caveats discussed in the linked bug). * Switched order of existing assertEquals() calls for the correct order of expected and actual values. Bug: 25931811 Change-Id: Ica5056e93ea3761dc9bb47c0b4b7d4af048d6806
/frameworks/support/v4/tests/java/android/support/v4/testutils/TestUtils.java
|
0945b2238447028b9d274cccccd7fc61042bf03b |
|
24-Nov-2015 |
Kirill Grouchnikov <kirillg@google.com> |
GravityCompat.apply tests. This is for the variant that doesn't get offsets. The tests exercise all nine possible permutations of core horizontal / vertical gravity constants, as well as additional six permutations of two compat horizontal constants (start / end) with core vertical constants. Tests are split into two groups - LTR and RTL direction. Change-Id: Iee287f3cb3173b680ad88779906b8c70a35a43b1
/frameworks/support/v4/tests/java/android/support/v4/testutils/TestUtils.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/testutils/TestUtils.java
|
bc927aa4ec8007a8faaa5672f4b3c7ef59c7e36f |
|
25-Nov-2015 |
Kirill Grouchnikov <kirillg@google.com> |
Context/ResourcesCompat getDrawable tests. Change-Id: I2b09d391e19c553af03d04ad037efccbe7fc024d
/frameworks/support/v4/tests/java/android/support/v4/testutils/TestUtils.java
|
4d83305f6b84175b5167d16e64cee01c4d3e1176 |
|
23-Nov-2015 |
Kirill Grouchnikov <kirillg@google.com> |
Complete the test coverage for TextViewCompat * Extract a couple of useful util methods into TestUtils * Add few new resources for testing * Add testing for setCompoundDrawablesRelativeWithIntrinsicBounds methods in TextViewCompat Change-Id: I2af4ce96bca7e5b13565e2a034cf831f694e4213
/frameworks/support/v4/tests/java/android/support/v4/testutils/TestUtils.java
|