| Package | Description |
|---|---|
| org.apache.batik.swing | |
| org.apache.batik.test | |
| org.apache.batik.test.svg | |
| org.apache.batik.test.xml |
| Modifier and Type | Method and Description |
|---|---|
void |
JSVGCanvasHandler.Delegate.failure(TestReport report) |
| 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 |
AssertException.getTestReport(Test test)
TestErrorConditionException implementation. |
TestReport |
TestErrorConditionException.getTestReport(Test test)
Requests a report which describes the exception.
|
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 |
PerformanceTest.run()
Force implementations to only implement
runOp
and other performance specific methods. |
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 |
Test.run()
Requests this
Test to run and produce a
report. |
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 |
AbstractTest.runImpl()
Subclasses should implement this method with the content of
the test case.
|
TestReport |
PerformanceTestValidator.runImpl() |
TestReport |
ParametrizedTest.runImpl() |
TestReport |
DefaultTestSuite.runImpl()
Runs the tests and returns a report
|
TestReport |
TestReportValidator.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 |
AssertNullException.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 |
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 | Field and Description |
|---|---|
protected TestReport |
JSVGRenderingAccuracyTest.failReport |
| Modifier and Type | Method and Description |
|---|---|
TestReport |
SVGRenderingAccuracyTest.encode(URL srcURL,
FileOutputStream fos) |
abstract TestReport |
AbstractRenderingAccuracyTest.encode(URL srcURL,
FileOutputStream fos) |
TestReport |
JSVGRenderingAccuracyTest.encode(URL srcURL,
FileOutputStream fos) |
protected TestReport |
SVGOnLoadExceptionTest.handleException(Exception e)
Compares the input exception with the expected exception
If they match, then the test passes.
|
TestReport |
ImageCompareTest.rumImpl() |
TestReport |
AbstractRenderingAccuracyTest.run()
Requests this
Test to run and produce a
report. |
TestReport |
SVGOnLoadExceptionTest.runImpl()
Run this test and produce a report.
|
TestReport |
SelfContainedSVGOnLoadTest.runImpl()
Run this test and produce a report.
|
protected TestReport |
SVGOnLoadExceptionTest.testImpl()
Implementation helper
|
| Modifier and Type | Method and Description |
|---|---|
void |
JSVGRenderingAccuracyTest.failure(TestReport report) |
| 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–2021 Apache Software Foundation. All rights reserved.