|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 onMethod Detail |
---|
public String writeTraceToString()
writeTraceToString
in interface StackTraceWriter
public String writeTrimmedTraceToString()
writeTraceToString()
.
writeTrimmedTraceToString
in interface StackTraceWriter
StackTraceWriter.writeTrimmedTraceToString()
public Throwable getThrowable()
getThrowable
in interface StackTraceWriter
StackTraceWriter.getThrowable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |