|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.surefire.common.junit4.JUnit4StackTraceWriter
public class JUnit4StackTraceWriter
Writes out a specific Failure for
surefire as a stacktrace.
| Constructor Summary | |
|---|---|
JUnit4StackTraceWriter(Failure junitFailure)
Constructor. |
|
| Method Summary | |
|---|---|
Throwable |
getThrowable()
Returns the exception associated with this failure. |
String |
writeTraceToString()
|
String |
writeTrimmedTraceToString()
At the moment, returns the same as writeTraceToString(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JUnit4StackTraceWriter(Failure junitFailure)
junitFailure - the Failure that this will be operating on| Method Detail |
|---|
public String writeTraceToString()
writeTraceToString in interface StackTraceWriterpublic String writeTrimmedTraceToString()
writeTraceToString().
writeTrimmedTraceToString in interface StackTraceWriterStackTraceWriter.writeTrimmedTraceToString()public Throwable getThrowable()
getThrowable in interface StackTraceWriterStackTraceWriter.getThrowable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||