Lines Matching defs:annotation
20 import android.test.suitebuilder.annotation.LargeTest;
21 import android.test.suitebuilder.annotation.MediumTest;
22 import android.test.suitebuilder.annotation.SmallTest;
23 import android.test.suitebuilder.annotation.Suppress;
40 import java.lang.annotation.Annotation;
72 AnnotationInclusionFilter(Class<? extends Annotation> annotation) {
73 mAnnotationClass = annotation;
105 return String.format("annotation %s", mAnnotationClass.getName());
116 AnnotationExclusionFilter(Class<? extends Annotation> annotation) {
117 mAnnotationClass = annotation;
145 return String.format("not annotation %s", mAnnotationClass.getName());
236 * Only run tests annotated with given annotation class.
238 * @param annotation the full class name of annotation
240 public void addAnnotationInclusionFilter(String annotation) {
241 Class<? extends Annotation> annotationClass = loadAnnotationClass(annotation);
248 * Skip tests annotated with given annotation class.
250 * @param notAnnotation the full class name of annotation
358 Log.e(LOG_TAG, String.format("Could not find annotation class: %s", className));
360 Log.e(LOG_TAG, String.format("Class %s is not an annotation", className));