Searched refs:hasExampleAnnotation (Results 1 – 1 of 1) sorted by relevance
31 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 HasAnnotationTest