]> source.dussan.org Git - poi.git/commitdiff
Backing out this code it causes http://nagoya.apache.org/bugzilla/show_bug.cgi?id...
authorAndrew C. Oliver <acoliver@apache.org>
Sun, 28 Jul 2002 22:47:58 +0000 (22:47 +0000)
committerAndrew C. Oliver <acoliver@apache.org>
Sun, 28 Jul 2002 22:47:58 +0000 (22:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352812 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/util/TestStringUtil.java

index af082dffffa3a6632998ad134e33e31f35a7b8f5..c80bce4320852600ffca381ec6013d2ec3a384a4 100644 (file)
@@ -64,7 +64,6 @@ import java.text.NumberFormat;
  *
  * @author  Marc Johnson (mjohnson at apache dot org
  * @author  Glen Stampoultzis (glens at apache.org)
- * @author  Sergei Kozello (sergeikozello at mail.ru)
  */
 
 public class TestStringUtil
@@ -100,48 +99,6 @@ public class TestStringUtil
                      StringUtil.getFromUnicode(test_data));
     }
 
-    /**
-     * test simple form of getFromUnicode with symbols with code below and more 127
-     */
-
-    public void testGetFromUnicodeSymbolsWithCodesMoreThan127()
-    {
-        byte[] test_data = new byte[] {        0x04, 0x22,
-                                                                       0x04, 0x35,
-                                                                       0x04, 0x41,
-                                                                       0x04, 0x42,
-                                                                       0x00, 0x20,
-                                                                       0x00, 0x74,
-                                                                       0x00, 0x65,
-                                                                       0x00, 0x73,
-                                                                       0x00, 0x74,
-                                                                       };
-
-        assertEquals("\u0422\u0435\u0441\u0442 test",
-                     StringUtil.getFromUnicode(test_data));
-    }
-
-    /**
-     * test getFromUnicodeHigh for symbols with code below and more 127
-     */
-
-    public void testGetFromUnicodeHighSymbolsWithCodesMoreThan127()
-    {
-        byte[] test_data = new byte[] {        0x22, 0x04,
-                                                                       0x35, 0x04,
-                                                                       0x41, 0x04,
-                                                                       0x42, 0x04,
-                                                                       0x20, 0x00,
-                                                                       0x74, 0x00,
-                                                                       0x65, 0x00,
-                                                                       0x73, 0x00,
-                                                                       0x74, 0x00,
-                                                                       };
-
-        assertEquals("\u0422\u0435\u0441\u0442 test",
-                     StringUtil.getFromUnicodeHigh( test_data ) );
-    }
-
     /**
      * Test more complex form of getFromUnicode
      */