Commit Graph

6 Commits

Author SHA1 Message Date
Nataniel Borges
992a155b61 New FlickerTests: Create initial flicker tests for Pip
Create an initial set of tests for pip. Initial tests are:
- All regions covered
- Status and navigation bar is always visible
- Pip window is shown, expanded, closed, and doesn't flicker
- Pip layer is shown, expanded, closed, and doesn't flicker
- Background is displayed behind Pip window

Test: atest FlickerTests:PipToHomeTest and atest FlickerTests:PipToAppTest
Change-Id: I16345de39a799744b97a5390495538d568693222
2020-02-25 12:54:43 +01:00
Nataniel Borges
9f2ad75a6e Automatically clean up flicker test data
Currently the flicker tests leave data on the /sdcard/flicker directory. We now clean up this data after the test.

The logs are still available in the atest results directory.

Test: atest FlickerTests
Change-Id: Ia83cbedff3104964e3d4be14a7c035f2193d36a8
2019-12-04 10:38:42 +01:00
Nataniel Borges
eb63fdd6e5 Don't remove flicker test logs from device for easier debugging
Test: atest FlickerTests
Change-Id: Id8a7869967df2ccd2e905c61cc1a348ae06d4430
2019-09-18 17:17:35 +02:00
Julien Desprez
c82d3e9e3c Explicitly exclude @Ignore annotation
Some flicker class are marked Ignored causing some issue
with the AJUR runner. To avoid them, simply filter it.

Test: None
Bug: 129468528
Change-Id: I6442204eb6f89b4bf90a39ee821ebc4daebbe120
2019-03-28 08:50:03 -07:00
Hsin-Yi Chen
677a0025cb Replace GoogleDeviceSetup with DeviceSetup in FlickerTests
This commit replaces GoogleDeviceSetup which is not on AOSP.

Test: atest FlickerTests
Bug: 128877715
Change-Id: I2e4167dd7e4e5ef3352cb8fda2f753a0acf2f600
2019-03-19 05:31:40 +00:00
Vishnu Nair
8248b7c995 Move FlickerTests to frameworks/base/tests 2/2
platform_testing is moving to AOSP first development. FlickerTests may require access to
in development test apis and cannot be developed in AOSP.

Other minor changes:
- remove FlickerTests from APCT. FlickerTests will use TEST_MAPPING
- use @FlakyTest instead of @Ignore annotation to skip tests

Test: atest FlickerTests
Test: make -j32 continuous_instrumentation_tests
Test: cd frameworks/base/tests/FlickerTests/ && atest :postsubmit

Bug: 112044297
Change-Id: Icc3194ddd9b801034d8797bf2ec60ebff071612c
2018-08-01 10:13:36 -07:00