|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.spockframework.runtime.StackTraceFilter
public class StackTraceFilter
Filters an exception's stack trace. Removes internal Groovy and Spock methods, and restores the original names of feature methods (as specified in source code). Stack trace elements below a feature/fixture method invocation are truncated.
Constructor Summary | |
---|---|
StackTraceFilter(IMethodNameMapper mapper)
|
Method Summary | |
---|---|
void |
filter(java.lang.Throwable throwable)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StackTraceFilter(IMethodNameMapper mapper)
Method Detail |
---|
public void filter(java.lang.Throwable throwable)
filter
in interface IStackTraceFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |