junit4 behavior change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux