summaryrefslogtreecommitdiffstats
path: root/tests/assets
diff options
context:
space:
mode:
authorTingting Wang <tingtingw@google.com>2015-04-15 10:52:52 -0700
committerTingting Wang <tingtingw@google.com>2015-04-17 20:08:09 -0700
commit794ef4db9d70441393b756ce6c4cc456b9143b11 (patch)
treedb860cc17ffcb1cba70c8ba769e82ae10cd57f36 /tests/assets
parentd1f777e7b9003ac5d6bac0d9039acfd05a7bec69 (diff)
downloadpackages_providers_ContactsProvider-794ef4db9d70441393b756ce6c4cc456b9143b11.tar.gz
packages_providers_ContactsProvider-794ef4db9d70441393b756ce6c4cc456b9143b11.tar.bz2
packages_providers_ContactsProvider-794ef4db9d70441393b756ce6c4cc456b9143b11.zip
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
Diffstat (limited to 'tests/assets')
-rw-r--r--tests/assets/test1/testFileDeviceContactMetadataJSON.txt14
1 files changed, 11 insertions, 3 deletions
diff --git a/tests/assets/test1/testFileDeviceContactMetadataJSON.txt b/tests/assets/test1/testFileDeviceContactMetadataJSON.txt
index c9494d8c..65e624d1 100644
--- a/tests/assets/test1/testFileDeviceContactMetadataJSON.txt
+++ b/tests/assets/test1/testFileDeviceContactMetadataJSON.txt
@@ -3,7 +3,8 @@
"account_type": "CUSTOM_ACCOUNT",
"custom_account_type": "facebook",
"account_name": "android-test",
- "contact_id": "1111111"
+ "contact_id": "1111111",
+ "data_set": "FOCUS"
},
"contact_prefs": {
"send_to_voicemail": true,
@@ -15,10 +16,17 @@
"type": "TOGETHER",
"contact_ids": [
{
- "contact_id": "2222222"
+ "account_type": "GOOGLE_ACCOUNT",
+ "account_name": "android-test2",
+ "contact_id": "2222222",
+ "data_set": "GOOGLE_PLUS"
},
{
- "contact_id": "3333333"
+ "account_type": "GOOGLE_ACCOUNT",
+ "account_name": "android-test3",
+ "contact_id": "3333333",
+ "data_set": "CUSTOM",
+ "custom_data_set": "custom type"
}
]
}