public class TestHTMLReporter extends TestListenerAdapter
| Constructor and Description |
|---|
TestHTMLReporter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
generateLog(ITestContext testContext,
String host,
String outputDirectory,
Collection<ITestResult> failedConfs,
Collection<ITestResult> skippedConfs,
Collection<ITestResult> passedTests,
Collection<ITestResult> failedTests,
Collection<ITestResult> skippedTests,
Collection<ITestResult> percentageTests) |
static void |
generateTable(StringBuffer sb,
String title,
Collection<ITestResult> tests,
String cssClass,
Comparator<ITestResult> comparator) |
void |
onFinish(ITestContext context)
Invoked after all the tests have run and all their
Configuration methods have been called.
|
void |
onStart(ITestContext context)
Invoked after the test class is instantiated and before
any configuration method is called.
|
beforeConfiguration, getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess, onTestFailedButWithinSuccessPercentage, onTestFailure, onTestSkipped, onTestStart, onTestSuccess, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests, toStringpublic void onStart(ITestContext context)
ITestListeneronStart in interface ITestListeneronStart in class TestListenerAdapterpublic void onFinish(ITestContext context)
ITestListeneronFinish in interface ITestListeneronFinish in class TestListenerAdapterpublic static void generateTable(StringBuffer sb, String title, Collection<ITestResult> tests, String cssClass, Comparator<ITestResult> comparator)
public static void generateLog(ITestContext testContext, String host, String outputDirectory, Collection<ITestResult> failedConfs, Collection<ITestResult> skippedConfs, Collection<ITestResult> passedTests, Collection<ITestResult> failedTests, Collection<ITestResult> skippedTests, Collection<ITestResult> percentageTests)
Copyright © 2016. All Rights Reserved.