From a991358d94947cc0dbd6a8d75dd77b5fd377734b Mon Sep 17 00:00:00 2001 From: Alice Yang Date: Tue, 15 May 2012 17:26:26 -0700 Subject: Allow ";;" Allow for consecutive ";" in rules for recurring events. Bug 6312732 Change-Id: I3bd82b7818cd755eec7129ca6497746a91cb6653 --- tests/src/com/android/calendarcommon/EventRecurrenceTest.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/src/com') diff --git a/tests/src/com/android/calendarcommon/EventRecurrenceTest.java b/tests/src/com/android/calendarcommon/EventRecurrenceTest.java index a058adf..efd5f1c 100644 --- a/tests/src/com/android/calendarcommon/EventRecurrenceTest.java +++ b/tests/src/com/android/calendarcommon/EventRecurrenceTest.java @@ -843,6 +843,11 @@ public class EventRecurrenceTest extends TestCase { "INTERVAL=4;FREQ=YEARLY", "FREQ=DAILY;X-WHATEVER=blah", //"freq=daily;wkst=su", // mixed case currently not allowed + "FREQ=WEEKLY;INTERVAL=2;BYDAY=Mo;;UNTIL=20120327T000000Z", // double simicolon should be allowed + "FREQ=MONTHLY;BYDAY=1Mo", + "FREQ=MONTHLY;BYDAY=2Mo,2We,4Mo,4We", + "FREQ=MONTHLY;WKST=SU;BYMONTHDAY=25;UNTIL=20110524", + "FREQ=WEEKLY;BYDAY=MO;WKST=SU;UNTIL=20111218T010000Z" }; /** The parser must reject these. */ -- cgit v1.2.3