Index: base/test/android/javatests/src/org/chromium/base/test/util/parameter/SkipParameterization.java |
diff --git a/base/test/android/javatests/src/org/chromium/base/test/util/parameter/SkipParameterization.java b/base/test/android/javatests/src/org/chromium/base/test/util/parameter/SkipParameterization.java |
new file mode 100644 |
index 0000000000000000000000000000000000000000..669a0bf328ecaa49b0912e228c0a30e15c8df5f9 |
--- /dev/null |
+++ b/base/test/android/javatests/src/org/chromium/base/test/util/parameter/SkipParameterization.java |
@@ -0,0 +1,22 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+package org.chromium.base.test.util.parameter; |
+ |
+import java.lang.annotation.ElementType; |
+import java.lang.annotation.Inherited; |
+import java.lang.annotation.Retention; |
+import java.lang.annotation.RetentionPolicy; |
+import java.lang.annotation.Target; |
+ |
+/** |
+ * BaseJUnit4ClassRunner skips parameterization for tests annotated with SkipParameterization. |
+ * |
+ * This usually used by test that only runs in WebView javatests that only runs in sandboxed mode |
+ * or single process mode. |
+ */ |
+ |
+@Inherited |
+@Retention(RetentionPolicy.RUNTIME) |
+@Target({ElementType.METHOD, ElementType.TYPE}) |
+public @interface SkipParameterization {} |
mikecase (-- gone --)
2017/07/11 18:16:18
My only issue with this is that it only makes for
the real yoland
2017/07/13 23:49:18
Hmm, it does make sense to change to that since it
|