|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.surefire.util.TestsToRun
public class TestsToRun
Contains all the tests that have been found according to specified include/exclude specification for a given surefire run.
| Constructor Summary | |
|---|---|
TestsToRun(List<Class> locatedClasses)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
allowEagerReading()
|
boolean |
containsAtLeast(int atLeast)
|
boolean |
containsExactly(int items)
|
static TestsToRun |
fromClass(Class clazz)
|
Class |
getClassByName(String className)
Get test class which matches className |
Class[] |
getLocatedClasses()
|
Iterator<Class> |
iterator()
Returns an iterator over the located java.lang.Class objects |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TestsToRun(List<Class> locatedClasses)
locatedClasses - A list of java.lang.Class objects representing tests to run| Method Detail |
|---|
public static TestsToRun fromClass(Class clazz)
throws TestSetFailedException
TestSetFailedExceptionpublic Iterator<Class> iterator()
iterator in interface Iterable<Class>public String toString()
toString in class Objectpublic boolean containsAtLeast(int atLeast)
public boolean containsExactly(int items)
public boolean allowEagerReading()
true, if the classes may be read eagerly. false,
if the classes must only be read lazy.public Class[] getLocatedClasses()
public Class getClassByName(String className)
className - string used to find the test class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||