3c6977fb4bdc63446bc54fd726c41cbbdf85f1b5 |
|
14-Jun-2017 |
Aurimas Liutikas <aurimas@google.com> |
Fix tests that started failing after moving to mockito 2.x Test: locally ran modified tests. Bug: 62532636 Change-Id: Ic7da7427e14e5024b2ea129d8333f4df22d45c31
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/AlertDialogTest.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/app/AlertDialogTest.java
|
f84899463d8e729c3b5b04afd90ef64f38d39f08 |
|
03-Feb-2017 |
George Mount <mount@google.com> |
resolve merge conflicts of 4de1004c70 to master Change-Id: Ief29c01150a4ed0b20c3a8bcb95b52c17c36e89f
|
0856efc954a29794f272a7480c1fe4a96c2e9706 |
|
03-Feb-2017 |
Aurimas Liutikas <aurimas@google.com> |
Fix "AlertDialogTestActivity has leaked window" issues Our popup tests were not dismissing popups at the end of the test causing leaking windows. Test: run these tests and no warnings in logcat Change-Id: I3cd013cf0c34ad04b170e0cf70f985f05ceb5b12
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/AlertDialogTest.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/app/AlertDialogTest.java
|
c7d81db7258ef306a1331962d0b663b8cd3145d6 |
|
20-Dec-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Explicitly hide alert dialog after each test Bug: 33771732 Test: run AlertDialogTest Change-Id: I3766ab161364684fb2eb8cd0c13e067d559f0f6c
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/AlertDialogTest.java
|
4bb57b2c7c5e8fa607119bd5089535d5862cb979 |
|
23-Nov-2016 |
Aurimas Liutikas <aurimas@google.com> |
Update size annotations for compat, design, and appcompat tests. Moved from SmallTest to MediumTest if test took >0.5s Moved from MediumTest to LargeTest if test took >6s Bug: 33058210 Test: running these tests locally on Nexus 5X running 7.0 Change-Id: If4761c9bba2ea1b8280cb104b43d71332b19c94b
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/AlertDialogTest.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/app/AlertDialogTest.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/AlertDialogTest.java
|
512bb28a39aed8b154b60f3fc1752aa96f7f1125 |
|
23-May-2016 |
Chris Banes <chrisbanes@google.com> |
Fix AlertDialog ignoring the provided theme Caused by us not being able to use the new 3-arg Dialog constructor. Fixed by going back to the old way of always re-setting the theme. BUG: 28851195 Change-Id: I94b068f2c38a3c98086a73ff3392d53b6f5dfff4
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/AlertDialogTest.java
|
edfcdcf21924eae3c7c2999ec22c0d9dc84a6cdd |
|
04-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Use mocked Handler for AlertDialog testing. Bug: 26926971 Change-Id: I16e3b28cce414e3b8a33e9af172e21afe7dd66cf
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/AlertDialogTest.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/app/AlertDialogTest.java
|
80e9962bebc88b43b59807f36b4e43fa2fc91c8a |
|
01-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Convert AlertDialog tests to the new world To use JUnit4 + test rules Change-Id: If43bb665303cdc860e20b0cc79cd87bbf3edf35c
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/AlertDialogTest.java
|
8a7d734aa813d9697611038c6ac3e68861898bcd |
|
04-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Additional tests for AlertDialog Cover setAdapter, setCustomTitle, setMessage and setView APIs Change-Id: I057162b7664eb60a2b0db7c6c49c55eafd581069
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/AlertDialogTest.java
|
90079ce0ebfcdd61c65d84ce7b3e4521fe755616 |
|
04-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Tests for AlertDialog button APIs Also clarify when AlertDialog.setButton can be called. Change-Id: I6759f0da41db29ea4c66327e6df5fbb99c61f24a
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/AlertDialogTest.java
|
2d18d3a4b92369971ed446cf54d98fb0fc55646a |
|
17-Dec-2015 |
Kirill Grouchnikov <kirillg@google.com> |
Second pass for AlertDialog tests. * Adding a bit more logic to the existing tests to test getListView API. * Testing setMultiChoiceItems and setSingleChoiceItems APIs.o Change-Id: Id0d3bdcaa03724f8848c683f057379c8f3e51f12
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/AlertDialogTest.java
|
244abf1fee3fe4fab72a1d8925407e29219940be |
|
16-Dec-2015 |
Kirill Grouchnikov <kirillg@google.com> |
First pass for testing AlertDialog. Change-Id: I0ed035a6e9356ddb3de1d030c67476fda5c81e9b
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/AlertDialogTest.java
|