• Home
  • History
  • Annotate
  • only in /packages/providers/ContactsProvider/tests/assets/test1/
History log of /packages/providers/ContactsProvider/tests/assets/test1/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
794ef4db9d70441393b756ce6c4cc456b9143b11 15-Apr-2015 Tingting Wang <tingtingw@google.com> Update related tables from MetadataSync.data column.

MetadataSync.data column info is parsed to MetadataEntry object.
RawContact, Data, DataUsageStats, AggregationException tables need to
be updated or inserted for the given rawContactId from MetadataEntry.

BUG 20055193

Change-Id: I5bdfe2c44f9c9af8d4067dc136ceb62ab0b274af
estFileDeviceContactMetadataJSON.txt
d1f777e7b9003ac5d6bac0d9039acfd05a7bec69 08-Apr-2015 Tingting Wang <tingtingw@google.com> Parse metadata_sync.data to MetadataEntry Object.

metadata_sync.data is a text column contains the DeviceContactMetadata
Json string got from People API. Converting it to MetadataEntry object
is needed before using.

BUG 20055450

Change-Id: Ic82b07438fdf088563fcdcc99980b83df149734f
estFileDeviceContactMetadataJSON.txt
3535990c241841cdc8d65aa00c5ec0c3efaab3d8 16-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Fix LegacyContactImporterTest

Need to update golden files per ICU version update.
See also: I695558055cc139b42b71da9138f61d19bcbd9758

Also add some annotations for tests.

Note that this doesn't fix every test. It looks the other
test breakages are harder to resolve.

Bug: 4645142
Change-Id: Ib487c28c3cd73dd702962e4590ada1a6319c2e50
xpected_contacts.txt
24c1d384b45a6d3c1cc959062a9d4308335fabbf 28-May-2011 Dave Santoro <dsantoro@google.com> URIs and queries to support profiles.

This change includes:
- A database upgrade to support tracking whether a contact represents the
user's profile (represented as an optional raw contact ID specified
per-account, and looked up in the various views).
- New Contact Provider URIs for retrieving profile-specific data:
- profile: To retrieve the user's profile contact.
- profile/data: To retrieve data for the user's profile contact.
- profile/data/#: To retrieve data for a specific data entry for the user's
profile entry, by data ID.
- profile/entities: To select entities for the user's profile.
- profile/as_vcard: To retrieve the profile as a VCard.
- profile/raw_contacts: To retrieve or insert raw contacts for the user's
profile.
- profile/raw_contacts/#: To retrieve a specific raw contact entry for the
user's profile, by raw contact ID.
- profile/raw_contacts/#/data: To retrieve data for a specific raw contact
entry for the user's profile, by raw contact ID.
- profile/raw_contacts/#/entity: To retrieve raw contact entities for a
specific raw contact entry for the user's profile, by raw contact ID.
- Permission checks to ensure that any access to profile data (whether
explicitly through the above URIs or directly via ID) enforces READ_PROFILE
or WRITE_PROFILE access.
- New and updated tests (including permission check cases for all of the above,
plus query checks for each).

I've also had to move a few large tests to medium to work around
b/3329504. I've also removed the database close step from contacts provider
test teardowns, as it doesn't seem to be necessary, and results in almost a 3x
performance boost on test runs.

Change-Id: I220552c26ad1eb3fbf24fdd865df2fe59fe4a688
xpected_contacts.txt
b0c9a8a175ca1d3fea593062081b838b6e758339 11-Aug-2010 Dmitri Plotnikov <dplotnikov@google.com> Fixing broken tests

The breakage was caused mostly by the upgrade to the new version of ICU

Bug: 2894663
Bug: 2894703

Change-Id: If7f28bba8eb1b9aa303e8aa7ec29cf026e51e334
xpected_contacts.txt
992edb8d6ec6382fc64e6106cff8a8a121a30b7e 24-Mar-2010 Dmitri Plotnikov <dplotnikov@google.com> Fixing an issue with legacy contact import.

The issue is that the importer set the is_primary flag, but
not the is_superprimary flag.

Bug: 2535177
Change-Id: I32e11d1bb9c1068781d1a734256a223f75543e7f
xpected_data.txt
18cba80a41494e82464aaf8c6ab1ac3f608492bc 17-Mar-2010 Daniel Lehmann <lehmannd@google.com> Fixed visibility of contacts, display-names and lookup-keys after Donut->Froyo update. Reworked Tests.
Bug:2517163
Bug:2521116

Change-Id: I8e33650acf9a59b52719289e37257c1b3c55a7a9
xpected_calls.txt
xpected_contacts.txt
xpected_data.txt
xpected_groups.txt
xpected_raw_contacts.txt
egacy_contacts.sql
eadme.txt