|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.schmant.task.junit4.suitereporter.TestRun
public class TestRun
The TestRun
contains data from a test run. It is used by
JUnit4TestSuiteReportPrinter
:s.
The data stored in a FailedTest
object is taken from a JUnit org.junit.runner.Description
and org.junit.runner.Result
object.
Instances of this class are immutable.
Constructor Summary | |
---|---|
TestRun(String testSuiteClass,
String displayName,
int testCount,
int failureCount,
int ignoreCount,
int runCount,
long runTime,
List<FailedTest> failures)
|
Method Summary | |
---|---|
String |
getDisplayName()
Get the test run's display name. |
int |
getFailureCount()
Get the number of failed tests in this test run. |
List<FailedTest> |
getFailures()
Get a list of FailedTest objects representing the failures in
this test run. |
int |
getIgnoreCount()
Get the number of ignored tests in this test run. |
int |
getRunCount()
Get the number of run tests in this test run. |
long |
getRunTime()
Get the total time it took to run the test run. |
int |
getTestCount()
Get the total number of tests in this test run. |
String |
getTestSuiteClasses()
Get the fully qualified names of the test suite classes run in this test run, separated by commas. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestRun(String testSuiteClass, String displayName, int testCount, int failureCount, int ignoreCount, int runCount, long runTime, List<FailedTest> failures)
Method Detail |
---|
public String getTestSuiteClasses()
public String getDisplayName()
public int getFailureCount()
public List<FailedTest> getFailures()
FailedTest
objects representing the failures in
this test run.
FailedTest
objects.public int getIgnoreCount()
public int getRunCount()
public long getRunTime()
public int getTestCount()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |