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

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

Issue 10690190: Upstream GestureDetectorProxyTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
Index: base/android/javatests/src/org/chromium/base/test/Feature.java
diff --git a/base/android/javatests/src/org/chromium/base/test/Feature.java b/base/android/javatests/src/org/chromium/base/test/Feature.java
new file mode 100644
index 0000000000000000000000000000000000000000..f31fbcc3f0f6699907ee120dfb72fcae5575074d
--- /dev/null
+++ b/base/android/javatests/src/org/chromium/base/test/Feature.java
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 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;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * This annotation can be used to mark a test is related to some feature(s).
brettw 2012/07/17 19:45:03 I don't understand this class.
bulach 2012/07/18 17:15:14 the java tests are instrumentation tests and norma
brettw 2012/07/18 18:13:16 Yeah, the purpose of me asking wasn't that I need
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface Feature {
+ /**
+ * @return A list of feature names.
+ */
+ public String[] value();
+}

Powered by Google App Engine
This is Rietveld 408576698