Package org.apache.maven.surefire.junit
Class PojoAndJUnit3Checker
- java.lang.Object
-
- org.apache.maven.surefire.junit.PojoAndJUnit3Checker
-
- All Implemented Interfaces:
ScannerFilter
public class PojoAndJUnit3Checker extends java.lang.Object implements ScannerFilter
-
-
Field Summary
Fields Modifier and Type Field Description private JUnit3TestChecker
jUnit3TestChecker
private NonAbstractClassFilter
nonAbstractClassFilter
-
Constructor Summary
Constructors Constructor Description PojoAndJUnit3Checker(JUnit3TestChecker jUnit3TestChecker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(java.lang.Class testClass)
Indicates if the class should be accepted by the directory scannerprivate boolean
isPojoTest(java.lang.Class<?> testClass)
-
-
-
Field Detail
-
jUnit3TestChecker
private final JUnit3TestChecker jUnit3TestChecker
-
nonAbstractClassFilter
private final NonAbstractClassFilter nonAbstractClassFilter
-
-
Constructor Detail
-
PojoAndJUnit3Checker
public PojoAndJUnit3Checker(JUnit3TestChecker jUnit3TestChecker)
-
-
Method Detail
-
accept
public boolean accept(java.lang.Class testClass)
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.
-
isPojoTest
private boolean isPojoTest(java.lang.Class<?> testClass)
-
-