Class DirectoryScannerParameters
- java.lang.Object
-
- org.apache.maven.surefire.testset.DirectoryScannerParameters
-
public class DirectoryScannerParameters extends java.lang.Object
- Author:
- Kristian Rosenvold
-
-
Constructor Summary
Constructors Constructor Description DirectoryScannerParameters(java.io.File testClassesDirectory, java.util.List<java.lang.String> includes, java.util.List<java.lang.String> excludes, java.util.List<java.lang.String> specificTests, boolean failIfNoTests, java.lang.String runOrder)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<java.lang.String>
getExcludes()
Deprecated.java.util.List<java.lang.String>
getIncludes()
Deprecated.RunOrder[]
getRunOrder()
java.util.List<java.lang.String>
getSpecificTests()
Deprecated.java.io.File
getTestClassesDirectory()
Returns the directory of the compiled classes, normally ${project.build.testOutputDirectory}boolean
isFailIfNoTests()
Indicates if lack of runable tests should fail the entire build
-
-
-
Constructor Detail
-
DirectoryScannerParameters
public DirectoryScannerParameters(java.io.File testClassesDirectory, @Deprecated java.util.List<java.lang.String> includes, @Deprecated java.util.List<java.lang.String> excludes, @Deprecated java.util.List<java.lang.String> specificTests, boolean failIfNoTests, java.lang.String runOrder)
-
-
Method Detail
-
getSpecificTests
@Deprecated public java.util.List<java.lang.String> getSpecificTests()
Deprecated.
-
getTestClassesDirectory
public java.io.File getTestClassesDirectory()
Returns the directory of the compiled classes, normally ${project.build.testOutputDirectory}- Returns:
- A directory that can be scanned for .class files
-
getIncludes
@Deprecated public java.util.List<java.lang.String> 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 public java.util.List<java.lang.String> 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
public RunOrder[] getRunOrder()
-
-