Package org.openstack4j.api
Class SkipTestListener
- java.lang.Object
-
- org.openstack4j.api.SkipTestListener
-
- All Implemented Interfaces:
org.testng.IInvokedMethodListener,org.testng.ITestNGListener
public class SkipTestListener extends Object implements org.testng.IInvokedMethodListener
A TestNG listener checking test methods for the presence of@SkipTestannotationIf annotation is present on test method and current HTTP connector matches the HTTP connector specified by
@SkipTest, the listener will skip the test by throwing TestNGSkipException.- Author:
- Bruno Semperlotti
-
-
Constructor Summary
Constructors Constructor Description SkipTestListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterInvocation(org.testng.IInvokedMethod iim, org.testng.ITestResult itr)voidbeforeInvocation(org.testng.IInvokedMethod iim, org.testng.ITestResult itr)
-
-
-
Method Detail
-
beforeInvocation
public void beforeInvocation(org.testng.IInvokedMethod iim, org.testng.ITestResult itr)- Specified by:
beforeInvocationin interfaceorg.testng.IInvokedMethodListener
-
afterInvocation
public void afterInvocation(org.testng.IInvokedMethod iim, org.testng.ITestResult itr)- Specified by:
afterInvocationin interfaceorg.testng.IInvokedMethodListener
-
-