org.apache.maven.surefire.report
Class SmartStackTraceParser

java.lang.Object
  extended by org.apache.maven.surefire.report.SmartStackTraceParser

public class SmartStackTraceParser
extends Object

Author:
Kristian Rosenvold

Constructor Summary
SmartStackTraceParser(Class testClass, Throwable throwable)
           
SmartStackTraceParser(String testClassName, Throwable throwable, String testMethodName)
           
 
Method Summary
static String causeToString(Throwable cause)
           
 String getString()
           
static String innerMostWithFocusOnClass(Throwable t, String className)
           
static String toString(Throwable t, Iterable<StackTraceElement> elements)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmartStackTraceParser

public SmartStackTraceParser(Class testClass,
                             Throwable throwable)

SmartStackTraceParser

public SmartStackTraceParser(String testClassName,
                             Throwable throwable,
                             String testMethodName)
Method Detail

getString

public String getString()

innerMostWithFocusOnClass

public static String innerMostWithFocusOnClass(Throwable t,
                                               String className)

causeToString

public static String causeToString(Throwable cause)

toString

public static String toString(Throwable t,
                              Iterable<StackTraceElement> elements)


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