| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private JUnitReportReporter. | |
| private JUnitReportReporter. | |
| private String | |
| public void | generateReport(List<XmlSuite>
The list of xmlSuites, List<ISuite> XmlSuiteThe list of suites, String ISuiteThe output directory defaultOutputDirectory)Overrides default org. |
| private static int | |
| protected String | |
| private static String | |
| private long | getNextConfiguration(ListMultiMap<Object, ITestResult> configurations, ITestResult tr)
Add the time of the configuration method to this test method. |
| protected String | |
| private static void | |
| private boolean | putElement(XMLStringBuffer xsb, String tagName, Properties attributes, boolean hasChildElements)
Put a XML start or empty tag to the XMLStringBuffer depending on hasChildElements parameter |
| private void | |
| private static Collection |
| JUnitReportReporter | back to summary |
|---|---|
| public JUnitReportReporter() | |
| addMapping | back to summary |
|---|---|
| private void addMapping(SetMultiMap<Class<?>, ITestNGMethod> mapping, Collection<ITestNGMethod> methods) | |
| addResults | back to summary |
|---|---|
| private void addResults(Set<ITestResult> allResults, Map<Class<?>, Set<ITestResult>> out) | |
| createIgnoredTestTagFor | back to summary |
|---|---|
| private JUnitReportReporter. | |
| createTestTagFor | back to summary |
|---|---|
| private JUnitReportReporter. | |
| formatTime | back to summary |
|---|---|
| private String formatTime(float time) | |
| generateReport | back to summary |
|---|---|
| public void generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String defaultOutputDirectory) Overrides default org. Doc from org. Generate a report for the given suites into the specified output directory. | |
| getDisabledTestCount | back to summary |
|---|---|
| private static int getDisabledTestCount(Set<ITestNGMethod> methods) | |
| getFileName | back to summary |
|---|---|
| protected String getFileName(Class<T> cls) | |
| getHostName | back to summary |
|---|---|
| private static String getHostName() | |
| getNextConfiguration | back to summary |
|---|---|
| private long getNextConfiguration(ListMultiMap<Object, ITestResult> configurations, ITestResult tr) Add the time of the configuration method to this test method. The only problem with this method is that the timing of a test method might not be added to the time of the same configuration method that ran before it but since they should all be equivalent, this should never be an issue. | |
| getTestName | back to summary |
|---|---|
| protected String getTestName(ITestResult tr) | |
| handleFailure | back to summary |
|---|---|
| private static void handleFailure(JUnitReportReporter. | |
| putElement | back to summary |
|---|---|
| private boolean putElement(XMLStringBuffer xsb, String tagName, Properties attributes, boolean hasChildElements) Put a XML start or empty tag to the XMLStringBuffer depending on hasChildElements parameter | |
| safeSetProperty | back to summary |
|---|---|
| private void safeSetProperty(Properties p, String key, String value) Set property if value is non-null | |
| sort | back to summary |
|---|---|
| private static Collection | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv String | |
| pack-priv Properties | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| private |
| childTag | back to summary |
|---|---|
| pack-priv String childTag | |
| message | back to summary |
|---|---|
| pack-priv String message | |
| properties | back to summary |
|---|---|
| pack-priv Properties properties | |
| stackTrace | back to summary |
|---|---|
| pack-priv String stackTrace | |
| sysOut | back to summary |
|---|---|
| pack-priv String sysOut | |
| type | back to summary |
|---|---|
| pack-priv String type | |
| TestTag | back to summary |
|---|---|
| private TestTag() | |