org.apache.maven.surefire.report
Class PojoStackTraceWriter
java.lang.Object
org.apache.maven.surefire.report.PojoStackTraceWriter
- All Implemented Interfaces:
- StackTraceWriter
public class PojoStackTraceWriter
- extends Object
- implements StackTraceWriter
Write the trace out for a POJO test.
- Author:
- Brett Porter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testClass
protected final String testClass
testMethod
protected final String testMethod
PojoStackTraceWriter
public PojoStackTraceWriter(String testClass,
String testMethod,
Throwable t)
writeTraceToString
public String writeTraceToString()
- Description copied from interface:
StackTraceWriter
- Write the throwable to a string, without trimming.
- Specified by:
writeTraceToString
in interface StackTraceWriter
- Returns:
- the trace
writeTrimmedTraceToString
public String writeTrimmedTraceToString()
- Description copied from interface:
StackTraceWriter
- Write the throwable to a string, trimming extra locations.
- Specified by:
writeTrimmedTraceToString
in interface StackTraceWriter
- Returns:
- the trace
getThrowable
public Throwable getThrowable()
- Description copied from interface:
StackTraceWriter
- Retrieve the throwable for this writer.
- Specified by:
getThrowable
in interface StackTraceWriter
- Returns:
- the throwable
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.