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 java.lang.Object
implements SurefireTestSuite


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

Field Detail

bundle

protected java.util.ResourceBundle bundle

testSets

protected java.util.Map testSets
Constructor Detail

AbstractDirectoryTestSuite

protected AbstractDirectoryTestSuite(java.io.File basedir,
                                     java.util.List includes,
                                     java.util.List excludes)
Method Detail

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

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


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