Package org.apache.batik.test
Class SimpleTestReportProcessor
java.lang.Object
org.apache.batik.test.SimpleTestReportProcessor
- All Implemented Interfaces:
TestReportProcessor
A simple implementation of the
TestReportProcessor interface
that prints out the TestReport to the standard output.- Version:
- $Id: SimpleTestReportProcessor.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringMessage keysprivate PrintWriterDefault output writerFields inherited from interface org.apache.batik.test.TestReportProcessor
INTERNAL_ERROR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprintValue(Object value, String prefix, PrintWriter out) Prints out the input value depending on its type.voidprocessReport(TestReport report) Recursively prints out the entries of the input report and its children reports, if any.voidprocessReport(TestReport report, String prefix, PrintWriter out) Prints out the input report, prefixing all output with the input stringvoidsetPrintWriter(PrintWriter printWriter) Sets thePrintWriterthis processor should use
-
Field Details
-
MESSAGES_TEST_SUITE_STATUS_TEST_PASSED
Message keys- See Also:
-
MESSAGES_TEST_SUITE_STATUS_TEST_FAILED
- See Also:
-
MESSAGES_TEST_SUITE_STATUS
- See Also:
-
MESSAGES_TEST_SUITE_ERROR_CODE
- See Also:
-
printWriter
Default output writer
-
-
Constructor Details
-
SimpleTestReportProcessor
public SimpleTestReportProcessor()
-
-
Method Details
-
setPrintWriter
Sets thePrintWriterthis processor should use -
processReport
Recursively prints out the entries of the input report and its children reports, if any.- Specified by:
processReportin interfaceTestReportProcessor- Throws:
TestException
-
processReport
Prints out the input report, prefixing all output with the input string -
printValue
Prints out the input value depending on its type.
-