| Package | Description |
|---|---|
| org.apache.batik.test | |
| org.apache.batik.test.xml |
| Modifier and Type | Interface and Description |
|---|---|
interface |
TestSuiteReport
Defines the interface of a
TestReport produced
by a TestSuite. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultTestReport
Simple, default implementation for the
TestReport
interface. |
class |
DefaultTestSuiteReport
Simple implementation of the
TestReport interface
for TestSuite |
| Modifier and Type | Method and Description |
|---|---|
TestReport[] |
TestSuiteReport.getChildrenReports()
Returns an array of children
TestReports which
may be useful for reports generated by TestSuite
instances. |
TestReport[] |
DefaultTestSuiteReport.getChildrenReports() |
TestReport |
TestErrorConditionException.getTestReport(Test test)
Requests a report which describes the exception.
|
TestReport |
AssertException.getTestReport(Test test)
TestErrorConditionException implementation. |
TestReport |
AbstractTest.reportError(String errorCode)
Convenience method to report a simple error code.
|
TestReport |
AbstractTest.reportException(String errorCode,
Exception e)
Convenience method to help implementations report errors.
|
TestReport |
AbstractTest.reportSuccess()
Convenience method.
|
TestReport |
Test.run()
Requests this
Test to run and produce a
report. |
TestReport |
AbstractTest.run()
This default implementation of the run method
catches any Exception thrown from the
runImpl method and creates a
TestReport
indicating an internal Test failure
when that happens. |
TestReport |
PerformanceTest.run()
Force implementations to only implement
runOp
and other performance specific methods. |
TestReport |
PerformanceTestValidator.runImpl() |
TestReport |
AbstractTest.runImpl()
Subclasses should implement this method with the content of
the test case.
|
TestReport |
PerformanceTest.runImpl()
This implementation of runImpl runs the reference
operation (with
runRef), then runs
the operation (with runOp) and checks whether
or not the score is within the allowed deviation of the
reference score. |
TestReport |
TestReportValidator.runImpl() |
TestReport |
DefaultTestSuite.runImpl()
Runs the tests and returns a report
|
TestReport |
ParametrizedTest.runImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
AssertNullException.addDescription(TestReport report)
Requests that the exception populates the TestReport with the
relevant information.
|
abstract void |
AssertException.addDescription(TestReport report)
Requests that the exception populates the TestReport with the
relevant information.
|
void |
AssertTrueException.addDescription(TestReport report)
Requests that the exception populates the TestReport with the
relevant information.
|
void |
AssertEqualsException.addDescription(TestReport report)
Requests that the exception populates the TestReport with the
relevant information.
|
void |
DefaultTestSuiteReport.addReport(TestReport report) |
void |
TestErrorConditionException.addStackTraceDescription(TestReport report)
Convenience method: adds a description entry for the stack
trace.
|
void |
TestReportProcessor.processReport(TestReport report)
Requests the processor to process the input
TestReport instances. |
void |
SimpleTestReportProcessor.processReport(TestReport report)
Recursively prints out the entries of the input
report and its children reports, if any.
|
void |
SimpleTestReportProcessor.processReport(TestReport report,
String prefix,
PrintWriter out)
Prints out the input report, prefixing all output
with the input string
|
| Modifier and Type | Method and Description |
|---|---|
TestReport |
XMLTestSuiteRunner.run(Document doc,
String[] ids)
Runs the test suite described by the input
Document object.
|
protected TestReport |
XMLTestSuiteRunner.run(Element testRunElement,
String[] ids) |
protected TestReport |
XMLTestSuiteRunner.runTest(Test test) |
| Modifier and Type | Method and Description |
|---|---|
void |
XMLTestReportProcessor.processReport(TestReport report)
Recursively processes the input
TestReport and
any of its children. |
protected void |
XMLTestReportProcessor.processReport(TestReport report,
Element reportElement,
Document reportDocument)
Recursively processes the input
TestReport adding
the report information to the input element. |
protected void |
XMLTestSuiteRunner.processReport(TestReport report,
TestReportProcessor[] processors) |
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.