Uses of Interface
org.apache.batik.test.TestReport
Packages that use TestReport
Package
Description
-
Uses of TestReport in org.apache.batik.swing
Methods in org.apache.batik.swing with parameters of type TestReport -
Uses of TestReport in org.apache.batik.test
Subinterfaces of TestReport in org.apache.batik.testModifier and TypeInterfaceDescriptioninterface
Defines the interface of aTestReport
produced by aTestSuite
.Classes in org.apache.batik.test that implement TestReportModifier and TypeClassDescriptionclass
Simple, default implementation for theTestReport
interface.class
Simple implementation of theTestReport
interface forTestSuite
Methods in org.apache.batik.test that return TestReportModifier and TypeMethodDescriptionDefaultTestSuiteReport.getChildrenReports()
TestSuiteReport.getChildrenReports()
Returns an array of childrenTestReports
which may be useful for reports generated byTestSuite
instances.AssertException.getTestReport
(Test test) TestErrorConditionException
implementation.TestErrorConditionException.getTestReport
(Test test) Requests a report which describes the exception.AbstractTest.reportError
(String errorCode) Convenience method to report a simple error code.AbstractTest.reportException
(String errorCode, Exception e) Convenience method to help implementations report errors.AbstractTest.reportSuccess()
Convenience method.AbstractTest.run()
This default implementation of the run method catches any Exception thrown from the runImpl method and creates aTestReport
indicating an internalTest
failure when that happens.final TestReport
PerformanceTest.run()
Force implementations to only implementrunOp
and other performance specific methods.Test.run()
Requests thisTest
to run and produce a report.AbstractTest.runImpl()
Subclasses should implement this method with the content of the test case.DefaultTestSuite.runImpl()
Runs the tests and returns a reportParametrizedTest.runImpl()
final TestReport
PerformanceTest.runImpl()
This implementation of runImpl runs the reference operation (withrunRef
), then runs the operation (withrunOp
) and checks whether or not the score is within the allowed deviation of the reference score.PerformanceTestValidator.runImpl()
TestReportValidator.runImpl()
Methods in org.apache.batik.test with parameters of type TestReportModifier and TypeMethodDescriptionvoid
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
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 stringvoid
TestReportProcessor.processReport
(TestReport report) Requests the processor to process the inputTestReport
instances. -
Uses of TestReport in org.apache.batik.test.svg
Fields in org.apache.batik.test.svg declared as TestReportMethods in org.apache.batik.test.svg that return TestReportModifier and TypeMethodDescriptionabstract TestReport
AbstractRenderingAccuracyTest.encode
(URL srcURL, FileOutputStream fos) JSVGRenderingAccuracyTest.encode
(URL srcURL, FileOutputStream fos) SVGRenderingAccuracyTest.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.ImageCompareTest.rumImpl()
SelfContainedSVGOnLoadTestValidator.ReportSuccess.rumImpl()
AbstractRenderingAccuracyTest.run()
Requests thisTest
to run and produce a report.SelfContainedSVGOnLoadTest.runImpl()
Run this test and produce a report.SelfContainedSVGOnLoadTestValidator.DefaultErrorTest.runImpl()
SVGOnLoadExceptionTest.runImpl()
Run this test and produce a report.SVGRenderingAccuracyTestValidator.AccurateRendering.runImpl()
SVGRenderingAccuracyTestValidator.AccurateRenderingWithVariation.runImpl()
SVGRenderingAccuracyTestValidator.DefaultConfigTest.runImpl()
SVGRenderingAccuracyTestValidator.DifferentSizes.runImpl()
SVGRenderingAccuracyTestValidator.InexistingReferenceImage.runImpl()
SVGRenderingAccuracyTestValidator.InvalidReferenceImageURL.runImpl()
SVGRenderingAccuracyTestValidator.InvalidSVGContent.runImpl()
SVGRenderingAccuracyTestValidator.InvalidSVGURL.runImpl()
SVGRenderingAccuracyTestValidator.SameSizeDifferentContent.runImpl()
protected TestReport
SVGOnLoadExceptionTest.testImpl()
Implementation helperMethods in org.apache.batik.test.svg with parameters of type TestReport -
Uses of TestReport in org.apache.batik.test.xml
Methods in org.apache.batik.test.xml that return TestReportModifier and TypeMethodDescriptionRuns the test suite described by the input Document object.protected TestReport
XMLTestSuiteRunnerValidator.XMLTestSuiteRunnerTest.runImpl()
AbstractTest
's template method implementation.protected TestReport
Methods in org.apache.batik.test.xml with parameters of type TestReportModifier and TypeMethodDescriptionprotected void
XMLTestSuiteRunnerValidator.XMLTestSuiteRunnerTest.appendReportIds
(TestReport r, StringBuffer sb) protected String
XMLTestSuiteRunnerValidator.XMLTestSuiteRunnerTest.checkTestReport
(TestReport report, Set idSet) Validates that the inputTestReport
contains only the expected identifiers.void
XMLTestReportProcessor.processReport
(TestReport report) Recursively processes the inputTestReport
and any of its children.protected void
XMLTestReportProcessor.processReport
(TestReport report, Element reportElement, Document reportDocument) Recursively processes the inputTestReport
adding the report information to the input element.protected void
XMLTestSuiteRunner.processReport
(TestReport report, TestReportProcessor[] processors) protected String
XMLTestSuiteRunnerValidator.XMLTestSuiteRunnerTest.reportIdsToString
(TestReport r)