History log of /frameworks/support/v4/tests/java/android/support/v4/widget/TextViewCompatTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/widget/TextViewCompatTest.java
52d3e9e6fa89232ef5f1e7d64c68bd25fbeac0fe 30-Nov-2015 Kirill Grouchnikov <kirillg@google.com> Merge "Refine TextViewCompat.setTextAppearance logic." into mnc-ub-dev
9176979f5317552e473fff0cf1ea9e87bf59d7d3 25-Nov-2015 Kirill Grouchnikov <kirillg@google.com> Refine TextViewCompat.setTextAppearance logic.

On older devices using italic style doesn't get "reflected"
in the typeface set on TextView. Use skewTextX as the fallback.

Bug: 25866034
Change-Id: Ica36993a1e7f9b0ba823b5242be9ae864de2347e
/frameworks/support/v4/tests/java/android/support/v4/widget/TextViewCompatTest.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/widget/TextViewCompatTest.java
8672bde8571de70e52def363209bb6064bfa5113 25-Nov-2015 Kirill Grouchnikov <kirillg@google.com> Merge "Tweak the expected result computation for TextViewCompat." into mnc-ub-dev
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/widget/TextViewCompatTest.java
1842617039e9ff46074da7d2c5b071a4653e2afb 24-Nov-2015 Kirill Grouchnikov <kirillg@google.com> Tweak the expected result computation for TextViewCompat.

TextView uses getDimensionPixelSize to process the android:textSize
attribute in both the constructor (initial parsing) and setTextAppearance
implementation.

Using getDimension caused the test to fail on higher resolution screens
such as N5X.

Change-Id: I3703a0e468c7cc5f3ac7bfac502104ca63cc1606
/frameworks/support/v4/tests/java/android/support/v4/widget/TextViewCompatTest.java
c5b4d17e3c2877bd2888cd5314d0a624fff9b49d 20-Nov-2015 Kirill Grouchnikov <kirillg@google.com> RTL-aware test for TextViewCompat

* Switch support v4 tests to be compiled with current SDK.
* That enables using android:supportsRtl on the <application> element
to enable testing RTL-aware APIs.
* Add RTL-aware test for TextViewCompat.setCompoundDrawablesRelative.

Bug: 25796123
Change-Id: Ie8a723626b4870e846b5a4d950f1c59a6bf74423
/frameworks/support/v4/tests/java/android/support/v4/widget/TextViewCompatTest.java
156b807bb159a532412685e6b7cfd4f0a61d1b5e 19-Nov-2015 Kirill Grouchnikov <kirillg@google.com> Extend TextViewCompat testing with compound drawables.

Change-Id: I13fd26c10629f60f71e12de15cc9c097b96c5386
/frameworks/support/v4/tests/java/android/support/v4/widget/TextViewCompatTest.java
92ad16973b68f0586c585da428946d851a7611bb 19-Nov-2015 Kirill Grouchnikov <kirillg@google.com> Second pass for testing TextViewCompat.

Change-Id: Ide628372b0d30c630dd3be11ae98c764413a80b1
/frameworks/support/v4/tests/java/android/support/v4/widget/TextViewCompatTest.java
d9d9aec0e671cf0db89a8b58a81b1980834f1dc2 18-Nov-2015 Kirill Grouchnikov <kirillg@google.com> Initial proof-of-concept pass for TextViewCompat host testing.

Change-Id: I6c194dac02ec24b0e5f77caa78461713324a4baa
/frameworks/support/v4/tests/java/android/support/v4/widget/TextViewCompatTest.java