History log of /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
38210445730ee04c351c7cc1b3800cfe23e34325 27-Jun-2012 Makoto Onuki <omakoto@google.com> Reorganize import in contacts provider

Change-Id: If3afb134ea36bd93859efcd114885526e1592b91
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
9d990d339c9e3a9e03f6fe13c260d36665f00e61 16-Dec-2011 Makoto Onuki <omakoto@google.com> Account table refactoring

- Remove the account columns (type, name, data_set) from the
raw_contacts/groups tables and add account_id instead.

- Re-create the accounts table. The new table now has the _ID column. Rows
in this table now has a different lifecyle than before:
-- New row is created as the provider detects a new account during a write
operation to the raw_contacts and groups table.
-- Stale rows are removed upon account removal.

- Removed account consistency check for steam items/photos. We don't do this
kind of check for other tables.

Change-Id: I1ce01590aef70f417fa89426dae762a41d25d656
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
fc42772538fc6f7e2e444cbe6b24e06a3fbf933d 14-Dec-2011 Makoto Onuki <omakoto@google.com> Use ContactContract.Phone instead of internal definition

PhoneColumns was just redundant, and only made it hard to find all usecases
of Phone.NORMALIZED_NUMBER.

Also makred GroupsTest as @MediumTest. Some methods didn't have a size
annotations so they weren't executed as we always have to use the "-e size"
parameter.

Change-Id: I53160219e2ab6b2535cc8be61b07af6312bc92fc
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
ed6bfd922fd84db21de08c1d12e93c501b86560d 11-Jul-2011 Daniel Lehmann <lehmannd@google.com> Remove restricted white-listing

Bug:4974334
Change-Id: I4dd95089774373d2b67d7e14dc6b7fc40a92d094
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
47fd3881dfd2a21de29e917b6114974ff0a67b1b 22-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Fixing unit tests

A bunch of tests were broken by the recent change
of the aggregation policy, because they relied
on the old policy.

Some other tests stopped working after we upgraded
to a new version of ICU.

Updating the tests accordingly.

Change-Id: I97a785015834632a896ed4fc6079744962c7a04c
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
0265a180cf027d149f11f8750652ac67ea08ca24 05-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> Explicitly closing cursors and databases in ContactsProvider2 and related tests.

Change-Id: I70549b9517f38ae53fb59f60851f831768b87615
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
e246689441b2ff39cb97de277d6caeec95358863 13-Nov-2009 Jeff Sharkey <jsharkey@android.com> Require both or neither ACCOUNT_NAME and _TYPE.

In places where Accounts are used, this change enforces that
both or neither of name and type are provided. It changes
behavior of resolveAccount() to throw instead of returning
boolean.

Fixes http://b/2258771
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
8920a04b4a68ed6b548bcdef5ca8736dcf8b69b1 29-Sep-2009 Omari Stephens <xsdg@android.com> Update test documentation and suite classifications.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
1a21fa6383449df4bf0d46138a23aa02dfa235a0 26-Sep-2009 Jeff Sharkey <jsharkey@android.com> Replace delayed query parameters with transaction flags.

Callers should instead use applyBatch(), which now delays
any visible updates until the transation finishes. This
partially fixes http://b/2075275

This change also fixes a bug where aggregated visibility
wasn't being updated correctly. Wrote new unit tests to
verify correct behavior.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
5aec18c7ba70a011ffff949cfa3faaffce0a79c7 24-Sep-2009 Jeff Sharkey <jsharkey@android.com> Offer to delay visibility updates until caller forces.

We now watch for query parameters on insert, update, and
delete for Settings and Groups, which we use to delay
updating of IN_VISIBLE_GROUP at the callers request, which
is going to be used to help avoid ANRs. Also wrote unit
test to verify it works. Part of fixing http://b/2075275
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
f6be85f72615168c836b05c03ab5fc80d4794a82 15-Sep-2009 Fred Quintana <fredq@google.com> change to use the new CALLER_IS_SYNCADAPTER flag
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
718b97b3bb9f084ad3f3e25bd5c1c01d3e8a8144 05-Sep-2009 Jeff Sharkey <jsharkey@android.com> Return to original GroupsTest; wasn't broken after all.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
6bc46c9f22aaa9e68f344b171426fc686d3b536a 10-Sep-2009 Dmitri Plotnikov <dplotnikov@google.com> Fixing broken tests in ContactsProvider2
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
622e0a2f00b3de248926ec9e89b11a6425919819 02-Sep-2009 Jeff Sharkey <jsharkey@android.com> Relaxed type and label checking, structured consistency.

For CommonDataKinds rows, we strictly require that TYPE be
set when LABEL appears. Previously we had enforced that
LABEL could only exist under TYPE_CUSTOM, but this doesn't
hold true for providers that want to allow additional TYPE
values to have labels. This fixes http://b/2089080 and
http://b/2065904

This change also helps maintain consistency between
structured and unstructured fields for StructuredPostal and
StructuredName. That is, when an update updates one without
also updating the other, we provide the additional values
required to keep them consistent. If the client specifies
both sets, we let them pass through. Fixes http://b/2087358

Also adds unit tests, including fixing broken ones.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
5870f2dcc2ac7715b2c078a886ee346622e7887e 31-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> Adding soft identity to Contacts
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
73776ffd5c00e94db987ee30864e9c7a8396d22d 11-Aug-2009 Dmitri Plotnikov <dplotnikov@google.com> DIRTY flag on Contacts will no longer be set if the query has the ?mark_as_dirty=true parameter.

Sync adapters should be able to set their own data on the Data row without
triggering another round of syncing.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
94021b213e4db367f60b30fcbfe9019e28571784 10-Aug-2009 Fred Quintana <fredq@google.com> add the deleted flag to the groups table
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
d3fde755e73cd3912a488e7cb7d412d3c5f6ca94 28-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> ContactsProvider2: Renaming Aggregates to Contacts
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
1fd9b53d9e5d8ea87b69a51fb084c6f0d9f7c93e 27-Jul-2009 Fred Quintana <fredq@google.com> add unit tests for the contacts dirty and version trigger and fix any bugs found
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
6cffee46a1334d2b3ed19f436b27638451541044 27-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Changing Contacts to RawContacts.

The renaming will be done in baby steps and in the
order of priorities.

Step 1: Contacts->RawContacts and deprecate Contacts
Step 2: Once all is converted, remove Contacts
Step 3: Aggregates->Contacts, including comments in the API
Step 4: Tables and fields
Step 5: Comments in the implementation code

Intermediate steps will be pretty ugly, but the result will be glamorous. I hope you are all still ok with "RawContacts"
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
9261b2141aa90a4fed632fd6da03026d4c216280 14-Jul-2009 Fred Quintana <fredq@google.com> - add the DIRTY and VERSION columns to the ContactsProvider2 Groups contract
- make the CP2 allow adding group membership rows with only a sourceid
in which case it will lookup the group row id, creating a group row
if necessary
- added test cases
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
bee1a6b2e7cbea778195890e442c9e50f2a4e6d9 11-Jul-2009 Dmitri Plotnikov <dplotnikov@google.com> Initial cut of legacy public API unit test.
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/GroupsTest.java
28f8857b1b46bde18b85c6d3c2a63ac44c3c2e1c 08-Jul-2009 Evan Millar <emillar@google.com> Merge commit 'goog/eclair-dev' into merge3

Merged the new contacts content provider into goog/master. The old and
new content providers now live side by side under separate authorities.

Conflicts:
Android.mk
AndroidManifest.xml
res/values/strings.xml