diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-04-23 11:46:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-23 11:46:34 +0200 |
commit | 3e53e4056a7d5de09187086817068abe30685a5c (patch) | |
tree | 4cc83e2b917e2a30b48460ac901a5e5fca1d1da5 /src/test/java/org/uic/barcode/asn1/test/UperEncodeStringTest.java | |
parent | Merge pull request #23 from UnionInternationalCheminsdeFer/fix_included_open_ticket (diff) | |
parent | Merge branch 'master' into feature/restructure-pom (diff) | |
download | UIC-barcode-3e53e4056a7d5de09187086817068abe30685a5c.tar UIC-barcode-3e53e4056a7d5de09187086817068abe30685a5c.tar.gz UIC-barcode-3e53e4056a7d5de09187086817068abe30685a5c.tar.bz2 UIC-barcode-3e53e4056a7d5de09187086817068abe30685a5c.tar.lz UIC-barcode-3e53e4056a7d5de09187086817068abe30685a5c.tar.xz UIC-barcode-3e53e4056a7d5de09187086817068abe30685a5c.tar.zst UIC-barcode-3e53e4056a7d5de09187086817068abe30685a5c.zip |
Diffstat (limited to 'src/test/java/org/uic/barcode/asn1/test/UperEncodeStringTest.java')
-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 --- 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); |