|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.schmant.task.junit4.suitereporter.FailedTest
public class FailedTest
This contains data about a failed test in a TestRun. It is used by
JUnit4TestSuiteReportPrinter:s.
The data stored in a FailedTest object is taken from a JUnit org.junit.runner.Failure object.
Instances of this class are immutable.
TestRun| Constructor Summary | |
|---|---|
FailedTest(String description,
String testHeader,
String message,
String stackTrace)
|
|
| Method Summary | |
|---|---|
String |
getDescription()
Get the description of the failed test. |
String |
getMessage()
Get the failure message. |
String[] |
getStackTrace()
Get the failure's stack trace. |
String |
getTestHeader()
Get the header of the failed test. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FailedTest(String description,
String testHeader,
String message,
String stackTrace)
| Method Detail |
|---|
public String getDescription()
public String getMessage()
public String[] getStackTrace()
public String getTestHeader()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||