69707172737475
public AnnotationVisitor visitAnnotation(String desc, boolean visible) { if ("Lorg/junit/runner/RunWith;".equals(desc)) { test = true; } return new EmptyVisitor(); }
9192939495969798
*/ public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) { if (!test) { return new JUnitTestMethodDetecter(this); } else { return new EmptyVisitor(); } }
31323334353637
public AnnotationVisitor visitAnnotation(String desc, boolean visible) { if ("Lorg/junit/Test;".equals(desc)) { testClassDetecter.setTest(true); } return new EmptyVisitor(); }
35363738394041
} return new EmptyVisitor(); } public AnnotationVisitor visitAnnotationDefault() { return new EmptyVisitor(); }
39404142434445
public AnnotationVisitor visitAnnotationDefault() { return new EmptyVisitor(); } public AnnotationVisitor visitParameterAnnotation(int parameter, String desc, boolean visible) { return new EmptyVisitor(); }
68697071727374
*/ public AnnotationVisitor visitAnnotation(String desc, boolean visible) { if ("Lorg/testng/annotations/Test;".equals(desc)) { test = true; } return new EmptyVisitor(); }
9091929394959697
*/ public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions) { if (!isAbstract && !test) { return new TestNGTestMethodDetecter(this); } else { return new EmptyVisitor(); } }
41424344454647
public AnnotationVisitor visitAnnotation(String desc, boolean visible) { if (testMethodAnnotations.contains(desc)) { testClassDetecter.setTest(true); } return new EmptyVisitor(); }
45464748495051
49505152535455