diff options
Diffstat (limited to 'src/test/java/org/uic/barcode/asn1/test/UperEncodeStringTest.java')
-rwxr-xr-x[-rw-r--r--] | src/test/java/org/uic/barcode/asn1/test/UperEncodeStringTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/org/uic/barcode/asn1/test/UperEncodeStringTest.java b/src/test/java/org/uic/barcode/asn1/test/UperEncodeStringTest.java index 5f4edc8..75ace32 100644..100755 --- a/src/test/java/org/uic/barcode/asn1/test/UperEncodeStringTest.java +++ b/src/test/java/org/uic/barcode/asn1/test/UperEncodeStringTest.java @@ -50,7 +50,7 @@ public class UperEncodeStringTest { @Test public void testEncode() throws IllegalArgumentException, IllegalAccessException { - //Teststring: AêñüC + //Teststring: AêñüC String original = new String("A" + "\u00ea" + "\u00f1" + "\u00fc" + "C"); TestRecord record = new TestRecord(original, "Meier"); @@ -63,7 +63,7 @@ public class UperEncodeStringTest { @Test public void testEncodeUtf8() throws IllegalArgumentException, IllegalAccessException { - //"ä½ å¥½å?—" + //"你好å?—" String original = new String("\u00e4" + "\u00bd" + "\u00a0" + "\u00e5" + "\u00a5" + "\u00bd" + "\u00e5" + "\u0090" + "\u0097"); TestRecord record = new TestRecord(original, "Meier"); byte[] encoded = UperEncoder.encode(record); @@ -76,7 +76,7 @@ public class UperEncodeStringTest { @Test public void testDecode() throws IllegalArgumentException, IllegalAccessException { - //Teststring: AêñüC + //Teststring: AêñüC String original = new String("A" + "\u00ea" + "\u00f1" + "\u00fc" + "C"); TestRecord record = new TestRecord(original, "Meier"); @@ -91,7 +91,7 @@ public class UperEncodeStringTest { @Test public void testDecodeUtf8() throws IllegalArgumentException, IllegalAccessException { - //"ä½ å¥½å?—" + //"你好å?—" String original = new String("\u00e4" + "\u00bd" + "\u00a0" + "\u00e5" + "\u00a5" + "\u00bd" + "\u00e5" + "\u0090" + "\u0097"); TestRecord record = new TestRecord(original, "Meier"); byte[] encoded = UperEncoder.encode(record); |