abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: Codec/UtilityTest issue?
Date Thu, 24 May 2007 16:21:02 GMT
Yeah, the challenge I have with this is that it makes the test
circular... testing the output of a function against the output of the
same function.  We need to understand why the test is failing on the Mac
and figure out if it's something we need to fix.

- James

Adam Constabaris wrote:
> I'm still kind of puzzled by this one.  UtilityTest in the server module
> (tests for encoding utitlities) fails on a (Intel) Mac, but not on any
> Linux system I've tried.   The results coming back from the EncodingUtil
> aren't agreeing with the string literals in the test case.
> 
> Attached is a diff against
> server/src/test/java/org/apache/abdera/test/server/UtilityTest.java that
> replaces all the literals used as the test values with calls to the
> relevant methods from the commons codec library.  I'm not sure whether
> this is a good idea, although it lets the test pass =)
> 

Mime
View raw message