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$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringMessage keysprivate PrintWriterDefault output writerFields inherited from interface 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
-
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.
-