JavaScript is disabled on your browser.
Package
Class
Tree
Deprecated
Index
Help
reportng
(Version 1.1.4)
Prev
Next
Frames
No Frames
All Classes
A
C
E
F
G
H
J
M
O
R
S
T
A
AbstractReporter
- Class in
org.uncommons.reportng
Convenient base class for the ReportNG reporters.
AbstractReporter(String)
- Constructor for class org.uncommons.reportng.
AbstractReporter
allowSkippedTestsInXML()
- Method in class org.uncommons.reportng.
ReportMetadata
If the XML dialect has been set to "junit", we will render all skipped tests as failed tests in the XML.
C
copyClasspathResource(File, String, String)
- Method in class org.uncommons.reportng.
AbstractReporter
Copy a single named resource from the classpath to the output directory.
copyFile(File, File, String)
- Method in class org.uncommons.reportng.
AbstractReporter
Copy a single named file to the output directory.
copyStream(File, InputStream, String)
- Method in class org.uncommons.reportng.
AbstractReporter
Helper method to copy the contents of a stream to a file.
createContext()
- Method in class org.uncommons.reportng.
AbstractReporter
Helper method that creates a Velocity context and initialises it with a reference to the ReportNG utils, report metadata and localised messages.
E
escapeHTMLString(String)
- Method in class org.uncommons.reportng.
ReportNGUtils
Works like
escapeString(String)
but also replaces line breaks with <br /> tags and preserves significant whitespace.
escapeString(String)
- Method in class org.uncommons.reportng.
ReportNGUtils
Replace any angle brackets, quotes, apostrophes or ampersands with the corresponding XML/HTML entities to avoid problems displaying the String in an XML document.
F
formatDuration(long, long)
- Method in class org.uncommons.reportng.
ReportNGUtils
formatDuration(long)
- Method in class org.uncommons.reportng.
ReportNGUtils
G
generateFile(File, String, VelocityContext)
- Method in class org.uncommons.reportng.
AbstractReporter
Generate the specified output file by merging the specified Velocity template with the supplied context.
generateReport(List<XmlSuite>, List<ISuite>, String)
- Method in class org.uncommons.reportng.
HTMLReporter
Generates a set of HTML files that contain data about the outcome of the specified test suites.
generateReport(List<XmlSuite>, List<ISuite>, String)
- Method in class org.uncommons.reportng.
JUnitXMLReporter
Generates a set of XML files (JUnit format) that contain data about the outcome of the specified test suites.
getAllOutput()
- Method in class org.uncommons.reportng.
ReportNGUtils
Retieves the output from all calls to
org.testng.Reporter#log(String)
across all tests.
getArguments(ITestResult)
- Method in class org.uncommons.reportng.
ReportNGUtils
getCauses(Throwable)
- Method in class org.uncommons.reportng.
ReportNGUtils
Convert a Throwable into a list containing all of its causes.
getCoverageLink()
- Method in class org.uncommons.reportng.
ReportMetadata
getDependentGroups(ITestResult)
- Method in class org.uncommons.reportng.
ReportNGUtils
getDependentMethods(ITestResult)
- Method in class org.uncommons.reportng.
ReportNGUtils
getDuration()
- Method in class org.uncommons.reportng.
JUnitXMLReporter.TestClassResults
getDuration(ITestContext)
- Method in class org.uncommons.reportng.
ReportNGUtils
Returns the aggregate of the elapsed times for each test result.
getEndTime(ISuite, IInvokedMethod, List<IInvokedMethod>)
- Method in class org.uncommons.reportng.
ReportNGUtils
getFailedTests()
- Method in class org.uncommons.reportng.
JUnitXMLReporter.TestClassResults
getJavaInfo()
- Method in class org.uncommons.reportng.
ReportMetadata
getLocale()
- Method in class org.uncommons.reportng.
ReportMetadata
getPassedTests()
- Method in class org.uncommons.reportng.
JUnitXMLReporter.TestClassResults
getPlatform()
- Method in class org.uncommons.reportng.
ReportMetadata
getReportDate()
- Method in class org.uncommons.reportng.
ReportMetadata
getReportTime()
- Method in class org.uncommons.reportng.
ReportMetadata
getReportTitle()
- Method in class org.uncommons.reportng.
ReportMetadata
getSkipExceptionMessage(ITestResult)
- Method in class org.uncommons.reportng.
ReportNGUtils
getSkippedTests()
- Method in class org.uncommons.reportng.
JUnitXMLReporter.TestClassResults
getStartTime(List<IInvokedMethod>)
- Method in class org.uncommons.reportng.
ReportNGUtils
Find the earliest start time of the specified methods.
getStylesheetPath()
- Method in class org.uncommons.reportng.
ReportMetadata
If a custom CSS file has been specified, returns the path.
getTestClass()
- Method in class org.uncommons.reportng.
JUnitXMLReporter.TestClassResults
getTestOutput(ITestResult)
- Method in class org.uncommons.reportng.
ReportNGUtils
Retrieves all log messages associated with a particular test result.
getUser()
- Method in class org.uncommons.reportng.
ReportMetadata
H
hasArguments(ITestResult)
- Method in class org.uncommons.reportng.
ReportNGUtils
hasDependentGroups(ITestResult)
- Method in class org.uncommons.reportng.
ReportNGUtils
hasDependentMethods(ITestResult)
- Method in class org.uncommons.reportng.
ReportNGUtils
hasGroups(ISuite)
- Method in class org.uncommons.reportng.
ReportNGUtils
hasSkipException(ITestResult)
- Method in class org.uncommons.reportng.
ReportNGUtils
HTMLReporter
- Class in
org.uncommons.reportng
Enhanced HTML reporter for TestNG that uses Velocity templates to generate its output.
HTMLReporter()
- Constructor for class org.uncommons.reportng.
HTMLReporter
J
JUnitXMLReporter
- Class in
org.uncommons.reportng
JUnit XML reporter for TestNG that uses Velocity templates to generate its output.
JUnitXMLReporter()
- Constructor for class org.uncommons.reportng.
JUnitXMLReporter
JUnitXMLReporter.TestClassResults
- Class in
org.uncommons.reportng
Groups together all of the data about the tests results from the methods of a single test class.
M
META
- Static variable in class org.uncommons.reportng.
AbstractReporter
O
org.uncommons.reportng
- package org.uncommons.reportng
R
removeEmptyDirectories(File)
- Method in class org.uncommons.reportng.
AbstractReporter
Deletes any empty directories under the output directory.
ReportMetadata
- Class in
org.uncommons.reportng
Provides access to static information useful when generating a report.
ReportMetadata()
- Constructor for class org.uncommons.reportng.
ReportMetadata
ReportNGException
- Exception in
org.uncommons.reportng
Unchecked exception thrown when an unrecoverable error occurs during report generation.
ReportNGException(String)
- Constructor for exception org.uncommons.reportng.
ReportNGException
ReportNGException(String, Throwable)
- Constructor for exception org.uncommons.reportng.
ReportNGException
ReportNGUtils
- Class in
org.uncommons.reportng
Utility class that provides various helper methods that can be invoked from a Velocity template.
ReportNGUtils()
- Constructor for class org.uncommons.reportng.
ReportNGUtils
S
shouldEscapeOutput()
- Method in class org.uncommons.reportng.
ReportMetadata
Returns true (the default) if log text should be escaped when displayed in a report.
shouldGenerateVelocityLog()
- Method in class org.uncommons.reportng.
ReportMetadata
shouldShowExpectedExceptions()
- Method in class org.uncommons.reportng.
ReportMetadata
Returns false (the default) if stack traces should not be shown for expected exceptions.
stripThreadName(String)
- Method in class org.uncommons.reportng.
ReportNGUtils
TestNG returns a compound thread ID that includes the thread name and its numeric ID, separated by an 'at' sign.
T
TEMPLATE_EXTENSION
- Static variable in class org.uncommons.reportng.
AbstractReporter
A
C
E
F
G
H
J
M
O
R
S
T
Package
Class
Tree
Deprecated
Index
Help
reportng
(Version 1.1.4)
Prev
Next
Frames
No Frames
All Classes