https://bz.apache.org/bugzilla/show_bug.cgi?id=58261
Bug ID: 58261
Summary: [PATCH] Suppress messages written to System.out when
running test suite
Product: POI
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: POI Overall
Assignee: [email protected]
Reporter: [email protected]
Created attachment 33012
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33012&action=edit
suppress ant test output patch
There are several tests that write the System.out when running "ant test",
including a hex dump of Container.dat from TestEscherDump. This output isn't
useful when running the entire test suite.
I've modified several tests to temporarily change System.out to a
NullOutputStream while the test is running to avoid this cruft. Is there a
better way to hide this output unless just one test case is executed instead of
the entire test suite?
I understand that there are some things that POI can't test for, such as if
Microsoft Office thinks a file is corrupted but POI doesn't have a problem
reading the file. There are several tests that write "Open <filename> in
Excel". Are these asking someone to manually open the files in Excel and verify
that the contents are displayed correctly? If so, perhaps we should have a
decoration for tests where manual verification of output files is required, and
the log should indicate what a person should look for in those files.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]