| Modifier and Type | Class and Description |
|---|---|
| protected static class | EmailableReporter2.
Groups |
| protected static class | EmailableReporter2.
Groups test results by method. |
| protected static class | EmailableReporter2.
Groups |
| protected static class | EmailableReporter2.
Groups |
| Modifier and Type | Field and Description |
|---|---|
| private final StringBuilder | |
| private String | |
| private static final Logger | |
| protected final List | |
| protected PrintWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected PrintWriter | |
| private void | |
| private boolean | |
| public void | generateReport(List<XmlSuite>
The list of xmlSuites, List<ISuite> XmlSuiteThe list of suites, String ISuiteThe output directory outputDirectory)Overrides default org. |
| public String | |
| protected String | |
| public void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| private void | writeScenario(int scenarioIndex, String label, ITestResult result)
Writes the details for an individual test scenario. |
| protected void | |
| private int | writeScenarioDetails(List<EmailableReporter2.
Writes the scenario details for the results of a given state for a single test. |
| protected void | |
| private int | writeScenarioSummary(String description, List<EmailableReporter2.
Writes the scenario summary for the results of a given state for a single test. |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | writeTableData(String
the HTML contents html, String the space-delimited CSS classes or null if there are no classes to apply cssClasses)Writes a TD element with the specified contents and CSS class names. |
| protected void | writeTableHeader(String
the HTML contents html, String the space-delimited CSS classes or null if there are no classes to apply cssClasses)Writes a TH element with the specified contents and CSS class names. |
| protected void |
| buffer | back to summary |
|---|---|
| private final StringBuilder buffer | |
| fileName | back to summary |
|---|---|
| private String fileName | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| suiteResults | back to summary |
|---|---|
| protected final List<EmailableReporter2. | |
| writer | back to summary |
|---|---|
| protected PrintWriter writer | |
| EmailableReporter2 | back to summary |
|---|---|
| public EmailableReporter2() | |
| createWriter | back to summary |
|---|---|
| protected PrintWriter createWriter(String outdir) throws IOException | |
| dumpAttributesInfo | back to summary |
|---|---|
| private void dumpAttributesInfo(CustomAttribute[] attributes) | |
| dumpParametersInfo | back to summary |
|---|---|
| private boolean dumpParametersInfo(String prefix, Object[] parameters) | |
| generateReport | back to summary |
|---|---|
| public void generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) Overrides default org. Doc from org. Generate a report for the given suites into the specified output directory. | |
| getFileName | back to summary |
|---|---|
| public String getFileName() | |
| getFormattedStartTime | back to summary |
|---|---|
| protected String getFormattedStartTime(long startTimeInMillisFromEpoch) | |
| setFileName | back to summary |
|---|---|
| public void setFileName(String fileName) | |
| writeBody | back to summary |
|---|---|
| protected void writeBody() | |
| writeDocumentEnd | back to summary |
|---|---|
| protected void writeDocumentEnd() | |
| writeDocumentStart | back to summary |
|---|---|
| protected void writeDocumentStart() | |
| writeHead | back to summary |
|---|---|
| protected void writeHead() | |
| writeReporterMessages | back to summary |
|---|---|
| protected void writeReporterMessages(List<String> reporterMessages) | |
| writeScenario | back to summary |
|---|---|
| private void writeScenario(int scenarioIndex, String label, ITestResult result) Writes the details for an individual test scenario. | |
| writeScenarioDetails | back to summary |
|---|---|
| protected void writeScenarioDetails() Writes the details for all test scenarios. | |
| writeScenarioDetails | back to summary |
|---|---|
| private int writeScenarioDetails(List<EmailableReporter2. Writes the scenario details for the results of a given state for a single test. | |
| writeScenarioSummary | back to summary |
|---|---|
| protected void writeScenarioSummary() Writes a summary of all the test scenarios. | |
| writeScenarioSummary | back to summary |
|---|---|
| private int writeScenarioSummary(String description, List<EmailableReporter2. Writes the scenario summary for the results of a given state for a single test. | |
| writeStackTrace | back to summary |
|---|---|
| protected void writeStackTrace(Throwable throwable) | |
| writeStylesheet | back to summary |
|---|---|
| protected void writeStylesheet() | |
| writeSuiteSummary | back to summary |
|---|---|
| protected void writeSuiteSummary() | |
| writeTableData | back to summary |
|---|---|
| protected void writeTableData(String html) Writes a TD element with the specified contents.
| |
| writeTableData | back to summary |
|---|---|
| protected void writeTableData(String html, String cssClasses) Writes a TD element with the specified contents and CSS class names. | |
| writeTableHeader | back to summary |
|---|---|
| protected void writeTableHeader(String html, String cssClasses) Writes a TH element with the specified contents and CSS class names. | |
| writeTag | back to summary |
|---|---|
| protected void writeTag(String tag, String html, String cssClasses) Writes an arbitrary HTML element with the specified contents and CSS class names. | |
MethodResults by class.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | ClassResult(String
the class name className, List<EmailableReporter2.the non-null, non-empty methodResultsMethodResult list
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public List |
| className | back to summary |
|---|---|
| private final String className | |
| methodResults | back to summary |
|---|---|
| private final List<EmailableReporter2. | |
| ClassResult | back to summary |
|---|---|
public ClassResult(String className, List<EmailableReporter2.
| |
| getClassName | back to summary |
|---|---|
| public String getClassName() | |
| getMethodResults | back to summary |
|---|---|
public List
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public List |
| results | back to summary |
|---|---|
| private final List<ITestResult> results | |
| MethodResult | back to summary |
|---|---|
public MethodResult(List<ITestResult> results)
| |
| getResults | back to summary |
|---|---|
public List
| |
TestResults by suite.
| Modifier and Type | Field and Description |
|---|---|
| private final XmlSuite. | |
| private final String | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public XmlSuite. | |
| public String | |
| public List |
| mode | back to summary |
|---|---|
| private final XmlSuite. | |
| suiteName | back to summary |
|---|---|
| private final String suiteName | |
| testResults | back to summary |
|---|---|
| private final List<EmailableReporter2. | |
| SuiteResult | back to summary |
|---|---|
| public SuiteResult(ISuite suite) | |
| getParallelMode | back to summary |
|---|---|
| public XmlSuite. | |
| getSuiteName | back to summary |
|---|---|
| public String getSuiteName() | |
| getTestResults | back to summary |
|---|---|
public List
| |
ClassResults by test, type (configuration or test), and status.
| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final String | |
| private final List | |
| private final int | |
| private final List | |
| private final String | |
| private final int | |
| private final List | |
| protected static final Comparator | RESULT_COMPARATOR
Orders test results by class name and then by method name (in lexicographic order). |
| private final int | |
| private final List | |
| private final List | |
| private final int | |
| private final List | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | Returns: The String value of the groupsThe groups groups)Formats an array of groups for display. |
| public long | |
| public String | |
| public List | |
| public int | |
| public List | |
| public String | |
| public int | |
| public List | |
| public int | |
| public List | |
| public List | |
| public int | |
| public List | |
| public String | |
| protected List | Returns: Test result grouped by method and classAll test results results)Groups test results by method and then by class. |
| private static Set | |
| private static Set |
| duration | back to summary |
|---|---|
| private final long duration | |
| excludedGroups | back to summary |
|---|---|
| private final String excludedGroups | |
| failedConfigurationResults | back to summary |
|---|---|
| private final List<EmailableReporter2. | |
| failedTestCount | back to summary |
|---|---|
| private final int failedTestCount | |
| failedTestResults | back to summary |
|---|---|
| private final List<EmailableReporter2. | |
| includedGroups | back to summary |
|---|---|
| private final String includedGroups | |
| passedTestCount | back to summary |
|---|---|
| private final int passedTestCount | |
| passedTestResults | back to summary |
|---|---|
| private final List<EmailableReporter2. | |
| RESULT_COMPARATOR | back to summary |
|---|---|
| protected static final Comparator<ITestResult> RESULT_COMPARATOR Orders test results by class name and then by method name (in lexicographic order). | |
| retriedTestCount | back to summary |
|---|---|
| private final int retriedTestCount | |
| retriedTestResults | back to summary |
|---|---|
| private final List<EmailableReporter2. | |
| skippedConfigurationResults | back to summary |
|---|---|
| private final List<EmailableReporter2. | |
| skippedTestCount | back to summary |
|---|---|
| private final int skippedTestCount | |
| skippedTestResults | back to summary |
|---|---|
| private final List<EmailableReporter2. | |
| testName | back to summary |
|---|---|
| private final String testName | |
| TestResult | back to summary |
|---|---|
| public TestResult(ITestContext context) | |
| formatGroups | back to summary |
|---|---|
| protected String formatGroups(String[] groups) Formats an array of groups for display. | |
| getDuration | back to summary |
|---|---|
| public long getDuration() | |
| getExcludedGroups | back to summary |
|---|---|
| public String getExcludedGroups() | |
| getFailedConfigurationResults | back to summary |
|---|---|
public List
| |
| getFailedTestCount | back to summary |
|---|---|
| public int getFailedTestCount() | |
| getFailedTestResults | back to summary |
|---|---|
public List
| |
| getIncludedGroups | back to summary |
|---|---|
| public String getIncludedGroups() | |
| getPassedTestCount | back to summary |
|---|---|
| public int getPassedTestCount() | |
| getPassedTestResults | back to summary |
|---|---|
public List
| |
| getRetriedTestCount | back to summary |
|---|---|
| public int getRetriedTestCount() | |
| getRetriedTestResults | back to summary |
|---|---|
| public List | |
| getSkippedConfigurationResults | back to summary |
|---|---|
public List
| |
| getSkippedTestCount | back to summary |
|---|---|
| public int getSkippedTestCount() | |
| getSkippedTestResults | back to summary |
|---|---|
public List
| |
| getTestName | back to summary |
|---|---|
| public String getTestName() | |
| groupResults | back to summary |
|---|---|
| protected List Groups test results by method and then by class.
| |
| pruneRetried | back to summary |
|---|---|
| private static Set | |
| pruneSkipped | back to summary |
|---|---|
| private static Set | |