Package org.apache.maven.surefire.report
Class PojoStackTraceWriter
java.lang.Object
org.apache.maven.surefire.report.PojoStackTraceWriter
- All Implemented Interfaces:
StackTraceWriter
Write the trace out for a POJO test.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Retrieve the throwable for this writer.int
hashCode()
private static boolean
Get the "smart" trimmed (1-2 lines) stacktrace.Write the throwable to a string, without trimming.Write the throwable to a string, trimming extra locations.
-
Field Details
-
t
-
testClass
-
testMethod
-
-
Constructor Details
-
PojoStackTraceWriter
-
-
Method Details
-
writeTraceToString
Description copied from interface:StackTraceWriter
Write the throwable to a string, without trimming.- Specified by:
writeTraceToString
in interfaceStackTraceWriter
- Returns:
- the trace
-
smartTrimmedStackTrace
Description copied from interface:StackTraceWriter
Get the "smart" trimmed (1-2 lines) stacktrace.- Specified by:
smartTrimmedStackTrace
in interfaceStackTraceWriter
- Returns:
- the trace
-
writeTrimmedTraceToString
Description copied from interface:StackTraceWriter
Write the throwable to a string, trimming extra locations.- Specified by:
writeTrimmedTraceToString
in interfaceStackTraceWriter
- Returns:
- the trace
-
getThrowable
Description copied from interface:StackTraceWriter
Retrieve the throwable for this writer.- Specified by:
getThrowable
in interfaceStackTraceWriter
- Returns:
- the throwable
-
isMultiLineExceptionMessage
-
equals
-
hashCode
public int hashCode()
-