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

Side by Side Diff: generated/googleapis/test/drive/v2_test.dart

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
1 library googleapis.drive.v2.test; 1 library googleapis.drive.v2.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 } 45 }
46 } 46 }
47 47
48 http.StreamedResponse stringResponse( 48 http.StreamedResponse stringResponse(
49 core.int status, core.Map headers, core.String body) { 49 core.int status, core.Map headers, core.String body) {
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
51 return new http.StreamedResponse(stream, status, headers: headers); 51 return new http.StreamedResponse(stream, status, headers: headers);
52 } 52 }
53 53
54 buildUnnamed822() { 54 buildUnnamed846() {
55 var o = new core.List<core.String>(); 55 var o = new core.List<core.String>();
56 o.add("foo"); 56 o.add("foo");
57 o.add("foo"); 57 o.add("foo");
58 return o; 58 return o;
59 } 59 }
60 60
61 checkUnnamed822(core.List<core.String> o) { 61 checkUnnamed846(core.List<core.String> o) {
62 unittest.expect(o, unittest.hasLength(2)); 62 unittest.expect(o, unittest.hasLength(2));
63 unittest.expect(o[0], unittest.equals('foo')); 63 unittest.expect(o[0], unittest.equals('foo'));
64 unittest.expect(o[1], unittest.equals('foo')); 64 unittest.expect(o[1], unittest.equals('foo'));
65 } 65 }
66 66
67 core.int buildCounterAboutAdditionalRoleInfoRoleSets = 0; 67 core.int buildCounterAboutAdditionalRoleInfoRoleSets = 0;
68 buildAboutAdditionalRoleInfoRoleSets() { 68 buildAboutAdditionalRoleInfoRoleSets() {
69 var o = new api.AboutAdditionalRoleInfoRoleSets(); 69 var o = new api.AboutAdditionalRoleInfoRoleSets();
70 buildCounterAboutAdditionalRoleInfoRoleSets++; 70 buildCounterAboutAdditionalRoleInfoRoleSets++;
71 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { 71 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
72 o.additionalRoles = buildUnnamed822(); 72 o.additionalRoles = buildUnnamed846();
73 o.primaryRole = "foo"; 73 o.primaryRole = "foo";
74 } 74 }
75 buildCounterAboutAdditionalRoleInfoRoleSets--; 75 buildCounterAboutAdditionalRoleInfoRoleSets--;
76 return o; 76 return o;
77 } 77 }
78 78
79 checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) { 79 checkAboutAdditionalRoleInfoRoleSets(api.AboutAdditionalRoleInfoRoleSets o) {
80 buildCounterAboutAdditionalRoleInfoRoleSets++; 80 buildCounterAboutAdditionalRoleInfoRoleSets++;
81 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) { 81 if (buildCounterAboutAdditionalRoleInfoRoleSets < 3) {
82 checkUnnamed822(o.additionalRoles); 82 checkUnnamed846(o.additionalRoles);
83 unittest.expect(o.primaryRole, unittest.equals('foo')); 83 unittest.expect(o.primaryRole, unittest.equals('foo'));
84 } 84 }
85 buildCounterAboutAdditionalRoleInfoRoleSets--; 85 buildCounterAboutAdditionalRoleInfoRoleSets--;
86 } 86 }
87 87
88 buildUnnamed823() { 88 buildUnnamed847() {
89 var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>(); 89 var o = new core.List<api.AboutAdditionalRoleInfoRoleSets>();
90 o.add(buildAboutAdditionalRoleInfoRoleSets()); 90 o.add(buildAboutAdditionalRoleInfoRoleSets());
91 o.add(buildAboutAdditionalRoleInfoRoleSets()); 91 o.add(buildAboutAdditionalRoleInfoRoleSets());
92 return o; 92 return o;
93 } 93 }
94 94
95 checkUnnamed823(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { 95 checkUnnamed847(core.List<api.AboutAdditionalRoleInfoRoleSets> o) {
96 unittest.expect(o, unittest.hasLength(2)); 96 unittest.expect(o, unittest.hasLength(2));
97 checkAboutAdditionalRoleInfoRoleSets(o[0]); 97 checkAboutAdditionalRoleInfoRoleSets(o[0]);
98 checkAboutAdditionalRoleInfoRoleSets(o[1]); 98 checkAboutAdditionalRoleInfoRoleSets(o[1]);
99 } 99 }
100 100
101 core.int buildCounterAboutAdditionalRoleInfo = 0; 101 core.int buildCounterAboutAdditionalRoleInfo = 0;
102 buildAboutAdditionalRoleInfo() { 102 buildAboutAdditionalRoleInfo() {
103 var o = new api.AboutAdditionalRoleInfo(); 103 var o = new api.AboutAdditionalRoleInfo();
104 buildCounterAboutAdditionalRoleInfo++; 104 buildCounterAboutAdditionalRoleInfo++;
105 if (buildCounterAboutAdditionalRoleInfo < 3) { 105 if (buildCounterAboutAdditionalRoleInfo < 3) {
106 o.roleSets = buildUnnamed823(); 106 o.roleSets = buildUnnamed847();
107 o.type = "foo"; 107 o.type = "foo";
108 } 108 }
109 buildCounterAboutAdditionalRoleInfo--; 109 buildCounterAboutAdditionalRoleInfo--;
110 return o; 110 return o;
111 } 111 }
112 112
113 checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) { 113 checkAboutAdditionalRoleInfo(api.AboutAdditionalRoleInfo o) {
114 buildCounterAboutAdditionalRoleInfo++; 114 buildCounterAboutAdditionalRoleInfo++;
115 if (buildCounterAboutAdditionalRoleInfo < 3) { 115 if (buildCounterAboutAdditionalRoleInfo < 3) {
116 checkUnnamed823(o.roleSets); 116 checkUnnamed847(o.roleSets);
117 unittest.expect(o.type, unittest.equals('foo')); 117 unittest.expect(o.type, unittest.equals('foo'));
118 } 118 }
119 buildCounterAboutAdditionalRoleInfo--; 119 buildCounterAboutAdditionalRoleInfo--;
120 } 120 }
121 121
122 buildUnnamed824() { 122 buildUnnamed848() {
123 var o = new core.List<api.AboutAdditionalRoleInfo>(); 123 var o = new core.List<api.AboutAdditionalRoleInfo>();
124 o.add(buildAboutAdditionalRoleInfo()); 124 o.add(buildAboutAdditionalRoleInfo());
125 o.add(buildAboutAdditionalRoleInfo()); 125 o.add(buildAboutAdditionalRoleInfo());
126 return o; 126 return o;
127 } 127 }
128 128
129 checkUnnamed824(core.List<api.AboutAdditionalRoleInfo> o) { 129 checkUnnamed848(core.List<api.AboutAdditionalRoleInfo> o) {
130 unittest.expect(o, unittest.hasLength(2)); 130 unittest.expect(o, unittest.hasLength(2));
131 checkAboutAdditionalRoleInfo(o[0]); 131 checkAboutAdditionalRoleInfo(o[0]);
132 checkAboutAdditionalRoleInfo(o[1]); 132 checkAboutAdditionalRoleInfo(o[1]);
133 } 133 }
134 134
135 buildUnnamed825() { 135 buildUnnamed849() {
136 var o = new core.List<core.String>(); 136 var o = new core.List<core.String>();
137 o.add("foo"); 137 o.add("foo");
138 o.add("foo"); 138 o.add("foo");
139 return o; 139 return o;
140 } 140 }
141 141
142 checkUnnamed825(core.List<core.String> o) { 142 checkUnnamed849(core.List<core.String> o) {
143 unittest.expect(o, unittest.hasLength(2)); 143 unittest.expect(o, unittest.hasLength(2));
144 unittest.expect(o[0], unittest.equals('foo')); 144 unittest.expect(o[0], unittest.equals('foo'));
145 unittest.expect(o[1], unittest.equals('foo')); 145 unittest.expect(o[1], unittest.equals('foo'));
146 } 146 }
147 147
148 core.int buildCounterAboutExportFormats = 0; 148 core.int buildCounterAboutExportFormats = 0;
149 buildAboutExportFormats() { 149 buildAboutExportFormats() {
150 var o = new api.AboutExportFormats(); 150 var o = new api.AboutExportFormats();
151 buildCounterAboutExportFormats++; 151 buildCounterAboutExportFormats++;
152 if (buildCounterAboutExportFormats < 3) { 152 if (buildCounterAboutExportFormats < 3) {
153 o.source = "foo"; 153 o.source = "foo";
154 o.targets = buildUnnamed825(); 154 o.targets = buildUnnamed849();
155 } 155 }
156 buildCounterAboutExportFormats--; 156 buildCounterAboutExportFormats--;
157 return o; 157 return o;
158 } 158 }
159 159
160 checkAboutExportFormats(api.AboutExportFormats o) { 160 checkAboutExportFormats(api.AboutExportFormats o) {
161 buildCounterAboutExportFormats++; 161 buildCounterAboutExportFormats++;
162 if (buildCounterAboutExportFormats < 3) { 162 if (buildCounterAboutExportFormats < 3) {
163 unittest.expect(o.source, unittest.equals('foo')); 163 unittest.expect(o.source, unittest.equals('foo'));
164 checkUnnamed825(o.targets); 164 checkUnnamed849(o.targets);
165 } 165 }
166 buildCounterAboutExportFormats--; 166 buildCounterAboutExportFormats--;
167 } 167 }
168 168
169 buildUnnamed826() { 169 buildUnnamed850() {
170 var o = new core.List<api.AboutExportFormats>(); 170 var o = new core.List<api.AboutExportFormats>();
171 o.add(buildAboutExportFormats()); 171 o.add(buildAboutExportFormats());
172 o.add(buildAboutExportFormats()); 172 o.add(buildAboutExportFormats());
173 return o; 173 return o;
174 } 174 }
175 175
176 checkUnnamed826(core.List<api.AboutExportFormats> o) { 176 checkUnnamed850(core.List<api.AboutExportFormats> o) {
177 unittest.expect(o, unittest.hasLength(2)); 177 unittest.expect(o, unittest.hasLength(2));
178 checkAboutExportFormats(o[0]); 178 checkAboutExportFormats(o[0]);
179 checkAboutExportFormats(o[1]); 179 checkAboutExportFormats(o[1]);
180 } 180 }
181 181
182 core.int buildCounterAboutFeatures = 0; 182 core.int buildCounterAboutFeatures = 0;
183 buildAboutFeatures() { 183 buildAboutFeatures() {
184 var o = new api.AboutFeatures(); 184 var o = new api.AboutFeatures();
185 buildCounterAboutFeatures++; 185 buildCounterAboutFeatures++;
186 if (buildCounterAboutFeatures < 3) { 186 if (buildCounterAboutFeatures < 3) {
187 o.featureName = "foo"; 187 o.featureName = "foo";
188 o.featureRate = 42.0; 188 o.featureRate = 42.0;
189 } 189 }
190 buildCounterAboutFeatures--; 190 buildCounterAboutFeatures--;
191 return o; 191 return o;
192 } 192 }
193 193
194 checkAboutFeatures(api.AboutFeatures o) { 194 checkAboutFeatures(api.AboutFeatures o) {
195 buildCounterAboutFeatures++; 195 buildCounterAboutFeatures++;
196 if (buildCounterAboutFeatures < 3) { 196 if (buildCounterAboutFeatures < 3) {
197 unittest.expect(o.featureName, unittest.equals('foo')); 197 unittest.expect(o.featureName, unittest.equals('foo'));
198 unittest.expect(o.featureRate, unittest.equals(42.0)); 198 unittest.expect(o.featureRate, unittest.equals(42.0));
199 } 199 }
200 buildCounterAboutFeatures--; 200 buildCounterAboutFeatures--;
201 } 201 }
202 202
203 buildUnnamed827() { 203 buildUnnamed851() {
204 var o = new core.List<api.AboutFeatures>(); 204 var o = new core.List<api.AboutFeatures>();
205 o.add(buildAboutFeatures()); 205 o.add(buildAboutFeatures());
206 o.add(buildAboutFeatures()); 206 o.add(buildAboutFeatures());
207 return o; 207 return o;
208 } 208 }
209 209
210 checkUnnamed827(core.List<api.AboutFeatures> o) { 210 checkUnnamed851(core.List<api.AboutFeatures> o) {
211 unittest.expect(o, unittest.hasLength(2)); 211 unittest.expect(o, unittest.hasLength(2));
212 checkAboutFeatures(o[0]); 212 checkAboutFeatures(o[0]);
213 checkAboutFeatures(o[1]); 213 checkAboutFeatures(o[1]);
214 } 214 }
215 215
216 buildUnnamed828() { 216 buildUnnamed852() {
217 var o = new core.List<core.String>(); 217 var o = new core.List<core.String>();
218 o.add("foo"); 218 o.add("foo");
219 o.add("foo"); 219 o.add("foo");
220 return o; 220 return o;
221 } 221 }
222 222
223 checkUnnamed828(core.List<core.String> o) { 223 checkUnnamed852(core.List<core.String> o) {
224 unittest.expect(o, unittest.hasLength(2)); 224 unittest.expect(o, unittest.hasLength(2));
225 unittest.expect(o[0], unittest.equals('foo')); 225 unittest.expect(o[0], unittest.equals('foo'));
226 unittest.expect(o[1], unittest.equals('foo')); 226 unittest.expect(o[1], unittest.equals('foo'));
227 } 227 }
228 228
229 buildUnnamed829() { 229 buildUnnamed853() {
230 var o = new core.List<core.String>(); 230 var o = new core.List<core.String>();
231 o.add("foo"); 231 o.add("foo");
232 o.add("foo"); 232 o.add("foo");
233 return o; 233 return o;
234 } 234 }
235 235
236 checkUnnamed829(core.List<core.String> o) { 236 checkUnnamed853(core.List<core.String> o) {
237 unittest.expect(o, unittest.hasLength(2)); 237 unittest.expect(o, unittest.hasLength(2));
238 unittest.expect(o[0], unittest.equals('foo')); 238 unittest.expect(o[0], unittest.equals('foo'));
239 unittest.expect(o[1], unittest.equals('foo')); 239 unittest.expect(o[1], unittest.equals('foo'));
240 } 240 }
241 241
242 core.int buildCounterAboutImportFormats = 0; 242 core.int buildCounterAboutImportFormats = 0;
243 buildAboutImportFormats() { 243 buildAboutImportFormats() {
244 var o = new api.AboutImportFormats(); 244 var o = new api.AboutImportFormats();
245 buildCounterAboutImportFormats++; 245 buildCounterAboutImportFormats++;
246 if (buildCounterAboutImportFormats < 3) { 246 if (buildCounterAboutImportFormats < 3) {
247 o.source = "foo"; 247 o.source = "foo";
248 o.targets = buildUnnamed829(); 248 o.targets = buildUnnamed853();
249 } 249 }
250 buildCounterAboutImportFormats--; 250 buildCounterAboutImportFormats--;
251 return o; 251 return o;
252 } 252 }
253 253
254 checkAboutImportFormats(api.AboutImportFormats o) { 254 checkAboutImportFormats(api.AboutImportFormats o) {
255 buildCounterAboutImportFormats++; 255 buildCounterAboutImportFormats++;
256 if (buildCounterAboutImportFormats < 3) { 256 if (buildCounterAboutImportFormats < 3) {
257 unittest.expect(o.source, unittest.equals('foo')); 257 unittest.expect(o.source, unittest.equals('foo'));
258 checkUnnamed829(o.targets); 258 checkUnnamed853(o.targets);
259 } 259 }
260 buildCounterAboutImportFormats--; 260 buildCounterAboutImportFormats--;
261 } 261 }
262 262
263 buildUnnamed830() { 263 buildUnnamed854() {
264 var o = new core.List<api.AboutImportFormats>(); 264 var o = new core.List<api.AboutImportFormats>();
265 o.add(buildAboutImportFormats()); 265 o.add(buildAboutImportFormats());
266 o.add(buildAboutImportFormats()); 266 o.add(buildAboutImportFormats());
267 return o; 267 return o;
268 } 268 }
269 269
270 checkUnnamed830(core.List<api.AboutImportFormats> o) { 270 checkUnnamed854(core.List<api.AboutImportFormats> o) {
271 unittest.expect(o, unittest.hasLength(2)); 271 unittest.expect(o, unittest.hasLength(2));
272 checkAboutImportFormats(o[0]); 272 checkAboutImportFormats(o[0]);
273 checkAboutImportFormats(o[1]); 273 checkAboutImportFormats(o[1]);
274 } 274 }
275 275
276 core.int buildCounterAboutMaxUploadSizes = 0; 276 core.int buildCounterAboutMaxUploadSizes = 0;
277 buildAboutMaxUploadSizes() { 277 buildAboutMaxUploadSizes() {
278 var o = new api.AboutMaxUploadSizes(); 278 var o = new api.AboutMaxUploadSizes();
279 buildCounterAboutMaxUploadSizes++; 279 buildCounterAboutMaxUploadSizes++;
280 if (buildCounterAboutMaxUploadSizes < 3) { 280 if (buildCounterAboutMaxUploadSizes < 3) {
281 o.size = "foo"; 281 o.size = "foo";
282 o.type = "foo"; 282 o.type = "foo";
283 } 283 }
284 buildCounterAboutMaxUploadSizes--; 284 buildCounterAboutMaxUploadSizes--;
285 return o; 285 return o;
286 } 286 }
287 287
288 checkAboutMaxUploadSizes(api.AboutMaxUploadSizes o) { 288 checkAboutMaxUploadSizes(api.AboutMaxUploadSizes o) {
289 buildCounterAboutMaxUploadSizes++; 289 buildCounterAboutMaxUploadSizes++;
290 if (buildCounterAboutMaxUploadSizes < 3) { 290 if (buildCounterAboutMaxUploadSizes < 3) {
291 unittest.expect(o.size, unittest.equals('foo')); 291 unittest.expect(o.size, unittest.equals('foo'));
292 unittest.expect(o.type, unittest.equals('foo')); 292 unittest.expect(o.type, unittest.equals('foo'));
293 } 293 }
294 buildCounterAboutMaxUploadSizes--; 294 buildCounterAboutMaxUploadSizes--;
295 } 295 }
296 296
297 buildUnnamed831() { 297 buildUnnamed855() {
298 var o = new core.List<api.AboutMaxUploadSizes>(); 298 var o = new core.List<api.AboutMaxUploadSizes>();
299 o.add(buildAboutMaxUploadSizes()); 299 o.add(buildAboutMaxUploadSizes());
300 o.add(buildAboutMaxUploadSizes()); 300 o.add(buildAboutMaxUploadSizes());
301 return o; 301 return o;
302 } 302 }
303 303
304 checkUnnamed831(core.List<api.AboutMaxUploadSizes> o) { 304 checkUnnamed855(core.List<api.AboutMaxUploadSizes> o) {
305 unittest.expect(o, unittest.hasLength(2)); 305 unittest.expect(o, unittest.hasLength(2));
306 checkAboutMaxUploadSizes(o[0]); 306 checkAboutMaxUploadSizes(o[0]);
307 checkAboutMaxUploadSizes(o[1]); 307 checkAboutMaxUploadSizes(o[1]);
308 } 308 }
309 309
310 core.int buildCounterAboutQuotaBytesByService = 0; 310 core.int buildCounterAboutQuotaBytesByService = 0;
311 buildAboutQuotaBytesByService() { 311 buildAboutQuotaBytesByService() {
312 var o = new api.AboutQuotaBytesByService(); 312 var o = new api.AboutQuotaBytesByService();
313 buildCounterAboutQuotaBytesByService++; 313 buildCounterAboutQuotaBytesByService++;
314 if (buildCounterAboutQuotaBytesByService < 3) { 314 if (buildCounterAboutQuotaBytesByService < 3) {
315 o.bytesUsed = "foo"; 315 o.bytesUsed = "foo";
316 o.serviceName = "foo"; 316 o.serviceName = "foo";
317 } 317 }
318 buildCounterAboutQuotaBytesByService--; 318 buildCounterAboutQuotaBytesByService--;
319 return o; 319 return o;
320 } 320 }
321 321
322 checkAboutQuotaBytesByService(api.AboutQuotaBytesByService o) { 322 checkAboutQuotaBytesByService(api.AboutQuotaBytesByService o) {
323 buildCounterAboutQuotaBytesByService++; 323 buildCounterAboutQuotaBytesByService++;
324 if (buildCounterAboutQuotaBytesByService < 3) { 324 if (buildCounterAboutQuotaBytesByService < 3) {
325 unittest.expect(o.bytesUsed, unittest.equals('foo')); 325 unittest.expect(o.bytesUsed, unittest.equals('foo'));
326 unittest.expect(o.serviceName, unittest.equals('foo')); 326 unittest.expect(o.serviceName, unittest.equals('foo'));
327 } 327 }
328 buildCounterAboutQuotaBytesByService--; 328 buildCounterAboutQuotaBytesByService--;
329 } 329 }
330 330
331 buildUnnamed832() { 331 buildUnnamed856() {
332 var o = new core.List<api.AboutQuotaBytesByService>(); 332 var o = new core.List<api.AboutQuotaBytesByService>();
333 o.add(buildAboutQuotaBytesByService()); 333 o.add(buildAboutQuotaBytesByService());
334 o.add(buildAboutQuotaBytesByService()); 334 o.add(buildAboutQuotaBytesByService());
335 return o; 335 return o;
336 } 336 }
337 337
338 checkUnnamed832(core.List<api.AboutQuotaBytesByService> o) { 338 checkUnnamed856(core.List<api.AboutQuotaBytesByService> o) {
339 unittest.expect(o, unittest.hasLength(2)); 339 unittest.expect(o, unittest.hasLength(2));
340 checkAboutQuotaBytesByService(o[0]); 340 checkAboutQuotaBytesByService(o[0]);
341 checkAboutQuotaBytesByService(o[1]); 341 checkAboutQuotaBytesByService(o[1]);
342 } 342 }
343 343
344 core.int buildCounterAbout = 0; 344 core.int buildCounterAbout = 0;
345 buildAbout() { 345 buildAbout() {
346 var o = new api.About(); 346 var o = new api.About();
347 buildCounterAbout++; 347 buildCounterAbout++;
348 if (buildCounterAbout < 3) { 348 if (buildCounterAbout < 3) {
349 o.additionalRoleInfo = buildUnnamed824(); 349 o.additionalRoleInfo = buildUnnamed848();
350 o.domainSharingPolicy = "foo"; 350 o.domainSharingPolicy = "foo";
351 o.etag = "foo"; 351 o.etag = "foo";
352 o.exportFormats = buildUnnamed826(); 352 o.exportFormats = buildUnnamed850();
353 o.features = buildUnnamed827(); 353 o.features = buildUnnamed851();
354 o.folderColorPalette = buildUnnamed828(); 354 o.folderColorPalette = buildUnnamed852();
355 o.importFormats = buildUnnamed830(); 355 o.importFormats = buildUnnamed854();
356 o.isCurrentAppInstalled = true; 356 o.isCurrentAppInstalled = true;
357 o.kind = "foo"; 357 o.kind = "foo";
358 o.languageCode = "foo"; 358 o.languageCode = "foo";
359 o.largestChangeId = "foo"; 359 o.largestChangeId = "foo";
360 o.maxUploadSizes = buildUnnamed831(); 360 o.maxUploadSizes = buildUnnamed855();
361 o.name = "foo"; 361 o.name = "foo";
362 o.permissionId = "foo"; 362 o.permissionId = "foo";
363 o.quotaBytesByService = buildUnnamed832(); 363 o.quotaBytesByService = buildUnnamed856();
364 o.quotaBytesTotal = "foo"; 364 o.quotaBytesTotal = "foo";
365 o.quotaBytesUsed = "foo"; 365 o.quotaBytesUsed = "foo";
366 o.quotaBytesUsedAggregate = "foo"; 366 o.quotaBytesUsedAggregate = "foo";
367 o.quotaBytesUsedInTrash = "foo"; 367 o.quotaBytesUsedInTrash = "foo";
368 o.quotaType = "foo"; 368 o.quotaType = "foo";
369 o.remainingChangeIds = "foo"; 369 o.remainingChangeIds = "foo";
370 o.rootFolderId = "foo"; 370 o.rootFolderId = "foo";
371 o.selfLink = "foo"; 371 o.selfLink = "foo";
372 o.user = buildUser(); 372 o.user = buildUser();
373 } 373 }
374 buildCounterAbout--; 374 buildCounterAbout--;
375 return o; 375 return o;
376 } 376 }
377 377
378 checkAbout(api.About o) { 378 checkAbout(api.About o) {
379 buildCounterAbout++; 379 buildCounterAbout++;
380 if (buildCounterAbout < 3) { 380 if (buildCounterAbout < 3) {
381 checkUnnamed824(o.additionalRoleInfo); 381 checkUnnamed848(o.additionalRoleInfo);
382 unittest.expect(o.domainSharingPolicy, unittest.equals('foo')); 382 unittest.expect(o.domainSharingPolicy, unittest.equals('foo'));
383 unittest.expect(o.etag, unittest.equals('foo')); 383 unittest.expect(o.etag, unittest.equals('foo'));
384 checkUnnamed826(o.exportFormats); 384 checkUnnamed850(o.exportFormats);
385 checkUnnamed827(o.features); 385 checkUnnamed851(o.features);
386 checkUnnamed828(o.folderColorPalette); 386 checkUnnamed852(o.folderColorPalette);
387 checkUnnamed830(o.importFormats); 387 checkUnnamed854(o.importFormats);
388 unittest.expect(o.isCurrentAppInstalled, unittest.isTrue); 388 unittest.expect(o.isCurrentAppInstalled, unittest.isTrue);
389 unittest.expect(o.kind, unittest.equals('foo')); 389 unittest.expect(o.kind, unittest.equals('foo'));
390 unittest.expect(o.languageCode, unittest.equals('foo')); 390 unittest.expect(o.languageCode, unittest.equals('foo'));
391 unittest.expect(o.largestChangeId, unittest.equals('foo')); 391 unittest.expect(o.largestChangeId, unittest.equals('foo'));
392 checkUnnamed831(o.maxUploadSizes); 392 checkUnnamed855(o.maxUploadSizes);
393 unittest.expect(o.name, unittest.equals('foo')); 393 unittest.expect(o.name, unittest.equals('foo'));
394 unittest.expect(o.permissionId, unittest.equals('foo')); 394 unittest.expect(o.permissionId, unittest.equals('foo'));
395 checkUnnamed832(o.quotaBytesByService); 395 checkUnnamed856(o.quotaBytesByService);
396 unittest.expect(o.quotaBytesTotal, unittest.equals('foo')); 396 unittest.expect(o.quotaBytesTotal, unittest.equals('foo'));
397 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); 397 unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
398 unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo')); 398 unittest.expect(o.quotaBytesUsedAggregate, unittest.equals('foo'));
399 unittest.expect(o.quotaBytesUsedInTrash, unittest.equals('foo')); 399 unittest.expect(o.quotaBytesUsedInTrash, unittest.equals('foo'));
400 unittest.expect(o.quotaType, unittest.equals('foo')); 400 unittest.expect(o.quotaType, unittest.equals('foo'));
401 unittest.expect(o.remainingChangeIds, unittest.equals('foo')); 401 unittest.expect(o.remainingChangeIds, unittest.equals('foo'));
402 unittest.expect(o.rootFolderId, unittest.equals('foo')); 402 unittest.expect(o.rootFolderId, unittest.equals('foo'));
403 unittest.expect(o.selfLink, unittest.equals('foo')); 403 unittest.expect(o.selfLink, unittest.equals('foo'));
404 checkUser(o.user); 404 checkUser(o.user);
405 } 405 }
(...skipping 16 matching lines...) Expand all
422 checkAppIcons(api.AppIcons o) { 422 checkAppIcons(api.AppIcons o) {
423 buildCounterAppIcons++; 423 buildCounterAppIcons++;
424 if (buildCounterAppIcons < 3) { 424 if (buildCounterAppIcons < 3) {
425 unittest.expect(o.category, unittest.equals('foo')); 425 unittest.expect(o.category, unittest.equals('foo'));
426 unittest.expect(o.iconUrl, unittest.equals('foo')); 426 unittest.expect(o.iconUrl, unittest.equals('foo'));
427 unittest.expect(o.size, unittest.equals(42)); 427 unittest.expect(o.size, unittest.equals(42));
428 } 428 }
429 buildCounterAppIcons--; 429 buildCounterAppIcons--;
430 } 430 }
431 431
432 buildUnnamed833() { 432 buildUnnamed857() {
433 var o = new core.List<api.AppIcons>(); 433 var o = new core.List<api.AppIcons>();
434 o.add(buildAppIcons()); 434 o.add(buildAppIcons());
435 o.add(buildAppIcons()); 435 o.add(buildAppIcons());
436 return o; 436 return o;
437 } 437 }
438 438
439 checkUnnamed833(core.List<api.AppIcons> o) { 439 checkUnnamed857(core.List<api.AppIcons> o) {
440 unittest.expect(o, unittest.hasLength(2)); 440 unittest.expect(o, unittest.hasLength(2));
441 checkAppIcons(o[0]); 441 checkAppIcons(o[0]);
442 checkAppIcons(o[1]); 442 checkAppIcons(o[1]);
443 } 443 }
444 444
445 buildUnnamed834() { 445 buildUnnamed858() {
446 var o = new core.List<core.String>(); 446 var o = new core.List<core.String>();
447 o.add("foo"); 447 o.add("foo");
448 o.add("foo"); 448 o.add("foo");
449 return o; 449 return o;
450 } 450 }
451 451
452 checkUnnamed834(core.List<core.String> o) { 452 checkUnnamed858(core.List<core.String> o) {
453 unittest.expect(o, unittest.hasLength(2)); 453 unittest.expect(o, unittest.hasLength(2));
454 unittest.expect(o[0], unittest.equals('foo')); 454 unittest.expect(o[0], unittest.equals('foo'));
455 unittest.expect(o[1], unittest.equals('foo')); 455 unittest.expect(o[1], unittest.equals('foo'));
456 } 456 }
457 457
458 buildUnnamed835() { 458 buildUnnamed859() {
459 var o = new core.List<core.String>(); 459 var o = new core.List<core.String>();
460 o.add("foo"); 460 o.add("foo");
461 o.add("foo"); 461 o.add("foo");
462 return o; 462 return o;
463 } 463 }
464 464
465 checkUnnamed835(core.List<core.String> o) { 465 checkUnnamed859(core.List<core.String> o) {
466 unittest.expect(o, unittest.hasLength(2)); 466 unittest.expect(o, unittest.hasLength(2));
467 unittest.expect(o[0], unittest.equals('foo')); 467 unittest.expect(o[0], unittest.equals('foo'));
468 unittest.expect(o[1], unittest.equals('foo')); 468 unittest.expect(o[1], unittest.equals('foo'));
469 } 469 }
470 470
471 buildUnnamed836() { 471 buildUnnamed860() {
472 var o = new core.List<core.String>(); 472 var o = new core.List<core.String>();
473 o.add("foo"); 473 o.add("foo");
474 o.add("foo"); 474 o.add("foo");
475 return o; 475 return o;
476 } 476 }
477 477
478 checkUnnamed836(core.List<core.String> o) { 478 checkUnnamed860(core.List<core.String> o) {
479 unittest.expect(o, unittest.hasLength(2)); 479 unittest.expect(o, unittest.hasLength(2));
480 unittest.expect(o[0], unittest.equals('foo')); 480 unittest.expect(o[0], unittest.equals('foo'));
481 unittest.expect(o[1], unittest.equals('foo')); 481 unittest.expect(o[1], unittest.equals('foo'));
482 } 482 }
483 483
484 buildUnnamed837() { 484 buildUnnamed861() {
485 var o = new core.List<core.String>(); 485 var o = new core.List<core.String>();
486 o.add("foo"); 486 o.add("foo");
487 o.add("foo"); 487 o.add("foo");
488 return o; 488 return o;
489 } 489 }
490 490
491 checkUnnamed837(core.List<core.String> o) { 491 checkUnnamed861(core.List<core.String> o) {
492 unittest.expect(o, unittest.hasLength(2)); 492 unittest.expect(o, unittest.hasLength(2));
493 unittest.expect(o[0], unittest.equals('foo')); 493 unittest.expect(o[0], unittest.equals('foo'));
494 unittest.expect(o[1], unittest.equals('foo')); 494 unittest.expect(o[1], unittest.equals('foo'));
495 } 495 }
496 496
497 core.int buildCounterApp = 0; 497 core.int buildCounterApp = 0;
498 buildApp() { 498 buildApp() {
499 var o = new api.App(); 499 var o = new api.App();
500 buildCounterApp++; 500 buildCounterApp++;
501 if (buildCounterApp < 3) { 501 if (buildCounterApp < 3) {
502 o.authorized = true; 502 o.authorized = true;
503 o.createInFolderTemplate = "foo"; 503 o.createInFolderTemplate = "foo";
504 o.createUrl = "foo"; 504 o.createUrl = "foo";
505 o.hasDriveWideScope = true; 505 o.hasDriveWideScope = true;
506 o.icons = buildUnnamed833(); 506 o.icons = buildUnnamed857();
507 o.id = "foo"; 507 o.id = "foo";
508 o.installed = true; 508 o.installed = true;
509 o.kind = "foo"; 509 o.kind = "foo";
510 o.longDescription = "foo"; 510 o.longDescription = "foo";
511 o.name = "foo"; 511 o.name = "foo";
512 o.objectType = "foo"; 512 o.objectType = "foo";
513 o.openUrlTemplate = "foo"; 513 o.openUrlTemplate = "foo";
514 o.primaryFileExtensions = buildUnnamed834(); 514 o.primaryFileExtensions = buildUnnamed858();
515 o.primaryMimeTypes = buildUnnamed835(); 515 o.primaryMimeTypes = buildUnnamed859();
516 o.productId = "foo"; 516 o.productId = "foo";
517 o.productUrl = "foo"; 517 o.productUrl = "foo";
518 o.secondaryFileExtensions = buildUnnamed836(); 518 o.secondaryFileExtensions = buildUnnamed860();
519 o.secondaryMimeTypes = buildUnnamed837(); 519 o.secondaryMimeTypes = buildUnnamed861();
520 o.shortDescription = "foo"; 520 o.shortDescription = "foo";
521 o.supportsCreate = true; 521 o.supportsCreate = true;
522 o.supportsImport = true; 522 o.supportsImport = true;
523 o.supportsMultiOpen = true; 523 o.supportsMultiOpen = true;
524 o.supportsOfflineCreate = true; 524 o.supportsOfflineCreate = true;
525 o.useByDefault = true; 525 o.useByDefault = true;
526 } 526 }
527 buildCounterApp--; 527 buildCounterApp--;
528 return o; 528 return o;
529 } 529 }
530 530
531 checkApp(api.App o) { 531 checkApp(api.App o) {
532 buildCounterApp++; 532 buildCounterApp++;
533 if (buildCounterApp < 3) { 533 if (buildCounterApp < 3) {
534 unittest.expect(o.authorized, unittest.isTrue); 534 unittest.expect(o.authorized, unittest.isTrue);
535 unittest.expect(o.createInFolderTemplate, unittest.equals('foo')); 535 unittest.expect(o.createInFolderTemplate, unittest.equals('foo'));
536 unittest.expect(o.createUrl, unittest.equals('foo')); 536 unittest.expect(o.createUrl, unittest.equals('foo'));
537 unittest.expect(o.hasDriveWideScope, unittest.isTrue); 537 unittest.expect(o.hasDriveWideScope, unittest.isTrue);
538 checkUnnamed833(o.icons); 538 checkUnnamed857(o.icons);
539 unittest.expect(o.id, unittest.equals('foo')); 539 unittest.expect(o.id, unittest.equals('foo'));
540 unittest.expect(o.installed, unittest.isTrue); 540 unittest.expect(o.installed, unittest.isTrue);
541 unittest.expect(o.kind, unittest.equals('foo')); 541 unittest.expect(o.kind, unittest.equals('foo'));
542 unittest.expect(o.longDescription, unittest.equals('foo')); 542 unittest.expect(o.longDescription, unittest.equals('foo'));
543 unittest.expect(o.name, unittest.equals('foo')); 543 unittest.expect(o.name, unittest.equals('foo'));
544 unittest.expect(o.objectType, unittest.equals('foo')); 544 unittest.expect(o.objectType, unittest.equals('foo'));
545 unittest.expect(o.openUrlTemplate, unittest.equals('foo')); 545 unittest.expect(o.openUrlTemplate, unittest.equals('foo'));
546 checkUnnamed834(o.primaryFileExtensions); 546 checkUnnamed858(o.primaryFileExtensions);
547 checkUnnamed835(o.primaryMimeTypes); 547 checkUnnamed859(o.primaryMimeTypes);
548 unittest.expect(o.productId, unittest.equals('foo')); 548 unittest.expect(o.productId, unittest.equals('foo'));
549 unittest.expect(o.productUrl, unittest.equals('foo')); 549 unittest.expect(o.productUrl, unittest.equals('foo'));
550 checkUnnamed836(o.secondaryFileExtensions); 550 checkUnnamed860(o.secondaryFileExtensions);
551 checkUnnamed837(o.secondaryMimeTypes); 551 checkUnnamed861(o.secondaryMimeTypes);
552 unittest.expect(o.shortDescription, unittest.equals('foo')); 552 unittest.expect(o.shortDescription, unittest.equals('foo'));
553 unittest.expect(o.supportsCreate, unittest.isTrue); 553 unittest.expect(o.supportsCreate, unittest.isTrue);
554 unittest.expect(o.supportsImport, unittest.isTrue); 554 unittest.expect(o.supportsImport, unittest.isTrue);
555 unittest.expect(o.supportsMultiOpen, unittest.isTrue); 555 unittest.expect(o.supportsMultiOpen, unittest.isTrue);
556 unittest.expect(o.supportsOfflineCreate, unittest.isTrue); 556 unittest.expect(o.supportsOfflineCreate, unittest.isTrue);
557 unittest.expect(o.useByDefault, unittest.isTrue); 557 unittest.expect(o.useByDefault, unittest.isTrue);
558 } 558 }
559 buildCounterApp--; 559 buildCounterApp--;
560 } 560 }
561 561
562 buildUnnamed838() { 562 buildUnnamed862() {
563 var o = new core.List<core.String>(); 563 var o = new core.List<core.String>();
564 o.add("foo"); 564 o.add("foo");
565 o.add("foo"); 565 o.add("foo");
566 return o; 566 return o;
567 } 567 }
568 568
569 checkUnnamed838(core.List<core.String> o) { 569 checkUnnamed862(core.List<core.String> o) {
570 unittest.expect(o, unittest.hasLength(2)); 570 unittest.expect(o, unittest.hasLength(2));
571 unittest.expect(o[0], unittest.equals('foo')); 571 unittest.expect(o[0], unittest.equals('foo'));
572 unittest.expect(o[1], unittest.equals('foo')); 572 unittest.expect(o[1], unittest.equals('foo'));
573 } 573 }
574 574
575 buildUnnamed839() { 575 buildUnnamed863() {
576 var o = new core.List<api.App>(); 576 var o = new core.List<api.App>();
577 o.add(buildApp()); 577 o.add(buildApp());
578 o.add(buildApp()); 578 o.add(buildApp());
579 return o; 579 return o;
580 } 580 }
581 581
582 checkUnnamed839(core.List<api.App> o) { 582 checkUnnamed863(core.List<api.App> o) {
583 unittest.expect(o, unittest.hasLength(2)); 583 unittest.expect(o, unittest.hasLength(2));
584 checkApp(o[0]); 584 checkApp(o[0]);
585 checkApp(o[1]); 585 checkApp(o[1]);
586 } 586 }
587 587
588 core.int buildCounterAppList = 0; 588 core.int buildCounterAppList = 0;
589 buildAppList() { 589 buildAppList() {
590 var o = new api.AppList(); 590 var o = new api.AppList();
591 buildCounterAppList++; 591 buildCounterAppList++;
592 if (buildCounterAppList < 3) { 592 if (buildCounterAppList < 3) {
593 o.defaultAppIds = buildUnnamed838(); 593 o.defaultAppIds = buildUnnamed862();
594 o.etag = "foo"; 594 o.etag = "foo";
595 o.items = buildUnnamed839(); 595 o.items = buildUnnamed863();
596 o.kind = "foo"; 596 o.kind = "foo";
597 o.selfLink = "foo"; 597 o.selfLink = "foo";
598 } 598 }
599 buildCounterAppList--; 599 buildCounterAppList--;
600 return o; 600 return o;
601 } 601 }
602 602
603 checkAppList(api.AppList o) { 603 checkAppList(api.AppList o) {
604 buildCounterAppList++; 604 buildCounterAppList++;
605 if (buildCounterAppList < 3) { 605 if (buildCounterAppList < 3) {
606 checkUnnamed838(o.defaultAppIds); 606 checkUnnamed862(o.defaultAppIds);
607 unittest.expect(o.etag, unittest.equals('foo')); 607 unittest.expect(o.etag, unittest.equals('foo'));
608 checkUnnamed839(o.items); 608 checkUnnamed863(o.items);
609 unittest.expect(o.kind, unittest.equals('foo')); 609 unittest.expect(o.kind, unittest.equals('foo'));
610 unittest.expect(o.selfLink, unittest.equals('foo')); 610 unittest.expect(o.selfLink, unittest.equals('foo'));
611 } 611 }
612 buildCounterAppList--; 612 buildCounterAppList--;
613 } 613 }
614 614
615 core.int buildCounterChange = 0; 615 core.int buildCounterChange = 0;
616 buildChange() { 616 buildChange() {
617 var o = new api.Change(); 617 var o = new api.Change();
618 buildCounterChange++; 618 buildCounterChange++;
(...skipping 17 matching lines...) Expand all
636 checkFile(o.file); 636 checkFile(o.file);
637 unittest.expect(o.fileId, unittest.equals('foo')); 637 unittest.expect(o.fileId, unittest.equals('foo'));
638 unittest.expect(o.id, unittest.equals('foo')); 638 unittest.expect(o.id, unittest.equals('foo'));
639 unittest.expect(o.kind, unittest.equals('foo')); 639 unittest.expect(o.kind, unittest.equals('foo'));
640 unittest.expect(o.modificationDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02"))); 640 unittest.expect(o.modificationDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02")));
641 unittest.expect(o.selfLink, unittest.equals('foo')); 641 unittest.expect(o.selfLink, unittest.equals('foo'));
642 } 642 }
643 buildCounterChange--; 643 buildCounterChange--;
644 } 644 }
645 645
646 buildUnnamed840() { 646 buildUnnamed864() {
647 var o = new core.List<api.Change>(); 647 var o = new core.List<api.Change>();
648 o.add(buildChange()); 648 o.add(buildChange());
649 o.add(buildChange()); 649 o.add(buildChange());
650 return o; 650 return o;
651 } 651 }
652 652
653 checkUnnamed840(core.List<api.Change> o) { 653 checkUnnamed864(core.List<api.Change> o) {
654 unittest.expect(o, unittest.hasLength(2)); 654 unittest.expect(o, unittest.hasLength(2));
655 checkChange(o[0]); 655 checkChange(o[0]);
656 checkChange(o[1]); 656 checkChange(o[1]);
657 } 657 }
658 658
659 core.int buildCounterChangeList = 0; 659 core.int buildCounterChangeList = 0;
660 buildChangeList() { 660 buildChangeList() {
661 var o = new api.ChangeList(); 661 var o = new api.ChangeList();
662 buildCounterChangeList++; 662 buildCounterChangeList++;
663 if (buildCounterChangeList < 3) { 663 if (buildCounterChangeList < 3) {
664 o.etag = "foo"; 664 o.etag = "foo";
665 o.items = buildUnnamed840(); 665 o.items = buildUnnamed864();
666 o.kind = "foo"; 666 o.kind = "foo";
667 o.largestChangeId = "foo"; 667 o.largestChangeId = "foo";
668 o.nextLink = "foo"; 668 o.nextLink = "foo";
669 o.nextPageToken = "foo"; 669 o.nextPageToken = "foo";
670 o.selfLink = "foo"; 670 o.selfLink = "foo";
671 } 671 }
672 buildCounterChangeList--; 672 buildCounterChangeList--;
673 return o; 673 return o;
674 } 674 }
675 675
676 checkChangeList(api.ChangeList o) { 676 checkChangeList(api.ChangeList o) {
677 buildCounterChangeList++; 677 buildCounterChangeList++;
678 if (buildCounterChangeList < 3) { 678 if (buildCounterChangeList < 3) {
679 unittest.expect(o.etag, unittest.equals('foo')); 679 unittest.expect(o.etag, unittest.equals('foo'));
680 checkUnnamed840(o.items); 680 checkUnnamed864(o.items);
681 unittest.expect(o.kind, unittest.equals('foo')); 681 unittest.expect(o.kind, unittest.equals('foo'));
682 unittest.expect(o.largestChangeId, unittest.equals('foo')); 682 unittest.expect(o.largestChangeId, unittest.equals('foo'));
683 unittest.expect(o.nextLink, unittest.equals('foo')); 683 unittest.expect(o.nextLink, unittest.equals('foo'));
684 unittest.expect(o.nextPageToken, unittest.equals('foo')); 684 unittest.expect(o.nextPageToken, unittest.equals('foo'));
685 unittest.expect(o.selfLink, unittest.equals('foo')); 685 unittest.expect(o.selfLink, unittest.equals('foo'));
686 } 686 }
687 buildCounterChangeList--; 687 buildCounterChangeList--;
688 } 688 }
689 689
690 buildUnnamed841() { 690 buildUnnamed865() {
691 var o = new core.Map<core.String, core.String>(); 691 var o = new core.Map<core.String, core.String>();
692 o["x"] = "foo"; 692 o["x"] = "foo";
693 o["y"] = "foo"; 693 o["y"] = "foo";
694 return o; 694 return o;
695 } 695 }
696 696
697 checkUnnamed841(core.Map<core.String, core.String> o) { 697 checkUnnamed865(core.Map<core.String, core.String> o) {
698 unittest.expect(o, unittest.hasLength(2)); 698 unittest.expect(o, unittest.hasLength(2));
699 unittest.expect(o["x"], unittest.equals('foo')); 699 unittest.expect(o["x"], unittest.equals('foo'));
700 unittest.expect(o["y"], unittest.equals('foo')); 700 unittest.expect(o["y"], unittest.equals('foo'));
701 } 701 }
702 702
703 core.int buildCounterChannel = 0; 703 core.int buildCounterChannel = 0;
704 buildChannel() { 704 buildChannel() {
705 var o = new api.Channel(); 705 var o = new api.Channel();
706 buildCounterChannel++; 706 buildCounterChannel++;
707 if (buildCounterChannel < 3) { 707 if (buildCounterChannel < 3) {
708 o.address = "foo"; 708 o.address = "foo";
709 o.expiration = "foo"; 709 o.expiration = "foo";
710 o.id = "foo"; 710 o.id = "foo";
711 o.kind = "foo"; 711 o.kind = "foo";
712 o.params = buildUnnamed841(); 712 o.params = buildUnnamed865();
713 o.payload = true; 713 o.payload = true;
714 o.resourceId = "foo"; 714 o.resourceId = "foo";
715 o.resourceUri = "foo"; 715 o.resourceUri = "foo";
716 o.token = "foo"; 716 o.token = "foo";
717 o.type = "foo"; 717 o.type = "foo";
718 } 718 }
719 buildCounterChannel--; 719 buildCounterChannel--;
720 return o; 720 return o;
721 } 721 }
722 722
723 checkChannel(api.Channel o) { 723 checkChannel(api.Channel o) {
724 buildCounterChannel++; 724 buildCounterChannel++;
725 if (buildCounterChannel < 3) { 725 if (buildCounterChannel < 3) {
726 unittest.expect(o.address, unittest.equals('foo')); 726 unittest.expect(o.address, unittest.equals('foo'));
727 unittest.expect(o.expiration, unittest.equals('foo')); 727 unittest.expect(o.expiration, unittest.equals('foo'));
728 unittest.expect(o.id, unittest.equals('foo')); 728 unittest.expect(o.id, unittest.equals('foo'));
729 unittest.expect(o.kind, unittest.equals('foo')); 729 unittest.expect(o.kind, unittest.equals('foo'));
730 checkUnnamed841(o.params); 730 checkUnnamed865(o.params);
731 unittest.expect(o.payload, unittest.isTrue); 731 unittest.expect(o.payload, unittest.isTrue);
732 unittest.expect(o.resourceId, unittest.equals('foo')); 732 unittest.expect(o.resourceId, unittest.equals('foo'));
733 unittest.expect(o.resourceUri, unittest.equals('foo')); 733 unittest.expect(o.resourceUri, unittest.equals('foo'));
734 unittest.expect(o.token, unittest.equals('foo')); 734 unittest.expect(o.token, unittest.equals('foo'));
735 unittest.expect(o.type, unittest.equals('foo')); 735 unittest.expect(o.type, unittest.equals('foo'));
736 } 736 }
737 buildCounterChannel--; 737 buildCounterChannel--;
738 } 738 }
739 739
740 buildUnnamed842() { 740 buildUnnamed866() {
741 var o = new core.List<api.ChildReference>(); 741 var o = new core.List<api.ChildReference>();
742 o.add(buildChildReference()); 742 o.add(buildChildReference());
743 o.add(buildChildReference()); 743 o.add(buildChildReference());
744 return o; 744 return o;
745 } 745 }
746 746
747 checkUnnamed842(core.List<api.ChildReference> o) { 747 checkUnnamed866(core.List<api.ChildReference> o) {
748 unittest.expect(o, unittest.hasLength(2)); 748 unittest.expect(o, unittest.hasLength(2));
749 checkChildReference(o[0]); 749 checkChildReference(o[0]);
750 checkChildReference(o[1]); 750 checkChildReference(o[1]);
751 } 751 }
752 752
753 core.int buildCounterChildList = 0; 753 core.int buildCounterChildList = 0;
754 buildChildList() { 754 buildChildList() {
755 var o = new api.ChildList(); 755 var o = new api.ChildList();
756 buildCounterChildList++; 756 buildCounterChildList++;
757 if (buildCounterChildList < 3) { 757 if (buildCounterChildList < 3) {
758 o.etag = "foo"; 758 o.etag = "foo";
759 o.items = buildUnnamed842(); 759 o.items = buildUnnamed866();
760 o.kind = "foo"; 760 o.kind = "foo";
761 o.nextLink = "foo"; 761 o.nextLink = "foo";
762 o.nextPageToken = "foo"; 762 o.nextPageToken = "foo";
763 o.selfLink = "foo"; 763 o.selfLink = "foo";
764 } 764 }
765 buildCounterChildList--; 765 buildCounterChildList--;
766 return o; 766 return o;
767 } 767 }
768 768
769 checkChildList(api.ChildList o) { 769 checkChildList(api.ChildList o) {
770 buildCounterChildList++; 770 buildCounterChildList++;
771 if (buildCounterChildList < 3) { 771 if (buildCounterChildList < 3) {
772 unittest.expect(o.etag, unittest.equals('foo')); 772 unittest.expect(o.etag, unittest.equals('foo'));
773 checkUnnamed842(o.items); 773 checkUnnamed866(o.items);
774 unittest.expect(o.kind, unittest.equals('foo')); 774 unittest.expect(o.kind, unittest.equals('foo'));
775 unittest.expect(o.nextLink, unittest.equals('foo')); 775 unittest.expect(o.nextLink, unittest.equals('foo'));
776 unittest.expect(o.nextPageToken, unittest.equals('foo')); 776 unittest.expect(o.nextPageToken, unittest.equals('foo'));
777 unittest.expect(o.selfLink, unittest.equals('foo')); 777 unittest.expect(o.selfLink, unittest.equals('foo'));
778 } 778 }
779 buildCounterChildList--; 779 buildCounterChildList--;
780 } 780 }
781 781
782 core.int buildCounterChildReference = 0; 782 core.int buildCounterChildReference = 0;
783 buildChildReference() { 783 buildChildReference() {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 818
819 checkCommentContext(api.CommentContext o) { 819 checkCommentContext(api.CommentContext o) {
820 buildCounterCommentContext++; 820 buildCounterCommentContext++;
821 if (buildCounterCommentContext < 3) { 821 if (buildCounterCommentContext < 3) {
822 unittest.expect(o.type, unittest.equals('foo')); 822 unittest.expect(o.type, unittest.equals('foo'));
823 unittest.expect(o.value, unittest.equals('foo')); 823 unittest.expect(o.value, unittest.equals('foo'));
824 } 824 }
825 buildCounterCommentContext--; 825 buildCounterCommentContext--;
826 } 826 }
827 827
828 buildUnnamed843() { 828 buildUnnamed867() {
829 var o = new core.List<api.CommentReply>(); 829 var o = new core.List<api.CommentReply>();
830 o.add(buildCommentReply()); 830 o.add(buildCommentReply());
831 o.add(buildCommentReply()); 831 o.add(buildCommentReply());
832 return o; 832 return o;
833 } 833 }
834 834
835 checkUnnamed843(core.List<api.CommentReply> o) { 835 checkUnnamed867(core.List<api.CommentReply> o) {
836 unittest.expect(o, unittest.hasLength(2)); 836 unittest.expect(o, unittest.hasLength(2));
837 checkCommentReply(o[0]); 837 checkCommentReply(o[0]);
838 checkCommentReply(o[1]); 838 checkCommentReply(o[1]);
839 } 839 }
840 840
841 core.int buildCounterComment = 0; 841 core.int buildCounterComment = 0;
842 buildComment() { 842 buildComment() {
843 var o = new api.Comment(); 843 var o = new api.Comment();
844 buildCounterComment++; 844 buildCounterComment++;
845 if (buildCounterComment < 3) { 845 if (buildCounterComment < 3) {
846 o.anchor = "foo"; 846 o.anchor = "foo";
847 o.author = buildUser(); 847 o.author = buildUser();
848 o.commentId = "foo"; 848 o.commentId = "foo";
849 o.content = "foo"; 849 o.content = "foo";
850 o.context = buildCommentContext(); 850 o.context = buildCommentContext();
851 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); 851 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02");
852 o.deleted = true; 852 o.deleted = true;
853 o.fileId = "foo"; 853 o.fileId = "foo";
854 o.fileTitle = "foo"; 854 o.fileTitle = "foo";
855 o.htmlContent = "foo"; 855 o.htmlContent = "foo";
856 o.kind = "foo"; 856 o.kind = "foo";
857 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); 857 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
858 o.replies = buildUnnamed843(); 858 o.replies = buildUnnamed867();
859 o.selfLink = "foo"; 859 o.selfLink = "foo";
860 o.status = "foo"; 860 o.status = "foo";
861 } 861 }
862 buildCounterComment--; 862 buildCounterComment--;
863 return o; 863 return o;
864 } 864 }
865 865
866 checkComment(api.Comment o) { 866 checkComment(api.Comment o) {
867 buildCounterComment++; 867 buildCounterComment++;
868 if (buildCounterComment < 3) { 868 if (buildCounterComment < 3) {
869 unittest.expect(o.anchor, unittest.equals('foo')); 869 unittest.expect(o.anchor, unittest.equals('foo'));
870 checkUser(o.author); 870 checkUser(o.author);
871 unittest.expect(o.commentId, unittest.equals('foo')); 871 unittest.expect(o.commentId, unittest.equals('foo'));
872 unittest.expect(o.content, unittest.equals('foo')); 872 unittest.expect(o.content, unittest.equals('foo'));
873 checkCommentContext(o.context); 873 checkCommentContext(o.context);
874 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02- 27T14:01:02"))); 874 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02- 27T14:01:02")));
875 unittest.expect(o.deleted, unittest.isTrue); 875 unittest.expect(o.deleted, unittest.isTrue);
876 unittest.expect(o.fileId, unittest.equals('foo')); 876 unittest.expect(o.fileId, unittest.equals('foo'));
877 unittest.expect(o.fileTitle, unittest.equals('foo')); 877 unittest.expect(o.fileTitle, unittest.equals('foo'));
878 unittest.expect(o.htmlContent, unittest.equals('foo')); 878 unittest.expect(o.htmlContent, unittest.equals('foo'));
879 unittest.expect(o.kind, unittest.equals('foo')); 879 unittest.expect(o.kind, unittest.equals('foo'));
880 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 880 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
881 checkUnnamed843(o.replies); 881 checkUnnamed867(o.replies);
882 unittest.expect(o.selfLink, unittest.equals('foo')); 882 unittest.expect(o.selfLink, unittest.equals('foo'));
883 unittest.expect(o.status, unittest.equals('foo')); 883 unittest.expect(o.status, unittest.equals('foo'));
884 } 884 }
885 buildCounterComment--; 885 buildCounterComment--;
886 } 886 }
887 887
888 buildUnnamed844() { 888 buildUnnamed868() {
889 var o = new core.List<api.Comment>(); 889 var o = new core.List<api.Comment>();
890 o.add(buildComment()); 890 o.add(buildComment());
891 o.add(buildComment()); 891 o.add(buildComment());
892 return o; 892 return o;
893 } 893 }
894 894
895 checkUnnamed844(core.List<api.Comment> o) { 895 checkUnnamed868(core.List<api.Comment> o) {
896 unittest.expect(o, unittest.hasLength(2)); 896 unittest.expect(o, unittest.hasLength(2));
897 checkComment(o[0]); 897 checkComment(o[0]);
898 checkComment(o[1]); 898 checkComment(o[1]);
899 } 899 }
900 900
901 core.int buildCounterCommentList = 0; 901 core.int buildCounterCommentList = 0;
902 buildCommentList() { 902 buildCommentList() {
903 var o = new api.CommentList(); 903 var o = new api.CommentList();
904 buildCounterCommentList++; 904 buildCounterCommentList++;
905 if (buildCounterCommentList < 3) { 905 if (buildCounterCommentList < 3) {
906 o.items = buildUnnamed844(); 906 o.items = buildUnnamed868();
907 o.kind = "foo"; 907 o.kind = "foo";
908 o.nextLink = "foo"; 908 o.nextLink = "foo";
909 o.nextPageToken = "foo"; 909 o.nextPageToken = "foo";
910 o.selfLink = "foo"; 910 o.selfLink = "foo";
911 } 911 }
912 buildCounterCommentList--; 912 buildCounterCommentList--;
913 return o; 913 return o;
914 } 914 }
915 915
916 checkCommentList(api.CommentList o) { 916 checkCommentList(api.CommentList o) {
917 buildCounterCommentList++; 917 buildCounterCommentList++;
918 if (buildCounterCommentList < 3) { 918 if (buildCounterCommentList < 3) {
919 checkUnnamed844(o.items); 919 checkUnnamed868(o.items);
920 unittest.expect(o.kind, unittest.equals('foo')); 920 unittest.expect(o.kind, unittest.equals('foo'));
921 unittest.expect(o.nextLink, unittest.equals('foo')); 921 unittest.expect(o.nextLink, unittest.equals('foo'));
922 unittest.expect(o.nextPageToken, unittest.equals('foo')); 922 unittest.expect(o.nextPageToken, unittest.equals('foo'));
923 unittest.expect(o.selfLink, unittest.equals('foo')); 923 unittest.expect(o.selfLink, unittest.equals('foo'));
924 } 924 }
925 buildCounterCommentList--; 925 buildCounterCommentList--;
926 } 926 }
927 927
928 core.int buildCounterCommentReply = 0; 928 core.int buildCounterCommentReply = 0;
929 buildCommentReply() { 929 buildCommentReply() {
(...skipping 23 matching lines...) Expand all
953 unittest.expect(o.deleted, unittest.isTrue); 953 unittest.expect(o.deleted, unittest.isTrue);
954 unittest.expect(o.htmlContent, unittest.equals('foo')); 954 unittest.expect(o.htmlContent, unittest.equals('foo'));
955 unittest.expect(o.kind, unittest.equals('foo')); 955 unittest.expect(o.kind, unittest.equals('foo'));
956 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 956 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
957 unittest.expect(o.replyId, unittest.equals('foo')); 957 unittest.expect(o.replyId, unittest.equals('foo'));
958 unittest.expect(o.verb, unittest.equals('foo')); 958 unittest.expect(o.verb, unittest.equals('foo'));
959 } 959 }
960 buildCounterCommentReply--; 960 buildCounterCommentReply--;
961 } 961 }
962 962
963 buildUnnamed845() { 963 buildUnnamed869() {
964 var o = new core.List<api.CommentReply>(); 964 var o = new core.List<api.CommentReply>();
965 o.add(buildCommentReply()); 965 o.add(buildCommentReply());
966 o.add(buildCommentReply()); 966 o.add(buildCommentReply());
967 return o; 967 return o;
968 } 968 }
969 969
970 checkUnnamed845(core.List<api.CommentReply> o) { 970 checkUnnamed869(core.List<api.CommentReply> o) {
971 unittest.expect(o, unittest.hasLength(2)); 971 unittest.expect(o, unittest.hasLength(2));
972 checkCommentReply(o[0]); 972 checkCommentReply(o[0]);
973 checkCommentReply(o[1]); 973 checkCommentReply(o[1]);
974 } 974 }
975 975
976 core.int buildCounterCommentReplyList = 0; 976 core.int buildCounterCommentReplyList = 0;
977 buildCommentReplyList() { 977 buildCommentReplyList() {
978 var o = new api.CommentReplyList(); 978 var o = new api.CommentReplyList();
979 buildCounterCommentReplyList++; 979 buildCounterCommentReplyList++;
980 if (buildCounterCommentReplyList < 3) { 980 if (buildCounterCommentReplyList < 3) {
981 o.items = buildUnnamed845(); 981 o.items = buildUnnamed869();
982 o.kind = "foo"; 982 o.kind = "foo";
983 o.nextLink = "foo"; 983 o.nextLink = "foo";
984 o.nextPageToken = "foo"; 984 o.nextPageToken = "foo";
985 o.selfLink = "foo"; 985 o.selfLink = "foo";
986 } 986 }
987 buildCounterCommentReplyList--; 987 buildCounterCommentReplyList--;
988 return o; 988 return o;
989 } 989 }
990 990
991 checkCommentReplyList(api.CommentReplyList o) { 991 checkCommentReplyList(api.CommentReplyList o) {
992 buildCounterCommentReplyList++; 992 buildCounterCommentReplyList++;
993 if (buildCounterCommentReplyList < 3) { 993 if (buildCounterCommentReplyList < 3) {
994 checkUnnamed845(o.items); 994 checkUnnamed869(o.items);
995 unittest.expect(o.kind, unittest.equals('foo')); 995 unittest.expect(o.kind, unittest.equals('foo'));
996 unittest.expect(o.nextLink, unittest.equals('foo')); 996 unittest.expect(o.nextLink, unittest.equals('foo'));
997 unittest.expect(o.nextPageToken, unittest.equals('foo')); 997 unittest.expect(o.nextPageToken, unittest.equals('foo'));
998 unittest.expect(o.selfLink, unittest.equals('foo')); 998 unittest.expect(o.selfLink, unittest.equals('foo'));
999 } 999 }
1000 buildCounterCommentReplyList--; 1000 buildCounterCommentReplyList--;
1001 } 1001 }
1002 1002
1003 buildUnnamed846() { 1003 buildUnnamed870() {
1004 var o = new core.Map<core.String, core.String>(); 1004 var o = new core.Map<core.String, core.String>();
1005 o["x"] = "foo"; 1005 o["x"] = "foo";
1006 o["y"] = "foo"; 1006 o["y"] = "foo";
1007 return o; 1007 return o;
1008 } 1008 }
1009 1009
1010 checkUnnamed846(core.Map<core.String, core.String> o) { 1010 checkUnnamed870(core.Map<core.String, core.String> o) {
1011 unittest.expect(o, unittest.hasLength(2)); 1011 unittest.expect(o, unittest.hasLength(2));
1012 unittest.expect(o["x"], unittest.equals('foo')); 1012 unittest.expect(o["x"], unittest.equals('foo'));
1013 unittest.expect(o["y"], unittest.equals('foo')); 1013 unittest.expect(o["y"], unittest.equals('foo'));
1014 } 1014 }
1015 1015
1016 core.int buildCounterFileImageMediaMetadataLocation = 0; 1016 core.int buildCounterFileImageMediaMetadataLocation = 0;
1017 buildFileImageMediaMetadataLocation() { 1017 buildFileImageMediaMetadataLocation() {
1018 var o = new api.FileImageMediaMetadataLocation(); 1018 var o = new api.FileImageMediaMetadataLocation();
1019 buildCounterFileImageMediaMetadataLocation++; 1019 buildCounterFileImageMediaMetadataLocation++;
1020 if (buildCounterFileImageMediaMetadataLocation < 3) { 1020 if (buildCounterFileImageMediaMetadataLocation < 3) {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 } 1113 }
1114 buildCounterFileIndexableText--; 1114 buildCounterFileIndexableText--;
1115 } 1115 }
1116 1116
1117 core.int buildCounterFileLabels = 0; 1117 core.int buildCounterFileLabels = 0;
1118 buildFileLabels() { 1118 buildFileLabels() {
1119 var o = new api.FileLabels(); 1119 var o = new api.FileLabels();
1120 buildCounterFileLabels++; 1120 buildCounterFileLabels++;
1121 if (buildCounterFileLabels < 3) { 1121 if (buildCounterFileLabels < 3) {
1122 o.hidden = true; 1122 o.hidden = true;
1123 o.modified = true;
1123 o.restricted = true; 1124 o.restricted = true;
1124 o.starred = true; 1125 o.starred = true;
1125 o.trashed = true; 1126 o.trashed = true;
1126 o.viewed = true; 1127 o.viewed = true;
1127 } 1128 }
1128 buildCounterFileLabels--; 1129 buildCounterFileLabels--;
1129 return o; 1130 return o;
1130 } 1131 }
1131 1132
1132 checkFileLabels(api.FileLabels o) { 1133 checkFileLabels(api.FileLabels o) {
1133 buildCounterFileLabels++; 1134 buildCounterFileLabels++;
1134 if (buildCounterFileLabels < 3) { 1135 if (buildCounterFileLabels < 3) {
1135 unittest.expect(o.hidden, unittest.isTrue); 1136 unittest.expect(o.hidden, unittest.isTrue);
1137 unittest.expect(o.modified, unittest.isTrue);
1136 unittest.expect(o.restricted, unittest.isTrue); 1138 unittest.expect(o.restricted, unittest.isTrue);
1137 unittest.expect(o.starred, unittest.isTrue); 1139 unittest.expect(o.starred, unittest.isTrue);
1138 unittest.expect(o.trashed, unittest.isTrue); 1140 unittest.expect(o.trashed, unittest.isTrue);
1139 unittest.expect(o.viewed, unittest.isTrue); 1141 unittest.expect(o.viewed, unittest.isTrue);
1140 } 1142 }
1141 buildCounterFileLabels--; 1143 buildCounterFileLabels--;
1142 } 1144 }
1143 1145
1144 buildUnnamed847() { 1146 buildUnnamed871() {
1145 var o = new core.Map<core.String, core.String>(); 1147 var o = new core.Map<core.String, core.String>();
1146 o["x"] = "foo"; 1148 o["x"] = "foo";
1147 o["y"] = "foo"; 1149 o["y"] = "foo";
1148 return o; 1150 return o;
1149 } 1151 }
1150 1152
1151 checkUnnamed847(core.Map<core.String, core.String> o) { 1153 checkUnnamed871(core.Map<core.String, core.String> o) {
1152 unittest.expect(o, unittest.hasLength(2)); 1154 unittest.expect(o, unittest.hasLength(2));
1153 unittest.expect(o["x"], unittest.equals('foo')); 1155 unittest.expect(o["x"], unittest.equals('foo'));
1154 unittest.expect(o["y"], unittest.equals('foo')); 1156 unittest.expect(o["y"], unittest.equals('foo'));
1155 } 1157 }
1156 1158
1157 buildUnnamed848() { 1159 buildUnnamed872() {
1158 var o = new core.List<core.String>(); 1160 var o = new core.List<core.String>();
1159 o.add("foo"); 1161 o.add("foo");
1160 o.add("foo"); 1162 o.add("foo");
1161 return o; 1163 return o;
1162 } 1164 }
1163 1165
1164 checkUnnamed848(core.List<core.String> o) { 1166 checkUnnamed872(core.List<core.String> o) {
1165 unittest.expect(o, unittest.hasLength(2)); 1167 unittest.expect(o, unittest.hasLength(2));
1166 unittest.expect(o[0], unittest.equals('foo')); 1168 unittest.expect(o[0], unittest.equals('foo'));
1167 unittest.expect(o[1], unittest.equals('foo')); 1169 unittest.expect(o[1], unittest.equals('foo'));
1168 } 1170 }
1169 1171
1170 buildUnnamed849() { 1172 buildUnnamed873() {
1171 var o = new core.List<api.User>(); 1173 var o = new core.List<api.User>();
1172 o.add(buildUser()); 1174 o.add(buildUser());
1173 o.add(buildUser()); 1175 o.add(buildUser());
1174 return o; 1176 return o;
1175 } 1177 }
1176 1178
1177 checkUnnamed849(core.List<api.User> o) { 1179 checkUnnamed873(core.List<api.User> o) {
1178 unittest.expect(o, unittest.hasLength(2)); 1180 unittest.expect(o, unittest.hasLength(2));
1179 checkUser(o[0]); 1181 checkUser(o[0]);
1180 checkUser(o[1]); 1182 checkUser(o[1]);
1181 } 1183 }
1182 1184
1183 buildUnnamed850() { 1185 buildUnnamed874() {
1184 var o = new core.List<api.ParentReference>(); 1186 var o = new core.List<api.ParentReference>();
1185 o.add(buildParentReference()); 1187 o.add(buildParentReference());
1186 o.add(buildParentReference()); 1188 o.add(buildParentReference());
1187 return o; 1189 return o;
1188 } 1190 }
1189 1191
1190 checkUnnamed850(core.List<api.ParentReference> o) { 1192 checkUnnamed874(core.List<api.ParentReference> o) {
1191 unittest.expect(o, unittest.hasLength(2)); 1193 unittest.expect(o, unittest.hasLength(2));
1192 checkParentReference(o[0]); 1194 checkParentReference(o[0]);
1193 checkParentReference(o[1]); 1195 checkParentReference(o[1]);
1194 } 1196 }
1195 1197
1196 buildUnnamed851() { 1198 buildUnnamed875() {
1197 var o = new core.List<api.Permission>(); 1199 var o = new core.List<api.Permission>();
1198 o.add(buildPermission()); 1200 o.add(buildPermission());
1199 o.add(buildPermission()); 1201 o.add(buildPermission());
1200 return o; 1202 return o;
1201 } 1203 }
1202 1204
1203 checkUnnamed851(core.List<api.Permission> o) { 1205 checkUnnamed875(core.List<api.Permission> o) {
1204 unittest.expect(o, unittest.hasLength(2)); 1206 unittest.expect(o, unittest.hasLength(2));
1205 checkPermission(o[0]); 1207 checkPermission(o[0]);
1206 checkPermission(o[1]); 1208 checkPermission(o[1]);
1207 } 1209 }
1208 1210
1209 buildUnnamed852() { 1211 buildUnnamed876() {
1210 var o = new core.List<api.Property>(); 1212 var o = new core.List<api.Property>();
1211 o.add(buildProperty()); 1213 o.add(buildProperty());
1212 o.add(buildProperty()); 1214 o.add(buildProperty());
1213 return o; 1215 return o;
1214 } 1216 }
1215 1217
1216 checkUnnamed852(core.List<api.Property> o) { 1218 checkUnnamed876(core.List<api.Property> o) {
1217 unittest.expect(o, unittest.hasLength(2)); 1219 unittest.expect(o, unittest.hasLength(2));
1218 checkProperty(o[0]); 1220 checkProperty(o[0]);
1219 checkProperty(o[1]); 1221 checkProperty(o[1]);
1220 } 1222 }
1221 1223
1222 buildUnnamed853() { 1224 buildUnnamed877() {
1223 var o = new core.List<core.String>(); 1225 var o = new core.List<core.String>();
1224 o.add("foo"); 1226 o.add("foo");
1225 o.add("foo"); 1227 o.add("foo");
1226 return o; 1228 return o;
1227 } 1229 }
1228 1230
1229 checkUnnamed853(core.List<core.String> o) { 1231 checkUnnamed877(core.List<core.String> o) {
1230 unittest.expect(o, unittest.hasLength(2)); 1232 unittest.expect(o, unittest.hasLength(2));
1231 unittest.expect(o[0], unittest.equals('foo')); 1233 unittest.expect(o[0], unittest.equals('foo'));
1232 unittest.expect(o[1], unittest.equals('foo')); 1234 unittest.expect(o[1], unittest.equals('foo'));
1233 } 1235 }
1234 1236
1235 core.int buildCounterFileThumbnail = 0; 1237 core.int buildCounterFileThumbnail = 0;
1236 buildFileThumbnail() { 1238 buildFileThumbnail() {
1237 var o = new api.FileThumbnail(); 1239 var o = new api.FileThumbnail();
1238 buildCounterFileThumbnail++; 1240 buildCounterFileThumbnail++;
1239 if (buildCounterFileThumbnail < 3) { 1241 if (buildCounterFileThumbnail < 3) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 o.canReadRevisions = true; 1289 o.canReadRevisions = true;
1288 o.copyable = true; 1290 o.copyable = true;
1289 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); 1291 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02");
1290 o.defaultOpenWithLink = "foo"; 1292 o.defaultOpenWithLink = "foo";
1291 o.description = "foo"; 1293 o.description = "foo";
1292 o.downloadUrl = "foo"; 1294 o.downloadUrl = "foo";
1293 o.editable = true; 1295 o.editable = true;
1294 o.embedLink = "foo"; 1296 o.embedLink = "foo";
1295 o.etag = "foo"; 1297 o.etag = "foo";
1296 o.explicitlyTrashed = true; 1298 o.explicitlyTrashed = true;
1297 o.exportLinks = buildUnnamed846(); 1299 o.exportLinks = buildUnnamed870();
1298 o.fileExtension = "foo"; 1300 o.fileExtension = "foo";
1299 o.fileSize = "foo"; 1301 o.fileSize = "foo";
1300 o.folderColorRgb = "foo"; 1302 o.folderColorRgb = "foo";
1301 o.fullFileExtension = "foo"; 1303 o.fullFileExtension = "foo";
1302 o.headRevisionId = "foo"; 1304 o.headRevisionId = "foo";
1303 o.iconLink = "foo"; 1305 o.iconLink = "foo";
1304 o.id = "foo"; 1306 o.id = "foo";
1305 o.imageMediaMetadata = buildFileImageMediaMetadata(); 1307 o.imageMediaMetadata = buildFileImageMediaMetadata();
1306 o.indexableText = buildFileIndexableText(); 1308 o.indexableText = buildFileIndexableText();
1307 o.isAppAuthorized = true; 1309 o.isAppAuthorized = true;
1308 o.kind = "foo"; 1310 o.kind = "foo";
1309 o.labels = buildFileLabels(); 1311 o.labels = buildFileLabels();
1310 o.lastModifyingUser = buildUser(); 1312 o.lastModifyingUser = buildUser();
1311 o.lastModifyingUserName = "foo"; 1313 o.lastModifyingUserName = "foo";
1312 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1314 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1313 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1315 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1314 o.md5Checksum = "foo"; 1316 o.md5Checksum = "foo";
1315 o.mimeType = "foo"; 1317 o.mimeType = "foo";
1316 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1318 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1317 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); 1319 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
1318 o.openWithLinks = buildUnnamed847(); 1320 o.openWithLinks = buildUnnamed871();
1319 o.originalFilename = "foo"; 1321 o.originalFilename = "foo";
1320 o.ownedByMe = true; 1322 o.ownedByMe = true;
1321 o.ownerNames = buildUnnamed848(); 1323 o.ownerNames = buildUnnamed872();
1322 o.owners = buildUnnamed849(); 1324 o.owners = buildUnnamed873();
1323 o.parents = buildUnnamed850(); 1325 o.parents = buildUnnamed874();
1324 o.permissions = buildUnnamed851(); 1326 o.permissions = buildUnnamed875();
1325 o.properties = buildUnnamed852(); 1327 o.properties = buildUnnamed876();
1326 o.quotaBytesUsed = "foo"; 1328 o.quotaBytesUsed = "foo";
1327 o.selfLink = "foo"; 1329 o.selfLink = "foo";
1328 o.shareable = true; 1330 o.shareable = true;
1329 o.shared = true; 1331 o.shared = true;
1330 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1332 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1331 o.sharingUser = buildUser(); 1333 o.sharingUser = buildUser();
1332 o.spaces = buildUnnamed853(); 1334 o.spaces = buildUnnamed877();
1333 o.thumbnail = buildFileThumbnail(); 1335 o.thumbnail = buildFileThumbnail();
1334 o.thumbnailLink = "foo"; 1336 o.thumbnailLink = "foo";
1335 o.title = "foo"; 1337 o.title = "foo";
1336 o.userPermission = buildPermission(); 1338 o.userPermission = buildPermission();
1337 o.version = "foo"; 1339 o.version = "foo";
1338 o.videoMediaMetadata = buildFileVideoMediaMetadata(); 1340 o.videoMediaMetadata = buildFileVideoMediaMetadata();
1339 o.webContentLink = "foo"; 1341 o.webContentLink = "foo";
1340 o.webViewLink = "foo"; 1342 o.webViewLink = "foo";
1341 o.writersCanShare = true; 1343 o.writersCanShare = true;
1342 } 1344 }
(...skipping 10 matching lines...) Expand all
1353 unittest.expect(o.canReadRevisions, unittest.isTrue); 1355 unittest.expect(o.canReadRevisions, unittest.isTrue);
1354 unittest.expect(o.copyable, unittest.isTrue); 1356 unittest.expect(o.copyable, unittest.isTrue);
1355 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02- 27T14:01:02"))); 1357 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02- 27T14:01:02")));
1356 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo')); 1358 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo'));
1357 unittest.expect(o.description, unittest.equals('foo')); 1359 unittest.expect(o.description, unittest.equals('foo'));
1358 unittest.expect(o.downloadUrl, unittest.equals('foo')); 1360 unittest.expect(o.downloadUrl, unittest.equals('foo'));
1359 unittest.expect(o.editable, unittest.isTrue); 1361 unittest.expect(o.editable, unittest.isTrue);
1360 unittest.expect(o.embedLink, unittest.equals('foo')); 1362 unittest.expect(o.embedLink, unittest.equals('foo'));
1361 unittest.expect(o.etag, unittest.equals('foo')); 1363 unittest.expect(o.etag, unittest.equals('foo'));
1362 unittest.expect(o.explicitlyTrashed, unittest.isTrue); 1364 unittest.expect(o.explicitlyTrashed, unittest.isTrue);
1363 checkUnnamed846(o.exportLinks); 1365 checkUnnamed870(o.exportLinks);
1364 unittest.expect(o.fileExtension, unittest.equals('foo')); 1366 unittest.expect(o.fileExtension, unittest.equals('foo'));
1365 unittest.expect(o.fileSize, unittest.equals('foo')); 1367 unittest.expect(o.fileSize, unittest.equals('foo'));
1366 unittest.expect(o.folderColorRgb, unittest.equals('foo')); 1368 unittest.expect(o.folderColorRgb, unittest.equals('foo'));
1367 unittest.expect(o.fullFileExtension, unittest.equals('foo')); 1369 unittest.expect(o.fullFileExtension, unittest.equals('foo'));
1368 unittest.expect(o.headRevisionId, unittest.equals('foo')); 1370 unittest.expect(o.headRevisionId, unittest.equals('foo'));
1369 unittest.expect(o.iconLink, unittest.equals('foo')); 1371 unittest.expect(o.iconLink, unittest.equals('foo'));
1370 unittest.expect(o.id, unittest.equals('foo')); 1372 unittest.expect(o.id, unittest.equals('foo'));
1371 checkFileImageMediaMetadata(o.imageMediaMetadata); 1373 checkFileImageMediaMetadata(o.imageMediaMetadata);
1372 checkFileIndexableText(o.indexableText); 1374 checkFileIndexableText(o.indexableText);
1373 unittest.expect(o.isAppAuthorized, unittest.isTrue); 1375 unittest.expect(o.isAppAuthorized, unittest.isTrue);
1374 unittest.expect(o.kind, unittest.equals('foo')); 1376 unittest.expect(o.kind, unittest.equals('foo'));
1375 checkFileLabels(o.labels); 1377 checkFileLabels(o.labels);
1376 checkUser(o.lastModifyingUser); 1378 checkUser(o.lastModifyingUser);
1377 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); 1379 unittest.expect(o.lastModifyingUserName, unittest.equals('foo'));
1378 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02"))); 1380 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02")));
1379 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse( "2002-02-27T14:01:02"))); 1381 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse( "2002-02-27T14:01:02")));
1380 unittest.expect(o.md5Checksum, unittest.equals('foo')); 1382 unittest.expect(o.md5Checksum, unittest.equals('foo'));
1381 unittest.expect(o.mimeType, unittest.equals('foo')); 1383 unittest.expect(o.mimeType, unittest.equals('foo'));
1382 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02"))); 1384 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02")));
1383 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 1385 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
1384 checkUnnamed847(o.openWithLinks); 1386 checkUnnamed871(o.openWithLinks);
1385 unittest.expect(o.originalFilename, unittest.equals('foo')); 1387 unittest.expect(o.originalFilename, unittest.equals('foo'));
1386 unittest.expect(o.ownedByMe, unittest.isTrue); 1388 unittest.expect(o.ownedByMe, unittest.isTrue);
1387 checkUnnamed848(o.ownerNames); 1389 checkUnnamed872(o.ownerNames);
1388 checkUnnamed849(o.owners); 1390 checkUnnamed873(o.owners);
1389 checkUnnamed850(o.parents); 1391 checkUnnamed874(o.parents);
1390 checkUnnamed851(o.permissions); 1392 checkUnnamed875(o.permissions);
1391 checkUnnamed852(o.properties); 1393 checkUnnamed876(o.properties);
1392 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); 1394 unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
1393 unittest.expect(o.selfLink, unittest.equals('foo')); 1395 unittest.expect(o.selfLink, unittest.equals('foo'));
1394 unittest.expect(o.shareable, unittest.isTrue); 1396 unittest.expect(o.shareable, unittest.isTrue);
1395 unittest.expect(o.shared, unittest.isTrue); 1397 unittest.expect(o.shared, unittest.isTrue);
1396 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02"))); 1398 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02")));
1397 checkUser(o.sharingUser); 1399 checkUser(o.sharingUser);
1398 checkUnnamed853(o.spaces); 1400 checkUnnamed877(o.spaces);
1399 checkFileThumbnail(o.thumbnail); 1401 checkFileThumbnail(o.thumbnail);
1400 unittest.expect(o.thumbnailLink, unittest.equals('foo')); 1402 unittest.expect(o.thumbnailLink, unittest.equals('foo'));
1401 unittest.expect(o.title, unittest.equals('foo')); 1403 unittest.expect(o.title, unittest.equals('foo'));
1402 checkPermission(o.userPermission); 1404 checkPermission(o.userPermission);
1403 unittest.expect(o.version, unittest.equals('foo')); 1405 unittest.expect(o.version, unittest.equals('foo'));
1404 checkFileVideoMediaMetadata(o.videoMediaMetadata); 1406 checkFileVideoMediaMetadata(o.videoMediaMetadata);
1405 unittest.expect(o.webContentLink, unittest.equals('foo')); 1407 unittest.expect(o.webContentLink, unittest.equals('foo'));
1406 unittest.expect(o.webViewLink, unittest.equals('foo')); 1408 unittest.expect(o.webViewLink, unittest.equals('foo'));
1407 unittest.expect(o.writersCanShare, unittest.isTrue); 1409 unittest.expect(o.writersCanShare, unittest.isTrue);
1408 } 1410 }
1409 buildCounterFile--; 1411 buildCounterFile--;
1410 } 1412 }
1411 1413
1412 buildUnnamed854() { 1414 buildUnnamed878() {
1413 var o = new core.List<api.File>(); 1415 var o = new core.List<api.File>();
1414 o.add(buildFile()); 1416 o.add(buildFile());
1415 o.add(buildFile()); 1417 o.add(buildFile());
1416 return o; 1418 return o;
1417 } 1419 }
1418 1420
1419 checkUnnamed854(core.List<api.File> o) { 1421 checkUnnamed878(core.List<api.File> o) {
1420 unittest.expect(o, unittest.hasLength(2)); 1422 unittest.expect(o, unittest.hasLength(2));
1421 checkFile(o[0]); 1423 checkFile(o[0]);
1422 checkFile(o[1]); 1424 checkFile(o[1]);
1423 } 1425 }
1424 1426
1425 core.int buildCounterFileList = 0; 1427 core.int buildCounterFileList = 0;
1426 buildFileList() { 1428 buildFileList() {
1427 var o = new api.FileList(); 1429 var o = new api.FileList();
1428 buildCounterFileList++; 1430 buildCounterFileList++;
1429 if (buildCounterFileList < 3) { 1431 if (buildCounterFileList < 3) {
1430 o.etag = "foo"; 1432 o.etag = "foo";
1431 o.items = buildUnnamed854(); 1433 o.items = buildUnnamed878();
1432 o.kind = "foo"; 1434 o.kind = "foo";
1433 o.nextLink = "foo"; 1435 o.nextLink = "foo";
1434 o.nextPageToken = "foo"; 1436 o.nextPageToken = "foo";
1435 o.selfLink = "foo"; 1437 o.selfLink = "foo";
1436 } 1438 }
1437 buildCounterFileList--; 1439 buildCounterFileList--;
1438 return o; 1440 return o;
1439 } 1441 }
1440 1442
1441 checkFileList(api.FileList o) { 1443 checkFileList(api.FileList o) {
1442 buildCounterFileList++; 1444 buildCounterFileList++;
1443 if (buildCounterFileList < 3) { 1445 if (buildCounterFileList < 3) {
1444 unittest.expect(o.etag, unittest.equals('foo')); 1446 unittest.expect(o.etag, unittest.equals('foo'));
1445 checkUnnamed854(o.items); 1447 checkUnnamed878(o.items);
1446 unittest.expect(o.kind, unittest.equals('foo')); 1448 unittest.expect(o.kind, unittest.equals('foo'));
1447 unittest.expect(o.nextLink, unittest.equals('foo')); 1449 unittest.expect(o.nextLink, unittest.equals('foo'));
1448 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1450 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1449 unittest.expect(o.selfLink, unittest.equals('foo')); 1451 unittest.expect(o.selfLink, unittest.equals('foo'));
1450 } 1452 }
1451 buildCounterFileList--; 1453 buildCounterFileList--;
1452 } 1454 }
1453 1455
1454 buildUnnamed855() { 1456 buildUnnamed879() {
1455 var o = new core.List<core.String>(); 1457 var o = new core.List<core.String>();
1456 o.add("foo"); 1458 o.add("foo");
1457 o.add("foo"); 1459 o.add("foo");
1458 return o; 1460 return o;
1459 } 1461 }
1460 1462
1461 checkUnnamed855(core.List<core.String> o) { 1463 checkUnnamed879(core.List<core.String> o) {
1462 unittest.expect(o, unittest.hasLength(2)); 1464 unittest.expect(o, unittest.hasLength(2));
1463 unittest.expect(o[0], unittest.equals('foo')); 1465 unittest.expect(o[0], unittest.equals('foo'));
1464 unittest.expect(o[1], unittest.equals('foo')); 1466 unittest.expect(o[1], unittest.equals('foo'));
1465 } 1467 }
1466 1468
1467 core.int buildCounterGeneratedIds = 0; 1469 core.int buildCounterGeneratedIds = 0;
1468 buildGeneratedIds() { 1470 buildGeneratedIds() {
1469 var o = new api.GeneratedIds(); 1471 var o = new api.GeneratedIds();
1470 buildCounterGeneratedIds++; 1472 buildCounterGeneratedIds++;
1471 if (buildCounterGeneratedIds < 3) { 1473 if (buildCounterGeneratedIds < 3) {
1472 o.ids = buildUnnamed855(); 1474 o.ids = buildUnnamed879();
1473 o.kind = "foo"; 1475 o.kind = "foo";
1474 o.space = "foo"; 1476 o.space = "foo";
1475 } 1477 }
1476 buildCounterGeneratedIds--; 1478 buildCounterGeneratedIds--;
1477 return o; 1479 return o;
1478 } 1480 }
1479 1481
1480 checkGeneratedIds(api.GeneratedIds o) { 1482 checkGeneratedIds(api.GeneratedIds o) {
1481 buildCounterGeneratedIds++; 1483 buildCounterGeneratedIds++;
1482 if (buildCounterGeneratedIds < 3) { 1484 if (buildCounterGeneratedIds < 3) {
1483 checkUnnamed855(o.ids); 1485 checkUnnamed879(o.ids);
1484 unittest.expect(o.kind, unittest.equals('foo')); 1486 unittest.expect(o.kind, unittest.equals('foo'));
1485 unittest.expect(o.space, unittest.equals('foo')); 1487 unittest.expect(o.space, unittest.equals('foo'));
1486 } 1488 }
1487 buildCounterGeneratedIds--; 1489 buildCounterGeneratedIds--;
1488 } 1490 }
1489 1491
1490 buildUnnamed856() { 1492 buildUnnamed880() {
1491 var o = new core.List<api.ParentReference>(); 1493 var o = new core.List<api.ParentReference>();
1492 o.add(buildParentReference()); 1494 o.add(buildParentReference());
1493 o.add(buildParentReference()); 1495 o.add(buildParentReference());
1494 return o; 1496 return o;
1495 } 1497 }
1496 1498
1497 checkUnnamed856(core.List<api.ParentReference> o) { 1499 checkUnnamed880(core.List<api.ParentReference> o) {
1498 unittest.expect(o, unittest.hasLength(2)); 1500 unittest.expect(o, unittest.hasLength(2));
1499 checkParentReference(o[0]); 1501 checkParentReference(o[0]);
1500 checkParentReference(o[1]); 1502 checkParentReference(o[1]);
1501 } 1503 }
1502 1504
1503 core.int buildCounterParentList = 0; 1505 core.int buildCounterParentList = 0;
1504 buildParentList() { 1506 buildParentList() {
1505 var o = new api.ParentList(); 1507 var o = new api.ParentList();
1506 buildCounterParentList++; 1508 buildCounterParentList++;
1507 if (buildCounterParentList < 3) { 1509 if (buildCounterParentList < 3) {
1508 o.etag = "foo"; 1510 o.etag = "foo";
1509 o.items = buildUnnamed856(); 1511 o.items = buildUnnamed880();
1510 o.kind = "foo"; 1512 o.kind = "foo";
1511 o.selfLink = "foo"; 1513 o.selfLink = "foo";
1512 } 1514 }
1513 buildCounterParentList--; 1515 buildCounterParentList--;
1514 return o; 1516 return o;
1515 } 1517 }
1516 1518
1517 checkParentList(api.ParentList o) { 1519 checkParentList(api.ParentList o) {
1518 buildCounterParentList++; 1520 buildCounterParentList++;
1519 if (buildCounterParentList < 3) { 1521 if (buildCounterParentList < 3) {
1520 unittest.expect(o.etag, unittest.equals('foo')); 1522 unittest.expect(o.etag, unittest.equals('foo'));
1521 checkUnnamed856(o.items); 1523 checkUnnamed880(o.items);
1522 unittest.expect(o.kind, unittest.equals('foo')); 1524 unittest.expect(o.kind, unittest.equals('foo'));
1523 unittest.expect(o.selfLink, unittest.equals('foo')); 1525 unittest.expect(o.selfLink, unittest.equals('foo'));
1524 } 1526 }
1525 buildCounterParentList--; 1527 buildCounterParentList--;
1526 } 1528 }
1527 1529
1528 core.int buildCounterParentReference = 0; 1530 core.int buildCounterParentReference = 0;
1529 buildParentReference() { 1531 buildParentReference() {
1530 var o = new api.ParentReference(); 1532 var o = new api.ParentReference();
1531 buildCounterParentReference++; 1533 buildCounterParentReference++;
(...skipping 13 matching lines...) Expand all
1545 if (buildCounterParentReference < 3) { 1547 if (buildCounterParentReference < 3) {
1546 unittest.expect(o.id, unittest.equals('foo')); 1548 unittest.expect(o.id, unittest.equals('foo'));
1547 unittest.expect(o.isRoot, unittest.isTrue); 1549 unittest.expect(o.isRoot, unittest.isTrue);
1548 unittest.expect(o.kind, unittest.equals('foo')); 1550 unittest.expect(o.kind, unittest.equals('foo'));
1549 unittest.expect(o.parentLink, unittest.equals('foo')); 1551 unittest.expect(o.parentLink, unittest.equals('foo'));
1550 unittest.expect(o.selfLink, unittest.equals('foo')); 1552 unittest.expect(o.selfLink, unittest.equals('foo'));
1551 } 1553 }
1552 buildCounterParentReference--; 1554 buildCounterParentReference--;
1553 } 1555 }
1554 1556
1555 buildUnnamed857() { 1557 buildUnnamed881() {
1556 var o = new core.List<core.String>(); 1558 var o = new core.List<core.String>();
1557 o.add("foo"); 1559 o.add("foo");
1558 o.add("foo"); 1560 o.add("foo");
1559 return o; 1561 return o;
1560 } 1562 }
1561 1563
1562 checkUnnamed857(core.List<core.String> o) { 1564 checkUnnamed881(core.List<core.String> o) {
1563 unittest.expect(o, unittest.hasLength(2)); 1565 unittest.expect(o, unittest.hasLength(2));
1564 unittest.expect(o[0], unittest.equals('foo')); 1566 unittest.expect(o[0], unittest.equals('foo'));
1565 unittest.expect(o[1], unittest.equals('foo')); 1567 unittest.expect(o[1], unittest.equals('foo'));
1566 } 1568 }
1567 1569
1568 core.int buildCounterPermission = 0; 1570 core.int buildCounterPermission = 0;
1569 buildPermission() { 1571 buildPermission() {
1570 var o = new api.Permission(); 1572 var o = new api.Permission();
1571 buildCounterPermission++; 1573 buildCounterPermission++;
1572 if (buildCounterPermission < 3) { 1574 if (buildCounterPermission < 3) {
1573 o.additionalRoles = buildUnnamed857(); 1575 o.additionalRoles = buildUnnamed881();
1574 o.authKey = "foo"; 1576 o.authKey = "foo";
1575 o.domain = "foo"; 1577 o.domain = "foo";
1576 o.emailAddress = "foo"; 1578 o.emailAddress = "foo";
1577 o.etag = "foo"; 1579 o.etag = "foo";
1578 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02"); 1580 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02");
1579 o.id = "foo"; 1581 o.id = "foo";
1580 o.kind = "foo"; 1582 o.kind = "foo";
1581 o.name = "foo"; 1583 o.name = "foo";
1582 o.photoLink = "foo"; 1584 o.photoLink = "foo";
1583 o.role = "foo"; 1585 o.role = "foo";
1584 o.selfLink = "foo"; 1586 o.selfLink = "foo";
1585 o.type = "foo"; 1587 o.type = "foo";
1586 o.value = "foo"; 1588 o.value = "foo";
1587 o.withLink = true; 1589 o.withLink = true;
1588 } 1590 }
1589 buildCounterPermission--; 1591 buildCounterPermission--;
1590 return o; 1592 return o;
1591 } 1593 }
1592 1594
1593 checkPermission(api.Permission o) { 1595 checkPermission(api.Permission o) {
1594 buildCounterPermission++; 1596 buildCounterPermission++;
1595 if (buildCounterPermission < 3) { 1597 if (buildCounterPermission < 3) {
1596 checkUnnamed857(o.additionalRoles); 1598 checkUnnamed881(o.additionalRoles);
1597 unittest.expect(o.authKey, unittest.equals('foo')); 1599 unittest.expect(o.authKey, unittest.equals('foo'));
1598 unittest.expect(o.domain, unittest.equals('foo')); 1600 unittest.expect(o.domain, unittest.equals('foo'));
1599 unittest.expect(o.emailAddress, unittest.equals('foo')); 1601 unittest.expect(o.emailAddress, unittest.equals('foo'));
1600 unittest.expect(o.etag, unittest.equals('foo')); 1602 unittest.expect(o.etag, unittest.equals('foo'));
1601 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002- 02-27T14:01:02"))); 1603 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002- 02-27T14:01:02")));
1602 unittest.expect(o.id, unittest.equals('foo')); 1604 unittest.expect(o.id, unittest.equals('foo'));
1603 unittest.expect(o.kind, unittest.equals('foo')); 1605 unittest.expect(o.kind, unittest.equals('foo'));
1604 unittest.expect(o.name, unittest.equals('foo')); 1606 unittest.expect(o.name, unittest.equals('foo'));
1605 unittest.expect(o.photoLink, unittest.equals('foo')); 1607 unittest.expect(o.photoLink, unittest.equals('foo'));
1606 unittest.expect(o.role, unittest.equals('foo')); 1608 unittest.expect(o.role, unittest.equals('foo'));
(...skipping 19 matching lines...) Expand all
1626 1628
1627 checkPermissionId(api.PermissionId o) { 1629 checkPermissionId(api.PermissionId o) {
1628 buildCounterPermissionId++; 1630 buildCounterPermissionId++;
1629 if (buildCounterPermissionId < 3) { 1631 if (buildCounterPermissionId < 3) {
1630 unittest.expect(o.id, unittest.equals('foo')); 1632 unittest.expect(o.id, unittest.equals('foo'));
1631 unittest.expect(o.kind, unittest.equals('foo')); 1633 unittest.expect(o.kind, unittest.equals('foo'));
1632 } 1634 }
1633 buildCounterPermissionId--; 1635 buildCounterPermissionId--;
1634 } 1636 }
1635 1637
1636 buildUnnamed858() { 1638 buildUnnamed882() {
1637 var o = new core.List<api.Permission>(); 1639 var o = new core.List<api.Permission>();
1638 o.add(buildPermission()); 1640 o.add(buildPermission());
1639 o.add(buildPermission()); 1641 o.add(buildPermission());
1640 return o; 1642 return o;
1641 } 1643 }
1642 1644
1643 checkUnnamed858(core.List<api.Permission> o) { 1645 checkUnnamed882(core.List<api.Permission> o) {
1644 unittest.expect(o, unittest.hasLength(2)); 1646 unittest.expect(o, unittest.hasLength(2));
1645 checkPermission(o[0]); 1647 checkPermission(o[0]);
1646 checkPermission(o[1]); 1648 checkPermission(o[1]);
1647 } 1649 }
1648 1650
1649 core.int buildCounterPermissionList = 0; 1651 core.int buildCounterPermissionList = 0;
1650 buildPermissionList() { 1652 buildPermissionList() {
1651 var o = new api.PermissionList(); 1653 var o = new api.PermissionList();
1652 buildCounterPermissionList++; 1654 buildCounterPermissionList++;
1653 if (buildCounterPermissionList < 3) { 1655 if (buildCounterPermissionList < 3) {
1654 o.etag = "foo"; 1656 o.etag = "foo";
1655 o.items = buildUnnamed858(); 1657 o.items = buildUnnamed882();
1656 o.kind = "foo"; 1658 o.kind = "foo";
1657 o.selfLink = "foo"; 1659 o.selfLink = "foo";
1658 } 1660 }
1659 buildCounterPermissionList--; 1661 buildCounterPermissionList--;
1660 return o; 1662 return o;
1661 } 1663 }
1662 1664
1663 checkPermissionList(api.PermissionList o) { 1665 checkPermissionList(api.PermissionList o) {
1664 buildCounterPermissionList++; 1666 buildCounterPermissionList++;
1665 if (buildCounterPermissionList < 3) { 1667 if (buildCounterPermissionList < 3) {
1666 unittest.expect(o.etag, unittest.equals('foo')); 1668 unittest.expect(o.etag, unittest.equals('foo'));
1667 checkUnnamed858(o.items); 1669 checkUnnamed882(o.items);
1668 unittest.expect(o.kind, unittest.equals('foo')); 1670 unittest.expect(o.kind, unittest.equals('foo'));
1669 unittest.expect(o.selfLink, unittest.equals('foo')); 1671 unittest.expect(o.selfLink, unittest.equals('foo'));
1670 } 1672 }
1671 buildCounterPermissionList--; 1673 buildCounterPermissionList--;
1672 } 1674 }
1673 1675
1674 core.int buildCounterProperty = 0; 1676 core.int buildCounterProperty = 0;
1675 buildProperty() { 1677 buildProperty() {
1676 var o = new api.Property(); 1678 var o = new api.Property();
1677 buildCounterProperty++; 1679 buildCounterProperty++;
(...skipping 15 matching lines...) Expand all
1693 unittest.expect(o.etag, unittest.equals('foo')); 1695 unittest.expect(o.etag, unittest.equals('foo'));
1694 unittest.expect(o.key, unittest.equals('foo')); 1696 unittest.expect(o.key, unittest.equals('foo'));
1695 unittest.expect(o.kind, unittest.equals('foo')); 1697 unittest.expect(o.kind, unittest.equals('foo'));
1696 unittest.expect(o.selfLink, unittest.equals('foo')); 1698 unittest.expect(o.selfLink, unittest.equals('foo'));
1697 unittest.expect(o.value, unittest.equals('foo')); 1699 unittest.expect(o.value, unittest.equals('foo'));
1698 unittest.expect(o.visibility, unittest.equals('foo')); 1700 unittest.expect(o.visibility, unittest.equals('foo'));
1699 } 1701 }
1700 buildCounterProperty--; 1702 buildCounterProperty--;
1701 } 1703 }
1702 1704
1703 buildUnnamed859() { 1705 buildUnnamed883() {
1704 var o = new core.List<api.Property>(); 1706 var o = new core.List<api.Property>();
1705 o.add(buildProperty()); 1707 o.add(buildProperty());
1706 o.add(buildProperty()); 1708 o.add(buildProperty());
1707 return o; 1709 return o;
1708 } 1710 }
1709 1711
1710 checkUnnamed859(core.List<api.Property> o) { 1712 checkUnnamed883(core.List<api.Property> o) {
1711 unittest.expect(o, unittest.hasLength(2)); 1713 unittest.expect(o, unittest.hasLength(2));
1712 checkProperty(o[0]); 1714 checkProperty(o[0]);
1713 checkProperty(o[1]); 1715 checkProperty(o[1]);
1714 } 1716 }
1715 1717
1716 core.int buildCounterPropertyList = 0; 1718 core.int buildCounterPropertyList = 0;
1717 buildPropertyList() { 1719 buildPropertyList() {
1718 var o = new api.PropertyList(); 1720 var o = new api.PropertyList();
1719 buildCounterPropertyList++; 1721 buildCounterPropertyList++;
1720 if (buildCounterPropertyList < 3) { 1722 if (buildCounterPropertyList < 3) {
1721 o.etag = "foo"; 1723 o.etag = "foo";
1722 o.items = buildUnnamed859(); 1724 o.items = buildUnnamed883();
1723 o.kind = "foo"; 1725 o.kind = "foo";
1724 o.selfLink = "foo"; 1726 o.selfLink = "foo";
1725 } 1727 }
1726 buildCounterPropertyList--; 1728 buildCounterPropertyList--;
1727 return o; 1729 return o;
1728 } 1730 }
1729 1731
1730 checkPropertyList(api.PropertyList o) { 1732 checkPropertyList(api.PropertyList o) {
1731 buildCounterPropertyList++; 1733 buildCounterPropertyList++;
1732 if (buildCounterPropertyList < 3) { 1734 if (buildCounterPropertyList < 3) {
1733 unittest.expect(o.etag, unittest.equals('foo')); 1735 unittest.expect(o.etag, unittest.equals('foo'));
1734 checkUnnamed859(o.items); 1736 checkUnnamed883(o.items);
1735 unittest.expect(o.kind, unittest.equals('foo')); 1737 unittest.expect(o.kind, unittest.equals('foo'));
1736 unittest.expect(o.selfLink, unittest.equals('foo')); 1738 unittest.expect(o.selfLink, unittest.equals('foo'));
1737 } 1739 }
1738 buildCounterPropertyList--; 1740 buildCounterPropertyList--;
1739 } 1741 }
1740 1742
1741 buildUnnamed860() { 1743 buildUnnamed884() {
1742 var o = new core.Map<core.String, core.String>(); 1744 var o = new core.Map<core.String, core.String>();
1743 o["x"] = "foo"; 1745 o["x"] = "foo";
1744 o["y"] = "foo"; 1746 o["y"] = "foo";
1745 return o; 1747 return o;
1746 } 1748 }
1747 1749
1748 checkUnnamed860(core.Map<core.String, core.String> o) { 1750 checkUnnamed884(core.Map<core.String, core.String> o) {
1749 unittest.expect(o, unittest.hasLength(2)); 1751 unittest.expect(o, unittest.hasLength(2));
1750 unittest.expect(o["x"], unittest.equals('foo')); 1752 unittest.expect(o["x"], unittest.equals('foo'));
1751 unittest.expect(o["y"], unittest.equals('foo')); 1753 unittest.expect(o["y"], unittest.equals('foo'));
1752 } 1754 }
1753 1755
1754 core.int buildCounterRevision = 0; 1756 core.int buildCounterRevision = 0;
1755 buildRevision() { 1757 buildRevision() {
1756 var o = new api.Revision(); 1758 var o = new api.Revision();
1757 buildCounterRevision++; 1759 buildCounterRevision++;
1758 if (buildCounterRevision < 3) { 1760 if (buildCounterRevision < 3) {
1759 o.downloadUrl = "foo"; 1761 o.downloadUrl = "foo";
1760 o.etag = "foo"; 1762 o.etag = "foo";
1761 o.exportLinks = buildUnnamed860(); 1763 o.exportLinks = buildUnnamed884();
1762 o.fileSize = "foo"; 1764 o.fileSize = "foo";
1763 o.id = "foo"; 1765 o.id = "foo";
1764 o.kind = "foo"; 1766 o.kind = "foo";
1765 o.lastModifyingUser = buildUser(); 1767 o.lastModifyingUser = buildUser();
1766 o.lastModifyingUserName = "foo"; 1768 o.lastModifyingUserName = "foo";
1767 o.md5Checksum = "foo"; 1769 o.md5Checksum = "foo";
1768 o.mimeType = "foo"; 1770 o.mimeType = "foo";
1769 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); 1771 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
1770 o.originalFilename = "foo"; 1772 o.originalFilename = "foo";
1771 o.pinned = true; 1773 o.pinned = true;
1772 o.publishAuto = true; 1774 o.publishAuto = true;
1773 o.published = true; 1775 o.published = true;
1774 o.publishedLink = "foo"; 1776 o.publishedLink = "foo";
1775 o.publishedOutsideDomain = true; 1777 o.publishedOutsideDomain = true;
1776 o.selfLink = "foo"; 1778 o.selfLink = "foo";
1777 } 1779 }
1778 buildCounterRevision--; 1780 buildCounterRevision--;
1779 return o; 1781 return o;
1780 } 1782 }
1781 1783
1782 checkRevision(api.Revision o) { 1784 checkRevision(api.Revision o) {
1783 buildCounterRevision++; 1785 buildCounterRevision++;
1784 if (buildCounterRevision < 3) { 1786 if (buildCounterRevision < 3) {
1785 unittest.expect(o.downloadUrl, unittest.equals('foo')); 1787 unittest.expect(o.downloadUrl, unittest.equals('foo'));
1786 unittest.expect(o.etag, unittest.equals('foo')); 1788 unittest.expect(o.etag, unittest.equals('foo'));
1787 checkUnnamed860(o.exportLinks); 1789 checkUnnamed884(o.exportLinks);
1788 unittest.expect(o.fileSize, unittest.equals('foo')); 1790 unittest.expect(o.fileSize, unittest.equals('foo'));
1789 unittest.expect(o.id, unittest.equals('foo')); 1791 unittest.expect(o.id, unittest.equals('foo'));
1790 unittest.expect(o.kind, unittest.equals('foo')); 1792 unittest.expect(o.kind, unittest.equals('foo'));
1791 checkUser(o.lastModifyingUser); 1793 checkUser(o.lastModifyingUser);
1792 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); 1794 unittest.expect(o.lastModifyingUserName, unittest.equals('foo'));
1793 unittest.expect(o.md5Checksum, unittest.equals('foo')); 1795 unittest.expect(o.md5Checksum, unittest.equals('foo'));
1794 unittest.expect(o.mimeType, unittest.equals('foo')); 1796 unittest.expect(o.mimeType, unittest.equals('foo'));
1795 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 1797 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
1796 unittest.expect(o.originalFilename, unittest.equals('foo')); 1798 unittest.expect(o.originalFilename, unittest.equals('foo'));
1797 unittest.expect(o.pinned, unittest.isTrue); 1799 unittest.expect(o.pinned, unittest.isTrue);
1798 unittest.expect(o.publishAuto, unittest.isTrue); 1800 unittest.expect(o.publishAuto, unittest.isTrue);
1799 unittest.expect(o.published, unittest.isTrue); 1801 unittest.expect(o.published, unittest.isTrue);
1800 unittest.expect(o.publishedLink, unittest.equals('foo')); 1802 unittest.expect(o.publishedLink, unittest.equals('foo'));
1801 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); 1803 unittest.expect(o.publishedOutsideDomain, unittest.isTrue);
1802 unittest.expect(o.selfLink, unittest.equals('foo')); 1804 unittest.expect(o.selfLink, unittest.equals('foo'));
1803 } 1805 }
1804 buildCounterRevision--; 1806 buildCounterRevision--;
1805 } 1807 }
1806 1808
1807 buildUnnamed861() { 1809 buildUnnamed885() {
1808 var o = new core.List<api.Revision>(); 1810 var o = new core.List<api.Revision>();
1809 o.add(buildRevision()); 1811 o.add(buildRevision());
1810 o.add(buildRevision()); 1812 o.add(buildRevision());
1811 return o; 1813 return o;
1812 } 1814 }
1813 1815
1814 checkUnnamed861(core.List<api.Revision> o) { 1816 checkUnnamed885(core.List<api.Revision> o) {
1815 unittest.expect(o, unittest.hasLength(2)); 1817 unittest.expect(o, unittest.hasLength(2));
1816 checkRevision(o[0]); 1818 checkRevision(o[0]);
1817 checkRevision(o[1]); 1819 checkRevision(o[1]);
1818 } 1820 }
1819 1821
1820 core.int buildCounterRevisionList = 0; 1822 core.int buildCounterRevisionList = 0;
1821 buildRevisionList() { 1823 buildRevisionList() {
1822 var o = new api.RevisionList(); 1824 var o = new api.RevisionList();
1823 buildCounterRevisionList++; 1825 buildCounterRevisionList++;
1824 if (buildCounterRevisionList < 3) { 1826 if (buildCounterRevisionList < 3) {
1825 o.etag = "foo"; 1827 o.etag = "foo";
1826 o.items = buildUnnamed861(); 1828 o.items = buildUnnamed885();
1827 o.kind = "foo"; 1829 o.kind = "foo";
1830 o.nextPageToken = "foo";
1828 o.selfLink = "foo"; 1831 o.selfLink = "foo";
1829 } 1832 }
1830 buildCounterRevisionList--; 1833 buildCounterRevisionList--;
1831 return o; 1834 return o;
1832 } 1835 }
1833 1836
1834 checkRevisionList(api.RevisionList o) { 1837 checkRevisionList(api.RevisionList o) {
1835 buildCounterRevisionList++; 1838 buildCounterRevisionList++;
1836 if (buildCounterRevisionList < 3) { 1839 if (buildCounterRevisionList < 3) {
1837 unittest.expect(o.etag, unittest.equals('foo')); 1840 unittest.expect(o.etag, unittest.equals('foo'));
1838 checkUnnamed861(o.items); 1841 checkUnnamed885(o.items);
1839 unittest.expect(o.kind, unittest.equals('foo')); 1842 unittest.expect(o.kind, unittest.equals('foo'));
1843 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1840 unittest.expect(o.selfLink, unittest.equals('foo')); 1844 unittest.expect(o.selfLink, unittest.equals('foo'));
1841 } 1845 }
1842 buildCounterRevisionList--; 1846 buildCounterRevisionList--;
1843 } 1847 }
1844 1848
1845 core.int buildCounterUserPicture = 0; 1849 core.int buildCounterUserPicture = 0;
1846 buildUserPicture() { 1850 buildUserPicture() {
1847 var o = new api.UserPicture(); 1851 var o = new api.UserPicture();
1848 buildCounterUserPicture++; 1852 buildCounterUserPicture++;
1849 if (buildCounterUserPicture < 3) { 1853 if (buildCounterUserPicture < 3) {
(...skipping 3844 matching lines...) Expand 10 before | Expand all | Expand 10 after
5694 res.get(arg_fileId, arg_revisionId).then(unittest.expectAsync(((api.Revisi on response) { 5698 res.get(arg_fileId, arg_revisionId).then(unittest.expectAsync(((api.Revisi on response) {
5695 checkRevision(response); 5699 checkRevision(response);
5696 }))); 5700 })));
5697 }); 5701 });
5698 5702
5699 unittest.test("method--list", () { 5703 unittest.test("method--list", () {
5700 5704
5701 var mock = new HttpServerMock(); 5705 var mock = new HttpServerMock();
5702 api.RevisionsResourceApi res = new api.DriveApi(mock).revisions; 5706 api.RevisionsResourceApi res = new api.DriveApi(mock).revisions;
5703 var arg_fileId = "foo"; 5707 var arg_fileId = "foo";
5708 var arg_maxResults = 42;
5709 var arg_pageToken = "foo";
5704 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5710 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5705 var path = (req.url).path; 5711 var path = (req.url).path;
5706 var pathOffset = 0; 5712 var pathOffset = 0;
5707 var index; 5713 var index;
5708 var subPart; 5714 var subPart;
5709 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5715 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5710 pathOffset += 1; 5716 pathOffset += 1;
5711 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("drive/v2/")); 5717 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("drive/v2/"));
5712 pathOffset += 9; 5718 pathOffset += 9;
5713 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ als("files/")); 5719 unittest.expect(path.substring(pathOffset, pathOffset + 6), unittest.equ als("files/"));
(...skipping 15 matching lines...) Expand all
5729 if (n == "false") return false; 5735 if (n == "false") return false;
5730 if (n == null) return null; 5736 if (n == null) return null;
5731 throw new core.ArgumentError("Invalid boolean: $n"); 5737 throw new core.ArgumentError("Invalid boolean: $n");
5732 } 5738 }
5733 if (query.length > 0) { 5739 if (query.length > 0) {
5734 for (var part in query.split("&")) { 5740 for (var part in query.split("&")) {
5735 var keyvalue = part.split("="); 5741 var keyvalue = part.split("=");
5736 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5742 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5737 } 5743 }
5738 } 5744 }
5745 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e quals(arg_maxResults));
5746 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
5739 5747
5740 5748
5741 var h = { 5749 var h = {
5742 "content-type" : "application/json; charset=utf-8", 5750 "content-type" : "application/json; charset=utf-8",
5743 }; 5751 };
5744 var resp = convert.JSON.encode(buildRevisionList()); 5752 var resp = convert.JSON.encode(buildRevisionList());
5745 return new async.Future.value(stringResponse(200, h, resp)); 5753 return new async.Future.value(stringResponse(200, h, resp));
5746 }), true); 5754 }), true);
5747 res.list(arg_fileId).then(unittest.expectAsync(((api.RevisionList response ) { 5755 res.list(arg_fileId, maxResults: arg_maxResults, pageToken: arg_pageToken) .then(unittest.expectAsync(((api.RevisionList response) {
5748 checkRevisionList(response); 5756 checkRevisionList(response);
5749 }))); 5757 })));
5750 }); 5758 });
5751 5759
5752 unittest.test("method--patch", () { 5760 unittest.test("method--patch", () {
5753 5761
5754 var mock = new HttpServerMock(); 5762 var mock = new HttpServerMock();
5755 api.RevisionsResourceApi res = new api.DriveApi(mock).revisions; 5763 api.RevisionsResourceApi res = new api.DriveApi(mock).revisions;
5756 var arg_request = buildRevision(); 5764 var arg_request = buildRevision();
5757 var arg_fileId = "foo"; 5765 var arg_fileId = "foo";
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
5869 res.update(arg_request, arg_fileId, arg_revisionId).then(unittest.expectAs ync(((api.Revision response) { 5877 res.update(arg_request, arg_fileId, arg_revisionId).then(unittest.expectAs ync(((api.Revision response) {
5870 checkRevision(response); 5878 checkRevision(response);
5871 }))); 5879 })));
5872 }); 5880 });
5873 5881
5874 }); 5882 });
5875 5883
5876 5884
5877 } 5885 }
5878 5886
OLDNEW
« no previous file with comments | « generated/googleapis/test/doubleclicksearch/v2_test.dart ('k') | generated/googleapis/test/drive/v3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698