aboutsummaryrefslogtreecommitdiff
path: root/tests/src/com/android
AgeCommit message (Collapse)Author
2012-11-19Fix issue with invisible recurring appointmentstools_r22jb-mr1.1-dev-plus-aospjb-mr1-dev-plus-aospFredrik Hellén-Halme
Fixes that recurring appointments goes invisible when hit by the failsafe limit. There is still a hard limit in RecurrenceProcessor, but at least this limit is applied on a per-event basis, meaning that it's always possible to create new recurring appointments without them going invisible. Change-Id: I6c9e1e10db78e1b73ea9f2b7104621fbbd906452
2012-08-15Rename calendarcommon to calendarcommon2 to workaround OEM sillinessMichael Chan
Change-Id: I5bd618866d6484037671376e192ee3217c42c366
2012-05-15Allow ";;"Alice Yang
Allow for consecutive ";" in rules for recurring events. Bug 6312732 Change-Id: I3bd82b7818cd755eec7129ca6497746a91cb6653
2012-03-19Move Duration class from CalendarProviderAlon Albert
Change-Id: I9a354fe360376c43da2290535a038bd6ab4facd3
2012-01-18Catch exception when parsing event's dataandroid-cts-4.0.3_r2android-4.0.4_r2.1android-4.0.4_r2android-4.0.4_r1.2android-4.0.4_r1.1android-4.0.4_r1ics-mr1-releaseics-mr1Isaac Katzenelson
Bug: 5876746 Android calendar syncing broken by certain repeated events Change-Id: Ia0b2bc610148302b1cc3d751c47a958950abfb46
2012-01-03Fix rrules with bad count and interval during parsingMichael Chan
Specifically If count < 0, assume 1 If interval < 1, assume 1 Bug: 5676414 Change-Id: I942cdaffcfb98a922c5867c9d08be322c64a0f94
2011-10-21Support WKST in recurrence rulesandroid-sdk-4.0.3_r1android-sdk-4.0.3-tools_r1android-cts-verifier-4.0_r1android-cts-verifier-4.0.3_r1android-cts-4.0.3_r1android-4.0.3_r1.1android-4.0.3_r1Andy McFadden
RFC 5545 says WKST is significant in weekly rules with nonzero intervals and BYDAY rules, and also in yearly rules with a BYWEEKNO part. Yearly with BYWEEKNO seems to be generally broken, so this only attempts to correct weekly recurrences. Bug 1641249 Change-Id: Icad8762be4685036fc50bed0cc75970e774a21a8
2011-08-02Fix a commentAndy McFadden
RFC 5545 says the behavior is unspecified. This just updates the comments (no code changes). Bug 5075775 Change-Id: I87d131c260570e2990bb05f624c90f7d78a1eb89
2011-07-20Partial support for BYSETPOSAndy McFadden
This adds support for rules like FREQ=MONTHLY;BYDAY=SA,SU;BYSETPOS=x (for the popular "first weekday of the month" sort of recurrence). Implementing fully general support for BYSETPOS is a bigger task. Bug 4946753 Change-Id: I437c0cf52bbed2a191729b3891c3afda62ffb633
2011-07-19Don't require FREQ to come firstAndy McFadden
The definition of "recur" in 4.3.10 suggests that FREQ must come first, but the description is really just trying to say that FREQ is mandatory. The text makes it clear that there is no ordering on rule parts. This removes the explicit test, and updates the set of test rules. Change-Id: I908ae388456a7df2d12a0c18a2174af8f95ec421
2011-07-15Added some RecurrenceSet testsAndy McFadden
Adds a few more tests for RecurrenceSet. Also, fix the RecurrenceSet TAG. Change-Id: I429cbea065e2b5d8d3a97662e54b9428ad8be257
2011-07-13Move a couple more classes to calendar-commonAndy McFadden
Move RecurrenceProcessor and DateException, so that app code can access the recurrence generator. Useful for e.g. bug 4977517. Change-Id: Iaeb3e486a6a4133aa3d361d73461a0a0a3771bb4
2011-07-11Get tests workingAndy McFadden
Drop the shared ID so that the tests can be installed and run. Updated a comment. Change-Id: Ic58088c3cbda601bc44203815a80866c3d318b3b
2011-07-08Relocate common Calendar classesAndy McFadden
Move some classes from android.pim to com.android.calendarcommon. Bug 4575374 Change-Id: I0da19545253f0bc887d2c284414f372ad740e946