org.jboss.testharness
Class AbstractTest
java.lang.Object
org.jboss.testharness.AbstractTest
- All Implemented Interfaces:
- org.testng.IHookable
public abstract class AbstractTest
- extends java.lang.Object
- implements org.testng.IHookable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTest
public AbstractTest()
isInContainer
public static boolean isInContainer()
setInContainer
public static void setInContainer(boolean inContainer)
beforeSuite
public void beforeSuite(org.testng.ITestContext context)
throws java.lang.Exception
- Throws:
java.lang.Exception
afterSuite
public void afterSuite()
throws java.lang.Exception
- Throws:
java.lang.Exception
beforeClass
public void beforeClass()
throws java.lang.Throwable
- Throws:
java.lang.Throwable
afterClass
public void afterClass()
throws java.lang.Exception
- Throws:
java.lang.Exception
beforeMethod
public void beforeMethod()
afterMethod
public void afterMethod()
run
public final void run(org.testng.IHookCallBack callback,
org.testng.ITestResult testResult)
- Specified by:
run in interface org.testng.IHookable
getCurrentConfiguration
protected Configuration getCurrentConfiguration()
getContextPath
protected java.lang.String getContextPath()
isThrowablePresent
protected static boolean isThrowablePresent(java.lang.Class<? extends java.lang.Throwable> throwableType,
java.lang.Throwable throwable)
Copyright © 2009. All Rights Reserved.