Lines Matching defs:annotation
19 import android.test.suitebuilder.annotation.LargeTest;
20 import android.test.suitebuilder.annotation.MediumTest;
21 import android.test.suitebuilder.annotation.SmallTest;
22 import android.test.suitebuilder.annotation.Suppress;
38 import java.lang.annotation.Annotation;
64 AnnotationInclusionFilter(Class<? extends Annotation> annotation) {
65 mAnnotationClass = annotation;
78 // annotation
88 return String.format("annotation %s", mAnnotationClass.getName());
99 AnnotationExclusionFilter(Class<? extends Annotation> annotation) {
100 mAnnotationClass = annotation;
121 return String.format("not annotation %s", mAnnotationClass.getName());
169 * Only run tests annotated with given annotation class.
171 * @param annotation the full class name of annotation
173 public void addAnnotationInclusionFilter(String annotation) {
174 Class<? extends Annotation> annotationClass = loadAnnotationClass(annotation);
181 * Skip tests annotated with given annotation class.
183 * @param notAnnotation the full class name of annotation
279 Log.e(LOG_TAG, String.format("Could not find annotation class: %s", className));
281 Log.e(LOG_TAG, String.format("Class %s is not an annotation", className));