Class DirectoryScannerParameters
java.lang.Object
org.apache.maven.surefire.testset.DirectoryScannerParameters
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionDirectoryScannerParameters
(File testClassesDirectory, List<String> includes, List<String> excludes, List<String> specificTests, boolean failIfNoTests, String runOrder) private
DirectoryScannerParameters
(File testClassesDirectory, List<String> includes, List<String> excludes, List<String> specificTests, boolean failIfNoTests, RunOrder[] runOrder) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.RunOrder[]
Deprecated.Returns the directory of the compiled classes, normally ${project.build.testOutputDirectory}boolean
Indicates if lack of runable tests should fail the entire build
-
Field Details
-
testClassesDirectory
-
includes
Deprecated. -
excludes
Deprecated. -
specificTests
Deprecated. -
failIfNoTests
private final boolean failIfNoTests -
runOrder
-
-
Constructor Details
-
DirectoryScannerParameters
-
DirectoryScannerParameters
public DirectoryScannerParameters(File testClassesDirectory, @Deprecated List<String> includes, @Deprecated List<String> excludes, @Deprecated List<String> specificTests, boolean failIfNoTests, String runOrder)
-
-
Method Details
-
getSpecificTests
Deprecated. -
getTestClassesDirectory
Returns the directory of the compiled classes, normally ${project.build.testOutputDirectory}- Returns:
- A directory that can be scanned for .class files
-
getIncludes
Deprecated.The includes pattern list, as specified on the plugin includes parameter.- Returns:
- A list of patterns. May contain both source file designators and .class extensions.
-
getExcludes
Deprecated.The excludes pattern list, as specified on the plugin includes parameter.- Returns:
- A list of patterns. May contain both source file designators and .class extensions.
-
isFailIfNoTests
public boolean isFailIfNoTests()Indicates if lack of runable tests should fail the entire build- Returns:
- true if no tests should fail the build
-
getRunOrder
-