com.mongodb.util
Class TestNGListener

java.lang.Object
  extended by org.testng.TestListenerAdapter
      extended by com.mongodb.util.TestNGListener
All Implemented Interfaces:
org.testng.internal.IConfigurationListener, org.testng.internal.IResultListener, org.testng.ITestListener, org.testng.ITestNGListener

public class TestNGListener
extends org.testng.TestListenerAdapter


Constructor Summary
TestNGListener()
           
 
Method Summary
 void onConfigurationFailure(org.testng.ITestResult itr)
           
 void onFinish(org.testng.ITestContext context)
           
 void onTestFailure(org.testng.ITestResult tr)
           
 void onTestSkipped(org.testng.ITestResult tr)
           
 void onTestSuccess(org.testng.ITestResult tr)
           
 
Methods inherited from class org.testng.TestListenerAdapter
getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, onConfigurationSkip, onConfigurationSuccess, onStart, onTestFailedButWithinSuccessPercentage, onTestStart, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestNGListener

public TestNGListener()
Method Detail

onConfigurationFailure

public void onConfigurationFailure(org.testng.ITestResult itr)
Specified by:
onConfigurationFailure in interface org.testng.internal.IConfigurationListener
Overrides:
onConfigurationFailure in class org.testng.TestListenerAdapter

onTestFailure

public void onTestFailure(org.testng.ITestResult tr)
Specified by:
onTestFailure in interface org.testng.ITestListener
Overrides:
onTestFailure in class org.testng.TestListenerAdapter

onTestSkipped

public void onTestSkipped(org.testng.ITestResult tr)
Specified by:
onTestSkipped in interface org.testng.ITestListener
Overrides:
onTestSkipped in class org.testng.TestListenerAdapter

onTestSuccess

public void onTestSuccess(org.testng.ITestResult tr)
Specified by:
onTestSuccess in interface org.testng.ITestListener
Overrides:
onTestSuccess in class org.testng.TestListenerAdapter

onFinish

public void onFinish(org.testng.ITestContext context)
Specified by:
onFinish in interface org.testng.ITestListener
Overrides:
onFinish in class org.testng.TestListenerAdapter