-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test: added two tests cases for merging on specific attributes
- Loading branch information
Showing
8 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
test/cases/Merging by default attributes/expected/Mr Forrest Gump.vcard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
BEGIN:VCARD | ||
VERSION:3.0 | ||
ADR;TYPE=WORK,PREF:;;100 Waters Edge;Baytown;LA;30314;United States of Amer | ||
ica | ||
ADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America | ||
EMAIL:[email protected] | ||
FN:Mr Forrest Gump | ||
LABEL;CHARSET=UTF-8;TYPE=WORK,PREF:100 Waters Edge\nBaytown\, LA 30314\nUni | ||
ted States of America | ||
LABEL;CHARSET=UTF-8;TYPE=HOME:42 Plantation St.\nBaytown\, LA 30314\nUnited | ||
States of America | ||
N:Gump;Mr Forrest;;; | ||
ORG:Bubba Gump Shrimp Co. | ||
PHOTO;TYPE=GIF;VALUE=URI:http://www.example.com/dir_photos/my_photo.gif | ||
REV:2008-04-24T19:52:43Z | ||
TEL;TYPE=WORK,VOICE:(111)555-1212 | ||
TEL;TYPE=HOME,VOICE:(404)555-1212 | ||
TITLE:Shrimp Man | ||
END:VCARD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--merge |
18 changes: 18 additions & 0 deletions
18
test/cases/Merging by default attributes/src/Forrest_Gump.v2.1.vcf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
BEGIN:VCARD | ||
VERSION:2.1 | ||
N:Gump;Forrest;;Mr. | ||
FN:Forrest Gump | ||
ORG:Bubba Gump Shrimp Co. | ||
TITLE:Shrimp Man | ||
PHOTO;GIF:http://www.example.com/dir_photos/my_photo.gif | ||
TEL;WORK;VOICE:(111) 555-1212 | ||
TEL;HOME;VOICE:(404) 555-1212 | ||
ADR;WORK;PREF:;;100 Waters Edge;Baytown;LA;30314;United States of America | ||
LABEL;WORK;PREF;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:100 Waters Edge=0D= | ||
=0ABaytown\, LA 30314=0D=0AUnited States of America | ||
ADR;HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America | ||
LABEL;HOME;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:42 Plantation St.=0D=0A= | ||
Baytown, LA 30314=0D=0AUnited States of America | ||
EMAIL:[email protected] | ||
REV:20080424T195243Z | ||
END:VCARD |
16 changes: 16 additions & 0 deletions
16
test/cases/Merging by default attributes/src/Forrest_Gump.v3.0.vcf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
BEGIN:VCARD | ||
VERSION:3.0 | ||
N:Gump;Forrest;;Mr.; | ||
FN:Forrest Gump | ||
ORG:Bubba Gump Shrimp Co. | ||
TITLE:Shrimp Man | ||
PHOTO;VALUE=URI;TYPE=GIF:http://www.example.com/dir_photos/my_photo.gif | ||
TEL;TYPE=WORK,VOICE:(111) 555-1212 | ||
TEL;TYPE=HOME,VOICE:(404) 555-1212 | ||
ADR;TYPE=WORK,PREF:;;100 Waters Edge;Baytown;LA;30314;United States of America | ||
LABEL;TYPE=WORK,PREF:100 Waters Edge\nBaytown\, LA 30314\nUnited States of America | ||
ADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America | ||
LABEL;TYPE=HOME:42 Plantation St.\nBaytown\, LA 30314\nUnited States of America | ||
EMAIL:[email protected] | ||
REV:2008-04-24T19:52:43Z | ||
END:VCARD |
19 changes: 19 additions & 0 deletions
19
test/cases/Merging by single attributes/expected/Mr Forrest Gump.vcard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
BEGIN:VCARD | ||
VERSION:3.0 | ||
ADR;TYPE=WORK,PREF:;;100 Waters Edge;Baytown;LA;30314;United States of Amer | ||
ica | ||
ADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America | ||
EMAIL:[email protected] | ||
FN:Mr Forrest Gump | ||
LABEL;CHARSET=UTF-8;TYPE=WORK,PREF:100 Waters Edge\nBaytown\, LA 30314\nUni | ||
ted States of America | ||
LABEL;CHARSET=UTF-8;TYPE=HOME:42 Plantation St.\nBaytown\, LA 30314\nUnited | ||
States of America | ||
N:Gump;Mr Forrest;;; | ||
ORG:Bubba Gump Shrimp Co. | ||
PHOTO;TYPE=GIF;VALUE=URI:http://www.example.com/dir_photos/my_photo.gif | ||
REV:2008-04-24T19:52:43Z | ||
TEL;TYPE=WORK,VOICE:(111)555-1212 | ||
TEL;TYPE=HOME,VOICE:(404)555-1212 | ||
TITLE:Shrimp Man | ||
END:VCARD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--merge -a email --no-match-approx |
18 changes: 18 additions & 0 deletions
18
test/cases/Merging by single attributes/src/Forrest_Gump.v2.1.vcf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
BEGIN:VCARD | ||
VERSION:2.1 | ||
N:Gump;Forrest;;Mr. | ||
FN:Forrest Gump | ||
ORG:Bubba Gump Shrimp Co. | ||
TITLE:Shrimp Man | ||
PHOTO;GIF:http://www.example.com/dir_photos/my_photo.gif | ||
TEL;WORK;VOICE:(111) 555-1212 | ||
TEL;HOME;VOICE:(404) 555-1212 | ||
ADR;WORK;PREF:;;100 Waters Edge;Baytown;LA;30314;United States of America | ||
LABEL;WORK;PREF;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:100 Waters Edge=0D= | ||
=0ABaytown\, LA 30314=0D=0AUnited States of America | ||
ADR;HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America | ||
LABEL;HOME;ENCODING=QUOTED-PRINTABLE;CHARSET=UTF-8:42 Plantation St.=0D=0A= | ||
Baytown, LA 30314=0D=0AUnited States of America | ||
EMAIL:[email protected] | ||
REV:20080424T195243Z | ||
END:VCARD |
16 changes: 16 additions & 0 deletions
16
test/cases/Merging by single attributes/src/Forrest_Gump.v3.0.vcf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
BEGIN:VCARD | ||
VERSION:3.0 | ||
N:Gump;Forrest;;Mr.; | ||
FN:Forrest Gump | ||
ORG:Bubba Gump Shrimp Co. | ||
TITLE:Shrimp Man | ||
PHOTO;VALUE=URI;TYPE=GIF:http://www.example.com/dir_photos/my_photo.gif | ||
TEL;TYPE=WORK,VOICE:(111) 555-1212 | ||
TEL;TYPE=HOME,VOICE:(404) 555-1212 | ||
ADR;TYPE=WORK,PREF:;;100 Waters Edge;Baytown;LA;30314;United States of America | ||
LABEL;TYPE=WORK,PREF:100 Waters Edge\nBaytown\, LA 30314\nUnited States of America | ||
ADR;TYPE=HOME:;;42 Plantation St.;Baytown;LA;30314;United States of America | ||
LABEL;TYPE=HOME:42 Plantation St.\nBaytown\, LA 30314\nUnited States of America | ||
EMAIL:[email protected] | ||
REV:2008-04-24T19:52:43Z | ||
END:VCARD |