felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r527608 - /incubator/felix/trunk/configadmin/src/test/java/org/apache/felix/cm/file/FileNameTest.java
Date Wed, 11 Apr 2007 18:46:06 GMT
Author: fmeschbe
Date: Wed Apr 11 11:46:05 2007
New Revision: 527608

URL: http://svn.apache.org/viewvc?view=rev&rev=527608
Log:
Replace ISO-88591-1 character by proper Java Unicode Escape to prevent compilation issues
on non-ISO-8859-1 platforms

Modified:
    incubator/felix/trunk/configadmin/src/test/java/org/apache/felix/cm/file/FileNameTest.java

Modified: incubator/felix/trunk/configadmin/src/test/java/org/apache/felix/cm/file/FileNameTest.java
URL: http://svn.apache.org/viewvc/incubator/felix/trunk/configadmin/src/test/java/org/apache/felix/cm/file/FileNameTest.java?view=diff&rev=527608&r1=527607&r2=527608
==============================================================================
--- incubator/felix/trunk/configadmin/src/test/java/org/apache/felix/cm/file/FileNameTest.java
(original)
+++ incubator/felix/trunk/configadmin/src/test/java/org/apache/felix/cm/file/FileNameTest.java
Wed Apr 11 11:46:05 2007
@@ -32,8 +32,8 @@
     {
         assertEquals( "plain", encodePath( "plain" ) );
         assertEquals( "plain" + File.separatorChar + "path", encodePath( "plain.path" ) );
-        assertEquals( "encod%00e8", encodePath( "encodè" ) );
-        assertEquals( "encod%00e8" + File.separatorChar + "path", encodePath( "encodè/path"
) );
+        assertEquals( "encod%00e8", encodePath( "encod\u00E8" ) );
+        assertEquals( "encod%00e8" + File.separatorChar + "path", encodePath( "encod\u00E8/path"
) );
         assertEquals( "encode" + File.separatorChar + "%1234" + File.separatorChar + "path",
encodePath( "encode/\u1234/path" ) );
         assertEquals( "encode" + File.separatorChar + " %0025 " + File.separatorChar + "path",
encodePath( "encode/ % /path" ) );
     }



Mime
View raw message