You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@abdera.apache.org by jm...@apache.org on 2007/05/25 01:09:35 UTC
svn commit: r541472 -
/incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/test/server/UtilityTest.java
Author: jmsnell
Date: Thu May 24 16:09:34 2007
New Revision: 541472
URL: http://svn.apache.org/viewvc?view=rev&rev=541472
Log:
Fix for the encoding test from Adam Constabaris
Modified:
incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/test/server/UtilityTest.java
Modified: incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/test/server/UtilityTest.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/test/server/UtilityTest.java?view=diff&rev=541472&r1=541471&r2=541472
==============================================================================
--- incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/test/server/UtilityTest.java (original)
+++ incubator/abdera/java/trunk/server/src/test/java/org/apache/abdera/test/server/UtilityTest.java Thu May 24 16:09:34 2007
@@ -40,7 +40,7 @@
public class UtilityTest extends TestCase {
public static void testEncoding() throws Exception {
- String t = "tést";
+ String t = "t\u00e9st";
String tb1 = EncodingUtil.encode(t);
String tb2 = EncodingUtil.encode(t, "UTF-8");
String tb3 = EncodingUtil.encode(t, "UTF-8", EncodingUtil.Codec.B);