|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.testng.TestListenerAdapter org.jgroups.util.JUnitXMLReporter
public class JUnitXMLReporter
Listener generating XML output suitable to be processed by JUnitReport. Copied from TestNG (www.testng.org) and modified
Field Summary | |
---|---|
static java.lang.InheritableThreadLocal<java.lang.Class<?>> |
local
|
Constructor Summary | |
---|---|
JUnitXMLReporter()
|
Method Summary | |
---|---|
void |
afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult tr)
Invoked after any method (configuration or test) is invoked |
void |
beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult tr)
Invoked before any method (configuration or test) is invoked |
protected void |
generateReport(java.lang.Class<?> clazz,
java.util.List<org.testng.ITestResult> results)
generate the XML report given what we know from all the test results |
void |
onFinish(org.testng.ITestContext context)
Invoked after all the tests have run and all their Configuration methods have been called. |
void |
onStart(org.testng.ITestContext context)
Invoked after the test class is instantiated and before any configuration method is called. |
void |
onTestFailedButWithinSuccessPercentage(org.testng.ITestResult tr)
|
void |
onTestFailure(org.testng.ITestResult tr)
Invoked each time a test fails. |
void |
onTestSkipped(org.testng.ITestResult tr)
Invoked each time a test is skipped. |
void |
onTestStart(org.testng.ITestResult result)
|
void |
onTestSuccess(org.testng.ITestResult tr)
Invoked each time a test succeeds |
Methods inherited from class org.testng.TestListenerAdapter |
---|
getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.InheritableThreadLocal<java.lang.Class<?>> local
Constructor Detail |
---|
public JUnitXMLReporter()
Method Detail |
---|
public void beforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult tr)
beforeInvocation
in interface org.testng.IInvokedMethodListener
public void afterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult tr)
afterInvocation
in interface org.testng.IInvokedMethodListener
public void onTestStart(org.testng.ITestResult result)
onTestStart
in interface org.testng.ITestListener
onTestStart
in class org.testng.TestListenerAdapter
public void onTestSuccess(org.testng.ITestResult tr)
onTestSuccess
in interface org.testng.ITestListener
onTestSuccess
in class org.testng.TestListenerAdapter
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult tr)
onTestFailedButWithinSuccessPercentage
in interface org.testng.ITestListener
onTestFailedButWithinSuccessPercentage
in class org.testng.TestListenerAdapter
public void onTestFailure(org.testng.ITestResult tr)
onTestFailure
in interface org.testng.ITestListener
onTestFailure
in class org.testng.TestListenerAdapter
public void onTestSkipped(org.testng.ITestResult tr)
onTestSkipped
in interface org.testng.ITestListener
onTestSkipped
in class org.testng.TestListenerAdapter
public void onStart(org.testng.ITestContext context)
onStart
in interface org.testng.ITestListener
onStart
in class org.testng.TestListenerAdapter
public void onFinish(org.testng.ITestContext context)
onFinish
in interface org.testng.ITestListener
onFinish
in class org.testng.TestListenerAdapter
protected void generateReport(java.lang.Class<?> clazz, java.util.List<org.testng.ITestResult> results) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |