public class StackTraceTools
extends java.lang.Object
| Constructor | Description |
|---|---|
StackTraceTools() |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.StackTraceElement[] |
getTestNGInstrastructure(java.lang.StackTraceElement[] stack,
ITestNGMethod method) |
Finds topmost position of the test method in the stack, or top of stack if
method is not in it. |
static int |
getTestRoot(java.lang.StackTraceElement[] stack,
ITestNGMethod method) |
Finds topmost position of the test method in the stack, or top of stack if
method is not in it. |
public static int getTestRoot(java.lang.StackTraceElement[] stack,
ITestNGMethod method)
method is not in it.public static java.lang.StackTraceElement[] getTestNGInstrastructure(java.lang.StackTraceElement[] stack,
ITestNGMethod method)
method is not in it.