public class TestHTMLReporter extends java.lang.Object implements ITestListener
Constructor and Description |
---|
TestHTMLReporter() |
Modifier and Type | Method and Description |
---|---|
static void |
generateLog(ITestContext testContext,
java.lang.String host,
java.lang.String outputDirectory,
java.util.Collection<ITestResult> failedConfs,
java.util.Collection<ITestResult> skippedConfs,
java.util.Collection<ITestResult> passedTests,
java.util.Collection<ITestResult> failedTests,
java.util.Collection<ITestResult> skippedTests,
java.util.Collection<ITestResult> percentageTests) |
static void |
generateTable(java.io.PrintWriter pw,
java.lang.String title,
java.util.Collection<ITestResult> tests,
java.lang.String cssClass,
java.util.Comparator<ITestResult> comparator) |
void |
onFinish(ITestContext context)
Invoked after all the test methods belonging to the classes inside the <test> tag have run
and all their Configuration methods have been called.
|
void |
onStart(ITestContext context)
Invoked before running all the test methods belonging to the classes inside the <test> tag
and calling all their Configuration methods.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onTestFailedButWithinSuccessPercentage, onTestFailedWithTimeout, onTestFailure, onTestSkipped, onTestStart, onTestSuccess
public void onStart(ITestContext context)
ITestListener
onStart
in interface ITestListener
context
- The test contextpublic void onFinish(ITestContext context)
ITestListener
onFinish
in interface ITestListener
context
- The test contextpublic static void generateTable(java.io.PrintWriter pw, java.lang.String title, java.util.Collection<ITestResult> tests, java.lang.String cssClass, java.util.Comparator<ITestResult> comparator)
public static void generateLog(ITestContext testContext, java.lang.String host, java.lang.String outputDirectory, java.util.Collection<ITestResult> failedConfs, java.util.Collection<ITestResult> skippedConfs, java.util.Collection<ITestResult> passedTests, java.util.Collection<ITestResult> failedTests, java.util.Collection<ITestResult> skippedTests, java.util.Collection<ITestResult> percentageTests)