Home
last modified time | relevance | path

Searched refs:HasAnnotation (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestPredicates.java20 import android.test.suitebuilder.annotation.HasAnnotation;
39 public static final Predicate<TestMethod> SELECT_SMOKE = new HasAnnotation(Smoke.class);
40 public static final Predicate<TestMethod> SELECT_SMALL = new HasAnnotation(SmallTest.class);
41 public static final Predicate<TestMethod> SELECT_MEDIUM = new HasAnnotation(MediumTest.class);
42 public static final Predicate<TestMethod> SELECT_LARGE = new HasAnnotation(LargeTest.class);
44 Predicates.not(new HasAnnotation(Suppress.class));
/frameworks/base/test-runner/src/android/test/suitebuilder/annotation/
DHasAnnotation.java31 public class HasAnnotation implements Predicate<TestMethod> { class
35 public HasAnnotation(Class<? extends Annotation> annotationClass) { in HasAnnotation() method in HasAnnotation
/frameworks/base/test-runner/src/android/test/
DInstrumentationCoreTestRunner.java36 import android.test.suitebuilder.annotation.HasAnnotation;
201 Predicates.not(new HasAnnotation(BrokenTest.class)); in getBuilderRequirements()
205 Predicates.not(new HasAnnotation(SideEffect.class)); in getBuilderRequirements()
DInstrumentationTestRunner.java33 import android.test.suitebuilder.annotation.HasAnnotation;
481 return new HasAnnotation(annotationClass); in getAnnotationPredicate()
495 return Predicates.not(new HasAnnotation(annotationClass)); in getNotAnnotationPredicate()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
DHasAnnotationTest.java48 return new HasAnnotation(Example.class).apply(testMethod); in hasExampleAnnotation()