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:
org.apache.maven.surefire.suite.SurefireTestSuite

public class JUnitDirectoryTestSuite
extends org.apache.maven.surefire.suite.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(java.io.File basedir, java.util.ArrayList includes, java.util.ArrayList excludes)
           
 
Method Summary
protected  org.apache.maven.surefire.testset.SurefireTestSet createTestSet(java.lang.Class testClass, java.lang.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(java.io.File basedir,
                               java.util.ArrayList includes,
                               java.util.ArrayList excludes)
Method Detail

createTestSet

protected org.apache.maven.surefire.testset.SurefireTestSet createTestSet(java.lang.Class testClass,
                                                                          java.lang.ClassLoader classLoader)
                                                                   throws org.apache.maven.surefire.testset.TestSetFailedException
Specified by:
createTestSet in class org.apache.maven.surefire.suite.AbstractDirectoryTestSuite
Throws:
org.apache.maven.surefire.testset.TestSetFailedException


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