org.apache.maven.surefire.report
Class PojoStackTraceWriter

java.lang.Object
  extended by org.apache.maven.surefire.report.PojoStackTraceWriter
All Implemented Interfaces:
org.apache.maven.surefire.report.StackTraceWriter

public class PojoStackTraceWriter
extends Object
implements org.apache.maven.surefire.report.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
 org.apache.maven.surefire.report.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 org.apache.maven.surefire.report.StackTraceWriter

smartTrimmedStackTrace

public String smartTrimmedStackTrace()
Specified by:
smartTrimmedStackTrace in interface org.apache.maven.surefire.report.StackTraceWriter

writeTrimmedTraceToString

public String writeTrimmedTraceToString()
Specified by:
writeTrimmedTraceToString in interface org.apache.maven.surefire.report.StackTraceWriter

getThrowable

public org.apache.maven.surefire.report.SafeThrowable getThrowable()
Specified by:
getThrowable in interface org.apache.maven.surefire.report.StackTraceWriter


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.