org.apache.maven.surefire.suite
Class AbstractDirectoryTestSuite
java.lang.Object
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite
- All Implemented Interfaces:
- SurefireTestSuite
public abstract class AbstractDirectoryTestSuite
- extends java.lang.Object
- implements SurefireTestSuite
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bundle
protected java.util.ResourceBundle bundle
FS
private static final java.lang.String FS
basedir
private java.io.File basedir
includes
private java.util.List includes
excludes
private java.util.List excludes
testSets
protected java.util.Map testSets
totalTests
private int totalTests
EMPTY_STRING_ARRAY
private static final java.lang.String[] EMPTY_STRING_ARRAY
AbstractDirectoryTestSuite
protected AbstractDirectoryTestSuite(java.io.File basedir,
java.util.List includes,
java.util.List excludes)
locateTestSets
public java.util.Map locateTestSets(java.lang.ClassLoader classLoader)
throws TestSetFailedException
- Specified by:
locateTestSets
in interface SurefireTestSuite
- Throws:
TestSetFailedException
createTestSet
protected abstract SurefireTestSet createTestSet(java.lang.Class testClass,
java.lang.ClassLoader classLoader)
throws TestSetFailedException
- Throws:
TestSetFailedException
execute
public void execute(ReporterManager reporterManager,
java.lang.ClassLoader classLoader)
throws ReporterException,
TestSetFailedException
- Specified by:
execute
in interface SurefireTestSuite
- Throws:
ReporterException
TestSetFailedException
executeTestSet
private void executeTestSet(SurefireTestSet testSet,
ReporterManager reporterManager,
java.lang.ClassLoader classLoader)
throws ReporterException,
TestSetFailedException
- Throws:
ReporterException
TestSetFailedException
execute
public void execute(java.lang.String testSetName,
ReporterManager reporterManager,
java.lang.ClassLoader classLoader)
throws ReporterException,
TestSetFailedException
- Specified by:
execute
in interface SurefireTestSuite
- Throws:
ReporterException
TestSetFailedException
getNumTests
public int getNumTests()
- Specified by:
getNumTests
in interface SurefireTestSuite
getNumTestSets
public int getNumTestSets()
- Specified by:
getNumTestSets
in interface SurefireTestSuite
collectTests
private java.lang.String[] collectTests(java.io.File basedir,
java.util.List includes,
java.util.List excludes)
processIncludesExcludes
private static java.lang.String[] processIncludesExcludes(java.util.List list)