org.testng.reporters.util
Class StackTraceTools

java.lang.Object  extended by org.testng.reporters.util.StackTraceTools

public class StackTraceTools
extends Object

Functionality to allow tools to analyse and subdivide stack traces.

Since:
5.3
Version:
$Revision: 173 $
Author:
Paul Mendelson


Constructor Summary
StackTraceTools()
           
 
Method Summary
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 intgetTestRoot(StackTraceElement[] stack, ITestNGMethod method)
          Finds topmost position of the test method in the stack, or top of stack if method is not in it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackTraceTools

public StackTraceTools()
Method Detail

getTestRoot

public 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.


getTestNGInstrastructure

public 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.



Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14