Changeset 168 for trunk/TestCases.pas
- Timestamp:
- Jul 1, 2023, 8:17:50 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/TestCases.pas
r152 r168 12 12 13 13 uses 14 VCard ;14 VCard, Table; 15 15 16 16 const … … 275 275 end; 276 276 277 with TTestCaseVCardExportImport(AddNew('Export/Import CSV', TTestCaseVCardExportImport)) do begin 278 Format := tfCsv; 279 HumanReadableHeader := False; 280 Input := BeginEnd( 281 'N:Surname;Name' + VCardLineEnding + 282 'FN:Name Surname' + VCardLineEnding) + 283 BeginEnd( 284 'N:Surname2;Name2' + VCardLineEnding + 285 'FN:Name2 Surname2' + VCardLineEnding); 286 Output := Input; 287 end; 288 with TTestCaseVCardExportImport(AddNew('Export/Import CSV human header', TTestCaseVCardExportImport)) do begin 289 Format := tfCsv; 290 HumanReadableHeader := True; 291 Input := BeginEnd( 292 'N:Surname;Name' + VCardLineEnding + 293 'FN:Name Surname' + VCardLineEnding) + 294 BeginEnd( 295 'N:Surname2;Name2' + VCardLineEnding + 296 'FN:Name2 Surname2' + VCardLineEnding); 297 Output := Input; 298 end; 299 with TTestCaseVCardExportImport(AddNew('Export/Import MediaWiki', TTestCaseVCardExportImport)) do begin 300 Format := tfMediaWiki; 301 HumanReadableHeader := False; 302 Input := BeginEnd( 303 'N:Surname;Name' + VCardLineEnding + 304 'FN:Name Surname' + VCardLineEnding) + 305 BeginEnd( 306 'N:Surname2;Name2' + VCardLineEnding + 307 'FN:Name2 Surname2' + VCardLineEnding); 308 Output := Input; 309 end; 310 277 311 with TTestCaseLoadSave(AddNew('Merge same cell phone', TTestCaseLoadSave)) do begin 278 312 Input := VCardBegin + MacLineEnding +
Note:
See TracChangeset
for help on using the changeset viewer.