org.apache.maven.surefire.testset
Class DirectoryScannerParameters

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

public class DirectoryScannerParameters
extends java.lang.Object

Author:
Kristian Rosenvold

Constructor Summary
DirectoryScannerParameters(java.io.File testClassesDirectory, java.util.List includes, java.util.List excludes, java.lang.Boolean failIfNoTests, java.lang.String runOrder)
           
 
Method Summary
 java.util.List getExcludes()
          The excludes pattern list, as specified on the plugin includes parameter.
 java.util.List getIncludes()
          The includes pattern list, as specified on the plugin includes parameter.
 java.lang.String getRunOrder()
           
 java.io.File getTestClassesDirectory()
          Returns the directory of the compiled classes, normally ${project.build.testOutputDirectory}
 java.lang.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(java.io.File testClassesDirectory,
                                  java.util.List includes,
                                  java.util.List excludes,
                                  java.lang.Boolean failIfNoTests,
                                  java.lang.String runOrder)
Method Detail

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

public java.util.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 java.util.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 java.lang.Boolean isFailIfNoTests()
Indicates if lack of runable tests should fail the entire build

Returns:
true if no tests should fail the build

getRunOrder

public java.lang.String getRunOrder()


Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.