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 03:17:57 GMT
I'll take a look at this in detail later but it's actually of less
importance now than it used to be.  While we do need to support RFC2047
generally, the APP spec has switched to using percent-encoding for the
Slug header instead of rfc2047 encoding.

- 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