]> git.eshelyaron.com Git - emacs.git/commit
Move test data for icalendar tests to separate files.
authorUlf Jasper <ulf.jasper@web.de>
Thu, 22 Oct 2020 15:45:59 +0000 (17:45 +0200)
committerUlf Jasper <ulf.jasper@web.de>
Thu, 22 Oct 2020 15:45:59 +0000 (17:45 +0200)
commit6342264ef74bdc5d649d6baaaa986d54d3aa11fe
treef8420ebc260c001f43f330386ecc94019c2d62a5
parent5d152ed73754f3fcd8ce7e08bf1cfcf96e9656bb
Move test data for icalendar tests to separate files.

* test/lisp/calendar/icalendar-tests.el
(icalendar-tests--data-dir, icalendar-tests--get-file-contents):
New.
(icalendar-tests--test-import, icalendar-tests--do-test-import):
Read input and expected results from files.
(icalendar-import-non-recurring, icalendar-import-rrule)
(icalendar-import-duration, icalendar-import-bug-6766)
(icalendar-import-bug-24199, icalendar-import-bug-33277)
(icalendar-import-multiple-vcalendars, icalendar-import-with-uid)
(icalendar-import-with-timezone, icalendar-real-world): Move test
data (input and expected result) to separate files.

* test/calendar/icalendar/*
New files containing test data for icalendar tests.
142 files changed:
test/data/icalendar/import-bug-11473.diary-european [new file with mode: 0644]
test/data/icalendar/import-bug-11473.ics [new file with mode: 0644]
test/data/icalendar/import-bug-22092.diary-american [new file with mode: 0644]
test/data/icalendar/import-bug-22092.diary-european [new file with mode: 0644]
test/data/icalendar/import-bug-22092.diary-iso [new file with mode: 0644]
test/data/icalendar/import-bug-22092.ics [new file with mode: 0644]
test/data/icalendar/import-bug-24199.diary-american [new file with mode: 0644]
test/data/icalendar/import-bug-24199.diary-european [new file with mode: 0644]
test/data/icalendar/import-bug-24199.diary-iso [new file with mode: 0644]
test/data/icalendar/import-bug-24199.ics [new file with mode: 0644]
test/data/icalendar/import-bug-33277.diary-american [new file with mode: 0644]
test/data/icalendar/import-bug-33277.diary-european [new file with mode: 0644]
test/data/icalendar/import-bug-33277.diary-iso [new file with mode: 0644]
test/data/icalendar/import-bug-33277.ics [new file with mode: 0644]
test/data/icalendar/import-bug-6766.diary-american [new file with mode: 0644]
test/data/icalendar/import-bug-6766.diary-european [new file with mode: 0644]
test/data/icalendar/import-bug-6766.diary-iso [new file with mode: 0644]
test/data/icalendar/import-bug-6766.ics [new file with mode: 0644]
test/data/icalendar/import-duration-2.diary-american [new file with mode: 0644]
test/data/icalendar/import-duration-2.diary-european [new file with mode: 0644]
test/data/icalendar/import-duration-2.diary-iso [new file with mode: 0644]
test/data/icalendar/import-duration-2.ics [new file with mode: 0644]
test/data/icalendar/import-duration.diary-american [new file with mode: 0644]
test/data/icalendar/import-duration.diary-european [new file with mode: 0644]
test/data/icalendar/import-duration.diary-iso [new file with mode: 0644]
test/data/icalendar/import-duration.ics [new file with mode: 0644]
test/data/icalendar/import-multiple-vcalendars.diary-american [new file with mode: 0644]
test/data/icalendar/import-multiple-vcalendars.diary-european [new file with mode: 0644]
test/data/icalendar/import-multiple-vcalendars.diary-iso [new file with mode: 0644]
test/data/icalendar/import-multiple-vcalendars.ics [new file with mode: 0644]
test/data/icalendar/import-non-recurring-1.diary-american [new file with mode: 0644]
test/data/icalendar/import-non-recurring-1.diary-european [new file with mode: 0644]
test/data/icalendar/import-non-recurring-1.diary-iso [new file with mode: 0644]
test/data/icalendar/import-non-recurring-1.ics [new file with mode: 0644]
test/data/icalendar/import-non-recurring-all-day.diary-american [new file with mode: 0644]
test/data/icalendar/import-non-recurring-all-day.diary-european [new file with mode: 0644]
test/data/icalendar/import-non-recurring-all-day.diary-iso [new file with mode: 0644]
test/data/icalendar/import-non-recurring-all-day.ics [new file with mode: 0644]
test/data/icalendar/import-non-recurring-another-example.diary-american [new file with mode: 0644]
test/data/icalendar/import-non-recurring-another-example.diary-european [new file with mode: 0644]
test/data/icalendar/import-non-recurring-another-example.diary-iso [new file with mode: 0644]
test/data/icalendar/import-non-recurring-another-example.ics [new file with mode: 0644]
test/data/icalendar/import-non-recurring-block.diary-american [new file with mode: 0644]
test/data/icalendar/import-non-recurring-block.diary-european [new file with mode: 0644]
test/data/icalendar/import-non-recurring-block.diary-iso [new file with mode: 0644]
test/data/icalendar/import-non-recurring-block.ics [new file with mode: 0644]
test/data/icalendar/import-non-recurring-folded-summary.diary-american [new file with mode: 0644]
test/data/icalendar/import-non-recurring-folded-summary.diary-european [new file with mode: 0644]
test/data/icalendar/import-non-recurring-folded-summary.diary-iso [new file with mode: 0644]
test/data/icalendar/import-non-recurring-folded-summary.ics [new file with mode: 0644]
test/data/icalendar/import-non-recurring-long-summary.diary-american [new file with mode: 0644]
test/data/icalendar/import-non-recurring-long-summary.diary-european [new file with mode: 0644]
test/data/icalendar/import-non-recurring-long-summary.diary-iso [new file with mode: 0644]
test/data/icalendar/import-non-recurring-long-summary.ics [new file with mode: 0644]
test/data/icalendar/import-real-world-2003-05-29.diary-american [new file with mode: 0644]
test/data/icalendar/import-real-world-2003-05-29.diary-european [new file with mode: 0644]
test/data/icalendar/import-real-world-2003-05-29.ics [new file with mode: 0644]
test/data/icalendar/import-real-world-2003-06-18a.diary-american [new file with mode: 0644]
test/data/icalendar/import-real-world-2003-06-18a.diary-european [new file with mode: 0644]
test/data/icalendar/import-real-world-2003-06-18a.ics [new file with mode: 0644]
test/data/icalendar/import-real-world-2003-06-18b.diary-american [new file with mode: 0644]
test/data/icalendar/import-real-world-2003-06-18b.diary-european [new file with mode: 0644]
test/data/icalendar/import-real-world-2003-06-18b.ics [new file with mode: 0644]
test/data/icalendar/import-real-world-2004-11-19.diary-american [new file with mode: 0644]
test/data/icalendar/import-real-world-2004-11-19.diary-european [new file with mode: 0644]
test/data/icalendar/import-real-world-2004-11-19.ics [new file with mode: 0644]
test/data/icalendar/import-real-world-2005-02-07.diary-american [new file with mode: 0644]
test/data/icalendar/import-real-world-2005-02-07.diary-european [new file with mode: 0644]
test/data/icalendar/import-real-world-2005-02-07.ics [new file with mode: 0644]
test/data/icalendar/import-real-world-2005-03-01.diary-american [new file with mode: 0644]
test/data/icalendar/import-real-world-2005-03-01.diary-european [new file with mode: 0644]
test/data/icalendar/import-real-world-2005-03-01.ics [new file with mode: 0644]
test/data/icalendar/import-real-world-no-dst.diary-american [new file with mode: 0644]
test/data/icalendar/import-real-world-no-dst.diary-european [new file with mode: 0644]
test/data/icalendar/import-real-world-no-dst.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-anniversary.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-anniversary.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-anniversary.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-anniversary.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-count-bi-weekly.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-count-bi-weekly.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-count-bi-weekly.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-count-bi-weekly.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-count-daily-long.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-count-daily-long.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-count-daily-long.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-count-daily-long.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-count-daily-short.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-count-daily-short.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-count-daily-short.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-count-daily-short.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-count-every-second-month.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-count-every-second-month.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-count-every-second-month.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-count-every-second-month.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-count-every-second-year.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-count-every-second-year.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-count-every-second-year.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-count-every-second-year.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-count-monthly.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-count-monthly.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-count-monthly.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-count-monthly.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-count-yearly.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-count-yearly.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-count-yearly.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-count-yearly.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-daily-two-day.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-daily-two-day.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-daily-two-day.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-daily-two-day.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-daily-with-exceptions.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-daily-with-exceptions.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-daily-with-exceptions.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-daily-with-exceptions.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-daily.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-daily.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-daily.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-daily.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-monthly-no-end.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-monthly-no-end.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-monthly-no-end.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-monthly-no-end.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-monthly-with-end.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-monthly-with-end.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-monthly-with-end.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-monthly-with-end.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-weekly.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-weekly.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-weekly.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-weekly.ics [new file with mode: 0644]
test/data/icalendar/import-rrule-yearly.diary-american [new file with mode: 0644]
test/data/icalendar/import-rrule-yearly.diary-european [new file with mode: 0644]
test/data/icalendar/import-rrule-yearly.diary-iso [new file with mode: 0644]
test/data/icalendar/import-rrule-yearly.ics [new file with mode: 0644]
test/data/icalendar/import-with-timezone.diary-iso [new file with mode: 0644]
test/data/icalendar/import-with-timezone.ics [new file with mode: 0644]
test/data/icalendar/import-with-uid.diary-american [new file with mode: 0644]
test/data/icalendar/import-with-uid.diary-european [new file with mode: 0644]
test/data/icalendar/import-with-uid.diary-iso [new file with mode: 0644]
test/data/icalendar/import-with-uid.ics [new file with mode: 0644]
test/lisp/calendar/icalendar-tests.el