Home
last modified time | relevance | path

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

/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DTestPredicatesTest.java31 assertTrue(hasExampleAnnotation(ClassWithAnnotation.class, "testWithAnnotation")); in testThatMethodWithAnnotationIsReportedAsBeingAnnotated()
32 assertTrue(hasExampleAnnotation(ClassWithoutAnnotation.class, "testWithAnnotation")); in testThatMethodWithAnnotationIsReportedAsBeingAnnotated()
36 assertFalse(hasExampleAnnotation(ClassWithoutAnnotation.class, "testWithoutAnnotation")); in testThatMethodWithOutAnnotationIsNotReportedAsBeingAnnotated()
41 assertTrue(hasExampleAnnotation(ClassWithAnnotation.class, "testWithoutAnnotation")); in testThatClassAnnotatioCausesAllMethodsToBeReportedAsBeingAnnotated()
44 private boolean hasExampleAnnotation(Class<? extends TestCase> aClass, String methodName) in hasExampleAnnotation() method in TestPredicatesTest