Searched refs:hasAnnotation (Results 1 – 5 of 5) sorted by relevance
33 static final Predicate<TestMethod> SELECT_SMOKE = hasAnnotation(Smoke.class);35 static final Predicate<TestMethod> REJECT_SUPPRESSED = not(hasAnnotation(Suppress.class));41 public static Predicate<TestMethod> hasAnnotation(Class<? extends Annotation> annotationClass) { in hasAnnotation() method in TestPredicates
52 import static android.test.suitebuilder.TestPredicates.hasAnnotation;198 private static final Predicate<TestMethod> SELECT_SMALL = hasAnnotation(SmallTest.class);200 private static final Predicate<TestMethod> SELECT_MEDIUM = hasAnnotation(MediumTest.class);202 private static final Predicate<TestMethod> SELECT_LARGE = hasAnnotation(LargeTest.class);489 return hasAnnotation(annotationClass); in getAnnotationPredicate()503 return TestPredicates.not(hasAnnotation(annotationClass)); in getNotAnnotationPredicate()
48 return TestPredicates.hasAnnotation(Example.class).apply(testMethod); in hasExampleAnnotation()
544 if (mAnnotationUtils.hasAnnotation(accessor, name)) { in hasColorAnnotation()551 if (mAnnotationUtils.hasAnnotation(accessor, name)) { in hasColorAnnotation()570 if (mAnnotationUtils.hasAnnotation(accessor, name)) { in hasResourceIdAnnotation()
95 boolean hasAnnotation(@NonNull Element element, @NonNull String annotationQualifiedName) { in hasAnnotation() method in AnnotationUtils