Uses of Interface
org.apache.batik.test.TestReport
-
Packages that use TestReport Package Description org.apache.batik.swing org.apache.batik.test org.apache.batik.test.svg org.apache.batik.test.xml -
-
Uses of TestReport in org.apache.batik.swing
Methods in org.apache.batik.swing with parameters of type TestReport Modifier and Type Method Description void
JSVGCanvasHandler.Delegate. failure(TestReport report)
-
Uses of TestReport in org.apache.batik.test
Subinterfaces of TestReport in org.apache.batik.test Modifier and Type Interface Description interface
TestSuiteReport
Defines the interface of aTestReport
produced by aTestSuite
.Classes in org.apache.batik.test that implement TestReport Modifier and Type Class Description class
DefaultTestReport
Simple, default implementation for theTestReport
interface.class
DefaultTestSuiteReport
Simple implementation of theTestReport
interface forTestSuite
Methods in org.apache.batik.test that return TestReport Modifier and Type Method Description TestReport[]
DefaultTestSuiteReport. getChildrenReports()
TestReport[]
TestSuiteReport. getChildrenReports()
Returns an array of childrenTestReports
which may be useful for reports generated byTestSuite
instances.TestReport
AssertException. getTestReport(Test test)
TestErrorConditionException
implementation.TestReport
TestErrorConditionException. getTestReport(Test test)
Requests a report which describes the exception.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 aTestReport
indicating an internalTest
failure when that happens.TestReport
PerformanceTest. run()
Force implementations to only implementrunOp
and other performance specific methods.TestReport
Test. run()
Requests thisTest
to run and produce a report.TestReport
AbstractTest. runImpl()
Subclasses should implement this method with the content of the test case.TestReport
DefaultTestSuite. runImpl()
Runs the tests and returns a reportTestReport
ParametrizedTest. runImpl()
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.TestReport
PerformanceTestValidator. runImpl()
TestReport
TestReportValidator. runImpl()
Methods in org.apache.batik.test with parameters of type TestReport Modifier and Type Method 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
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 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 TestReport Modifier and Type Field Description protected TestReport
JSVGRenderingAccuracyTest. failReport
Methods in org.apache.batik.test.svg that return TestReport Modifier and Type Method Description abstract TestReport
AbstractRenderingAccuracyTest. encode(java.net.URL srcURL, java.io.FileOutputStream fos)
TestReport
JSVGRenderingAccuracyTest. encode(java.net.URL srcURL, java.io.FileOutputStream fos)
TestReport
SVGRenderingAccuracyTest. encode(java.net.URL srcURL, java.io.FileOutputStream fos)
protected TestReport
SVGOnLoadExceptionTest. handleException(java.lang.Exception e)
Compares the input exception with the expected exception If they match, then the test passes.TestReport
ImageCompareTest. rumImpl()
TestReport
SelfContainedSVGOnLoadTestValidator.ReportSuccess. rumImpl()
TestReport
AbstractRenderingAccuracyTest. run()
Requests thisTest
to run and produce a report.TestReport
SelfContainedSVGOnLoadTest. runImpl()
Run this test and produce a report.TestReport
SelfContainedSVGOnLoadTestValidator.DefaultErrorTest. runImpl()
TestReport
SVGOnLoadExceptionTest. runImpl()
Run this test and produce a report.TestReport
SVGRenderingAccuracyTestValidator.AccurateRendering. runImpl()
TestReport
SVGRenderingAccuracyTestValidator.AccurateRenderingWithVariation. runImpl()
TestReport
SVGRenderingAccuracyTestValidator.DefaultConfigTest. runImpl()
TestReport
SVGRenderingAccuracyTestValidator.DifferentSizes. runImpl()
TestReport
SVGRenderingAccuracyTestValidator.InexistingReferenceImage. runImpl()
TestReport
SVGRenderingAccuracyTestValidator.InvalidReferenceImageURL. runImpl()
TestReport
SVGRenderingAccuracyTestValidator.InvalidSVGContent. runImpl()
TestReport
SVGRenderingAccuracyTestValidator.InvalidSVGURL. runImpl()
TestReport
SVGRenderingAccuracyTestValidator.SameSizeDifferentContent. runImpl()
protected TestReport
SVGOnLoadExceptionTest. testImpl()
Implementation helperMethods in org.apache.batik.test.svg with parameters of type TestReport Modifier and Type Method Description void
JSVGRenderingAccuracyTest. failure(TestReport report)
-
Uses of TestReport in org.apache.batik.test.xml
Methods in org.apache.batik.test.xml that return TestReport Modifier and Type Method 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)
Methods in org.apache.batik.test.xml with parameters of type TestReport Modifier and Type Method 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 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, org.w3c.dom.Element reportElement, org.w3c.dom.Document reportDocument)
Recursively processes the inputTestReport
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)
-