History log of /frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8d3b808ab4720ef4e9d58f2bba4e31f741d3898c 07-Jun-2017 Aurimas Liutikas <aurimas@google.com> Remove BaseInstrumentationTestCase in AppCompat tests.

Test: ./gradlew assembleAndroidTest
Change-Id: I5ff65ee8ff5efe9499c65bb9982a6edb6c362711
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
722327e27579c196b92883c07f4b47e9efada8ad 25-Apr-2017 Kirill Grouchnikov <kirillg@google.com> Backport changes and cleanup in appcompat view/menu package

* Backport relevant changes that were made in the framework code
* Cleanup unused code
* Cleanup code for the new minSdk level

Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.ListPopupWindowTest
Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.widget.PopupMenuTest
Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.app.KeyEventsTestCaseWithWindowDecor
Test: ./gradlew support-appcompat-v7:connectedCheck --info --daemon -Pandroid.testInstrumentationRunnerArguments.class=android.support.v7.app.KeyEventsTestCaseWithToolbar
Bug: 34118882
Change-Id: I080ca4f916e61e4452661ad65ce3a5cda267cc33
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
a2dd1b59796ccd0b145a4d3c970cd6ab35e0ea96 15-Mar-2017 Alan Viverette <alanv@google.com> Revert portion of "Suppress flaky tests"

This reverts commit 522ead667d2efbd7675b89b11aec769ec37baa20.

Bug: 34956766
Change-Id: I0fc65f2fd3565587c947dd664013a0fe5b8f8dd6
Test: n/a
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
522ead667d2efbd7675b89b11aec769ec37baa20 24-Feb-2017 Alan Viverette <alanv@google.com> Suppress flaky tests

Bug: 33659300
Bug: 34956766
Test: n/a
Change-Id: I0a24e39e5036d4a71ca7e255070edd64aaec5503
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
86c70c17ecb7ee090cbedc2bc876725894861dad 15-Mar-2017 Kirill Grouchnikov <kirillg@google.com> Rename test method (same as in 25.4)

Test: run the tests
Change-Id: I0b02d102e2a57b7af23d502ff7a12e2230e69d1a
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
1cc25c522f9d8c25b12e551871f809538e173a12 15-Mar-2017 Kirill Grouchnikov <kirillg@google.com> resolve merge conflicts of 0e38a76128 to master

Test: same as in ubsupport 25.4
Change-Id: I6d2f14329588a359e5bacd8c2f3c5ad20ab3fe97
64f86e807495e93f13f838a2fa9c50037b678319 14-Mar-2017 Kirill Grouchnikov <kirillg@google.com> Remove test scenario dependency on IME

When expanded, SearchView automatically brings in soft
keyboard. The test flow around dismissing the keyboard
before collapsing the action view was flaky.

Test: run tests in KeyEventsTestCaseWithToolbar and KeyboardShortcutsTestCaseWithWindowDecor
Bug: 34956766
Change-Id: I20abf348e1fe8df08a4319082ac75ebab65eabfe
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
03b4630ce355cb4d544d1403c6257a22aee39fd9 15-Feb-2017 Alan Viverette <alanv@google.com> Suppress flaky tests

Bug: 33659300
Bug: 34956766
Test: n/a
Change-Id: I0a24e39e5036d4a71ca7e255070edd64aaec5503
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
80e16f009ab27432b9b8e8d6e7177d9d1014ec31 03-Feb-2017 Aurimas Liutikas <aurimas@google.com> Temporarily mark testBackCollapsesSearchView as LargeTest am: 0fa84e46e9 am: 688848ea1d
am: 892358acda

Change-Id: Ia8782626f0665e8e4fa577af1a24b6d06356bf18
0fa84e46e9b72d8d20dfafaed1f4c72b0d6351fd 03-Feb-2017 Aurimas Liutikas <aurimas@google.com> Temporarily mark testBackCollapsesSearchView as LargeTest

testBackCollapsesSearchView started flaking today in presubmit.
This change removes this test from blocking presubmit as it is not
SmallTest or MediumTest anymore.

Bug: 34956766
Change-Id: I65f53767e356e0302adb8036922a8170dace59a9
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
44ee68ea8e537af604d731f47cb7f0ac0ffb4903 25-Jan-2017 Vladislav Kaznacheev <kaznacheev@google.com> Tests for menu item content description and tooltip

Bug: 34076597
Test: PopupMenuTest, KeyEventsTestCaseWithToolbar
Change-Id: Ie53fc9e8319a24adff09451ef08322a7b001aa58
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.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/app/BaseKeyEventsTestCase.java
261ba392bba9ff4018ff7dd53091f71549bf56ad 28-Jun-2016 Chris Banes <chrisbanes@google.com> Fix testBackCollapsesSearchView tests

Caused by a timing issue with the IME on N. Fixed
by moving to an Espresso based test.

BUG: 29570777
Change-Id: I80a8e62d04392399e17134a411f7ff66c1d02f2a
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
24391daa4e5831395924e2f48df86e19294cc211 25-Jan-2016 Chris Banes <chrisbanes@google.com> Update AppCompat tests to use Activity Rules

Also tidied up some tests which test the Activity
finishing. These tests should be less flaky now.

Change-Id: I13eea877896b4a5fd38e9ea510a0bed03b1fcb33
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
daea069fe33cc750bcb733ebcb6206d2dcedae76 29-Dec-2015 Chris Banes <chrisbanes@google.com> Annotate other support library tests

- Added NO_DOCS files to other test folders
- All test APKs are copied (if they have tests) via
./gradlew assembleAndroidTest

I've left leanback out since they have a odd test project
hierarchy, and they'd probably need TV devices on the CI
server anyway.

BUG: 24494874

Change-Id: Iff25af777438e62f30b63843d89325d380cf7e1e
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
a37e9311de7ff4407104965ff66146f87e55ba5c 15-Dec-2015 Kirill Grouchnikov <kirillg@google.com> First pass for ListPopupWindow testing

* Basic content display
* Anchoring to the specific view
* Dismissal via API call or tapping outside the bounds
* Outside tap to dismiss a non-modal window should deliver
the tap to the underlying view
* Item click via API or tap

Change-Id: I00b9c4f1c90646075f0caeddeda81d14b6afebea
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
2f769dc974bd526d945efe8a644f3f89112e08fe 09-Sep-2015 Chris Banes <chrisbanes@google.com> Fix back button not working with empty menu

Happens on ICS+. Caused by AppCompat letting dispatchKeyEvent()
to bubble up to PhoneWindow when the menu is empty. PhoneWindow's
KEYCODE_BACK handling then steals all events, not allowing the
Activity to onBackPressed().

Fixed by making AppCompat handle all KEYCODE_MENU events.

BUG: 23379766
Change-Id: I1d9bd25cb117cd19d1af9967964c0c1da67ddec4
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
4d95686e7ade79bfb1081047e90de4bf2affbbca 20-Jul-2015 Chris Banes <chrisbanes@google.com> Fix KEYCODE_MENU not being dispatched to an Activity

Also fix onPanelClosed() not being called, by moving
the related logic closer to that of PhoneWindow.

BUG: 22596497
Change-Id: Ia1b66b92646aceb49ed58b913c05984e81503124
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java
cdbdcb29b4a4e3bf1553f824902562cee3fcb723 10-Jul-2015 Chris Banes <chrisbanes@google.com> Add tests to AppCompat

At the moment they're only covering regressions which
have been fixed recently, and basics.

Change-Id: I24fbae975bd1a7642d2e30ddee9f622bd36b23d2
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/BaseKeyEventsTestCase.java