`RavenwoodRule` opt-in and opt-out support.
For some large suites that are migrating into Ravenwood, it can be helpful to have annotations that can selectively include/exclude tests at both the method and class level. To support this, we add new `Include` and `Exclude` annotations that are named to be symmetric. We continue supporting the existing `IgnoreUnderRavenwood` annotation as being equal to `ExcludeUnderRavenwood`, as `Ignore` can be more descriptive and self-documenting to typical JUnit users. Bug: 319647875 Test: atest SystemUiRavenTests Change-Id: Idf8f836a0f48e61f24dd32dbd8e8cd822b3b6b25
Showing
- ravenwood/junit-src/android/platform/test/annotations/ExcludeUnderRavenwood.java 44 additions, 0 deletions...roid/platform/test/annotations/ExcludeUnderRavenwood.java
- ravenwood/junit-src/android/platform/test/annotations/IncludeUnderRavenwood.java 44 additions, 0 deletions...roid/platform/test/annotations/IncludeUnderRavenwood.java
- ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodRule.java 46 additions, 22 deletions...it-src/android/platform/test/ravenwood/RavenwoodRule.java
Loading
Please register or sign in to comment