diff options
Diffstat (limited to 'ravenwood/junit-src')
-rw-r--r-- | ravenwood/junit-src/android/platform/test/annotations/DisabledOnRavenwood.java | 9 | ||||
-rw-r--r-- | ravenwood/junit-src/android/platform/test/annotations/IgnoreUnderRavenwood.java | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ravenwood/junit-src/android/platform/test/annotations/DisabledOnRavenwood.java b/ravenwood/junit-src/android/platform/test/annotations/DisabledOnRavenwood.java index 4bf09807c360..1adb0f31da54 100644 --- a/ravenwood/junit-src/android/platform/test/annotations/DisabledOnRavenwood.java +++ b/ravenwood/junit-src/android/platform/test/annotations/DisabledOnRavenwood.java @@ -42,4 +42,13 @@ import java.lang.annotation.Target; @Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) public @interface DisabledOnRavenwood { + /** + * One or more classes that aren't yet supported by Ravenwood, which this test depends on. + */ + Class<?>[] blockedBy() default {}; + + /** + * General free-form description of why this test is being ignored. + */ + String reason() default ""; } diff --git a/ravenwood/junit-src/android/platform/test/annotations/IgnoreUnderRavenwood.java b/ravenwood/junit-src/android/platform/test/annotations/IgnoreUnderRavenwood.java index 916dd5943059..7faa654b903c 100644 --- a/ravenwood/junit-src/android/platform/test/annotations/IgnoreUnderRavenwood.java +++ b/ravenwood/junit-src/android/platform/test/annotations/IgnoreUnderRavenwood.java @@ -35,9 +35,12 @@ import java.lang.annotation.Target; * to be enabled. * * @hide + * + * @deprecated Use {@link DisabledOnRavenwood} instead. */ @Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) +@Deprecated public @interface IgnoreUnderRavenwood { /** * One or more classes that aren't yet supported by Ravenwood, which this test depends on. |