History log of /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarDatabaseHelperTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d5f4742d7ba16d791edd9fd33a1a2a42eeac709b 19-Apr-2011 RoboErik <epastern@google.com> Adds test to compare schema of upgraded and new db

Change-Id: I3a27b9eadb01fff9459b179a28100bb014a24785
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarDatabaseHelperTest.java
2cff10f1a005bd7302245d4c680cf851193c3a97 15-Apr-2011 RoboErik <epastern@google.com> Inlines all the fields used during upgrade and tests

W/o inline, changing the fields will cause any old update code that
uses them to break without warning. Added a test forupgrading all
the way from v50 to the current version and fixed some bugs that
showed up as a result of the test.

Change-Id: I3673c784bfbe38d65d2a04b7e5aaeaf8cdcb21fa
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarDatabaseHelperTest.java
43b3eba05ef67bdd4b0a2b285b6ed2b377c136c5 22-May-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #1661857 (switch from using meta feed to the new allcalendars feed)

- add support for new database schema for Calendars table (new columns: selfUrl, editUrl, alternateUrl, eventsUrl)
- add database upgrade code
- update Events.DELETE constant
- add Calendars Entity support

Change-Id: I040d153ce9ba15f77b582c083a79ea6e8e777535
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarDatabaseHelperTest.java
e3730b9dce00439666e7ef324a28263a0ee92032 12-Apr-2010 Erik <roboerik@android.com> b/2440161 Made UTC override timezone for allday events

Exchange events had an incorrect timezone set for allDay events and we were setting
sec, min, hour to zero on that timezone. This change will make it override any tz
set and force allDay events to be in UTC.

Change-Id: I14fbdcc14bae2ef45b2e5e0c70e68e4c26136d7b
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarDatabaseHelperTest.java
7b40dde3168f4af2c757cb43955aa3bfe1668666 08-Apr-2010 Erik <roboerik@android.com> b/2560858 Upgrade will clean up allDay events

Added an upgrade step that will clean up allDay events in the database. This
will set times to have hms be 0 for allday events and try to format duration
into P<#>D. This doesn't fix other problems, such as fields having a value
when they shouldn't.

Change-Id: Ifb1e28bd2e536324e73558ce79da44f7c5b550d7
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarDatabaseHelperTest.java