org.apache.maven.surefire.junit
Class JUnitDirectoryTestSuite

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

public class JUnitDirectoryTestSuite
extends AbstractDirectoryTestSuite

Test suite for JUnit tests based on a directory of Java test classes.

Author:
Brett Porter

Field Summary
 
Fields inherited from class org.apache.maven.surefire.suite.AbstractDirectoryTestSuite
bundle, testSets
 
Constructor Summary
JUnitDirectoryTestSuite(File basedir, ArrayList includes, ArrayList excludes)
           
 
Method Summary
protected  SurefireTestSet createTestSet(Class testClass, ClassLoader classLoader)
           
 
Methods inherited from class org.apache.maven.surefire.suite.AbstractDirectoryTestSuite
execute, execute, getNumTests, locateTestSets
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitDirectoryTestSuite

public JUnitDirectoryTestSuite(File basedir,
                               ArrayList includes,
                               ArrayList excludes)
Method Detail

createTestSet

protected SurefireTestSet createTestSet(Class testClass,
                                        ClassLoader classLoader)
                                 throws TestSetFailedException
Specified by:
createTestSet in class AbstractDirectoryTestSuite
Throws:
TestSetFailedException


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