Chromium Code Reviews| 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(); |
| +} |