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

Side by Side Diff: chrome/test/data/chromeos/gdata/delta_file_added_in_new_but_deleted_directory.json

Issue 18355004: google_apis: Move data files out of chrome/test/data/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix extension tests Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 {
2 "encoding": "UTF-8",
3 "feed": {
4 "author": [ {
5 "email": {
6 "$t": "tester@test.com"
7 },
8 "name": {
9 "$t": "tester"
10 }
11 } ],
12 "category": [ {
13 "label": "change",
14 "scheme": "http://schemas.google.com/g/2005#kind",
15 "term": "http://schemas.google.com/docs/2007#change"
16 } ],
17 "docs$largestChangestamp": {
18 "value": "16730"
19 },
20 "docs$quotaBytesUsedInTrash": {
21 "$t": "402724784"
22 },
23 "entry": [ {
24 "app$edited": {
25 "$t": "2012-04-10T22:50:55.965Z",
26 "xmlns$app": "http://www.w3.org/2007/app"
27 },
28 "author": [ {
29 "email": {
30 "$t": "tester@test.com"
31 },
32 "name": {
33 "$t": "tester"
34 }
35 } ],
36 "category": [ {
37 "label": "application/pdf",
38 "scheme": "http://schemas.google.com/g/2005#kind",
39 "term": "http://schemas.google.com/docs/2007#file"
40 }, {
41 "label": "viewed",
42 "scheme": "http://schemas.google.com/g/2005/labels",
43 "term": "http://schemas.google.com/g/2005/labels#viewed"
44 }, {
45 "label": "modified-by-me",
46 "scheme": "http://schemas.google.com/g/2005/labels",
47 "term": "http://schemas.google.com/g/2005/labels#modified-by-me"
48 } ],
49 "content": {
50 "src": "https://content_url",
51 "type": "text/html"
52 },
53 "docs$changestamp": {
54 "value": "16683"
55 },
56 "docs$modifiedByMeDate": {
57 "$t": "2012-04-10T22:50:55.797Z"
58 },
59 "docs$writersCanInvite": {
60 "value": "true"
61 },
62 "gd$etag": "\"WVAJThBcDyt7ImBk\"",
63 "gd$feedLink": [ {
64 "href": "https://feedLink",
65 "rel": "http://schemas.google.com/docs/2007/revisions"
66 } ],
67 "gd$lastModifiedBy": {
68 "email": {
69 "$t": "tester@test.com"
70 },
71 "name": {
72 "$t": "tester"
73 }
74 },
75 "gd$lastViewed": {
76 "$t": "2012-04-10T22:50:55.797Z"
77 },
78 "gd$quotaBytesUsed": {
79 "$t": "0"
80 },
81 "gd$resourceId": {
82 // To test a crash bug crbug.com/127495, This should start with
83 // "pdf:", not "file:", so that the entry is processed after the
84 // directory "folder:new_folder_resource_id" is deleted (i.e.
85 // entries in delta feeds are processed in the order of resource
86 // IDs sorted alphabetically)
87 "$t": "pdf:file_added_in_deleted_dir_id"
88 },
89 "id": {
90 "$t": "https://document%3Afile_added_in_new_dir_id"
91 },
92 "link": [ {
93 "href": "https://new_dir_self_link/folder%3Anew_folder_resource_id",
94 "rel": "http://schemas.google.com/docs/2007#parent",
95 "title": "New Directory",
96 "type": "application/atom+xml"
97 }, {
98 "href": "https://alternate/document%3Afile_added_in_new_dir_id/edit" ,
99 "rel": "alternate",
100 "type": "text/html"
101 }, {
102 "href": "https://added_in_root.png",
103 "rel": "http://schemas.google.com/docs/2007#icon",
104 "type": "image/png"
105 }, {
106 "href": "https://",
107 "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
108 "type": "application/atom+xml"
109 }, {
110 "href": "https://edit_url/document%3Afile_added_in_new_dir_id",
111 "rel": "edit",
112 "type": "application/atom+xml"
113 }, {
114 "href": "https://edit-media/document%3Afile_added_in_new_dir_id",
115 "rel": "edit-media",
116 "type": "text/html"
117 }, {
118 "href": "https://changes/16683",
119 "rel": "self",
120 "type": "application/atom+xml"
121 } ],
122 "published": {
123 "$t": "2012-04-10T22:50:53.237Z"
124 },
125 "title": {
126 "$t": "new_pdf_file.pdf"
127 },
128 "updated": {
129 "$t": "2012-04-10T22:50:55.797Z"
130 }
131 }, {
132 "app$edited": {
133 "$t": "2011-12-14T00:41:08.287Z",
134 "xmlns$app": "http://www.w3.org/2007/app"
135 },
136 "author": [ {
137 "email": {
138 "$t": "entry_tester@testing.com"
139 },
140 "name": {
141 "$t": "entry_tester"
142 }
143 } ],
144 "category": [ {
145 "label": "viewed",
146 "scheme": "http://schemas.google.com/g/2005/labels",
147 "term": "http://schemas.google.com/g/2005/labels#viewed"
148 }, {
149 "label": "folder",
150 "scheme": "http://schemas.google.com/g/2005#kind",
151 "term": "http://schemas.google.com/docs/2007#folder"
152 } ],
153 "content": {
154 "src": "https://1_folder_content_url",
155 "type": "application/atom+xml;type=feed"
156 },
157 "docs$writersCanInvite": {
158 "value": "true"
159 },
160 // Mark that the directory is deleted (i.e. moved to Trash).
161 "gd$deleted": {
162 },
163 "gd$etag": "\"HhMOFgcNHSt7ImBr\"",
164 "gd$feedLink": [ {
165 "href": "https://1_folder_feed_linkurl",
166 "rel": "http://schemas.google.com/acl/2007#accessControlList"
167 } ],
168 "gd$lastModifiedBy": {
169 "email": {
170 "$t": "tester@testing.com"
171 },
172 "name": {
173 "$t": "tester"
174 }
175 },
176 "gd$lastViewed": {
177 "$t": "2011-11-02T04:37:38.469Z"
178 },
179 "gd$quotaBytesUsed": {
180 "$t": "0"
181 },
182 "gd$resourceId": {
183 "$t": "folder:new_folder_resource_id"
184 },
185 "id": {
186 "$t": "https://new_folder_id"
187 },
188 "link": [ {
189 "href": "https://1_folder_alternate_link",
190 "rel": "alternate",
191 "type": "text/html"
192 }, {
193 "href": "https://1_folder_resumable_create_media_link",
194 "rel": "http://schemas.google.com/g/2005#resumable-create-media",
195 "type": "application/atom+xml"
196 }, {
197 "href": "https://new_dir_self_link/folder%3Anew_folder_resource_id",
198 "rel": "self",
199 "type": "application/atom+xml"
200 }, {
201 "href": "https://new_dir_self_link/folder%3Anew_folder_resource_id",
202 "rel": "edit",
203 "type": "application/atom+xml"
204 } ],
205 "published": {
206 "$t": "2010-11-07T05:03:54.719Z"
207 },
208 "title": {
209 "$t": "New Directory"
210 },
211 "updated": {
212 "$t": "2011-04-01T18:34:08.234Z"
213 }
214 } ],
215 "gd$etag": "W/\"AkYGSHc8eyt7ImA9WhVXEU0.\"",
216 "gd$quotaBytesTotal": {
217 "$t": "215822106624"
218 },
219 "gd$quotaBytesUsed": {
220 "$t": "416375123"
221 },
222 "id": {
223 "$t": "https://docs.google.com/feeds/default/private/changes"
224 },
225 "link": [ {
226 "href": "https://docs.google.com/feeds/default/private/changes",
227 "rel": "http://schemas.google.com/g/2005#feed",
228 "type": "application/atom+xml"
229 }, {
230 "href": "https://docs.google.com/feeds/default/private/changes?alt=json &start-index=16718&max-results=1000",
231 "rel": "self",
232 "type": "application/atom+xml"
233 } ],
234 "openSearch$startIndex": {
235 "$t": "16718"
236 },
237 "openSearch$totalResults": {
238 "$t": "16730"
239 },
240 "title": {
241 "$t": "Changed Documents - tester@test.com"
242 },
243 "updated": {
244 "$t": "2012-04-11T01:35:29.973Z"
245 },
246 "xmlns": "http://www.w3.org/2005/Atom",
247 "xmlns$docs": "http://schemas.google.com/docs/2007",
248 "xmlns$gd": "http://schemas.google.com/g/2005",
249 "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/"
250 },
251 "version": "1.0"
252 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698