Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3450)

Unified Diff: chrome/test/data/chromeos/gdata/cached_feeds.json

Issue 9836086: Added logic that will return the result of the first chunk of root feed and continue fetching the r… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed asserts in browser_tests Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/chromeos/gdata/cached_feeds.json
diff --git a/chrome/test/data/chromeos/gdata/cached_feeds.json b/chrome/test/data/chromeos/gdata/cached_feeds.json
index d378dad53d4d214c8beb01afc3d0049b637043c8..32b65ba1c243aa82182093916cc82ab5dd8c6276 100644
--- a/chrome/test/data/chromeos/gdata/cached_feeds.json
+++ b/chrome/test/data/chromeos/gdata/cached_feeds.json
@@ -148,10 +148,10 @@
"$t": "0"
},
"gd$resourceId": {
- "$t": "folder:1_folder_resouce_id"
+ "$t": "folder:2_folder_resouce_id"
},
"id": {
- "$t": "https://1_folder_id"
+ "$t": "https://2_folder_id"
},
"link": [ {
"href": "https://1_folder_alternate_link",
@@ -325,10 +325,10 @@
"$t": "0"
},
"gd$resourceId": {
- "$t": "folder:1_folder_resource_id"
+ "$t": "folder:4_folder_resource_id"
},
"id": {
- "$t": "https://1_folder_id"
+ "$t": "https://4_folder_id"
},
"link": [ {
"href": "https://1_folder_alternate_link",
@@ -891,7 +891,7 @@
"term": "http://schemas.google.com/docs/2007#folder"
} ],
"content": {
- "src": "https://1_folder_content_url",
+ "src": "https://slash_folder_content_url",
"type": "application/atom+xml;type=feed"
},
"docs$writersCanInvite": {
@@ -917,17 +917,17 @@
"$t": "0"
},
"gd$resourceId": {
- "$t": "folder:1_folder_resouce_id"
+ "$t": "folder:slash_1_folder_resouce_id"
},
"id": {
- "$t": "https://1_folder_id"
+ "$t": "https://slash_1_folder_id"
},
"link": [ {
- "href": "https://1_folder_alternate_link",
+ "href": "https://slash_1_folder_alternate_link",
"rel": "alternate",
"type": "text/html"
}, {
- "href": "https://1_folder_resumable_create_media_link",
+ "href": "https://slash_1_folder_resumable_create_media_link",
"rel": "http://schemas.google.com/g/2005#resumable-create-media",
"type": "application/atom+xml"
}, {
@@ -935,7 +935,7 @@
"rel": "self",
"type": "application/atom+xml"
}, {
- "href": "https://1_edit_link",
+ "href": "https://slash_folder_1_edit_link",
"rel": "edit",
"type": "application/atom+xml"
}, {
@@ -1409,5 +1409,340 @@
"xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/"
},
"version": "1.0"
+ },{
+ "encoding": "UTF-8",
+ "feed": {
+ "author": [ {
+ "email": {
+ "$t": "tester@testing.com"
+ },
+ "name": {
+ "$t": "tester"
+ }
+ } ],
+ "category": [ {
+ "label": "item",
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/docs/2007#item"
+ } ],
+ "entry": [ {
+ "app$edited": {
+ "$t": "2011-12-14T00:41:08.287Z",
+ "xmlns$app": "http://www.w3.org/2007/app"
+ },
+ "author": [ {
+ "email": {
+ "$t": "entry_tester@testing.com"
+ },
+ "name": {
+ "$t": "entry_tester"
+ }
+ } ],
+ "category": [ {
+ "label": "viewed",
+ "scheme": "http://schemas.google.com/g/2005/labels",
+ "term": "http://schemas.google.com/g/2005/labels#viewed"
+ }, {
+ "label": "folder",
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/docs/2007#folder"
+ } ],
+ "content": {
+ "src": "https://orphan_feed_folder_content_url",
+ "type": "application/atom+xml;type=feed"
+ },
+ "docs$writersCanInvite": {
+ "value": "true"
+ },
+ "gd$etag": "\"HhMOFgsgrSt7ImBr\"",
+ "gd$feedLink": [ {
+ "href": "https://orphan_feed_folder_feed_linkurl",
+ "rel": "http://schemas.google.com/acl/2007#accessControlList"
+ } ],
+ "gd$lastModifiedBy": {
+ "email": {
+ "$t": "tester@testing.com"
+ },
+ "name": {
+ "$t": "tester"
+ }
+ },
+ "gd$lastViewed": {
+ "$t": "2011-11-02T04:37:38.469Z"
+ },
+ "gd$quotaBytesUsed": {
+ "$t": "0"
+ },
+ "gd$resourceId": {
+ "$t": "folder:orphan_feed_folder_resouce_id"
+ },
+ "id": {
+ "$t": "https://orphan_feed_folder_id"
+ },
+ "link": [ {
+ "href": "https://orphan_feed_folder_alternate_link",
+ "rel": "alternate",
+ "type": "text/html"
+ }, {
+ "href": "https://1_folder_resumable_create_media_link",
+ "rel": "http://schemas.google.com/g/2005#resumable-create-media",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://orphan_feed_folder_self_link",
+ "rel": "self",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://orphan_feed_MISSING_PARENT_link",
+ "rel": "http://schemas.google.com/docs/2007#parent",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://orphan_feed_edit_link",
+ "rel": "edit",
+ "type": "application/atom+xml"
+ } ],
+ "published": {
+ "$t": "2010-11-07T05:03:54.719Z"
+ },
+ "title": {
+ "$t": "Orphaned Directory"
+ },
+ "updated": {
+ "$t": "2011-04-01T18:34:08.234Z"
+ }
+ }, {
+ "app$edited": {
+ "$t": "2011-12-14T00:40:57.162Z",
+ "xmlns$app": "http://www.w3.org/2007/app"
+ },
+ "author": [ {
+ "email": {
+ "$t": "tester@testing.com"
+ },
+ "name": {
+ "$t": "tester"
+ }
+ } ],
+ "category": [ {
+ "label": "audio/mpeg",
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/docs/2007#file"
+ } ],
+ "content": {
+ "src": "https://orphan_file_content_url/",
+ "type": "audio/mpeg"
+ },
+ "docs$filename": {
+ "$t": "Orphan File.txt"
+ },
+ "docs$md5Checksum": {
+ "$t": "3b4382ebefec6e743578c76bbd0575ce"
+ },
+ "docs$size": {
+ "$t": "892721"
+ },
+ "docs$suggestedFilename": {
+ "$t": "Orphan File.txt"
+ },
+ "docs$writersCanInvite": {
+ "value": "true"
+ },
+ "gd$etag": "\"HhMOFgxXHit7ImBr\"",
+ "gd$feedLink": [ {
+ "href": "https://orphan_file_feed_link_url",
+ "rel": "http://schemas.google.com/docs/2007/revisions"
+ } ],
+ "gd$lastModifiedBy": {
+ "email": {
+ "$t": "tester@testing.com"
+ },
+ "name": {
+ "$t": "tester"
+ }
+ },
+ "gd$quotaBytesUsed": {
+ "$t": "892721"
+ },
+ "gd$resourceId": {
+ "$t": "file:orphan_file_resource_id"
+ },
+ "id": {
+ "$t": "orphan_file_id"
+ },
+ "link": [ {
+ "href": "https://orphan_file_link_alternate",
+ "rel": "alternate",
+ "type": "text/html"
+ }, {
+ "href": "https://orphan_feed_MISSING_PARENT_link",
+ "rel": "http://schemas.google.com/docs/2007#parent",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://orphan_file_link_resumable_edit_media",
+ "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://orphan_file_name_link_self",
+ "rel": "self",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://orphan_file_link_edit",
+ "rel": "edit",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://orphan_file_edit_media",
+ "rel": "edit-media",
+ "type": "audio/mpeg"
+ } ],
+ "published": {
+ "$t": "2011-12-14T00:40:47.330Z"
+ },
+ "title": {
+ "$t": "Orphan File.txt"
+ },
+ "updated": {
+ "$t": "2011-12-14T00:40:47.330Z"
+ }
+ },{
+ "app$edited": {
+ "$t": "2011-12-14T00:40:57.162Z",
+ "xmlns$app": "http://www.w3.org/2007/app"
+ },
+ "author": [ {
+ "email": {
+ "$t": "tester@testing.com"
+ },
+ "name": {
+ "$t": "tester"
+ }
+ } ],
+ "category": [ {
+ "label": "audio/mpeg",
+ "scheme": "http://schemas.google.com/g/2005#kind",
+ "term": "http://schemas.google.com/docs/2007#file"
+ } ],
+ "content": {
+ "src": "https://orphan_subfolder_file_content_url/",
+ "type": "audio/mpeg"
+ },
+ "docs$filename": {
+ "$t": "Orphan Subfolder File.txt"
+ },
+ "docs$md5Checksum": {
+ "$t": "3b4382ebefec6e743578c76bbd0575ce"
+ },
+ "docs$size": {
+ "$t": "892721"
+ },
+ "docs$suggestedFilename": {
+ "$t": "Orphan Subfolder File.txt"
+ },
+ "docs$writersCanInvite": {
+ "value": "true"
+ },
+ "gd$etag": "\"HhMOFgxXHit7ImBr\"",
+ "gd$feedLink": [ {
+ "href": "https://orphan_file_feed_link_url",
+ "rel": "http://schemas.google.com/docs/2007/revisions"
+ } ],
+ "gd$lastModifiedBy": {
+ "email": {
+ "$t": "tester@testing.com"
+ },
+ "name": {
+ "$t": "tester"
+ }
+ },
+ "gd$quotaBytesUsed": {
+ "$t": "892721"
+ },
+ "gd$resourceId": {
+ "$t": "orphan_subfolder_file_resource_id"
+ },
+ "id": {
+ "$t": "orphan_subfolder_file_id"
+ },
+ "link": [ {
+ "href": "https://orphan_subfolder_file_link_alternate",
+ "rel": "alternate",
+ "type": "text/html"
+ }, {
+ "href": "https://orphan_feed_folder_self_link",
+ "rel": "http://schemas.google.com/docs/2007#parent",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://orphan_subfolder_file_link_resumable_edit_media",
+ "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://orphan_subfolder_file_name_link_self",
+ "rel": "self",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://orphan_subfolder_file_link_edit",
+ "rel": "edit",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://orphan_subfolder_file_edit_media",
+ "rel": "edit-media",
+ "type": "audio/mpeg"
+ } ],
+ "published": {
+ "$t": "2011-12-14T00:40:47.330Z"
+ },
+ "title": {
+ "$t": "Orphan Subfolder File.txt"
+ },
+ "updated": {
+ "$t": "2011-12-14T00:40:47.330Z"
+ }
+ }],
+ "gd$etag": "W/\"DkEEQH8-eSt7ImA9WhRQGE8.\"",
+ "id": {
+ "$t": "https://docs.google.com/feeds/default/private/full"
+ },
+ "link": [ {
+ "href": "http://alternate_link",
+ "rel": "alternate",
+ "type": "text/html"
+ }, {
+ "href": "https://resumable_create_media_link",
+ "rel": "http://schemas.google.com/g/2005#resumable-create-media",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://docs.google.com/feeds/default/private/full?v=3",
+ "rel": "http://schemas.google.com/g/2005#feed",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://docs.google.com/feeds/default/private/full?v=3",
+ "rel": "http://schemas.google.com/g/2005#post",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://docs.google.com/feeds/default/private/full/batch?v=3",
+ "rel": "http://schemas.google.com/g/2005#batch",
+ "type": "application/atom+xml"
+ }, {
+ "href": "https://self_link",
+ "rel": "self",
+ "type": "application/atom+xml"
+ } ],
+ "openSearch$itemsPerPage": {
+ "$t": "10"
+ },
+ "openSearch$startIndex": {
+ "$t": "20"
+ },
+ "title": {
+ "$t": "Feed 3 title - orphans"
+ },
+ "updated": {
+ "$t": "2011-12-14T01:03:21.151Z"
+ },
+ "xmlns": "http://www.w3.org/2005/Atom",
+ "xmlns$batch": "http://schemas.google.com/gdata/batch",
+ "xmlns$docs": "http://schemas.google.com/docs/2007",
+ "xmlns$gd": "http://schemas.google.com/g/2005",
+ "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/"
+ },
+ "version": "1.0"
}
]
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698