Class DirectoryScannerParameters

java.lang.Object
org.apache.maven.surefire.testset.DirectoryScannerParameters

public class DirectoryScannerParameters extends Object
  • Field Details

    • testClassesDirectory

      private final File testClassesDirectory
    • includes

      @Deprecated private final List<String> includes
      Deprecated.
    • excludes

      @Deprecated private final List<String> excludes
      Deprecated.
    • specificTests

      @Deprecated private final List<String> specificTests
      Deprecated.
    • failIfNoTests

      private final boolean failIfNoTests
    • runOrder

      private final RunOrder[] runOrder
  • Constructor Details

  • Method Details

    • getSpecificTests

      @Deprecated public List<String> getSpecificTests()
      Deprecated.
    • getTestClassesDirectory

      public 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 List<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 List<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()