org.jboss.testharness
Class AbstractTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
All Implemented Interfaces:
org.testng.IHookable

public abstract class AbstractTest
extends java.lang.Object
implements org.testng.IHookable


Constructor Summary
AbstractTest()
           
 
Method Summary
 void afterClass()
           
 void afterMethod()
           
 void afterSuite()
           
 void beforeClass()
           
 void beforeMethod()
           
 void beforeSuite(org.testng.ITestContext context)
           
protected  java.lang.String getContextPath()
           
protected  Configuration getCurrentConfiguration()
           
static boolean isInContainer()
           
protected static boolean isThrowablePresent(java.lang.Class<? extends java.lang.Throwable> throwableType, java.lang.Throwable throwable)
           
 void run(org.testng.IHookCallBack callback, org.testng.ITestResult testResult)
           
static void setInContainer(boolean inContainer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTest

public AbstractTest()
Method Detail

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.