Searched refs:HasAnnotation (Results 1 – 5 of 5) sorted by relevance
20 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));
31 public class HasAnnotation implements Predicate<TestMethod> { class35 public HasAnnotation(Class<? extends Annotation> annotationClass) { in HasAnnotation() method in HasAnnotation
36 import android.test.suitebuilder.annotation.HasAnnotation;201 Predicates.not(new HasAnnotation(BrokenTest.class)); in getBuilderRequirements()205 Predicates.not(new HasAnnotation(SideEffect.class)); in getBuilderRequirements()
33 import android.test.suitebuilder.annotation.HasAnnotation;481 return new HasAnnotation(annotationClass); in getAnnotationPredicate()495 return Predicates.not(new HasAnnotation(annotationClass)); in getNotAnnotationPredicate()
48 return new HasAnnotation(Example.class).apply(testMethod); in hasExampleAnnotation()