Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(673)

Unified Diff: base/test/android/javatests/src/org/chromium/base/test/util/RetryOnFailure.java

Issue 2327843002: base: Allow RetryOnFailure to apply to a class (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/android/javatests/src/org/chromium/base/test/util/RetryOnFailure.java
diff --git a/base/test/android/javatests/src/org/chromium/base/test/util/RetryOnFailure.java b/base/test/android/javatests/src/org/chromium/base/test/util/RetryOnFailure.java
index 78d0e1894e9321eb1b4ec9ea96970052d6866acb..f96bf53de4e9fd782b0098cd1bd6c771161ae271 100644
--- a/base/test/android/javatests/src/org/chromium/base/test/util/RetryOnFailure.java
+++ b/base/test/android/javatests/src/org/chromium/base/test/util/RetryOnFailure.java
@@ -18,7 +18,7 @@ import java.lang.annotation.Target;
* Long term, this should be merged with @FlakyTest. But @FlakyTest means
* has specific meaning that is currently different from RetryOnFailure.
*/
-@Target(ElementType.METHOD)
+@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface RetryOnFailure {
String message() default "";
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698