diff options
author | 2024-09-20 20:16:06 +0000 | |
---|---|---|
committer | 2024-09-20 20:16:06 +0000 | |
commit | a17acd7f11f7bc946832120099b72836fadc6bfb (patch) | |
tree | 993d65da09a7a666699bf6f21d1064b44d7bb6c1 /ravenwood/junit-src | |
parent | 42ebed4a2f45319d677a7b764ba9b5797714f10a (diff) |
Allow to add a bug number to ravenwood annotations
Flag: EXEMPT host test change only
Bug: 292141694
Test: treehugger
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7aca35e22dd73d7277821f46dd1869777cafe507)
Merged-In: I50389646482067671f1df6f159561e9058eca4e3
Change-Id: I50389646482067671f1df6f159561e9058eca4e3
Diffstat (limited to 'ravenwood/junit-src')
-rw-r--r-- | ravenwood/junit-src/android/platform/test/annotations/DisabledOnRavenwood.java | 5 | ||||
-rw-r--r-- | ravenwood/junit-src/android/platform/test/annotations/IgnoreUnderRavenwood.java | 5 |
2 files changed, 10 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 1adb0f31da54..470165c6da43 100644 --- a/ravenwood/junit-src/android/platform/test/annotations/DisabledOnRavenwood.java +++ b/ravenwood/junit-src/android/platform/test/annotations/DisabledOnRavenwood.java @@ -51,4 +51,9 @@ public @interface DisabledOnRavenwood { * General free-form description of why this test is being ignored. */ String reason() default ""; + + /** + * Tracking bug number, if any. + */ + long bug() default 0; } diff --git a/ravenwood/junit-src/android/platform/test/annotations/IgnoreUnderRavenwood.java b/ravenwood/junit-src/android/platform/test/annotations/IgnoreUnderRavenwood.java index 7faa654b903c..1c06829dba06 100644 --- a/ravenwood/junit-src/android/platform/test/annotations/IgnoreUnderRavenwood.java +++ b/ravenwood/junit-src/android/platform/test/annotations/IgnoreUnderRavenwood.java @@ -51,4 +51,9 @@ public @interface IgnoreUnderRavenwood { * General free-form description of why this test is being ignored. */ String reason() default ""; + + /** + * Tracking bug number, if any. + */ + long bug() default 0; } |