Class HelidonTestNgListener
java.lang.Object
io.helidon.microprofile.testing.testng.HelidonTestNgListener
- All Implemented Interfaces:
org.testng.IClassListener
,org.testng.ITestListener
,org.testng.ITestNGListener
public class HelidonTestNgListener
extends Object
implements org.testng.IClassListener, org.testng.ITestListener
TestNG extension to support Helidon CDI container in tests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAfterClass
(org.testng.ITestClass testClass) void
onBeforeClass
(org.testng.ITestClass iTestClass) void
onTestFailure
(org.testng.ITestResult iTestResult) void
onTestStart
(org.testng.ITestResult result) void
onTestSuccess
(org.testng.ITestResult iTestResult) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.testng.ITestListener
onFinish, onStart, onTestFailedButWithinSuccessPercentage, onTestFailedWithTimeout, onTestSkipped
-
Constructor Details
-
HelidonTestNgListener
public HelidonTestNgListener()
-
-
Method Details
-
onBeforeClass
public void onBeforeClass(org.testng.ITestClass iTestClass) - Specified by:
onBeforeClass
in interfaceorg.testng.IClassListener
-
onAfterClass
public void onAfterClass(org.testng.ITestClass testClass) - Specified by:
onAfterClass
in interfaceorg.testng.IClassListener
-
onTestStart
public void onTestStart(org.testng.ITestResult result) - Specified by:
onTestStart
in interfaceorg.testng.ITestListener
-
onTestFailure
public void onTestFailure(org.testng.ITestResult iTestResult) - Specified by:
onTestFailure
in interfaceorg.testng.ITestListener
-
onTestSuccess
public void onTestSuccess(org.testng.ITestResult iTestResult) - Specified by:
onTestSuccess
in interfaceorg.testng.ITestListener
-