public class StackTraceTools extends Object
Constructor and Description |
---|
StackTraceTools() |
Modifier and Type | Method and Description |
---|---|
static StackTraceElement[] |
getTestNGInstrastructure(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(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(StackTraceElement[] stack, ITestNGMethod method)
method
is not in it.public static StackTraceElement[] getTestNGInstrastructure(StackTraceElement[] stack, ITestNGMethod method)
method
is not in it.Copyright © 2015. All rights reserved.