commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: [sanselan] ColorConversionsTest failure
Date Wed, 21 Dec 2011 12:34:39 GMT
I do, the failure appeared after I moved the tests previously in 
ColorConversions into a proper JUnit test case. I don't think I broke 
the code, so I assume the issue was already there.

Emmanuel Bourg


Le 21/12/2011 13:29, Gary Gregory a écrit :
> Does anyone else see this:
>
> junit.framework.ComparisonFailure: {C: 0.0, M: 0.0, Y: 64.0, K: 64.0}
> expected:<FFBFBF[8]F>  but was:<FFBFBF[7]F>
> at junit.framework.Assert.assertEquals(Assert.java:81)
> at
> org.apache.commons.sanselan.color.ColorConversionsTest.testCMYKtoRGB(ColorConversionsTest.java:51)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:592)
> at junit.framework.TestCase.runTest(TestCase.java:164)
> at junit.framework.TestCase.runBare(TestCase.java:130)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:120)
> at junit.framework.TestSuite.runTest(TestSuite.java:230)
> at junit.framework.TestSuite.run(TestSuite.java:225)
> at
> org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
> at
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
>
> ?
>
> Gary
>



Mime
View raw message