Index: chrome/test/data/chromeos/gdata/contacts/feed.json |
diff --git a/chrome/test/data/chromeos/gdata/contacts/feed.json b/chrome/test/data/chromeos/gdata/contacts/feed.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..82760ce52c4e02e60fc6799e08272a3dd18758d3 |
--- /dev/null |
+++ b/chrome/test/data/chromeos/gdata/contacts/feed.json |
@@ -0,0 +1,287 @@ |
+{ |
+ "encoding": "UTF-8", |
+ "feed": { |
+ "author": [ { |
+ "email": { |
+ "$t": "test.user@gmail.com" |
+ }, |
+ "name": { |
+ "$t": "Test User" |
+ } |
+ } ], |
+ "category": [ { |
+ "scheme": "http://schemas.google.com/g/2005#kind", |
+ "term": "http://schemas.google.com/contact/2008#contact" |
+ } ], |
+ "entry": [ { |
+ "app$edited": { |
+ "$t": "2012-06-04T15:53:36.023Z", |
+ "xmlns$app": "http://www.w3.org/2007/app" |
+ }, |
+ "category": [ { |
+ "scheme": "http://schemas.google.com/g/2005#kind", |
+ "term": "http://schemas.google.com/contact/2008#contact" |
+ } ], |
+ "gContact$groupMembershipInfo": [ { |
+ "deleted": "false", |
+ "href": "http://www.google.com/m8/feeds/groups/test.user%40gmail.com/base/6" |
+ } ], |
+ "gContact$website": [ { |
+ "href": "http://www.google.com/", |
+ "rel": "profile" |
+ } ], |
+ "gd$email": [ { |
+ "address": "joe.contact@gmail.com", |
+ "primary": "true", |
+ "rel": "http://schemas.google.com/g/2005#other" |
+ } ], |
+ "gd$etag": "\"R345ezVSLit7I2A9WhVbGE8PRQU.\"", |
+ "gd$name": { |
+ "gd$familyName": { |
+ "$t": "Contact" |
+ }, |
+ "gd$fullName": { |
+ "$t": "Joe Contact" |
+ }, |
+ "gd$givenName": { |
+ "$t": "Joe" |
+ } |
+ }, |
+ "gd$structuredPostalAddress": [ { |
+ "gd$city": { |
+ "$t": "San Francisco" |
+ }, |
+ "gd$formattedAddress": { |
+ "$t": "345 Spear St\nSan Francisco CA 94105" |
+ }, |
+ "gd$postcode": { |
+ "$t": "94105" |
+ }, |
+ "gd$region": { |
+ "$t": "CA" |
+ }, |
+ "gd$street": { |
+ "$t": "345 Spear St" |
+ }, |
+ "rel": "http://schemas.google.com/g/2005#home" |
+ } ], |
+ "id": { |
+ "$t": |
+ "http://example.com/1" |
+ }, |
+ "link": [ { |
+ "href": "https://example.com/photo.png", |
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo", |
+ "gd$etag": "\"JyYuJkIbWit7I2BpLHxUTDpzI1FGf2IjUjc.\"", |
+ "type": "image/*" |
+ }, { |
+ "href": |
+ "https://example.com/1", |
+ "rel": "self", |
+ "type": "application/atom+xml" |
+ }, { |
+ "href": |
+ "https://example.com/1", |
+ "rel": "edit", |
+ "type": "application/atom+xml" |
+ } ], |
+ "title": { |
+ "$t": "Joseph Contact" |
+ }, |
+ "updated": { |
+ "$t": "2012-06-04T15:53:36.023Z" |
+ } |
+ }, { |
+ "app$edited": { |
+ "$t": "2012-06-21T16:20:13.208Z", |
+ "xmlns$app": "http://www.w3.org/2007/app" |
+ }, |
+ "category": [ { |
+ "scheme": "http://schemas.google.com/g/2005#kind", |
+ "term": "http://schemas.google.com/contact/2008#contact" |
+ } ], |
+ "gContact$groupMembershipInfo": [ { |
+ "deleted": "false", |
+ "href": "http://www.google.com/m8/feeds/groups/test.user%40gmail.com/base/6" |
+ } ], |
+ "gd$email": [ { |
+ "address": "jane.doe@gmail.com", |
+ "primary": "true", |
+ "rel": "http://schemas.google.com/g/2005#home" |
+ }, { |
+ "address": "me@privacy.net", |
+ "rel": "http://schemas.google.com/g/2005#work" |
+ }, { |
+ "address": "foo@example.org", |
+ "label": "Fake" |
+ } ], |
+ "gd$etag": "\"Qnw7cDVSLCt7I2A9WhJTEkQPQQU.\"", |
+ "gd$im": [ { |
+ "address": "foo@example.org", |
+ "protocol": "http://schemas.google.com/g/2005#GOOGLE_TALK", |
+ "rel": "http://schemas.google.com/g/2005#other" |
+ }, { |
+ "address": "12345678", |
+ "protocol": "http://schemas.google.com/g/2005#ICQ", |
+ "rel": "http://schemas.google.com/g/2005#other" |
+ } ], |
+ "gd$name": { |
+ "gd$additionalName": { |
+ "$t": "Liz" |
+ }, |
+ "gd$familyName": { |
+ "$t": "Doe" |
+ }, |
+ "gd$fullName": { |
+ "$t": "Dr. Jane Liz Doe Sr." |
+ }, |
+ "gd$givenName": { |
+ "$t": "Jane" |
+ }, |
+ "gd$namePrefix": { |
+ "$t": "Dr." |
+ }, |
+ "gd$nameSuffix": { |
+ "$t": "Sr." |
+ } |
+ }, |
+ "gd$phoneNumber": [ { |
+ "$t": "123-456-7890", |
+ "rel": "http://schemas.google.com/g/2005#mobile" |
+ }, { |
+ "$t": "234-567-8901", |
+ "label": "grandcentral" |
+ } ], |
+ "gd$structuredPostalAddress": [ { |
+ "gd$city": { |
+ "$t": "San Francisco" |
+ }, |
+ "gd$formattedAddress": { |
+ "$t": "100 Elm St\nSan Francisco, CA 94110" |
+ }, |
+ "gd$postcode": { |
+ "$t": "94110" |
+ }, |
+ "gd$region": { |
+ "$t": "CA" |
+ }, |
+ "gd$street": { |
+ "$t": "100 Elm St" |
+ }, |
+ "rel": "http://schemas.google.com/g/2005#home" |
+ } ], |
+ "id": { |
+ "$t": "http://example.com/2" |
+ }, |
+ "link": [ { |
+ "href": "https://example.com/missing.png", |
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo", |
+ "type": "image/*" |
+ }, { |
+ "href": "https://example.com/2", |
+ "rel": "self", |
+ "type": "application/atom+xml" |
+ }, { |
+ "href": "https://example.com/2", |
+ "rel": "edit", |
+ "type": "application/atom+xml" |
+ } ], |
+ "title": { |
+ "$t": "Jane Doe" |
+ }, |
+ "updated": { |
+ "$t": "2012-06-21T16:20:13.208Z" |
+ } |
+ }, { |
+ "app$edited": { |
+ "$t": "2012-07-23T23:07:06.133Z", |
+ "xmlns$app": "http://www.w3.org/2007/app" |
+ }, |
+ "category": [ { |
+ "scheme": "http://schemas.google.com/g/2005#kind", |
+ "term": "http://schemas.google.com/contact/2008#contact" |
+ } ], |
+ "gContact$groupMembershipInfo": [ { |
+ "deleted": "true", |
+ "href": "http://www.google.com/m8/feeds/groups/test.user%40gmail.com/base/6" |
+ } ], |
+ "gd$deleted": { |
+ |
+ }, |
+ "gd$etag": "\"R384ezVSLit7I2A9WhJQEEUOTwY.\"", |
+ "id": { |
+ "$t": "http://example.com/3" |
+ }, |
+ "link": [ { |
+ "href": "https://example.com/missing.png", |
+ "rel": "http://schemas.google.com/contacts/2008/rel#photo", |
+ "type": "image/*" |
+ }, { |
+ "href": "https://example.com/3", |
+ "rel": "self", |
+ "type": "application/atom+xml" |
+ }, { |
+ "href": "https://example.com/3", |
+ "rel": "edit", |
+ "type": "application/atom+xml" |
+ } ], |
+ "title": { |
+ "$t": "" |
+ }, |
+ "updated": { |
+ "$t": "2012-07-23T23:07:06.133Z" |
+ } |
+ } ], |
+ "gd$etag": "W/\"CEUHSXg8fSt7I2A9WhJSEEw.\"", |
+ "generator": { |
+ "$t": "Contacts", |
+ "uri": "http://www.google.com/m8/feeds", |
+ "version": "1.0" |
+ }, |
+ "id": { |
+ "$t": "test.user@gmail.com" |
+ }, |
+ "link": [ { |
+ "href": "http://www.google.com/", |
+ "rel": "alternate", |
+ "type": "text/html" |
+ }, { |
+ "href": "https://www.google.com/m8/feeds/contacts/test.user%40gmail.com/full", |
+ "rel": "http://schemas.google.com/g/2005#feed", |
+ "type": "application/atom+xml" |
+ }, { |
+ "href": "https://www.google.com/m8/feeds/contacts/test.user%40gmail.com/full", |
+ "rel": "http://schemas.google.com/g/2005#post", |
+ "type": "application/atom+xml" |
+ }, { |
+ "href": "https://www.google.com/m8/feeds/contacts/test.user%40gmail.com/full/batch", |
+ "rel": "http://schemas.google.com/g/2005#batch", |
+ "type": "application/atom+xml" |
+ }, { |
+ "href": "https://www.google.com/m8/feeds/contacts/test.user%40gmail.com/full?alt=json&max-results=1000&showdeleted=true", |
+ "rel": "self", |
+ "type": "application/atom+xml" |
+ } ], |
+ "openSearch$itemsPerPage": { |
+ "$t": "1000" |
+ }, |
+ "openSearch$startIndex": { |
+ "$t": "1" |
+ }, |
+ "openSearch$totalResults": { |
+ "$t": "2" |
+ }, |
+ "title": { |
+ "$t": "Test User's Contacts" |
+ }, |
+ "updated": { |
+ "$t": "2012-06-29T23:23:58.675Z" |
+ }, |
+ "xmlns": "http://www.w3.org/2005/Atom", |
+ "xmlns$batch": "http://schemas.google.com/gdata/batch", |
+ "xmlns$gContact": "http://schemas.google.com/contact/2008", |
+ "xmlns$gd": "http://schemas.google.com/g/2005", |
+ "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/" |
+ }, |
+ "version": "1.0" |
+} |