diff options
author | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-04-01 16:54:06 +0200 |
---|---|---|
committer | Bojan Suzic <bojan.suzic@iaik.tugraz.at> | 2014-04-01 16:54:06 +0200 |
commit | 5f0b20d72cb502dedfdff5364d150a110c6fc395 (patch) | |
tree | 6c0eeac8af529d54f7e8e89a9268d17a8a18920b /common/src/test | |
parent | 4e26d339e14275d13f993fd75dbe2819870ae699 (diff) | |
parent | 779030ed2d7091183b3faf13fec57fa270d46c3a (diff) | |
download | moa-id-spss-5f0b20d72cb502dedfdff5364d150a110c6fc395.tar.gz moa-id-spss-5f0b20d72cb502dedfdff5364d150a110c6fc395.tar.bz2 moa-id-spss-5f0b20d72cb502dedfdff5364d150a110c6fc395.zip |
merge
Diffstat (limited to 'common/src/test')
-rw-r--r-- | common/src/test/java/test/at/gv/egovernment/moa/util/URLDecoderTest.java | 2 | ||||
-rw-r--r-- | common/src/test/java/test/at/gv/egovernment/moa/util/URLEncoderTest.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/common/src/test/java/test/at/gv/egovernment/moa/util/URLDecoderTest.java b/common/src/test/java/test/at/gv/egovernment/moa/util/URLDecoderTest.java index 59163f112..2ded896d0 100644 --- a/common/src/test/java/test/at/gv/egovernment/moa/util/URLDecoderTest.java +++ b/common/src/test/java/test/at/gv/egovernment/moa/util/URLDecoderTest.java @@ -38,7 +38,7 @@ import junit.framework.TestCase; public class URLDecoderTest extends TestCase { public void test() throws Exception { - String s = "immerZUA0129<>%==$$%&/()@?{()=} \\\"äöüÄÖÜ?§"; + String s = "immerZUA0129<>%==$$%&/()@?{()=} \\\""; String senc = URLEncoder.encode(s); String sdec = URLDecoder.decode(senc, "ISO-8859-1"); assertEquals(s, sdec); diff --git a/common/src/test/java/test/at/gv/egovernment/moa/util/URLEncoderTest.java b/common/src/test/java/test/at/gv/egovernment/moa/util/URLEncoderTest.java index 88c74f3ae..5f72c8aad 100644 --- a/common/src/test/java/test/at/gv/egovernment/moa/util/URLEncoderTest.java +++ b/common/src/test/java/test/at/gv/egovernment/moa/util/URLEncoderTest.java @@ -41,12 +41,12 @@ public class URLEncoderTest extends TestCase { assertEquals(s, senc); } public void testAumlUTF8() throws Exception { - String s = "ä"; + String s = "ä"; String senc = URLEncoder.encode(s, "UTF-8"); assertEquals("%C3%A4", senc); } public void testEncodeDecode() throws Exception { - String s = "AZaz09.-*_ <>%=$%&/()@?{}[]\\\"'äöüÄÖÜߧ"; + String s = "AZaz09.-*_ <>%=$%&/()@?{}[]\\\""; String senc = URLEncoder.encode(s, "UTF-8"); String sdec = URLDecoder.decode(senc, "UTF-8"); assertEquals(s, sdec); |