History log of /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
08007188ce3af03ed13e9252febc9b22e1bfe953 19-May-2015 Keith Cheung <keithcheung@google.com> fix cursor.getColumnIndex(Calendars.IS_PRIMARY) always returns -1

Bug: 20921928
Change-Id: I8582eaba6031904d5c820203900f32d0f7ff32c0
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
503a798e5f76ecce75607277292bd9a326ba79ec 08-Jun-2015 Tony Mak <tonymak@google.com> Fix crash when inserting reminder/attendee/extended property to a non-existent event

The problem is when inserting reminder/attendee/extended property, the code assumes the event it belongs to exists.
However, it may not be true in some edge cases.
For example, user is on the event edit page, while the event is being deleted in server at this moment.

Add checking to confirm the event does exists before having the insert logic.
As all logics in insert is run within a single transaction, we can be assured that the event does exist throughout the transaction.

Bug: b2/13287671

Change-Id: I655720c67ab3176d52759c43032682874aa3eb8b
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
ea28dfc327c87b24855f7abd9a48ba9a1b3f43f5 08-Jun-2015 Tony Mak <tonymak@google.com> Fix CalendarProvider2Test

1. Add authority into ProviderInfo
2. Add more features we needed in IsolatedContext
3. testInsertOriginalTimezoneInExtProperties is removed as we dun have this extended property anymore
4. Fix bug in instance search due to wrong order of selection args
5. Fix bug that dirty is not marked to 1 when attendee of event is deleted

Bug: 20715117

Change-Id: I494348742491eedf99355b44378d75e637b1e3c7
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
d2e4cb09054364f1b09e453426f642961cfbf7cf 02-Oct-2012 Sara Ting <sarating@google.com> am f4b1756f: Fix event color query (which fixes the failing CTS test).

* commit 'f4b1756f88c34efefb33b4103230ee334d9c9262':
Fix event color query (which fixes the failing CTS test).
f4b1756f88c34efefb33b4103230ee334d9c9262 02-Oct-2012 Sara Ting <sarating@google.com> Fix event color query (which fixes the failing CTS test).

Bug:7261590
Change-Id: I72c60af1ae8d563db7693fdf7d87972dfc80ab82
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
501e60bcb1b519d80723f7b64ba60bd079b8ec8d 17-Sep-2012 Sara Ting <sarating@google.com> Adding new column 'uid2445' to Events table to support future handling of ical/ics format.

Bug:7029852
Change-Id: Ie2e5c0126583a68d2da81b6cc7c0101e29eb0649
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
10651e7b4f209a03649b9eac62facbc7bf864d17 25-Jul-2012 Michael Chan <mchan@android.com> Fixed the problem where updating event colors would cause exceptions

Bug: 6742712
Change-Id: Ie097e05c74995513b5b6fc04efd8e0d35876b698
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
f98ed2e5c5e08cac159ce4cf22ab86a718f0bb0b 25-Jul-2012 Michael Chan <mchan@android.com> Fixed the problem where updating event colors would cause exceptions

Bug: 6742712
Change-Id: Ie097e05c74995513b5b6fc04efd8e0d35876b698
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
c81732aeadada8f8bc4c216a317ba458374af2c9 21-Apr-2012 Michael Chan <chanm@google.com> Add support for custom app and uri in events

Bug: 6325441
Change-Id: If4a0f855e21d10aa63be67c5bb702618b776b29b
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
bafe9de156292f65b1079dd1eb586669f573d9e6 18-Apr-2012 Michael Chan <chanm@google.com> Add support for identity in attendees

Bug: 6353721
Change-Id: If167941b90b256073444f2660df2360f79872276
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
4755452ab84f704f8ce4d7e0bf61a9faeeee2b99 01-Mar-2012 Michael Chan <mchan@android.com> Fixed the bug where one can't insert colors with the same key but different type.

Bug: 6075521
Change-Id: I7d16febe90735d64af8fbc8c5c7a73941e416ee5
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
aaa7f0ddf94d402075572b43f39f1866407fbb3f 13-Oct-2011 Jeff Brown <jeffbrown@google.com> Remove references to ArrayListCursor which is deprecated.

Change-Id: Ib7981a40352cb1fe50a77cb800f83f98452b8488
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
24abf95cb69e8040af1a8dc2faace1bfb3ab505c 05-Oct-2011 Andy McFadden <fadden@android.com> Add URIs for updating Attendees and Reminders

Previously you could only update a single entry in Attendees or
Reminders, using the "/#" form of the URI. Now you can update
multiple entries by specifying a selection. (This is not something
apps will commonly want to do, but if nothing else it rounds out
the APIs.)

Also, merged common code for updates to Attendees, Reminders, and
ExtendedProperties.

Also, fixed a couple of minor bugs with updating an Attendee and
the associated Event.selfAttendeeStatus (e.g. event_id had to be
specified in the update values or the provider would NPE).

Bug 5373449

Change-Id: I72df47ece69bf083739970ffa48a213a2cf76704
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
58993e879a53f5454b36036da9799550f2ae0814 28-Sep-2011 Andy McFadden <fadden@android.com> Fix some calendar provider tests

Fixes:
- A caller of insertEvent() was failing because of the new checks
preventing both DURATION and DTEND from being set.
- testInsertOriginalTimezoneInExtProperties() was looking at the _id
field instead of event_id; this happened to work until Event._Id
was given the "autoincrement" attribute.
- internalTestDirty() was comparing the behavior of the dirty flag
when ExtendedProperties was altered by an app vs. by a sync
adapter. We no longer allow apps to alter this table.

Bug 5373449

Change-Id: I07db15541fba46b9c7dc11fa911cbb3c11bb5cc1
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
8893c66c9d038d1d717b3df60ea74e0d732e5cdf 19-Aug-2011 Andy McFadden <fadden@android.com> Remove testEntityQuery

An equivalent test now lives in CTS. The test here makes some
assumptions about event IDs that are not valid with autoincrement,
so I'm just removing it.

Bug 5086664

Change-Id: I6a56152ca8c5d45d246ad5affbba03848db3dc63
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
744fa975b40b24ea7377c0e273f60a7a4d47e2e0 30-Jun-2011 RoboErik <epastern@google.com> Updates for api comments

Change-Id: Idb9400d43b52664857ee78835ad1f4231eca7b75
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
45f18d759c5f45a856e1ab709856d5d238d4468f 24-Jun-2011 RoboErik <epastern@google.com> api comment fixes

Change-Id: Ica45a14f4d5b484351a4b79b260687d959843fdd
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
b9644fe24edf9e25f0b21c1394e88d25070e0238 14-Jun-2011 RoboErik <epastern@google.com> Rename Calendar.java to CalendarContract.java

Change-Id: Iecdf0141d6baeed4a93b4f219a72f7ed8a5b9ff3
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
02f97c538fc46a08d857d2c807c76fd0eec12493 08-Jun-2011 RoboErik <epastern@google.com> Upgrade db to v305

-Add CAL_SYNC columns up to 10
-Rename Calendars.access_level to calendar_access_level
-Rename calendars _sync_version to cal_sync7
-Rename calendars _sync_time to cal_sync8
-Rename displayName to calendar_displayName
-Rename _sync_local_id to sync_data2
-Rename htmlUri to sync_data3
-Rename events _sync_version to sync_data4
-Rename events _sync_time to sync_data5
-Rename commentsUri to sync_data6
-Migrate Events _sync_mark to sync_data8
-Change sync_data2 from INTEGER to TEXT
-Change sync_data8 from INTEGER to TEXT
-Add SYNC_DATA columns up to 10
-Add EVENT_COLOR to Events table

Change-Id: I2b818bf54fbce57cb32918d239ec21035a499330
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
bcba82631ab0ee16efe58f0e0b0b9c18d93a6fd2 24-May-2011 Andy McFadden <fadden@android.com> First cut at recurring event exception API

This adds two calls to the calendar provider:

insert(<baseURI>/exception/<original-event-id>)

This creates an exception to a recurring event. Depending on the
values provided, this may alter all instances, all future instances,
or just a single instance of the event.

delete(<baseURI>/exception/<original-event-id>/<exception-event-id>)

This deletes an exception to a recurring event.

Bug 4473786

Change-Id: I9bff5de24694dcd49d2036c6c99dd45b34b24c0f
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
2ce7955da7dffec7819ed38be85e72df8a6f33dc 03-Jun-2011 RoboErik <epastern@google.com> Support cleanup of Calendar.java

-replaced refs to columns interfaces with the class where possible
-added support for selection/selection args in instance queries
-further cleanup

Change-Id: I97ee0c7ed1703696166fd4a007e232a42cece376
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
d28490199861708e0e6890bcf0da80f09ab761fe 03-Jun-2011 Erik Pasternak <roboerik@android.com> Merge "Revert "b/4460608 Deletes exceptions with original event""
ab472739446ef9e4a6fdcf9903d6260741d96acf 03-Jun-2011 Erik Pasternak <roboerik@android.com> Revert "b/4460608 Deletes exceptions with original event"

This doesn't work with the implementation in Google Calendar Sync. Instead we will need to delete exceptions for unsynced events only.

This reverts commit 9785ee857d77e644bcfb2a317d84d0eff5752e28
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
fa332ecedc0c340109811552407142f6e4f600b2 31-May-2011 RoboErik <epastern@google.com> Migrate syncN columns to cal_syncN

Change-Id: I2d7aa19c55f95cd9256a5c7289e6214d4bff3d5d
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
9785ee857d77e644bcfb2a317d84d0eff5752e28 23-May-2011 RoboErik <epastern@google.com> b/4460608 Deletes exceptions with original event

Change-Id: I53fdc4783454e527860dcac187b5a88f66539665
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
34c32cd924eb8ee28381106b37044b78fd8cbc30 14-May-2011 RoboErik <epastern@google.com> Add original_id column + logic. db -> v301

Adds an original_id to the Events table for local reference to
an original event for exceptions. It also adds logic to keep this
value in sync with the original_sync_id so apps don't have to
update for it to continue working.

Change-Id: I0034ecedb6f7b582ba823daab8656b7778781d84
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
c8383567db3ade2aea28447ad3bd09ac3033bcd7 06-May-2011 RoboErik <epastern@google.com> Upgrade Calendars table and db to v300

Changes several column names in the calendars table and jumps
the versioning for the db up to 300.

Change-Id: I515b3e0a54d73c8a6d25ca2d9f7c153fae68a210
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
0739be04415dfd61619b5611e82b7c9a6c83eae3 28-Apr-2011 RoboErik <roboerik@android.com> Requires sync adapter include account and type for writes

This is an initial change to introduce restrictions on write access.
It currently only restricts the sync specific Calendar fields and
requires that to do a sync write the account and account type must
also be included.

Change-Id: I29eac991557da784290ba92cde7d1172472ebad9
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
4067700dbedcf4c8a379c9ecba9b5603972b4607 19-Apr-2011 Andy McFadden <fadden@android.com> Update calendar database schema

This increases the version from 204 to 205, and includes these changes:
- rename+reorder "_sync_mark" to "sync6" (changing type from INTEGER to TEXT)
- rename "selected" to "visible"
- rename "organizerCanRespond" to "canOrganizerRespond"
- add "canModifyTimeZone"
- add "maxReminders"
- remove "_sync_local_id" (a/k/a _SYNC_DATA)

This CL will be accompanied by changes to:
frameworks/base
packages/apps/Calendar
packages/apps/Exchange
vendor/google
vendor/unbundled_google/packages/GoogleCalendarSyncAdapter

Change-Id: Idc82c26819432ac8756230a4fb0dd8165d255f27
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
175d0cd257853813cb258c7406af3bf481a36c10 21-Mar-2011 Erik <epastern@google.com> Fix CP2 tests on Crespo

There was a race condition on Crespo devices. This makes one of
the offending tests use a different calendar for its tests, though
more work remains to be done to better isolate the rest of the
tests.

Change-Id: Ib33ee65b641132e35296b1c8f6740b95fb462259
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
74ca9ba319a55a7dcb222344d2582e4dabe5d3bf 02-Feb-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #3410789 (CalendarProvider: Support for selection args for delete calendars)

- add support for selection args
- add corresponding unit tests

Change-Id: I052d2f4792baf307b003ee602d0bd546ec8c5fc4
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
ff036559eeca89b5e6ec138bfdc6a16c76f209e9 24-Jan-2011 Erik <epastern@google.com> Test changes to include for cl I9f9eb769

This modifies the tests to catch a cancellation update not deleting
the instances associated with that event.

Change-Id: I9e897d0406c4ad256b0afc1d765322fa652af7cf
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
c3fb804639a62353b76ea45fded1022650c2a73a 22-Oct-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix broken unit tests:

- improve test data generation and cleaning
- make the broken unit tests more close to reality (with better data sets)

Change-Id: Iff97951c026b26e1c7581e2834e9a135e0ee48b0
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
c2d2953fa4ac4bf9066f40d97858e69e519269f1 01-Oct-2010 Fabrice Di Meglio <fdimeglio@google.com> resolved conflicts for merge of 3443e3eb to master

Change-Id: I3ae69d380d1fefd4cb69e7e0d234fc424914020d
3443e3ebeaa39e8415b43e7cf3b218caee554e9b 30-Sep-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #3025267 (Calendar App TZ are messed up when using Secondary TZ feature in Web Calendar)

- updateEventsStartEndFromEventRawTimesLocked() is now using the Event's timezone instead of the device one
- update unit tests

Fixed also cleaning of old CalendarCache data.

Change-Id: Ia7d543eda26a4a0dee1d7174f84d0f50097b81b0
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
930d4ce83fc1902de369c915a45c231d560bac36 24-Sep-2010 Fabrice Di Meglio <fdimeglio@google.com> resolved conflicts for merge of 8ba0d023 to master

Change-Id: I2c06ce83ae194d6dd3b9bf1ba9fe04fa9fdd2d37
8ba0d0238b153d331d612078b19492cb44728101 21-Sep-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2985570 Event timezone is changed to device or Calendar timezone after sync

- When adding an Event, also add the originalTimezone ExtendedProperties if needed

Change-Id: Id7e03d75db2411bc26f4053af1908957ebe6b9ef
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
315d9326acd39566959f3c547225483f1fb6aefc 11-Sep-2010 Fabrice Di Meglio <fdimeglio@google.com> Manually merge "Add home timezone support" from Gingerbread:

- add querying CalendarCache key/values thru CalendarProvider
- add unit tests

Change-Id: I21bf5935789c663ba01409142df734007c5a3a4e
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
68040cf2602bb15bb4cf1072cf99132118d5a805 03-Sep-2010 Fabrice Di Meglio <fdimeglio@google.com> Add home timezone support - DO NOT MERGE

- add querying CalendarCache key/values thru CalendarProvider
- add unit tests

Change-Id: I87da6b5174c800dca76d3965a7d7cb8953003e1a
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
18f75d6fe8dd0b4fb1deb5e56b4356ae6527bdbc 21-Jul-2010 Mason Tang <masontang@google.com> Added support for searching attendees

Change-Id: I0ea6049cb97f213f529e06a10c468dbf553f2d23
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
dc866a1a66871a55810cbf98169f3212fb47acd3 21-Jul-2010 Mason Tang <masontang@google.com> Added support for quoted phrase search, string escaping in calendar provider

- We can now parse queries that include quoted phrases
- We also escape special characters like "%" and "_"

Change-Id: Iaf2519aa1b1af4753a2bf3b9bea342379186dac2
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
81d904d66bd746c077cc0baa6cf1f51fe030eac4 13-Jul-2010 Mason Tang <masontang@google.com> Added event search to the provider, fixed provider unit tests

- Implemented using LIKE pattern matching, no changes to the database
- This is completely transparent to the database itself
- The CalendarProvider2 unit tests will now pass...sometimes

Change-Id: I47f8285ad97edb6943951a563eaf9c5df83043d9
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
1b6beb61ef04c3da6ab0bdf8504ffecea2b9534c 30-Jun-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2779582 (Columns cleanup for the Calendars table)

- suppress deprecated "url" column
- replace eventsUrl / editUrl / selfUrl columns by sync1 / sync2 / sync3
- upgrade database

Change-Id: I03553dd926374f1125650db90af6ac4156261e8a
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
c59a6b5d8ff6b941fc44e9181e668fe0ec7df088 16-Jun-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2772731 (Start deprecation of "url" Calendars column in favor of "eventsUrl" column)

- suppress references to Calendars.URL

Change-Id: I40ffe3ca5c6113bc09802521f1c4b35eb8c67d80
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
73e55ee06fd7c595495d0ed8971a5dae36fb0399 09-Apr-2010 Brett Chabot <brettchabot@android.com> Remove flaky CalendarProvider2Test from continuous.

Bug 2395696

Change-Id: I1fc3b6e83756c97a888a2173b97508d5a2142c5f
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
6636020e221f0040d2d78ea03e7b3d9223256ff3 23-Mar-2010 Ken Shirriff <kens@google.com> Fix flaky testAttendees test.

The onAccountsUpdated() method would asynchronously delete events,
causing random test failures. This change overrides that method.
This change also adds an assert so failures will be cleanly reported,
rather than causing stack traces.

bug 2395696

Change-Id: Idf36d96f83174bd8da216883a6371c24dcfe2ca1
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
25e5cdec4e39982fedcce0733d2b8ad1aa665b19 18-Mar-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2519159 (com.android.providers.calendar.CalendarProvider2Test:testChangeTimezoneDB is failing)

- update visibility for method getTimezoneDatabaseVersion()
- update CalendarProvider2 make file (add guava) and clean tests make files

Change-Id: I61a0f1a8fb164e6f28137eb816555b3a96dc8a80
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
e604c19770482e181aa60a611b861ce5d8ed67d7 16-Mar-2010 Ken Shirriff <kens@google.com> Make sure values are set correctly when inserting event.

For a recurrence, dtend must be null. This change enforces that,
as well as some other conditions on the value.
Includes unittest.

bug 2513213

Change-Id: I04a1b7bd2f91e579177dd80741b4487409e903fc
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
5ffa764437e2f572ff8f8c21737c783fa2ca6010 12-Mar-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #2427686 (CalendarProvider2Test tests intermittently failing...

...with attempt to acquire a reference on a close SQLiteClosable)

- re-use instead of getting twice a reference to a writable database

Change-Id: I5773d380703783368deb40d0e0d06c6371ada015
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
eb7ee6232dc1f62b7bf71abc8e706cbf81b00235 10-Mar-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix broken tests for CalendarProvider2

- bug #2498493 (CalendarProvider2Test has a bunch of failures)
- bug #2500587 (com.android.providers.calendar.CalendarProvider2Test:testInstanceRange is failing)
- bug #2500598 (com.android.providers.calendar.CalendarProvider2Test:testCalendarAlerts is failing)

Change-Id: Iee19756b8f154353b86ffde139976d2ab9728686
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
26d0bf3c34f170f9398ac32bf04b87d4957a4441 04-Mar-2010 Ken Shirriff <kens@google.com> Move calendar wipeData to the test.

This method is only used by the test, so it doesn't make sense to have
it in the CalendarDatabaseHelper. This also caused test failures when
Proguard filtered out this method.

bug 2487351
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
975efd902429cd72cf1bfabf8663e1893c84a624 12-Feb-2010 Ken Shirriff <kens@google.com> Add unittest for instance expansion.

This tests the case where an event overlaps the instance range and then the
instance range is expanded, so the event is added to the instance table twice.

bug 2439297
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
ae270e35e14b5c7a756050cb8dcccf5771743850 03-Feb-2010 Fabrice Di Meglio <fdimeglio@google.com> Fix bug 1025931 (need to reprocess events table when timezone db changes)

Change-Id: I4a196c2bf03fcae6cb53807940b7b59345fd4fb8
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
30c0d7ae9d4c410254dc4106fa4ffa692a7e6706 01-Feb-2010 Ken Shirriff <kens@google.com> Add calendar deletion unittest.
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
767a744d42f8e271712d65b2877384355b1398a9 27-Jan-2010 Ken Shirriff <kens@google.com> Add ExtendedProperties unittest.

bug 2399618
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
e74157e34e174c923032a4b93ad298d0f234879c 27-Jan-2010 Ken Shirriff <kens@google.com> Fix CalendarAlerts query.

The alert code expects the color column, which requires the query to be joined with
the calendars table. Also add a unittest.

bug 2390762
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
b57f228c23d3672c1f08153f3fcc88ced2011714 22-Jan-2010 Ken Shirriff <kens@google.com> Change hardcoded calendar authority strings to use constants.

This will allow the authority to be changed in the future.

bug 2388178
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
83c55844974ca611a553e704663ed845d84c7930 06-Jan-2010 Ken Shirriff <kens@google.com> Add trigger to keep event account correct.

When an event is inserted, the _sync_account and _sync_account_type will
be updated from the Calendars table.
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
c07771fcc66414d8f266f969bb63670391a17bb8 06-Jan-2010 Ken Shirriff <kens@google.com> Add unittest for Event.loadEvents query

Also clean up debugging logging.
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
263a8c5f662a16b23d0feb7a9ae2709093b34cbb 06-Jan-2010 Ken Shirriff <kens@google.com> Remove busybit tests.
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
1ae4c22f15c107cd9f9cd8babaa11005e45e4647 05-Jan-2010 Ken Shirriff <kens@google.com> CalendarProvider2 fixes.

Add support for deleting a selection. Use the event view where appropriate.
Fix problems with conflicting column names. Add unittests. Add some missing
columns to projections. Remove unneeded Calendar joins.
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
115def16fa2da20a0be7105b7d987d8b6fd1f8d9 21-Dec-2009 Tom Taylor <tomtaylor@google.com> Update imports to android-common

Several files were moved to android-common. Update all the references
to import those files from the new location.
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
205fe71b416fe4a742310dabed5e813946afc999 16-Dec-2009 Ken Shirriff <kens@google.com> Extend and fix CalendarProvider2 unittests.

Add multiple calendar test. Fix deleted event test. Test extended properties delete.
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
19fb3af2ec12621bca575f5518c2ba3831cb3600 07-Dec-2009 Fred Quintana <fredq@google.com> changed to use the new EntityIterator interface
removed the queryEntity case from CalendarProviderTest since it is no longer relevant (we moved on to CalendarProvider2 before fully switching to the Entity reading approach)
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
7e3ec5f2025164fca508f81a5a01940bc912e064 02-Nov-2009 Ken Shirriff <kens@google.com> New calendar sync framework: code review changes, support delete, support multiple calendars, remove triggers.
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java
9f005e4843925efe4fa8434361c4ad4ad384ed4c 27-Oct-2009 Ken Shirriff <kens@google.com> Add new CalendarProvider2 for new sync framework.

This provider operates directly, rather than through a TempProviderSyncAdapter.
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/CalendarProvider2Test.java