public final class StackTraceTools
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.StackTraceElement[] |
getTestNGInstrastructure(java.lang.StackTraceElement[] stack,
ITestNGMethod method) |
static int |
getTestRoot(java.lang.StackTraceElement[] stack,
ITestNGMethod method) |
public static int getTestRoot(java.lang.StackTraceElement[] stack, ITestNGMethod method)
stack
- The stack tracemethod
- The test methodmethod
is not in it.public static java.lang.StackTraceElement[] getTestNGInstrastructure(java.lang.StackTraceElement[] stack, ITestNGMethod method)
stack
- The stacktracemethod
- The test methodmethod
is not in it.