org.apache.maven.surefire.junitcore
Class JUnitCoreDirectoryTestSuite
java.lang.Object
org.apache.maven.surefire.junitcore.JUnitCoreDirectoryTestSuite
- All Implemented Interfaces:
- SurefireTestSuite
public class JUnitCoreDirectoryTestSuite
- extends Object
- implements SurefireTestSuite
Test suite for JUnitCore based on a directory of Java test classes.
- Author:
- Karl M. Davis, Kristian Rosenvold (junit core adaption)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testSets
protected Map testSets
JUnitCoreDirectoryTestSuite
public JUnitCoreDirectoryTestSuite(File basedir,
ArrayList includes,
ArrayList excludes,
Properties properties)
execute
public void execute(ReporterManagerFactory reporterManagerFactory,
ClassLoader classLoader)
throws ReporterException,
TestSetFailedException
- Specified by:
execute
in interface SurefireTestSuite
- Throws:
ReporterException
TestSetFailedException
execute
public void execute(String testSetName,
ReporterManagerFactory reporterManagerFactory,
ClassLoader classLoader)
throws ReporterException,
TestSetFailedException
- Specified by:
execute
in interface SurefireTestSuite
- Throws:
ReporterException
TestSetFailedException
locateTestSets
public Map locateTestSets(ClassLoader classLoader)
throws TestSetFailedException
- Specified by:
locateTestSets
in interface SurefireTestSuite
- Throws:
TestSetFailedException
getNumTests
public int getNumTests()
- Specified by:
getNumTests
in interface SurefireTestSuite
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.