|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| ActivityEmbedding/ | H | 25-Apr-2025 | - | 2,512 | 1,736 |
| AppClose/ | H | 25-Apr-2025 | - | 669 | 379 |
| AppLaunch/ | H | 25-Apr-2025 | - | 2,500 | 1,539 |
| FlickerService/ | H | 25-Apr-2025 | - | 2,791 | 1,674 |
| IME/ | H | 25-Apr-2025 | - | 2,409 | 1,626 |
| Notification/ | H | 25-Apr-2025 | - | 1,360 | 863 |
| QuickSwitch/ | H | 25-Apr-2025 | - | 1,199 | 759 |
| Rotation/ | H | 25-Apr-2025 | - | 1,030 | 644 |
| res/ | H | 25-Apr-2025 | - | 54 | 19 |
| src/com/android/server/wm/flicker/ | H | 25-Apr-2025 | - | 581 | 313 |
| test-apps/ | H | 25-Apr-2025 | - | 7,693 | 4,956 |
| Android.bp | H A D | 25-Apr-2025 | 2.3 KiB | 89 | 82 |
| OWNERS | H A D | 25-Apr-2025 | 127 | 5 | 4 |
| README.md | H A D | 25-Apr-2025 | 1 KiB | 24 | 14 |
README.md
1# Flicker Test Library
2
3## Motivation
4This set of tests use the flickerlib from `platform_testing/libraries/flicker` to execute a set of common UI transitions to detect discontinuous or unpredictable behavior.
5
6The tests are organized in packages according to the transitions they test (e.g., `rotation`, `splitscreen`).
7
8## Adding a Test
9
10By default, tests should inherit from `TestBase` and override the variable `transition` (Kotlin) or the function `getTransition()` (Java).
11
12Inheriting from this class ensures the common assertions will be executed, namely:
13
14* all regions on the screen are covered
15* status bar is always visible
16* status bar is at the correct position at the start and end of the transition
17* nav bar is always visible
18* nav bar is at the correct position at the start and end of the transition
19
20The default tests can be disabled by overriding the respective methods and including an `@Ignore` annotation.
21
22For more examples of how a test looks like check `ChangeAppRotationTest` within the `Rotation` subdirectory.
23
24