diff options
| author | 2024-01-25 15:00:04 -0700 | |
|---|---|---|
| committer | 2024-01-26 10:06:18 -0700 | |
| commit | 1a84549be3841f3ad9844067b8cc590e0a68efad (patch) | |
| tree | f65e390edd2de64bcfd15adbc7923559bcd51761 /libs/androidfw/StringPool.cpp | |
| parent | eb64902270ec6805ad82122ff4b2ff19f2b21cec (diff) | |
Offer `RavenwoodClassRule`.
Some tests interact with yet-unsupported APIs under Ravenwood in
their test class constructors, and `RavenwoodRule` arrives too late
to effectively apply annotations like `@IgnoreUnderRavenwood`.
This change adds `RavenwoodClassRule` which can be marked as an
`@ClassRule` so that it runs in a static context before each test
class is constructed, giving it a chance to respect annotations.
We also adjust our annotation naming to match the naming style in
JUnit Jupiter, which has annotations like `DisabledOnJre` and
`EnabledOnOs`.
Bug: 319647875
Test: atest SystemUiRoboTests
Test: atest SystemUiRavenTests
Change-Id: I7d834b8e74e961bb3d4befcad6204d99f8fe80e9
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions