Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permit arbitrary quantity of lines to be fed into Recurrence Tests #247

Merged
merged 1 commit into from
Nov 21, 2019

Conversation

s0600204
Copy link
Collaborator

Currently, the test framework in RecurrenceTests.php permit three ical lines to be passed when creating a VEVENT to test. (Expected to be DTSTART, DTEND, and RRULE)

Some tests only use two lines (typically skipping DTEND), whilst it would also be nice to be pass more lines, so as to build tests with arbitrary quantities of EXDATEs, RDATEs, etc.

The rfc5545RecurrenceExamplesTest.php file already uses this methodology to permit more than three lines to be added to a test VEVENT.


PR created primarily to circumvent whitespace problem with PR #246.

Currently, the test framework in `RecurrenceTests.php` permit three
ical lines to be passed when creating a `VEVENT` to test. (Expected to
be `DTSTART`, `DTEND`, and `RRULE`)

Some tests only use two lines (typically skipping `DTEND`); whilst it
would also be nice to be pass more lines, so as to build tests with
arbitrary quantities of `EXDATE`s, `RDATE`s, etc.

The `rfc5545RecurrenceExamplesTest.php` file already uses this same
methodology to permit more than three lines to be added to a test
`VEVENT`.
@s0600204 s0600204 changed the title Permit arbitrary lines to be fed into Recurrence Tests Permit arbitrary quantity of lines to be fed into Recurrence Tests Nov 21, 2019
@u01jmg3 u01jmg3 self-requested a review November 21, 2019 17:07
@u01jmg3 u01jmg3 merged commit 5f98c72 into u01jmg3:master Nov 21, 2019
@u01jmg3 u01jmg3 added this to the v2.x.x milestone Nov 21, 2019
@u01jmg3 u01jmg3 self-requested a review November 21, 2019 17:09
@s0600204 s0600204 deleted the test-reformat branch June 20, 2022 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants