public class JUnit3TestChecker extends java.lang.Object implements ScannerFilter
Modifier and Type | Field and Description |
---|---|
private static java.lang.Class[] |
EMPTY_CLASS_ARRAY |
private java.lang.Class<?> |
junitClass |
private NonAbstractClassFilter |
nonAbstractClassFilter |
Constructor and Description |
---|
JUnit3TestChecker(java.lang.ClassLoader testClassLoader) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.lang.Class testClass)
Indicates if the class should be accepted by the directory scanner
|
private boolean |
isSuiteOnly(java.lang.Class testClass) |
private boolean |
isValidJUnit3Test(java.lang.Class<?> testClass) |
private static final java.lang.Class[] EMPTY_CLASS_ARRAY
private final java.lang.Class<?> junitClass
private final NonAbstractClassFilter nonAbstractClassFilter
public JUnit3TestChecker(java.lang.ClassLoader testClassLoader)
public boolean accept(java.lang.Class testClass)
ScannerFilter
accept
in interface ScannerFilter
testClass
- The class in questionprivate boolean isValidJUnit3Test(java.lang.Class<?> testClass)
private boolean isSuiteOnly(java.lang.Class testClass)