db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r957692 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/Utf8CcsidManagerTest.java
Date Thu, 24 Jun 2010 19:31:13 GMT
Author: kmarsden
Date: Thu Jun 24 19:31:13 2010
New Revision: 957692

URL: http://svn.apache.org/viewvc?rev=957692&view=rev
Log:
DERBY-728 Unable to create databases whose name containg Chinese characters through the client
driver

Just a name change for the Utf8CccsidManagerTest fixtures.

Contributed by Tiago R. Espinha tiago dot derby at yahoo dot co dot uk

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/Utf8CcsidManagerTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/Utf8CcsidManagerTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/Utf8CcsidManagerTest.java?rev=957692&r1=957691&r2=957692&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/Utf8CcsidManagerTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/Utf8CcsidManagerTest.java
Thu Jun 24 19:31:13 2010
@@ -42,7 +42,7 @@ public class Utf8CcsidManagerTest extend
     /**
      * Use the Utf8CcsidManager to convert strings from UCS2/UTF-16 into UTF-8
      */
-    public void testConvertFromUCS2() throws Exception {
+    public void testConvertFromJavaString() throws Exception {
         // Get the UTF-16 representation of "Hello World" in Chinese
         String ucs2String = new String(new String("\u4f60\u597d\u4e16\u754c").getBytes("UTF-16"),"UTF-16");
         
@@ -73,7 +73,7 @@ public class Utf8CcsidManagerTest extend
     /**
      * Use the Utf8CcsidManager to convert strings from UTF-8 into UCS2/UTF-16
      */
-    public void testConvertToUCS2() throws Exception {
+    public void testConvertToJavaString() throws Exception {
         // Get the UTF-8 bytes for "Hello World" in Chinese
         byte[] utf8Bytes = new String("\u4f60\u597d\u4e16\u754c").getBytes("UTF-8");
         



Mime
View raw message