org.apache.maven.surefire.util
Class TestsToRun
java.lang.Object
org.apache.maven.surefire.util.TestsToRun
public class TestsToRun
- extends Object
Contains all the tests that have been found according to specified include/exclude
specification for a given surefire run.
- Author:
- Kristian Rosenvold (junit core adaption)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestsToRun
public TestsToRun(List locatedClasses)
- Constructor
- Parameters:
locatedClasses
- A list of java.lang.Class objects representing tests to run
fromClass
public static TestsToRun fromClass(Class clazz)
throws TestSetFailedException
- Throws:
TestSetFailedException
size
public int size()
getLocatedClasses
public Class[] getLocatedClasses()
iterator
public Iterator iterator()
- Returns an iterator over the located java.lang.Class objects
- Returns:
- an unmodifiable iterator
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.