summaryrefslogtreecommitdiffstats
path: root/test/tests/spec
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests/spec')
-rw-r--r--test/tests/spec/2_1_1-begin-1.vcf3
-rw-r--r--test/tests/spec/2_1_1-begin-2.vcf23
-rw-r--r--test/tests/spec/2_1_2-property.vcf7
-rw-r--r--test/tests/spec/2_1_3-delimiters.vcf7
-rw-r--r--test/tests/spec/2_1_4_1-grouping-nested.vcf9
-rw-r--r--test/tests/spec/2_1_4_1-grouping-sequential.vcf9
-rw-r--r--test/tests/spec/2_1_4_2-property-grouping.vcf4
-rw-r--r--test/tests/spec/2_1_6-charset.vcf3
-rw-r--r--test/tests/spec/2_1_7-language.vcf3
-rw-r--r--test/tests/spec/2_1_8-valuelocation.vcf4
-rw-r--r--test/tests/spec/2_2_1-fn.vcf3
-rw-r--r--test/tests/spec/2_2_2-name.vcf4
-rw-r--r--test/tests/spec/2_2_3-photo.vcf7
-rw-r--r--test/tests/spec/2_2_4-birthdate.vcf4
-rw-r--r--test/tests/spec/2_3_1-address.vcf3
-rw-r--r--test/tests/spec/2_3_2-label.vcf12
-rw-r--r--test/tests/spec/2_4_1-tel.vcf3
-rw-r--r--test/tests/spec/2_4_2-email.vcf16
-rw-r--r--test/tests/spec/2_4_3-mailer.vcf3
-rw-r--r--test/tests/spec/2_4_5-tz.vcf4
-rw-r--r--test/tests/spec/2_4_6-geo.vcf3
-rw-r--r--test/tests/spec/2_5_1-title.vcf3
-rw-r--r--test/tests/spec/2_5_2-role.vcf3
-rw-r--r--test/tests/spec/2_5_3-logo.vcf6
-rw-r--r--test/tests/spec/2_5_4-agent.vcf9
-rw-r--r--test/tests/spec/2_5_5-org.vcf3
-rw-r--r--test/tests/spec/2_6_1-comment.vcf6
-rw-r--r--test/tests/spec/2_6_2-revision.vcf4
-rw-r--r--test/tests/spec/2_6_3-sound.vcf8
-rw-r--r--test/tests/spec/2_6_4-url.vcf3
-rw-r--r--test/tests/spec/2_6_5-uid.vcf3
31 files changed, 182 insertions, 0 deletions
diff --git a/test/tests/spec/2_1_1-begin-1.vcf b/test/tests/spec/2_1_1-begin-1.vcf
new file mode 100644
index 0000000..36123a5
--- /dev/null
+++ b/test/tests/spec/2_1_1-begin-1.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+X-HERE-IT-IS:fred
+END:VCARD
diff --git a/test/tests/spec/2_1_1-begin-2.vcf b/test/tests/spec/2_1_1-begin-2.vcf
new file mode 100644
index 0000000..497bd3d
--- /dev/null
+++ b/test/tests/spec/2_1_1-begin-2.vcf
@@ -0,0 +1,23 @@
+yv vuyg duvy gvuysdfgvdvgosdf gvouyvg uyv ouvgsd ovuydgs vudov dvuyg
+vdovd vuhdpvduh vpdhv pdiv
+sd vdosv dsvuh dvuh vdvpdu ivhd
+sdvoidusvodsvdvdovd
+
+BEGIN:VCARD
+X-HERE-IT-IS:fred
+END:VCARD
+
+vdvdpfkvo
+vkof
+dfk
+dfkvfd
+vokdf
+vdfkvdf
+ovkdf
+vokdf
+vodk
+ko
+
+BEGIN:VCARD
+X-HERE-IT-IS:bloggs
+END:VCARD
diff --git a/test/tests/spec/2_1_2-property.vcf b/test/tests/spec/2_1_2-property.vcf
new file mode 100644
index 0000000..934b2b9
--- /dev/null
+++ b/test/tests/spec/2_1_2-property.vcf
@@ -0,0 +1,7 @@
+BEGIN:VCARD
+TEL;HOME:+1-919-555-1234
+NOTE;ENCODING=QUOTED-PRINTABLE:Don't remember to order Girl=
+ Scout cookies from Stacey today!
+NOTE;QUOTED-PRINTABLE:Don't remember to order Girl=
+ Scout cookies from Stacey today!
+END:VCARD
diff --git a/test/tests/spec/2_1_3-delimiters.vcf b/test/tests/spec/2_1_3-delimiters.vcf
new file mode 100644
index 0000000..cacec9e
--- /dev/null
+++ b/test/tests/spec/2_1_3-delimiters.vcf
@@ -0,0 +1,7 @@
+BEGIN:VCARD
+NOTE_1:This is a very long description that exists on a long line.
+NOTE_2:This is a very long description
+ that exists on a long line.
+NOTE_2:This is a very long description
+ that exists on a long line.
+END:VCARD
diff --git a/test/tests/spec/2_1_4_1-grouping-nested.vcf b/test/tests/spec/2_1_4_1-grouping-nested.vcf
new file mode 100644
index 0000000..15d0aae
--- /dev/null
+++ b/test/tests/spec/2_1_4_1-grouping-nested.vcf
@@ -0,0 +1,9 @@
+BEGIN:VCARD
+N:abc;def;ghi
+BEGIN:VCARD
+N:jkl;mno;pqr
+BEGIN:VCARD
+N:stu;vwx;yz
+END:VCARD
+END:VCARD
+END:VCARD
diff --git a/test/tests/spec/2_1_4_1-grouping-sequential.vcf b/test/tests/spec/2_1_4_1-grouping-sequential.vcf
new file mode 100644
index 0000000..72bfb23
--- /dev/null
+++ b/test/tests/spec/2_1_4_1-grouping-sequential.vcf
@@ -0,0 +1,9 @@
+BEGIN:VCARD
+N:abc;def;ghi
+END:VCARD
+BEGIN:VCARD
+N:jkl;mno;pqr
+END:VCARD
+BEGIN:VCARD
+N:stu;vwx;yz
+END:VCARD
diff --git a/test/tests/spec/2_1_4_2-property-grouping.vcf b/test/tests/spec/2_1_4_2-property-grouping.vcf
new file mode 100644
index 0000000..7abd856
--- /dev/null
+++ b/test/tests/spec/2_1_4_2-property-grouping.vcf
@@ -0,0 +1,4 @@
+BEGIN:VCARD
+A.TEL;HOME:+1-213-555-1234
+A.NOTE:This is my vacation home.
+END:VCARD
diff --git a/test/tests/spec/2_1_6-charset.vcf b/test/tests/spec/2_1_6-charset.vcf
new file mode 100644
index 0000000..4be0ecf
--- /dev/null
+++ b/test/tests/spec/2_1_6-charset.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+ADR;CHARSET=ISO-8859-8:...
+END:VCARD
diff --git a/test/tests/spec/2_1_7-language.vcf b/test/tests/spec/2_1_7-language.vcf
new file mode 100644
index 0000000..d561fb2
--- /dev/null
+++ b/test/tests/spec/2_1_7-language.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+ADR;LANGUAGE=fr-CA:...
+END:VCARD
diff --git a/test/tests/spec/2_1_8-valuelocation.vcf b/test/tests/spec/2_1_8-valuelocation.vcf
new file mode 100644
index 0000000..1ca41b6
--- /dev/null
+++ b/test/tests/spec/2_1_8-valuelocation.vcf
@@ -0,0 +1,4 @@
+BEGIN:VCARD
+PHOTO;VALUE=URL;TYPE=GIF:http://www.abc.com/dir_photos/my_photo.gif
+SOUND;VALUE=CONTENT-ID:<jsmith.part3.960817T083000.xyzMail@host1.com>
+END:VCARD
diff --git a/test/tests/spec/2_2_1-fn.vcf b/test/tests/spec/2_2_1-fn.vcf
new file mode 100644
index 0000000..fa6df57
--- /dev/null
+++ b/test/tests/spec/2_2_1-fn.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+FN:Mr. John Q. Public, Esq.
+END:VCARD
diff --git a/test/tests/spec/2_2_2-name.vcf b/test/tests/spec/2_2_2-name.vcf
new file mode 100644
index 0000000..deb7774
--- /dev/null
+++ b/test/tests/spec/2_2_2-name.vcf
@@ -0,0 +1,4 @@
+BEGIN:VCARD
+N:Public;John;Quinlan;Mr.;Esq.
+N:Veni, Vidi, Vici;The Restaurant.
+END:VCARD
diff --git a/test/tests/spec/2_2_3-photo.vcf b/test/tests/spec/2_2_3-photo.vcf
new file mode 100644
index 0000000..cb77196
--- /dev/null
+++ b/test/tests/spec/2_2_3-photo.vcf
@@ -0,0 +1,7 @@
+BEGIN:VCARD
+PHOTO;VALUE=URL:file:///jqpublic.gif
+PHOTO;ENCODING=BASE64;TYPE=GIF:
+ R0lGODdhfgA4AOYAAAAAAK+vr62trVIxa6WlpZ+fnzEpCEpzlAha/0Kc74+PjyGM
+ SuecKRhrtX9/fzExORBSjCEYCGtra2NjYyF7nDGE50JrhAg51qWtOTl7vee1MWu1
+ 50o5e3PO/3sxcwAx/4R7GBgQOcDAwFoAQt61hJyMGHuUSpRKIf8A/wAY54yMjHtz
+END:VCARD
diff --git a/test/tests/spec/2_2_4-birthdate.vcf b/test/tests/spec/2_2_4-birthdate.vcf
new file mode 100644
index 0000000..996a303
--- /dev/null
+++ b/test/tests/spec/2_2_4-birthdate.vcf
@@ -0,0 +1,4 @@
+BEGIN:VCARD
+BDAY:19950415
+BDAY:1995-04-15
+END:VCARD
diff --git a/test/tests/spec/2_3_1-address.vcf b/test/tests/spec/2_3_1-address.vcf
new file mode 100644
index 0000000..c7fb5f0
--- /dev/null
+++ b/test/tests/spec/2_3_1-address.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+ADR;DOM;WORK;HOME;POSTAL:P.O. Box 101;;;Any Town;CA;91921-1234;
+END:VCARD
diff --git a/test/tests/spec/2_3_2-label.vcf b/test/tests/spec/2_3_2-label.vcf
new file mode 100644
index 0000000..0c5330d
--- /dev/null
+++ b/test/tests/spec/2_3_2-label.vcf
@@ -0,0 +1,12 @@
+BEGIN:VCARD
+LABEL;DOM;POSTAL;ENCODING=QUOTED-PRINTABLE:P. O. Box 456=0D=0A=
+123 Main Street=0D=0A=
+Any Town, CA 91921-1234
+LABEL;INTL;PARCEL,ENCODING=QUOTED-PRINTABLE:Suite 101=0D=0A=
+123 Main Street=0D=0A=
+Any Town, CA 91921-1234=0D=0A=
+U.S.A.
+LABEL;DOM;HOME,ENCODING=QUOTED-PRINTABLE:Suite 101=0D=0A=
+123 Main Street=0D=0A=
+Any Town, CA 91921-1234
+END:VCARD
diff --git a/test/tests/spec/2_4_1-tel.vcf b/test/tests/spec/2_4_1-tel.vcf
new file mode 100644
index 0000000..ef68044
--- /dev/null
+++ b/test/tests/spec/2_4_1-tel.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+TEL;WORK;HOME;VOICE;FAX:+1-800-555-1234
+END:VCARD
diff --git a/test/tests/spec/2_4_2-email.vcf b/test/tests/spec/2_4_2-email.vcf
new file mode 100644
index 0000000..020e419
--- /dev/null
+++ b/test/tests/spec/2_4_2-email.vcf
@@ -0,0 +1,16 @@
+BEGIN:VCARD
+EMAIL;INTERNET:john.public@abc.com
+EMAIL;TYPE=INTERNET:john.public@abc.com
+EMAIL;TYPE=AppleLink:john.public@abc.com
+EMAIL;TYPE=ATTMail:john.public@abc.com
+EMAIL;TYPE=CIS:john.public@abc.com
+EMAIL;TYPE=eWorld:john.public@abc.com
+EMAIL;TYPE=INTERNET:john.public@abc.com
+EMAIL;TYPE=IBMMail:john.public@abc.com
+EMAIL;TYPE=MCIMail:john.public@abc.com
+EMAIL;TYPE=POWERSHARE:john.public@abc.com
+EMAIL;TYPE=PRODIGY:john.public@abc.com
+EMAIL;TYPE=TLX:john.public@abc.com
+EMAIL;TYPE=X400:john.public@abc.com
+END:VCARD
+
diff --git a/test/tests/spec/2_4_3-mailer.vcf b/test/tests/spec/2_4_3-mailer.vcf
new file mode 100644
index 0000000..bdec58f
--- /dev/null
+++ b/test/tests/spec/2_4_3-mailer.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+MAILER:ccMail 2.2
+END:VCARD
diff --git a/test/tests/spec/2_4_5-tz.vcf b/test/tests/spec/2_4_5-tz.vcf
new file mode 100644
index 0000000..6ceb500
--- /dev/null
+++ b/test/tests/spec/2_4_5-tz.vcf
@@ -0,0 +1,4 @@
+BEGIN:VCARD
+TZ:-0500
+TZ:-08:00
+END:VCARD
diff --git a/test/tests/spec/2_4_6-geo.vcf b/test/tests/spec/2_4_6-geo.vcf
new file mode 100644
index 0000000..8fdcde9
--- /dev/null
+++ b/test/tests/spec/2_4_6-geo.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+GEO:37.24,-17.87
+END:VCARD
diff --git a/test/tests/spec/2_5_1-title.vcf b/test/tests/spec/2_5_1-title.vcf
new file mode 100644
index 0000000..12a6d70
--- /dev/null
+++ b/test/tests/spec/2_5_1-title.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+TITLE:V.P., Research and Development
+END:VCARD
diff --git a/test/tests/spec/2_5_2-role.vcf b/test/tests/spec/2_5_2-role.vcf
new file mode 100644
index 0000000..9aeb431
--- /dev/null
+++ b/test/tests/spec/2_5_2-role.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+ROLE:Executive
+END:VCARD
diff --git a/test/tests/spec/2_5_3-logo.vcf b/test/tests/spec/2_5_3-logo.vcf
new file mode 100644
index 0000000..d740429
--- /dev/null
+++ b/test/tests/spec/2_5_3-logo.vcf
@@ -0,0 +1,6 @@
+BEGIN:VCARD
+LOGO;ENCODING=BASE64;TYPE=GIF:
+ R0lGODdhfgA4AOYAAAAAAK+vr62trVIxa6WlpZ+fnzEpCEpzlAha/0Kc74+PjyGM
+ SuecKRhrtX9/fzExORBSjCEYCGtra2NjYyF7nDGE50JrhAg51qWtOTl7vee1MWu1
+ 50o5e3PO/3sxcwAx/4R7GBgQOcDAwFoAQt61hJyMGHuUSpRKIf8A/wAY54yMjHtz
+END:VCARD
diff --git a/test/tests/spec/2_5_4-agent.vcf b/test/tests/spec/2_5_4-agent.vcf
new file mode 100644
index 0000000..af79284
--- /dev/null
+++ b/test/tests/spec/2_5_4-agent.vcf
@@ -0,0 +1,9 @@
+BEGIN:VCARD
+AGENT:
+BEGIN:VCARD
+VERSION:2.1
+N:Friday;Fred
+TEL;WORK;VOICE:+1-213-555-1234
+TEL;WORK;FAX:+1-213-555-5678
+END:VCARD
+END:VCARD
diff --git a/test/tests/spec/2_5_5-org.vcf b/test/tests/spec/2_5_5-org.vcf
new file mode 100644
index 0000000..49ed921
--- /dev/null
+++ b/test/tests/spec/2_5_5-org.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+ORG:ABC, Inc.;North American Division;Marketing
+END:VCARD
diff --git a/test/tests/spec/2_6_1-comment.vcf b/test/tests/spec/2_6_1-comment.vcf
new file mode 100644
index 0000000..0573597
--- /dev/null
+++ b/test/tests/spec/2_6_1-comment.vcf
@@ -0,0 +1,6 @@
+BEGIN:VCARD
+NOTE;ENCODING=QUOTED-PRINTABLE:This facsimile machine if operational=
+ 0830 to 1715 hours=0D=0A=
+Monday through Friday. Call +1-213-555-1234 if you have problems=0D=0A=
+with access to the machine.
+END:VCARD
diff --git a/test/tests/spec/2_6_2-revision.vcf b/test/tests/spec/2_6_2-revision.vcf
new file mode 100644
index 0000000..f61aff7
--- /dev/null
+++ b/test/tests/spec/2_6_2-revision.vcf
@@ -0,0 +1,4 @@
+BEGIN:VCARD
+REV:19951031T222710
+REV:1995-10-31T22:27:10Z
+END:VCARD
diff --git a/test/tests/spec/2_6_3-sound.vcf b/test/tests/spec/2_6_3-sound.vcf
new file mode 100644
index 0000000..fd4cffe
--- /dev/null
+++ b/test/tests/spec/2_6_3-sound.vcf
@@ -0,0 +1,8 @@
+BEGIN:VCARD
+SOUND:JON Q PUBLIK
+SOUND;VALUE=URL:file///multimed/audio/jqpublic.wav
+SOUND;WAVE;BASE64:
+ UklGRhAsAABXQVZFZm10IBAAAAABAAEAESsAABErAAABAAgAZGF0YesrAACAg4eC
+ eXR4e3uAhoiIiYmKjIiDfnx5eX6CgoKEhYWDenV5fH6BhISGiIiDfHZ2eXt/hIiK
+ jY2IhH12d3Vyc3uDiIiFf3l7fn18eXl+houFf319fnyAgHl5eoCIiISChIeAfnt2
+END:VCARD
diff --git a/test/tests/spec/2_6_4-url.vcf b/test/tests/spec/2_6_4-url.vcf
new file mode 100644
index 0000000..6b0e080
--- /dev/null
+++ b/test/tests/spec/2_6_4-url.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+URL:http://abc.com/pub/directory/northam/jpublic.ecd
+END:VCARD
diff --git a/test/tests/spec/2_6_5-uid.vcf b/test/tests/spec/2_6_5-uid.vcf
new file mode 100644
index 0000000..ae32da3
--- /dev/null
+++ b/test/tests/spec/2_6_5-uid.vcf
@@ -0,0 +1,3 @@
+BEGIN:VCARD
+UID:19950401-080045-40000F192713-0052
+END:VCARD