History log of /frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/AppCompatButtonTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
305e5285317ad25c8844a6c70d21cee7b838dc05 09-May-2017 Andrei Stingaceanu <stg@google.com> Fix failing AppCompatButtonTest.testAllCaps

AppCompatTextView started to fallback on the framework
implementation of all caps, AppCompatButton inherits from it;
call getString() on getText() for equality check.

Bug: 38158137
Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon
-Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.AppCompatButtonTest

Change-Id: I13cc3a7632030c8e40b54a6cc3676456f0a6fbe9
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/AppCompatButtonTest.java
27644c071b7fc0e1e4f91194f2a08b4aa2cf1465 05-Mar-2017 Aurimas Liutikas <aurimas@google.com> Remove unused imports in support library classes.

Test: ./gradlew assebmle assembleAndroidTest
Change-Id: I429f0abb742bfed9288f84a7d6a3208063068f23
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/AppCompatButtonTest.java
f39fda5f5a43ca50ea942da561cbe4eb9a93be8a 22-Nov-2016 Chris Banes <chrisbanes@google.com> Fix custom tint showing as disabled pre-Lollipop

Also unifies the contract that we expect for button
tinting: if a developer provides a tint they are
responsible for all of it (including the disabled tint).

Test: included
BUG: 31303357

Change-Id: I7f654d7dcd3f7c99ce4bab754eb447eb45e1322f
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/AppCompatButtonTest.java
1cd642752286e1fba44d8ec87e9793f116a22240 25-Oct-2016 Chris Banes <chrisbanes@google.com> Fix background tint for Button.Colored on API 22

Happens because we're using the compat drawable pre-v23, which means
that the compat tint is loaded into mInternalBackgroundTint, thus we
also need to handle any custom set tints.

Also improved the readability of BaseViewTest.

Test: included
BUG: 32368707

Change-Id: I30c77e0da617de4d6f160f4627de49157a6ea728
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/AppCompatButtonTest.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/appcompat/tests/src/android/support/v7/widget/AppCompatButtonTest.java
27d62e750b1363e416d15adff325fd320542755e 22-Apr-2016 Kirill Grouchnikov <kirillg@google.com> Align all-caps test on AppCompatButton with AppCompatTextView logic.

Also tweak the comments to reflect the new logic.

Change-Id: I8d6acb608258d071f58051067459837e21c6b90e
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/AppCompatButtonTest.java
708522730268f27e2db46d12561c5658593d7883 03-Mar-2016 Kirill Grouchnikov <kirillg@google.com> Tinting / all-caps tests for AppCompatButton class

Change-Id: I7a610a3becf9ca21f15de686f9d8e11d4122b622
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/AppCompatButtonTest.java