public class DatabaseSetupInterceptor extends Object implements org.testng.IInvokedMethodListener
method listener that performs the database setup
for appropriately annotated test methods.
To add database setup support to a test class, annotate the class with
@Listeners({org.rhq.helpers.perftest.support.testng.DatabaseSetupInterceptor.class})
| Constructor and Description |
|---|
DatabaseSetupInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult) |
void |
beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult) |
public void beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
beforeInvocation in interface org.testng.IInvokedMethodListenerpublic void afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
afterInvocation in interface org.testng.IInvokedMethodListenerCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.