diff options
author | 2024-01-08 11:02:38 -0800 | |
---|---|---|
committer | 2024-01-08 11:05:09 -0800 | |
commit | 0fb11293a9c89208cc44d05fe4a876cf1f63e061 (patch) | |
tree | 29b8fcdcaf36eb87846e73b2916fe4b800b9ce92 /ravenwood/junit-src | |
parent | 79b8a00c5ff39a1a3530cbe7449e45fd01c6333f (diff) |
Ignore test methods with $noRavenwood suffix
This allows AOSP changes to have `@IgnoreUnderRavenwood` equivalent
until the annotations are availabe in AOSP.
Bug: 292141694
Test: atest RavenwoodMinimumTest
Change-Id: Id1d5a879eb7e31bb99911aae16bdf093c1c93c6e
Diffstat (limited to 'ravenwood/junit-src')
-rw-r--r-- | ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodRule.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodRule.java b/ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodRule.java index 513c09587026..d96787480cfa 100644 --- a/ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodRule.java +++ b/ravenwood/junit-src/android/platform/test/ravenwood/RavenwoodRule.java @@ -142,6 +142,11 @@ public class RavenwoodRule implements TestRule { Assume.assumeFalse(IS_UNDER_RAVENWOOD); } + // Stopgap for http://g/ravenwood/EPAD-N5ntxM + if (description.getMethodName().endsWith("$noRavenwood")) { + Assume.assumeFalse(IS_UNDER_RAVENWOOD); + } + RavenwoodRuleImpl.init(RavenwoodRule.this); try { base.evaluate(); |