Class TestPlanScannerFilter
java.lang.Object
org.apache.maven.surefire.junitplatform.TestPlanScannerFilter
- All Implemented Interfaces:
ScannerFilter
- Since:
- 2.22.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.junit.platform.engine.Filter<?>[]
private final org.junit.platform.launcher.Launcher
-
Constructor Summary
ConstructorsConstructorDescriptionTestPlanScannerFilter
(org.junit.platform.launcher.Launcher launcher, org.junit.platform.engine.Filter<?>[] includeAndExcludeFilters) -
Method Summary
-
Field Details
-
launcher
private final org.junit.platform.launcher.Launcher launcher -
includeAndExcludeFilters
private final org.junit.platform.engine.Filter<?>[] includeAndExcludeFilters
-
-
Constructor Details
-
TestPlanScannerFilter
TestPlanScannerFilter(org.junit.platform.launcher.Launcher launcher, org.junit.platform.engine.Filter<?>[] includeAndExcludeFilters)
-
-
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.
-