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 String
static final String
static final String
static final String
Message keysprivate PrintWriter
Default output writerFields inherited from interface org.apache.batik.test.TestReportProcessor
INTERNAL_ERROR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
printValue
(Object value, String prefix, PrintWriter out) Prints out the input value depending on its type.void
processReport
(TestReport report) Recursively prints out the entries of the input report and its children reports, if any.void
processReport
(TestReport report, String prefix, PrintWriter out) Prints out the input report, prefixing all output with the input stringvoid
setPrintWriter
(PrintWriter printWriter) Sets thePrintWriter
this 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 thePrintWriter
this processor should use -
processReport
Recursively prints out the entries of the input report and its children reports, if any.- Specified by:
processReport
in 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.
-