xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: junit error in BitmapImageUtilTestCase
Date Fri, 04 Feb 2011 15:17:33 GMT
Damn, I knew it. I've tested two Sun 5 and 6 and OpenJDK 6 and they ran
through. Anyway, I've disabled the pixel tests:
http://svn.apache.org/viewvc?rev=1067193&view=rev

So much for plattform-independence. Even worse with the color
conversions that I still have to look at.

Sorry for the inconvenience.

On 04.02.2011 16:01:08 Simon Pepping wrote:
> I get a junit failure in BitmapImageUtilTestCase:
> 
> Testcase: testConvertToMono(org.apache.fop.util.BitmapImageUtilTestCase):	FAILED
> expected:<0[100000100000100]0001000101010101> but was:<0[001000100010001]0001000101010101>
> junit.framework.ComparisonFailure: expected:<0[100000100000100]0001000101010101>
but was:<0[001000100010001]0001000101010101>
> 	at org.apache.fop.util.BitmapImageUtilTestCase.assertPixels(BitmapImageUtilTestCase.java:105)
> 	at org.apache.fop.util.BitmapImageUtilTestCase.testConvertToMono(BitmapImageUtilTestCase.java:97)
> 
> Simon




Jeremias Maerki


Mime
View raw message