mirror of
https://github.com/zxing/zxing.git
synced 2025-02-02 05:41:08 -08:00
Update generator version and add one more test
git-svn-id: https://zxing.googlecode.com/svn/trunk@2123 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
6780eee869
commit
d75a7467f9
|
@ -88,6 +88,18 @@ public final class AddressBookParsedResultTestCase extends Assert {
|
||||||
null, null, null, null, null, null);
|
null, null, null, null, null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testVCardEscape() {
|
||||||
|
doTest("BEGIN:VCARD\r\nNOTE:foo\\nbar\r\nEND:VCARD",
|
||||||
|
null, null, null, null, null, null, null, null, null, "foo\nbar");
|
||||||
|
doTest("BEGIN:VCARD\r\nNOTE:foo\\;bar\r\nEND:VCARD",
|
||||||
|
null, null, null, null, null, null, null, null, null, "foo;bar");
|
||||||
|
doTest("BEGIN:VCARD\r\nNOTE:foo\\\\bar\r\nEND:VCARD",
|
||||||
|
null, null, null, null, null, null, null, null, null, "foo\\bar");
|
||||||
|
doTest("BEGIN:VCARD\r\nNOTE:foo\\,bar\r\nEND:VCARD",
|
||||||
|
null, null, null, null, null, null, null, null, null, "foo,bar");
|
||||||
|
}
|
||||||
|
|
||||||
private static void doTest(String contents,
|
private static void doTest(String contents,
|
||||||
String title,
|
String title,
|
||||||
String[] names,
|
String[] names,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
|
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
|
||||||
<application>zxing</application>
|
<application>zxing</application>
|
||||||
<version>2</version>
|
<version>6</version>
|
||||||
</appengine-web-app>
|
</appengine-web-app>
|
|
@ -1,5 +1,5 @@
|
||||||
application: zxing
|
application: zxing
|
||||||
version: 5
|
version: 6
|
||||||
runtime: python
|
runtime: python
|
||||||
api_version: 1
|
api_version: 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue