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[] |
DefaultTestSuiteReport.getChildrenReports() |
TestReport[] |
TestSuiteReport.getChildrenReports()
Returns an array of children
TestReports which
may be useful for reports generated by TestSuite
instances. |
TestReport |
TestErrorConditionException.getTestReport(Test test)
Requests a report which describes the exception.
|
TestReport |
AssertException.getTestReport(Test test)
TestErrorConditionException implementation. |
TestReport |
AbstractTest.reportError(java.lang.String errorCode)
Convenience method to report a simple error code.
|
TestReport |
AbstractTest.reportException(java.lang.String errorCode,
java.lang.Exception e)
Convenience method to help implementations report errors.
|
TestReport |
AbstractTest.reportSuccess()
Convenience method.
|
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 |
Test.run()
Requests this
Test to run and produce a
report. |
TestReport |
AbstractTest.runImpl()
Subclasses should implement this method with the content of
the test case.
|
TestReport |
TestReportValidator.runImpl() |
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 |
ParametrizedTest.runImpl() |
TestReport |
DefaultTestSuite.runImpl()
Runs the tests and returns a report
|
TestReport |
PerformanceTestValidator.runImpl() |
Modifier and Type | Method and Description |
---|---|
void |
AssertEqualsException.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 |
AssertNullException.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,
java.lang.String prefix,
java.io.PrintWriter out)
Prints out the input report, prefixing all output
with the input string
|
Modifier and Type | Method and Description |
---|---|
TestReport |
XMLTestSuiteRunner.run(org.w3c.dom.Document doc,
java.lang.String[] ids)
Runs the test suite described by the input
Document object.
|
protected TestReport |
XMLTestSuiteRunner.run(org.w3c.dom.Element testRunElement,
java.lang.String[] ids) |
TestReport |
XMLTestSuiteRunnerValidator.XMLTestSuiteRunnerTest.runImpl()
AbstractTest 's template method implementation. |
protected TestReport |
XMLTestSuiteRunner.runTest(Test test) |
Modifier and Type | Method and Description |
---|---|
protected void |
XMLTestSuiteRunnerValidator.XMLTestSuiteRunnerTest.appendReportIds(TestReport r,
java.lang.StringBuffer sb) |
protected java.lang.String |
XMLTestSuiteRunnerValidator.XMLTestSuiteRunnerTest.checkTestReport(TestReport report,
java.util.Set idSet)
Validates that the input
TestReport
contains only the expected identifiers. |
void |
XMLTestReportProcessor.processReport(TestReport report)
Recursively processes the input
TestReport and
any of its children. |
protected void |
XMLTestReportProcessor.processReport(TestReport report,
org.w3c.dom.Element reportElement,
org.w3c.dom.Document reportDocument)
Recursively processes the input
TestReport adding
the report information to the input element. |
protected void |
XMLTestSuiteRunner.processReport(TestReport report,
TestReportProcessor[] processors) |
protected java.lang.String |
XMLTestSuiteRunnerValidator.XMLTestSuiteRunnerTest.reportIdsToString(TestReport r) |