Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / chrome / test / data / gdata / delta_file_added_in_new_but_deleted_directory.json
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          // Mark that the file is deleted (drive API v2 marks a newly added file
63          // in a trashed directory, so this test follows the behavior).
64          "gd$deleted": {
65          },
66          "gd$etag": "\"WVAJThBcDyt7ImBk\"",
67          "gd$feedLink": [ {
68             "href": "https://feedLink",
69             "rel": "http://schemas.google.com/docs/2007/revisions"
70          } ],
71          "gd$lastModifiedBy": {
72             "email": {
73                "$t": "tester@test.com"
74             },
75             "name": {
76                "$t": "tester"
77             }
78          },
79          "gd$lastViewed": {
80             "$t": "2012-04-10T22:50:55.797Z"
81          },
82          "gd$quotaBytesUsed": {
83             "$t": "0"
84          },
85          "gd$resourceId": {
86             // To test a crash bug crbug.com/127495, This should start with
87             // "pdf:", not "file:", so that the entry is processed after the
88             // directory "folder:new_folder_resource_id" is deleted (i.e.
89             // entries in delta feeds are processed in the order of resource
90             // IDs sorted alphabetically)
91             "$t": "pdf:file_added_in_deleted_dir_id"
92          },
93          "id": {
94             "$t": "https://document%3Afile_added_in_new_dir_id"
95          },
96          "link": [ {
97             "href": "https://new_dir_self_link/folder%3Anew_folder_resource_id",
98             "rel": "http://schemas.google.com/docs/2007#parent",
99             "title": "New Directory",
100             "type": "application/atom+xml"
101          }, {
102             "href": "https://alternate/document%3Afile_added_in_new_dir_id/edit",
103             "rel": "alternate",
104             "type": "text/html"
105          }, {
106             "href": "https://added_in_root.png",
107             "rel": "http://schemas.google.com/docs/2007#icon",
108             "type": "image/png"
109          }, {
110             "href": "https://",
111             "rel": "http://schemas.google.com/g/2005#resumable-edit-media",
112             "type": "application/atom+xml"
113          }, {
114             "href": "https://edit_url/document%3Afile_added_in_new_dir_id",
115             "rel": "edit",
116             "type": "application/atom+xml"
117          }, {
118             "href": "https://edit-media/document%3Afile_added_in_new_dir_id",
119             "rel": "edit-media",
120             "type": "text/html"
121          }, {
122             "href": "https://changes/16683",
123             "rel": "self",
124             "type": "application/atom+xml"
125          } ],
126          "published": {
127             "$t": "2012-04-10T22:50:53.237Z"
128          },
129          "title": {
130             "$t": "new_pdf_file.pdf"
131          },
132          "updated": {
133             "$t": "2012-04-10T22:50:55.797Z"
134          }
135       }, {
136          "app$edited": {
137             "$t": "2011-12-14T00:41:08.287Z",
138             "xmlns$app": "http://www.w3.org/2007/app"
139          },
140          "author": [ {
141             "email": {
142                "$t": "entry_tester@testing.com"
143             },
144             "name": {
145                "$t": "entry_tester"
146             }
147          } ],
148          "category": [ {
149             "label": "viewed",
150             "scheme": "http://schemas.google.com/g/2005/labels",
151             "term": "http://schemas.google.com/g/2005/labels#viewed"
152          }, {
153             "label": "folder",
154             "scheme": "http://schemas.google.com/g/2005#kind",
155             "term": "http://schemas.google.com/docs/2007#folder"
156          } ],
157          "content": {
158             "src": "https://1_folder_content_url",
159             "type": "application/atom+xml;type=feed"
160          },
161          "docs$writersCanInvite": {
162             "value": "true"
163          },
164          // Mark that the directory is deleted (i.e. moved to Trash).
165          "gd$deleted": {
166          },
167          "gd$etag": "\"HhMOFgcNHSt7ImBr\"",
168          "gd$feedLink": [ {
169             "href": "https://1_folder_feed_linkurl",
170             "rel": "http://schemas.google.com/acl/2007#accessControlList"
171          } ],
172          "gd$lastModifiedBy": {
173             "email": {
174                "$t": "tester@testing.com"
175             },
176             "name": {
177                "$t": "tester"
178             }
179          },
180          "gd$lastViewed": {
181             "$t": "2011-11-02T04:37:38.469Z"
182          },
183          "gd$quotaBytesUsed": {
184             "$t": "0"
185          },
186          "gd$resourceId": {
187             "$t": "folder:new_folder_resource_id"
188          },
189          "id": {
190             "$t": "https://new_folder_id"
191          },
192          "link": [ {
193             "href": "https://1_folder_alternate_link",
194             "rel": "alternate",
195             "type": "text/html"
196          }, {
197             "href": "https://1_folder_resumable_create_media_link",
198             "rel": "http://schemas.google.com/g/2005#resumable-create-media",
199             "type": "application/atom+xml"
200          }, {
201             "href": "https://new_dir_self_link/folder%3Anew_folder_resource_id",
202             "rel": "self",
203             "type": "application/atom+xml"
204          }, {
205             "href": "https://new_dir_self_link/folder%3Anew_folder_resource_id",
206             "rel": "edit",
207             "type": "application/atom+xml"
208          } ],
209          "published": {
210             "$t": "2010-11-07T05:03:54.719Z"
211          },
212          "title": {
213             "$t": "New Directory"
214          },
215          "updated": {
216             "$t": "2011-04-01T18:34:08.234Z"
217          }
218       } ],
219       "gd$etag": "W/\"AkYGSHc8eyt7ImA9WhVXEU0.\"",
220       "gd$quotaBytesTotal": {
221          "$t": "215822106624"
222       },
223       "gd$quotaBytesUsed": {
224          "$t": "416375123"
225       },
226       "id": {
227          "$t": "https://docs.google.com/feeds/default/private/changes"
228       },
229       "link": [ {
230          "href": "https://docs.google.com/feeds/default/private/changes",
231          "rel": "http://schemas.google.com/g/2005#feed",
232          "type": "application/atom+xml"
233       }, {
234          "href": "https://docs.google.com/feeds/default/private/changes?alt=json&start-index=16718&max-results=1000",
235          "rel": "self",
236          "type": "application/atom+xml"
237       } ],
238       "openSearch$startIndex": {
239          "$t": "16718"
240       },
241       "openSearch$totalResults": {
242          "$t": "16730"
243       },
244       "title": {
245          "$t": "Changed Documents - tester@test.com"
246       },
247       "updated": {
248          "$t": "2012-04-11T01:35:29.973Z"
249       },
250       "xmlns": "http://www.w3.org/2005/Atom",
251       "xmlns$docs": "http://schemas.google.com/docs/2007",
252       "xmlns$gd": "http://schemas.google.com/g/2005",
253       "xmlns$openSearch": "http://a9.com/-/spec/opensearch/1.1/"
254    },
255    "version": "1.0"
256 }