Class JUnit48TestChecker
java.lang.Object
org.apache.maven.surefire.common.junit48.JUnit48TestChecker
- All Implemented Interfaces:
ScannerFilter
Looks for additional junit48-like features
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final JUnit4TestChecker
private final NonAbstractClassFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates if the class should be accepted by the directory scannerprivate boolean
isAbstract
(Class testClass) private boolean
isAbstractWithEnclosedRunner
(Class testClass) private boolean
isRunWithEnclosedRunner
(Class testClass)
-
Field Details
-
nonAbstractClassFilter
-
jUnit4TestChecker
-
-
Constructor Details
-
JUnit48TestChecker
-
-
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.
-
isAbstractWithEnclosedRunner
-
isRunWithEnclosedRunner
-
isAbstract
-