org.apache.maven.surefire.testset
Class DirectoryScannerParameters

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

public class DirectoryScannerParameters
extends Object

Author:
Kristian Rosenvold

Constructor Summary
DirectoryScannerParameters(File testClassesDirectory, List includes, List excludes, List specificTests, Boolean failIfNoTests, String runOrder)
           
 
Method Summary
 List getExcludes()
          The excludes pattern list, as specified on the plugin includes parameter.
 List getIncludes()
          The includes pattern list, as specified on the plugin includes parameter.
 RunOrder[] getRunOrder()
           
 List getSpecificTests()
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryScannerParameters

public DirectoryScannerParameters(File testClassesDirectory,
                                  List includes,
                                  List excludes,
                                  List specificTests,
                                  Boolean failIfNoTests,
                                  String runOrder)
Method Detail

getSpecificTests

public List getSpecificTests()

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

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

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


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.