Files
frameworks_base/libs/WindowManager/Shell/tests
Nataniel Borges bb76df4f90 Update nav and status bar visibility checks on flicker
Previously checked:
  - bar visible -> invisible -> visible again (rotation)
  - bar always visible (non-rotation)

However, these checks were unstable and the animation changed during the release, making the tests hard to maintain.

For now check only that the nav and status bar exist at the end of the transition

Bug: 189804667
Bug: 186115871
Test: atest FlickerTests WMShellFlickerTests
Change-Id: I5e34ae7e1af8bfcab56461617aaac9aa326e75b3
2021-06-23 11:00:50 +02:00
..
2021-02-18 09:35:06 +00:00
2020-08-20 16:13:57 -07:00

WM Shell Test

This contains all tests written for WM (WindowManager) Shell and it's currently divided into 3 categories

  • unittest, tests against individual functions, usually @SmallTest and do not require UI automation nor real device to run
  • integration, this maybe a mix of functional and integration tests. Contains tests verify the WM Shell as a whole, like talking to WM core. This usually involves mocking the window manager service or even talking to the real one. Due to this nature, test cases in this package is normally annotated as @LargeTest and runs with UI automation on real device
  • flicker, similar to functional tests with its sole focus on flickerness. See WM Shell Flicker Test Package for more details