|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.selenium.utils.testng.TestInfo
public final class TestInfo
Obtains informations about status of test, obtains method names from test result.
| Field Summary | |
|---|---|
static Map<Integer,String> |
STATUSES
Mapping of the status ids to string equivalents |
| Method Summary | |
|---|---|
static String |
getClassMethodName(org.testng.ITestResult result)
Get class + method name from ITestResult |
static String |
getClassName(org.testng.ITestResult result)
Get class name from ITestResult |
static String |
getContainingPackageName(org.testng.ITestResult result)
Get last containing package name from ITestResult |
static String |
getMethodName(org.testng.ITestResult result)
Get method name from ITestResult |
static String |
getPackageClassMethodName(org.testng.ITestResult result)
Get package + class + method name from ITestResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Map<Integer,String> STATUSES
| Method Detail |
|---|
public static String getPackageClassMethodName(org.testng.ITestResult result)
result - from the fine-grained listener's method such as onTestFailure(ITestResult)
public static String getClassMethodName(org.testng.ITestResult result)
result - from the fine-grained listener's method such as onTestFailure(ITestResult)
public static String getMethodName(org.testng.ITestResult result)
result - from the fine-grained listener's method such as onTestFailure(ITestResult)
public static String getClassName(org.testng.ITestResult result)
result - from the fine-grained listener's method such as onTestFailure(ITestResult)
public static String getContainingPackageName(org.testng.ITestResult result)
result - from the fine-grained listener's method such as onTestFailure(ITestResult)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||