On Wed, Dec 21, 2011 at 7:34 AM, Emmanuel Bourg <ebo...@apache.org> wrote:

> 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.
>

If you add a unit test, you should make sure it works IMO. Or, you should
@Ignore it.

Gary


>
> 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
>>
>>
>
>


-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to