org.apache.maven.surefire.report
Class PojoStackTraceWriter

java.lang.Object
  extended by 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

Field Summary
protected  String testClass
           
protected  String testMethod
           
 
Constructor Summary
PojoStackTraceWriter(String testClass, String testMethod, Throwable t)
           
 
Method Summary
 SafeThrowable getThrowable()
           
 String smartTrimmedStackTrace()
           
 String writeTraceToString()
           
 String writeTrimmedTraceToString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

testClass

protected final String testClass

testMethod

protected final String testMethod
Constructor Detail

PojoStackTraceWriter

public PojoStackTraceWriter(String testClass,
                            String testMethod,
                            Throwable t)
Method Detail

writeTraceToString

public String writeTraceToString()
Specified by:
writeTraceToString in interface StackTraceWriter

smartTrimmedStackTrace

public String smartTrimmedStackTrace()
Specified by:
smartTrimmedStackTrace in interface StackTraceWriter

writeTrimmedTraceToString

public String writeTrimmedTraceToString()
Specified by:
writeTrimmedTraceToString in interface StackTraceWriter

getThrowable

public SafeThrowable getThrowable()
Specified by:
getThrowable in interface StackTraceWriter


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.