diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/mailnews/import/test/unit/resources/addressbook.json | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/mailnews/import/test/unit/resources/addressbook.json')
-rw-r--r-- | comm/mailnews/import/test/unit/resources/addressbook.json | 170 |
1 files changed, 170 insertions, 0 deletions
diff --git a/comm/mailnews/import/test/unit/resources/addressbook.json b/comm/mailnews/import/test/unit/resources/addressbook.json new file mode 100644 index 0000000000..c9545d3027 --- /dev/null +++ b/comm/mailnews/import/test/unit/resources/addressbook.json @@ -0,0 +1,170 @@ +{ + "basic_addressbook": [ + { + "DisplayName": "Display Name", + "PrimaryEmail": "primaryemail@host.invalid", + "FirstName": "First", + "LastName": "Last", + "NickName": "Nickname", + "SecondEmail": "secondemail@host.invalid", + "_AimScreenName": "screenname", + "LastModifiedDate": 1213818826, + "_vCard": [ + "VERSION:4.0", + "FN:Display Name", + "EMAIL;PREF=1:primaryemail@host.invalid", + "EMAIL:secondemail@host.invalid", + "NICKNAME:Nickname", + "NOTE:Notes line 1\\nNotes line 2\\nNotes line 3\\nNotes line 4", + "ORG:Organization Name;Department", + "TITLE:Job Title", + "BDAY;VALUE=DATE:19000102", + "N:Last;First;;;", + "ADR;TYPE=home:;Home Address Line 2;Home Address Line 1;Home City;Home State", + " ;Home Zip;Home Country", + "ADR;TYPE=work:;Work Address Line 2;Work Address Line 1;Work City;Work State", + " ;Work Zip;Work Country", + "TEL;TYPE=home;VALUE=TEXT:234-567-8901", + "TEL;TYPE=work;VALUE=TEXT:123-456-7890", + "TEL;TYPE=fax;VALUE=TEXT:345-678-9012", + "TEL;TYPE=pager;VALUE=TEXT:456-789-0123", + "TEL;TYPE=cell;VALUE=TEXT:567-890-1234", + "URL;TYPE=work;VALUE=URL:http://127.0.0.1", + "URL;TYPE=home;VALUE=URL:http://localhost", + "X-CUSTOM1;VALUE=TEXT:Custom Field 1", + "X-CUSTOM2;VALUE=TEXT:Custom Field 2", + "X-CUSTOM3;VALUE=TEXT:Custom Field 3", + "X-CUSTOM4;VALUE=TEXT:Custom Field 4", + "UID:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + ] + } + ], + "bug_263304": [ + { + "DisplayName": "Display Name", + "PrimaryEmail": "primaryemail@host.invalid", + "_vCard": [ + "VERSION:4.0", + "FN:Display Name", + "EMAIL;PREF=1:primaryemail@host.invalid", + "URL;TYPE=work;VALUE=URL:http://127.0.0.1", + "UID:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + ] + } + ], + "utf16_csv": [ + { + "DisplayName": "John Doe", + "PrimaryEmail": "johndoe@host.invalid", + "FirstName": "John", + "LastName": "Doe" + } + ], + "shiftjis_csv": [ + { + "DisplayName": "名無しの権兵衛", + "PrimaryEmail": "名無しの権兵衛@host.invalid" + } + ], + "quote_csv": [ + { + "DisplayName": "Acer America", + "_vCard": [ + "VERSION:4.0", + "FN:Acer America", + "ORG:Acer America;", + "TEL;TYPE=work;VALUE=TEXT:(800) 000-0000", + "UID:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + ] + } + ], + "vcard_import": [ + { + "DisplayName": "John Doe", + "FirstName": "John", + "LastName": "Doe", + "PrimaryEmail": "john.doe@genericemail.invalid" + }, + { + "DisplayName": "Jane Doe", + "FirstName": "Jane", + "LastName": "Doe", + "PrimaryEmail": "jane.doe@genericemail.invalid" + } + ], + "dos_vcard_import": [ + { + "DisplayName": "Name Surname", + "FirstName": "Name", + "LastName": "Surname", + "PrimaryEmail": "example@gmail.com" + } + ], + "csv_import": [ + { + "DisplayName": "John Doe", + "FirstName": "John", + "LastName": "Doe", + "PrimaryEmail": "john@doe.invalid" + }, + { + "DisplayName": "Jane Doe", + "FirstName": "Jane", + "LastName": "Doe", + "PrimaryEmail": "jane@doe.invalid" + } + ], + "becky_addressbook": [ + { + "DisplayName": "The first man", + "PrimaryEmail": "first@host.invalid", + "_vCard": [ + "VERSION:3.0", + "FN:The first man", + "ORG:Organization;Post;", + "X-BECKY-IMAGE:0", + "N:The nick name of the first man", + "TEL;TYPE=HOME:11-1111-1111", + "TEL;TYPE=WORK:22-2222-2222", + "TEL;TYPE=CELL:333-3333-3333", + "EMAIL;TYPE=INTERNET:first@host.invalid", + "NOTE:This is a note.", + "UID:4E4D17E8.0043655C" + ] + }, + { + "DisplayName": "The second man", + "PrimaryEmail": "second@host.invalid", + "_vCard": [ + "VERSION:3.0", + "FN:The second man", + "ORG:Organization;post;", + "X-BECKY-IMAGE:0", + "N:The nick name of the second man", + "TEL;TYPE=HOME:44-4444-4444", + "TEL;TYPE=WORK:55-5555-5555", + "TEL;TYPE=CELL:666-6666-6666", + "EMAIL;TYPE=INTERNET:second@host.invalid", + "NOTE:This is a note.", + "UID:4EBBF6FE.00AC632B" + ] + }, + { + "DisplayName": "The third man", + "PrimaryEmail": "third@host.invalid", + "_vCard": [ + "VERSION:3.0", + "FN:The third man", + "ORG:Organization;post;", + "X-BECKY-IMAGE:0", + "N:The third man", + "TEL;TYPE=HOME:77-7777-7777", + "TEL;TYPE=WORK:88-8888-8888", + "TEL;TYPE=CELL:999-9999-9999", + "EMAIL;TYPE=INTERNET:third@host.invalid", + "NOTE:This is a note.", + "UID:4E57AB44.0001D53E" + ] + } + ] +} |