Running apache-poi tests on Fedora 13 with junit4 4.6 I get:
[junit] Running org.apache.poi.hssf.usermodel.TestBugs [junit] Warning, header block comes after data blocks in POIFS block listing [junit] Warning, incorrectly terminated empty data blocks in POIFS block listing (should end at -2, ended at 0) [junit] Tests run: 91, Failures: 0, Errors: 0, Time elapsed: 5.654 sec
On rawhide with junit4 4.8.2 I get:
[junit] Running org.apache.poi.hssf.usermodel.TestBugs [junit] Warning, header block comes after data blocks in POIFS block listing [junit] Warning, incorrectly terminated empty data blocks in POIFS block listing (should end at -2, ended at 0) [junit] Tests run: 91, Failures: 0, Errors: 1, Time elapsed: 13.797 sec BUILD FAILED /builddir/build/BUILD/poi-3.6/build.xml:563: Tests failed
These warnings are written with System.err.println(). Does junit4 now automatically record an error if something is written to stderr?
java-devel@lists.fedoraproject.org