You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by km...@apache.org on 2010/06/24 21:31:13 UTC

svn commit: r957692 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/Utf8CcsidManagerTest.java

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");