• Home
  • History
  • Annotate
  • only in /frameworks/opt/calendar/tests/src/com/android/
History log of /frameworks/opt/calendar/tests/src/com/android/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3f47856377406ce14cc43492808aa5f84cdf52e9 13-Sep-2016 Sudheer Shanka <sudheersai@google.com> Fix inconsistencies in RecurrenceSet.

- Handle multi-line EXRULE and RDATE.
- Fix existing tests.
- Add more tests.

Fixes: 31054618
Test: adb shell am instrument -w com.android.calendarcommon2.tests/android.test.InstrumentationTestRunner
Change-Id: I73eb8dc876adb253e093d68685deefcc9b02953e
alendarcommon2/RecurrenceSetTest.java
207e297d6911151d3e556be23ede3649beccb674 24-Nov-2011 Fredrik Hellén-Halme <fredrik.hellen-halme@sonyericsson.com> Fix issue with invisible recurring appointments

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
alendarcommon2/RRuleTest.java
06b3293d5af3454a39681cfd659271551354b8a0 27-Jun-2012 Michael Chan <chanm@google.com> Rename calendarcommon to calendarcommon2 to workaround OEM silliness

Change-Id: I5bd618866d6484037671376e192ee3217c42c366
alendarcommon/DurationTest.java
alendarcommon/EventRecurrenceTest.java
alendarcommon/RRuleTest.java
alendarcommon/RecurrenceProcessorTest.java
alendarcommon/RecurrenceSetTest.java
alendarcommon2/DurationTest.java
alendarcommon2/EventRecurrenceTest.java
alendarcommon2/RRuleTest.java
alendarcommon2/RecurrenceProcessorTest.java
alendarcommon2/RecurrenceSetTest.java
a991358d94947cc0dbd6a8d75dd77b5fd377734b 16-May-2012 Alice Yang <alice@google.com> Allow ";;"

Allow for consecutive ";" in rules for recurring events.

Bug 6312732

Change-Id: I3bd82b7818cd755eec7129ca6497746a91cb6653
alendarcommon/EventRecurrenceTest.java
bd003db9ed354cfd87df64d1ffd500e9a4bb8930 17-Mar-2012 Alon Albert <aalbert@google.com> Move Duration class from CalendarProvider

Change-Id: I9a354fe360376c43da2290535a038bd6ab4facd3
alendarcommon/DurationTest.java
bbcfb96060e9b518b810015984081a25c8ae2c26 18-Jan-2012 Isaac Katzenelson <isaack@android.com> Catch exception when parsing event's data

Bug: 5876746 Android calendar syncing broken by certain repeated events
Change-Id: Ia0b2bc610148302b1cc3d751c47a958950abfb46
alendarcommon/RecurrenceSetTest.java
0335d9f524da1da1f4d15bba37a1576a9480a36d 22-Dec-2011 Michael Chan <mchan@android.com> Fix rrules with bad count and interval during parsing

Specifically
If count < 0, assume 1
If interval < 1, assume 1

Bug: 5676414
Change-Id: I942cdaffcfb98a922c5867c9d08be322c64a0f94
alendarcommon/EventRecurrenceTest.java
9a91eb9d6c3c28b54223dae453c9d456b0c87355 21-Oct-2011 Andy McFadden <fadden@android.com> Support WKST in recurrence rules

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
alendarcommon/RecurrenceProcessorTest.java
0304a16e191a2e2af8289c6e7e1ad9734a0dc06d 02-Aug-2011 Andy McFadden <fadden@android.com> Fix a comment

RFC 5545 says the behavior is unspecified. This just updates
the comments (no code changes).

Bug 5075775

Change-Id: I87d131c260570e2990bb05f624c90f7d78a1eb89
alendarcommon/RecurrenceProcessorTest.java
dce6a0a89883ab3e76212a11a5a889407887718f 21-Jul-2011 Andy McFadden <fadden@android.com> Partial support for BYSETPOS

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
alendarcommon/RecurrenceProcessorTest.java
6d5684cdf6886a46ee993c8ec986d306472cd5b0 19-Jul-2011 Andy McFadden <fadden@android.com> Don't require FREQ to come first

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
alendarcommon/EventRecurrenceTest.java
e29edf9b71fbec8a7c7f0b523ca105a377632989 13-Jul-2011 Andy McFadden <fadden@android.com> Added some RecurrenceSet tests

Adds a few more tests for RecurrenceSet.

Also, fix the RecurrenceSet TAG.

Change-Id: I429cbea065e2b5d8d3a97662e54b9428ad8be257
alendarcommon/RecurrenceSetTest.java
747abc3833aec07827fa6b831e58f78e72c139d1 13-Jul-2011 Andy McFadden <fadden@android.com> Move a couple more classes to calendar-common

Move RecurrenceProcessor and DateException, so that app code can
access the recurrence generator. Useful for e.g. bug 4977517.

Change-Id: Iaeb3e486a6a4133aa3d361d73461a0a0a3771bb4
alendarcommon/RRuleTest.java
alendarcommon/RecurrenceProcessorTest.java
51db63a869ff2d160877901efc10d25577a53d5b 11-Jul-2011 Andy McFadden <fadden@android.com> Get tests working

Drop the shared ID so that the tests can be installed and run.

Updated a comment.

Change-Id: Ic58088c3cbda601bc44203815a80866c3d318b3b
alendarcommon/EventRecurrenceTest.java
0d3524562e330e74f150a17c4dc4dd66a0faae46 08-Jul-2011 Andy McFadden <fadden@android.com> Relocate common Calendar classes

Move some classes from android.pim to com.android.calendarcommon.

Bug 4575374

Change-Id: I0da19545253f0bc887d2c284414f372ad740e946
alendarcommon/EventRecurrenceTest.java
alendarcommon/RecurrenceSetTest.java