From 466a9db478a2ec76cf92bc3bf5087d2fca2d7cb7 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 31 Mar 2003 07:20:44 +0000 Subject: add vcard tests svn path=/trunk/; revision=20590 --- addressbook/backend/ebook/tests/vcard/README | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 addressbook/backend/ebook/tests/vcard/README (limited to 'addressbook/backend/ebook/tests/vcard/README') diff --git a/addressbook/backend/ebook/tests/vcard/README b/addressbook/backend/ebook/tests/vcard/README new file mode 100644 index 0000000000..06ae719c5e --- /dev/null +++ b/addressbook/backend/ebook/tests/vcard/README @@ -0,0 +1,41 @@ +This is the list of tests I've been using while writing e-vcard.c. +The parser is all handcrafted, and it's not a validating parser by any +stretch of the imagination. It tries very hard to deal with any +possible input (it'll even parse rfc822 mail headers and spit out +vCard-ish results.) + +Test : Description +---------------------- + +1.vcf : Frank Dawson's vCard from RFC 2426 (missing the required N + attribute.) + +2.vcf : Tim Howes's vCard from from RFC 2426 (missing the required N + attribute.) + +3.vcf : Nat's old vCard. + +4.vcf : A vCard containing a canadian address (quoted-printable + encoded attribute values.) + +5.vcf : A vCard containing utf8 characters quoted-printable encoded. + +6.vcf : A vCard with several errors in attribute parameters: + line 5: an missing parameter value (a , with nothing after it). + line 6: a missing parameter name when using multiple + values. (this may not be in violation of the rfc.) + line 7: a missing parameter name when using multiple + values. (this may not be in violation of the rfc.) + +7.vcf : A vCard missing its begin:vcard attribute, as well as missing + the required N attribute. + +8.vcf : A vCard missing its end: vcard attribute, as well as missing + the required N attribute. + +9.vcf : A vCard that ends (\0) in the middle of an attribute + name/group. + +10.vcf : A vCard with an attribute with more than 1 group specified. + +---------------------- -- cgit