History log of /frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f2e6ef0841fd14731adf18bd3ae22a0164100577 28-Jun-2017 Aurimas Liutikas <aurimas@google.com> Fix ListPopupWindowTest on API 26

Calling setOnClickListener needs to happen on the UI thread.
This change updates the test to do so.

Test: Ran ListPopupWindowTest on API 26 device
Change-Id: I794f7817ba35fbe5f810dbc03aaca78fba5b95e6
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
963facb8fce35022f296c38fadafd9a959ab1655 12-Jun-2017 Aurimas Liutikas <aurimas@google.com> Upgrade from mockito 1.9.5 to 2.7.6

Bug: 62532636
Test: ./gradlew assembleAndroidTest succeeds
Change-Id: I5bd89e5aad7761bbd2a5b188fb0661f1dbf4743b
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
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/widget/ListPopupWindowTest.java
ca71c3f4588219d418bd23bfa763ca664bbbc445 04-Feb-2017 Aurimas Liutikas <aurimas@google.com> resolve merge conflicts of f969608310 to master

Change-Id: I21c2d864e85605409afc4b97be2a31f345f1cb88
cc2546172b02683528a4aa2ba9dccccf1978884c 04-Feb-2017 Aurimas Liutikas <aurimas@google.com> Mark ListPopupWindowTest#testAnchoring as large and flaky.

ListPopupWindowTest#testAnchoring has been flaky so mark it @LargeTest
and @FlakyTest to prevent it from it being run as presubmit.

Test: None
Bug: 33669575
Change-Id: Ife7681daec5997c05ec2d5c3e8d8e15f4da00cf0
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
35232c6eaeb9b99f390cb8ef0ac83bf45fa0b3fa 01-Feb-2017 Aurimas Liutikas <aurimas@google.com> Update test sizes for all currently @SmallTest.

SmallTests are supposed to complete in <200ms, Medium in <1s, and Large in <30s.
This CL updates the size of all the SmallTest based on excecution times from
presubmit test runners.

Test: None
Bug: 34854821
Change-Id: Iec73f7b6ef63b27cd3d8b19a8e8c7a9b91ff6729
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
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/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.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/ListPopupWindowTest.java
d377289e3c691310fcb21512da91befbbdceeb45 19-Jul-2016 Aurimas Liutikas <aurimas@google.com> Fix ListPopupWindowTest#testDismissalViaTouch

In certain screen configurations (landscape mode) there might not be
enough space to tap below the popup. Instead tap above to achieve the
same effect.

Bug: 30198627
Change-Id: I6e39356ce4f515ed8307ac456bf708b37976febf
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
e9507e4f5f36a0032dfe881410869f38bd2edb2c 17-Mar-2016 Kirill Grouchnikov <kirillg@google.com> Test coverage for drag-to-open listener in ListPopupWindow

Change-Id: I3ac83d021b9baec9539d1668d83e54cc32d90a8d
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
31c1690d6ed7ebec75bd9f6c0c74ac29528bd2f8 02-Feb-2016 Kirill Grouchnikov <kirillg@google.com> Convert tests with listeners to use Mockito.

Bug: 26926971
Change-Id: I776102521df9f6244be8e039087fb82fcf2590cd
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
eb673c3e06976775075d489cdd53f65208e5b551 25-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Migrate tests away from deprecated methods

Change-Id: I06044741e6495e633ffd24ff45e4d39865ec8ef1
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
0f3f71c172e87b05b0a6b766cf129f4be56179d5 25-Jan-2016 Chris Banes <chrisbanes@google.com> Fix appcompat-test build

Change-Id: I0c175edbe522587e3a19f8b9cc11e4ceb34d3682
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
2da48305c96b4cd11dda7f480003b1559c774ed7 22-Jan-2016 Kirill Grouchnikov <kirillg@google.com> Tests for PopupMenu

Change-Id: Ibaa30e2a5fd01318959c2539313d0cb47363b255
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.java
40f6f6c7c73894aec7dd994bfc6265f06f9f0e35 16-Dec-2015 Kirill Grouchnikov <kirillg@google.com> Remove unused imports

Change-Id: I94df41cdec3e3019a4b105ee68e818de9363925d
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ListPopupWindowTest.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/widget/ListPopupWindowTest.java