Class JUnit3TestChecker
java.lang.Object
org.apache.maven.surefire.common.junit3.JUnit3TestChecker
- All Implemented Interfaces:
ScannerFilter
Missing tests ? This class is basically a subset of the JUnit4TestChecker, which is tested
to boredom and back. Unfortunately we don't have any common module between these providers,
so this stuff is duplicated. We should probably make some modules and just shade the content
into the providers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Class[]
private final Class<?>
private final NonAbstractClassFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates if the class should be accepted by the directory scannerprivate boolean
isSuiteOnly
(Class testClass) private boolean
isValidJUnit3Test
(Class<?> testClass)
-
Field Details
-
EMPTY_CLASS_ARRAY
-
junitClass
-
nonAbstractClassFilter
-
-
Constructor Details
-
JUnit3TestChecker
-
-
Method Details
-
accept
Description copied from interface:ScannerFilter
Indicates if the class should be accepted by the directory scanner- Specified by:
accept
in interfaceScannerFilter
- Parameters:
testClass
- The class in question- Returns:
- true if the class should be part of the directory scan result.
-
isValidJUnit3Test
-
isSuiteOnly
-