org.apache.maven.surefire.util
Class SurefireDirectoryScanner

java.lang.Object
  extended by org.apache.maven.surefire.util.SurefireDirectoryScanner

public class SurefireDirectoryScanner
extends Object

Scans directories looking for tests.

Author:
Karl M. Davis, Kristian Rosenvold

Nested Class Summary
static interface SurefireDirectoryScanner.TestSetCreator
           
 
Field Summary
protected  Map testSets
           
 
Constructor Summary
SurefireDirectoryScanner(File basedir, List includes, List excludes)
           
 
Method Summary
 Map getTestSets()
           
 Class[] locateTestClasses(ClassLoader classLoader)
           
 Map locateTestSets(ClassLoader classLoader, SurefireDirectoryScanner.TestSetCreator testSetCreator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testSets

protected Map testSets
Constructor Detail

SurefireDirectoryScanner

public SurefireDirectoryScanner(File basedir,
                                List includes,
                                List excludes)
Method Detail

getTestSets

public Map getTestSets()

locateTestSets

public Map locateTestSets(ClassLoader classLoader,
                          SurefireDirectoryScanner.TestSetCreator testSetCreator)
                   throws TestSetFailedException
Throws:
TestSetFailedException

locateTestClasses

public Class[] locateTestClasses(ClassLoader classLoader)
                          throws TestSetFailedException
Throws:
TestSetFailedException


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