org.apache.maven.surefire.suite
Class AbstractDirectoryTestSuite

java.lang.Object
  extended by org.apache.maven.surefire.suite.AbstractDirectoryTestSuite
All Implemented Interfaces:
SurefireTestSuite

public abstract class AbstractDirectoryTestSuite
extends Object
implements SurefireTestSuite


Field Summary
protected static ResourceBundle bundle
           
protected  Map testSets
           
 
Constructor Summary
protected AbstractDirectoryTestSuite(File basedir, List includes, List excludes)
           
 
Method Summary
protected abstract  SurefireTestSet createTestSet(Class testClass, ClassLoader classLoader)
           
 void execute(ReporterManagerFactory reporterManagerFactory, ClassLoader classLoader)
           
 void execute(String testSetName, ReporterManagerFactory reporterManagerFactory, ClassLoader classLoader)
           
 int getNumTests()
           
 Map locateTestSets(ClassLoader classLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundle

protected static ResourceBundle bundle

testSets

protected Map testSets
Constructor Detail

AbstractDirectoryTestSuite

protected AbstractDirectoryTestSuite(File basedir,
                                     List includes,
                                     List excludes)
Method Detail

locateTestSets

public Map locateTestSets(ClassLoader classLoader)
                   throws TestSetFailedException
Specified by:
locateTestSets in interface SurefireTestSuite
Throws:
TestSetFailedException

createTestSet

protected abstract SurefireTestSet createTestSet(Class testClass,
                                                 ClassLoader classLoader)
                                          throws TestSetFailedException
Throws:
TestSetFailedException

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

getNumTests

public int getNumTests()
Specified by:
getNumTests in interface SurefireTestSuite


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