Chromium Code Reviews

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

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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...)
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 buildUnnamed846() { 54 buildUnnamed586() {
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 checkUnnamed846(core.List<core.String> o) { 61 checkUnnamed586(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 = buildUnnamed846(); 72 o.additionalRoles = buildUnnamed586();
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 checkUnnamed846(o.additionalRoles); 82 checkUnnamed586(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 buildUnnamed847() { 88 buildUnnamed587() {
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 checkUnnamed847(core.List<api.AboutAdditionalRoleInfoRoleSets> o) { 95 checkUnnamed587(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 = buildUnnamed847(); 106 o.roleSets = buildUnnamed587();
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 checkUnnamed847(o.roleSets); 116 checkUnnamed587(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 buildUnnamed848() { 122 buildUnnamed588() {
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 checkUnnamed848(core.List<api.AboutAdditionalRoleInfo> o) { 129 checkUnnamed588(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 buildUnnamed849() { 135 buildUnnamed589() {
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 checkUnnamed849(core.List<core.String> o) { 142 checkUnnamed589(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 = buildUnnamed849(); 154 o.targets = buildUnnamed589();
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 checkUnnamed849(o.targets); 164 checkUnnamed589(o.targets);
165 } 165 }
166 buildCounterAboutExportFormats--; 166 buildCounterAboutExportFormats--;
167 } 167 }
168 168
169 buildUnnamed850() { 169 buildUnnamed590() {
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 checkUnnamed850(core.List<api.AboutExportFormats> o) { 176 checkUnnamed590(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 buildUnnamed851() { 203 buildUnnamed591() {
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 checkUnnamed851(core.List<api.AboutFeatures> o) { 210 checkUnnamed591(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 buildUnnamed852() { 216 buildUnnamed592() {
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 checkUnnamed852(core.List<core.String> o) { 223 checkUnnamed592(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 buildUnnamed853() { 229 buildUnnamed593() {
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 checkUnnamed853(core.List<core.String> o) { 236 checkUnnamed593(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 = buildUnnamed853(); 248 o.targets = buildUnnamed593();
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 checkUnnamed853(o.targets); 258 checkUnnamed593(o.targets);
259 } 259 }
260 buildCounterAboutImportFormats--; 260 buildCounterAboutImportFormats--;
261 } 261 }
262 262
263 buildUnnamed854() { 263 buildUnnamed594() {
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 checkUnnamed854(core.List<api.AboutImportFormats> o) { 270 checkUnnamed594(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 buildUnnamed855() { 297 buildUnnamed595() {
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 checkUnnamed855(core.List<api.AboutMaxUploadSizes> o) { 304 checkUnnamed595(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 buildUnnamed856() { 331 buildUnnamed596() {
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 checkUnnamed856(core.List<api.AboutQuotaBytesByService> o) { 338 checkUnnamed596(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 = buildUnnamed848(); 349 o.additionalRoleInfo = buildUnnamed588();
350 o.domainSharingPolicy = "foo"; 350 o.domainSharingPolicy = "foo";
351 o.etag = "foo"; 351 o.etag = "foo";
352 o.exportFormats = buildUnnamed850(); 352 o.exportFormats = buildUnnamed590();
353 o.features = buildUnnamed851(); 353 o.features = buildUnnamed591();
354 o.folderColorPalette = buildUnnamed852(); 354 o.folderColorPalette = buildUnnamed592();
355 o.importFormats = buildUnnamed854(); 355 o.importFormats = buildUnnamed594();
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 = buildUnnamed855(); 360 o.maxUploadSizes = buildUnnamed595();
361 o.name = "foo"; 361 o.name = "foo";
362 o.permissionId = "foo"; 362 o.permissionId = "foo";
363 o.quotaBytesByService = buildUnnamed856(); 363 o.quotaBytesByService = buildUnnamed596();
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 checkUnnamed848(o.additionalRoleInfo); 381 checkUnnamed588(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 checkUnnamed850(o.exportFormats); 384 checkUnnamed590(o.exportFormats);
385 checkUnnamed851(o.features); 385 checkUnnamed591(o.features);
386 checkUnnamed852(o.folderColorPalette); 386 checkUnnamed592(o.folderColorPalette);
387 checkUnnamed854(o.importFormats); 387 checkUnnamed594(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 checkUnnamed855(o.maxUploadSizes); 392 checkUnnamed595(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 checkUnnamed856(o.quotaBytesByService); 395 checkUnnamed596(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...)
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 buildUnnamed857() { 432 buildUnnamed597() {
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 checkUnnamed857(core.List<api.AppIcons> o) { 439 checkUnnamed597(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 buildUnnamed858() { 445 buildUnnamed598() {
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 checkUnnamed858(core.List<core.String> o) { 452 checkUnnamed598(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 buildUnnamed859() { 458 buildUnnamed599() {
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 checkUnnamed859(core.List<core.String> o) { 465 checkUnnamed599(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 buildUnnamed860() { 471 buildUnnamed600() {
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 checkUnnamed860(core.List<core.String> o) { 478 checkUnnamed600(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 buildUnnamed861() { 484 buildUnnamed601() {
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 checkUnnamed861(core.List<core.String> o) { 491 checkUnnamed601(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 = buildUnnamed857(); 506 o.icons = buildUnnamed597();
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 = buildUnnamed858(); 514 o.primaryFileExtensions = buildUnnamed598();
515 o.primaryMimeTypes = buildUnnamed859(); 515 o.primaryMimeTypes = buildUnnamed599();
516 o.productId = "foo"; 516 o.productId = "foo";
517 o.productUrl = "foo"; 517 o.productUrl = "foo";
518 o.secondaryFileExtensions = buildUnnamed860(); 518 o.secondaryFileExtensions = buildUnnamed600();
519 o.secondaryMimeTypes = buildUnnamed861(); 519 o.secondaryMimeTypes = buildUnnamed601();
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 checkUnnamed857(o.icons); 538 checkUnnamed597(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 checkUnnamed858(o.primaryFileExtensions); 546 checkUnnamed598(o.primaryFileExtensions);
547 checkUnnamed859(o.primaryMimeTypes); 547 checkUnnamed599(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 checkUnnamed860(o.secondaryFileExtensions); 550 checkUnnamed600(o.secondaryFileExtensions);
551 checkUnnamed861(o.secondaryMimeTypes); 551 checkUnnamed601(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 buildUnnamed862() { 562 buildUnnamed602() {
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 checkUnnamed862(core.List<core.String> o) { 569 checkUnnamed602(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 buildUnnamed863() { 575 buildUnnamed603() {
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 checkUnnamed863(core.List<api.App> o) { 582 checkUnnamed603(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 = buildUnnamed862(); 593 o.defaultAppIds = buildUnnamed602();
594 o.etag = "foo"; 594 o.etag = "foo";
595 o.items = buildUnnamed863(); 595 o.items = buildUnnamed603();
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 checkUnnamed862(o.defaultAppIds); 606 checkUnnamed602(o.defaultAppIds);
607 unittest.expect(o.etag, unittest.equals('foo')); 607 unittest.expect(o.etag, unittest.equals('foo'));
608 checkUnnamed863(o.items); 608 checkUnnamed603(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...)
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 buildUnnamed864() { 646 buildUnnamed604() {
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 checkUnnamed864(core.List<api.Change> o) { 653 checkUnnamed604(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 = buildUnnamed864(); 665 o.items = buildUnnamed604();
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 checkUnnamed864(o.items); 680 checkUnnamed604(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 buildUnnamed865() { 690 buildUnnamed605() {
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 checkUnnamed865(core.Map<core.String, core.String> o) { 697 checkUnnamed605(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 = buildUnnamed865(); 712 o.params = buildUnnamed605();
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 checkUnnamed865(o.params); 730 checkUnnamed605(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 buildUnnamed866() { 740 buildUnnamed606() {
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 checkUnnamed866(core.List<api.ChildReference> o) { 747 checkUnnamed606(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 = buildUnnamed866(); 759 o.items = buildUnnamed606();
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 checkUnnamed866(o.items); 773 checkUnnamed606(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...)
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 buildUnnamed867() { 828 buildUnnamed607() {
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 checkUnnamed867(core.List<api.CommentReply> o) { 835 checkUnnamed607(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 = buildUnnamed867(); 858 o.replies = buildUnnamed607();
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 checkUnnamed867(o.replies); 881 checkUnnamed607(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 buildUnnamed868() { 888 buildUnnamed608() {
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 checkUnnamed868(core.List<api.Comment> o) { 895 checkUnnamed608(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 = buildUnnamed868(); 906 o.items = buildUnnamed608();
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 checkUnnamed868(o.items); 919 checkUnnamed608(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...)
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 buildUnnamed869() { 963 buildUnnamed609() {
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 checkUnnamed869(core.List<api.CommentReply> o) { 970 checkUnnamed609(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 = buildUnnamed869(); 981 o.items = buildUnnamed609();
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 checkUnnamed869(o.items); 994 checkUnnamed609(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 buildUnnamed870() { 1003 buildUnnamed610() {
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 checkUnnamed870(core.Map<core.String, core.String> o) { 1010 checkUnnamed610(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 115 matching lines...)
1136 unittest.expect(o.hidden, unittest.isTrue); 1136 unittest.expect(o.hidden, unittest.isTrue);
1137 unittest.expect(o.modified, unittest.isTrue); 1137 unittest.expect(o.modified, unittest.isTrue);
1138 unittest.expect(o.restricted, unittest.isTrue); 1138 unittest.expect(o.restricted, unittest.isTrue);
1139 unittest.expect(o.starred, unittest.isTrue); 1139 unittest.expect(o.starred, unittest.isTrue);
1140 unittest.expect(o.trashed, unittest.isTrue); 1140 unittest.expect(o.trashed, unittest.isTrue);
1141 unittest.expect(o.viewed, unittest.isTrue); 1141 unittest.expect(o.viewed, unittest.isTrue);
1142 } 1142 }
1143 buildCounterFileLabels--; 1143 buildCounterFileLabels--;
1144 } 1144 }
1145 1145
1146 buildUnnamed871() { 1146 buildUnnamed611() {
1147 var o = new core.Map<core.String, core.String>(); 1147 var o = new core.Map<core.String, core.String>();
1148 o["x"] = "foo"; 1148 o["x"] = "foo";
1149 o["y"] = "foo"; 1149 o["y"] = "foo";
1150 return o; 1150 return o;
1151 } 1151 }
1152 1152
1153 checkUnnamed871(core.Map<core.String, core.String> o) { 1153 checkUnnamed611(core.Map<core.String, core.String> o) {
1154 unittest.expect(o, unittest.hasLength(2)); 1154 unittest.expect(o, unittest.hasLength(2));
1155 unittest.expect(o["x"], unittest.equals('foo')); 1155 unittest.expect(o["x"], unittest.equals('foo'));
1156 unittest.expect(o["y"], unittest.equals('foo')); 1156 unittest.expect(o["y"], unittest.equals('foo'));
1157 } 1157 }
1158 1158
1159 buildUnnamed872() { 1159 buildUnnamed612() {
1160 var o = new core.List<core.String>(); 1160 var o = new core.List<core.String>();
1161 o.add("foo"); 1161 o.add("foo");
1162 o.add("foo"); 1162 o.add("foo");
1163 return o; 1163 return o;
1164 } 1164 }
1165 1165
1166 checkUnnamed872(core.List<core.String> o) { 1166 checkUnnamed612(core.List<core.String> o) {
1167 unittest.expect(o, unittest.hasLength(2)); 1167 unittest.expect(o, unittest.hasLength(2));
1168 unittest.expect(o[0], unittest.equals('foo')); 1168 unittest.expect(o[0], unittest.equals('foo'));
1169 unittest.expect(o[1], unittest.equals('foo')); 1169 unittest.expect(o[1], unittest.equals('foo'));
1170 } 1170 }
1171 1171
1172 buildUnnamed873() { 1172 buildUnnamed613() {
1173 var o = new core.List<api.User>(); 1173 var o = new core.List<api.User>();
1174 o.add(buildUser()); 1174 o.add(buildUser());
1175 o.add(buildUser()); 1175 o.add(buildUser());
1176 return o; 1176 return o;
1177 } 1177 }
1178 1178
1179 checkUnnamed873(core.List<api.User> o) { 1179 checkUnnamed613(core.List<api.User> o) {
1180 unittest.expect(o, unittest.hasLength(2)); 1180 unittest.expect(o, unittest.hasLength(2));
1181 checkUser(o[0]); 1181 checkUser(o[0]);
1182 checkUser(o[1]); 1182 checkUser(o[1]);
1183 } 1183 }
1184 1184
1185 buildUnnamed874() { 1185 buildUnnamed614() {
1186 var o = new core.List<api.ParentReference>(); 1186 var o = new core.List<api.ParentReference>();
1187 o.add(buildParentReference()); 1187 o.add(buildParentReference());
1188 o.add(buildParentReference()); 1188 o.add(buildParentReference());
1189 return o; 1189 return o;
1190 } 1190 }
1191 1191
1192 checkUnnamed874(core.List<api.ParentReference> o) { 1192 checkUnnamed614(core.List<api.ParentReference> o) {
1193 unittest.expect(o, unittest.hasLength(2)); 1193 unittest.expect(o, unittest.hasLength(2));
1194 checkParentReference(o[0]); 1194 checkParentReference(o[0]);
1195 checkParentReference(o[1]); 1195 checkParentReference(o[1]);
1196 } 1196 }
1197 1197
1198 buildUnnamed875() { 1198 buildUnnamed615() {
1199 var o = new core.List<api.Permission>(); 1199 var o = new core.List<api.Permission>();
1200 o.add(buildPermission()); 1200 o.add(buildPermission());
1201 o.add(buildPermission()); 1201 o.add(buildPermission());
1202 return o; 1202 return o;
1203 } 1203 }
1204 1204
1205 checkUnnamed875(core.List<api.Permission> o) { 1205 checkUnnamed615(core.List<api.Permission> o) {
1206 unittest.expect(o, unittest.hasLength(2)); 1206 unittest.expect(o, unittest.hasLength(2));
1207 checkPermission(o[0]); 1207 checkPermission(o[0]);
1208 checkPermission(o[1]); 1208 checkPermission(o[1]);
1209 } 1209 }
1210 1210
1211 buildUnnamed876() { 1211 buildUnnamed616() {
1212 var o = new core.List<api.Property>(); 1212 var o = new core.List<api.Property>();
1213 o.add(buildProperty()); 1213 o.add(buildProperty());
1214 o.add(buildProperty()); 1214 o.add(buildProperty());
1215 return o; 1215 return o;
1216 } 1216 }
1217 1217
1218 checkUnnamed876(core.List<api.Property> o) { 1218 checkUnnamed616(core.List<api.Property> o) {
1219 unittest.expect(o, unittest.hasLength(2)); 1219 unittest.expect(o, unittest.hasLength(2));
1220 checkProperty(o[0]); 1220 checkProperty(o[0]);
1221 checkProperty(o[1]); 1221 checkProperty(o[1]);
1222 } 1222 }
1223 1223
1224 buildUnnamed877() { 1224 buildUnnamed617() {
1225 var o = new core.List<core.String>(); 1225 var o = new core.List<core.String>();
1226 o.add("foo"); 1226 o.add("foo");
1227 o.add("foo"); 1227 o.add("foo");
1228 return o; 1228 return o;
1229 } 1229 }
1230 1230
1231 checkUnnamed877(core.List<core.String> o) { 1231 checkUnnamed617(core.List<core.String> o) {
1232 unittest.expect(o, unittest.hasLength(2)); 1232 unittest.expect(o, unittest.hasLength(2));
1233 unittest.expect(o[0], unittest.equals('foo')); 1233 unittest.expect(o[0], unittest.equals('foo'));
1234 unittest.expect(o[1], unittest.equals('foo')); 1234 unittest.expect(o[1], unittest.equals('foo'));
1235 } 1235 }
1236 1236
1237 core.int buildCounterFileThumbnail = 0; 1237 core.int buildCounterFileThumbnail = 0;
1238 buildFileThumbnail() { 1238 buildFileThumbnail() {
1239 var o = new api.FileThumbnail(); 1239 var o = new api.FileThumbnail();
1240 buildCounterFileThumbnail++; 1240 buildCounterFileThumbnail++;
1241 if (buildCounterFileThumbnail < 3) { 1241 if (buildCounterFileThumbnail < 3) {
(...skipping 47 matching lines...)
1289 o.canReadRevisions = true; 1289 o.canReadRevisions = true;
1290 o.copyable = true; 1290 o.copyable = true;
1291 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02"); 1291 o.createdDate = core.DateTime.parse("2002-02-27T14:01:02");
1292 o.defaultOpenWithLink = "foo"; 1292 o.defaultOpenWithLink = "foo";
1293 o.description = "foo"; 1293 o.description = "foo";
1294 o.downloadUrl = "foo"; 1294 o.downloadUrl = "foo";
1295 o.editable = true; 1295 o.editable = true;
1296 o.embedLink = "foo"; 1296 o.embedLink = "foo";
1297 o.etag = "foo"; 1297 o.etag = "foo";
1298 o.explicitlyTrashed = true; 1298 o.explicitlyTrashed = true;
1299 o.exportLinks = buildUnnamed870(); 1299 o.exportLinks = buildUnnamed610();
1300 o.fileExtension = "foo"; 1300 o.fileExtension = "foo";
1301 o.fileSize = "foo"; 1301 o.fileSize = "foo";
1302 o.folderColorRgb = "foo"; 1302 o.folderColorRgb = "foo";
1303 o.fullFileExtension = "foo"; 1303 o.fullFileExtension = "foo";
1304 o.hasThumbnail = true;
1304 o.headRevisionId = "foo"; 1305 o.headRevisionId = "foo";
1305 o.iconLink = "foo"; 1306 o.iconLink = "foo";
1306 o.id = "foo"; 1307 o.id = "foo";
1307 o.imageMediaMetadata = buildFileImageMediaMetadata(); 1308 o.imageMediaMetadata = buildFileImageMediaMetadata();
1308 o.indexableText = buildFileIndexableText(); 1309 o.indexableText = buildFileIndexableText();
1309 o.isAppAuthorized = true; 1310 o.isAppAuthorized = true;
1310 o.kind = "foo"; 1311 o.kind = "foo";
1311 o.labels = buildFileLabels(); 1312 o.labels = buildFileLabels();
1312 o.lastModifyingUser = buildUser(); 1313 o.lastModifyingUser = buildUser();
1313 o.lastModifyingUserName = "foo"; 1314 o.lastModifyingUserName = "foo";
1314 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1315 o.lastViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1315 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1316 o.markedViewedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1316 o.md5Checksum = "foo"; 1317 o.md5Checksum = "foo";
1317 o.mimeType = "foo"; 1318 o.mimeType = "foo";
1318 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1319 o.modifiedByMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1319 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); 1320 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
1320 o.openWithLinks = buildUnnamed871(); 1321 o.openWithLinks = buildUnnamed611();
1321 o.originalFilename = "foo"; 1322 o.originalFilename = "foo";
1322 o.ownedByMe = true; 1323 o.ownedByMe = true;
1323 o.ownerNames = buildUnnamed872(); 1324 o.ownerNames = buildUnnamed612();
1324 o.owners = buildUnnamed873(); 1325 o.owners = buildUnnamed613();
1325 o.parents = buildUnnamed874(); 1326 o.parents = buildUnnamed614();
1326 o.permissions = buildUnnamed875(); 1327 o.permissions = buildUnnamed615();
1327 o.properties = buildUnnamed876(); 1328 o.properties = buildUnnamed616();
1328 o.quotaBytesUsed = "foo"; 1329 o.quotaBytesUsed = "foo";
1329 o.selfLink = "foo"; 1330 o.selfLink = "foo";
1330 o.shareable = true; 1331 o.shareable = true;
1331 o.shared = true; 1332 o.shared = true;
1332 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02"); 1333 o.sharedWithMeDate = core.DateTime.parse("2002-02-27T14:01:02");
1333 o.sharingUser = buildUser(); 1334 o.sharingUser = buildUser();
1334 o.spaces = buildUnnamed877(); 1335 o.spaces = buildUnnamed617();
1335 o.thumbnail = buildFileThumbnail(); 1336 o.thumbnail = buildFileThumbnail();
1336 o.thumbnailLink = "foo"; 1337 o.thumbnailLink = "foo";
1338 o.thumbnailVersion = "foo";
1337 o.title = "foo"; 1339 o.title = "foo";
1338 o.userPermission = buildPermission(); 1340 o.userPermission = buildPermission();
1339 o.version = "foo"; 1341 o.version = "foo";
1340 o.videoMediaMetadata = buildFileVideoMediaMetadata(); 1342 o.videoMediaMetadata = buildFileVideoMediaMetadata();
1341 o.webContentLink = "foo"; 1343 o.webContentLink = "foo";
1342 o.webViewLink = "foo"; 1344 o.webViewLink = "foo";
1343 o.writersCanShare = true; 1345 o.writersCanShare = true;
1344 } 1346 }
1345 buildCounterFile--; 1347 buildCounterFile--;
1346 return o; 1348 return o;
1347 } 1349 }
1348 1350
1349 checkFile(api.File o) { 1351 checkFile(api.File o) {
1350 buildCounterFile++; 1352 buildCounterFile++;
1351 if (buildCounterFile < 3) { 1353 if (buildCounterFile < 3) {
1352 unittest.expect(o.alternateLink, unittest.equals('foo')); 1354 unittest.expect(o.alternateLink, unittest.equals('foo'));
1353 unittest.expect(o.appDataContents, unittest.isTrue); 1355 unittest.expect(o.appDataContents, unittest.isTrue);
1354 unittest.expect(o.canComment, unittest.isTrue); 1356 unittest.expect(o.canComment, unittest.isTrue);
1355 unittest.expect(o.canReadRevisions, unittest.isTrue); 1357 unittest.expect(o.canReadRevisions, unittest.isTrue);
1356 unittest.expect(o.copyable, unittest.isTrue); 1358 unittest.expect(o.copyable, unittest.isTrue);
1357 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02- 27T14:01:02"))); 1359 unittest.expect(o.createdDate, unittest.equals(core.DateTime.parse("2002-02- 27T14:01:02")));
1358 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo')); 1360 unittest.expect(o.defaultOpenWithLink, unittest.equals('foo'));
1359 unittest.expect(o.description, unittest.equals('foo')); 1361 unittest.expect(o.description, unittest.equals('foo'));
1360 unittest.expect(o.downloadUrl, unittest.equals('foo')); 1362 unittest.expect(o.downloadUrl, unittest.equals('foo'));
1361 unittest.expect(o.editable, unittest.isTrue); 1363 unittest.expect(o.editable, unittest.isTrue);
1362 unittest.expect(o.embedLink, unittest.equals('foo')); 1364 unittest.expect(o.embedLink, unittest.equals('foo'));
1363 unittest.expect(o.etag, unittest.equals('foo')); 1365 unittest.expect(o.etag, unittest.equals('foo'));
1364 unittest.expect(o.explicitlyTrashed, unittest.isTrue); 1366 unittest.expect(o.explicitlyTrashed, unittest.isTrue);
1365 checkUnnamed870(o.exportLinks); 1367 checkUnnamed610(o.exportLinks);
1366 unittest.expect(o.fileExtension, unittest.equals('foo')); 1368 unittest.expect(o.fileExtension, unittest.equals('foo'));
1367 unittest.expect(o.fileSize, unittest.equals('foo')); 1369 unittest.expect(o.fileSize, unittest.equals('foo'));
1368 unittest.expect(o.folderColorRgb, unittest.equals('foo')); 1370 unittest.expect(o.folderColorRgb, unittest.equals('foo'));
1369 unittest.expect(o.fullFileExtension, unittest.equals('foo')); 1371 unittest.expect(o.fullFileExtension, unittest.equals('foo'));
1372 unittest.expect(o.hasThumbnail, unittest.isTrue);
1370 unittest.expect(o.headRevisionId, unittest.equals('foo')); 1373 unittest.expect(o.headRevisionId, unittest.equals('foo'));
1371 unittest.expect(o.iconLink, unittest.equals('foo')); 1374 unittest.expect(o.iconLink, unittest.equals('foo'));
1372 unittest.expect(o.id, unittest.equals('foo')); 1375 unittest.expect(o.id, unittest.equals('foo'));
1373 checkFileImageMediaMetadata(o.imageMediaMetadata); 1376 checkFileImageMediaMetadata(o.imageMediaMetadata);
1374 checkFileIndexableText(o.indexableText); 1377 checkFileIndexableText(o.indexableText);
1375 unittest.expect(o.isAppAuthorized, unittest.isTrue); 1378 unittest.expect(o.isAppAuthorized, unittest.isTrue);
1376 unittest.expect(o.kind, unittest.equals('foo')); 1379 unittest.expect(o.kind, unittest.equals('foo'));
1377 checkFileLabels(o.labels); 1380 checkFileLabels(o.labels);
1378 checkUser(o.lastModifyingUser); 1381 checkUser(o.lastModifyingUser);
1379 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); 1382 unittest.expect(o.lastModifyingUserName, unittest.equals('foo'));
1380 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02"))); 1383 unittest.expect(o.lastViewedByMeDate, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02")));
1381 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse( "2002-02-27T14:01:02"))); 1384 unittest.expect(o.markedViewedByMeDate, unittest.equals(core.DateTime.parse( "2002-02-27T14:01:02")));
1382 unittest.expect(o.md5Checksum, unittest.equals('foo')); 1385 unittest.expect(o.md5Checksum, unittest.equals('foo'));
1383 unittest.expect(o.mimeType, unittest.equals('foo')); 1386 unittest.expect(o.mimeType, unittest.equals('foo'));
1384 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02"))); 1387 unittest.expect(o.modifiedByMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02")));
1385 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 1388 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
1386 checkUnnamed871(o.openWithLinks); 1389 checkUnnamed611(o.openWithLinks);
1387 unittest.expect(o.originalFilename, unittest.equals('foo')); 1390 unittest.expect(o.originalFilename, unittest.equals('foo'));
1388 unittest.expect(o.ownedByMe, unittest.isTrue); 1391 unittest.expect(o.ownedByMe, unittest.isTrue);
1389 checkUnnamed872(o.ownerNames); 1392 checkUnnamed612(o.ownerNames);
1390 checkUnnamed873(o.owners); 1393 checkUnnamed613(o.owners);
1391 checkUnnamed874(o.parents); 1394 checkUnnamed614(o.parents);
1392 checkUnnamed875(o.permissions); 1395 checkUnnamed615(o.permissions);
1393 checkUnnamed876(o.properties); 1396 checkUnnamed616(o.properties);
1394 unittest.expect(o.quotaBytesUsed, unittest.equals('foo')); 1397 unittest.expect(o.quotaBytesUsed, unittest.equals('foo'));
1395 unittest.expect(o.selfLink, unittest.equals('foo')); 1398 unittest.expect(o.selfLink, unittest.equals('foo'));
1396 unittest.expect(o.shareable, unittest.isTrue); 1399 unittest.expect(o.shareable, unittest.isTrue);
1397 unittest.expect(o.shared, unittest.isTrue); 1400 unittest.expect(o.shared, unittest.isTrue);
1398 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02"))); 1401 unittest.expect(o.sharedWithMeDate, unittest.equals(core.DateTime.parse("200 2-02-27T14:01:02")));
1399 checkUser(o.sharingUser); 1402 checkUser(o.sharingUser);
1400 checkUnnamed877(o.spaces); 1403 checkUnnamed617(o.spaces);
1401 checkFileThumbnail(o.thumbnail); 1404 checkFileThumbnail(o.thumbnail);
1402 unittest.expect(o.thumbnailLink, unittest.equals('foo')); 1405 unittest.expect(o.thumbnailLink, unittest.equals('foo'));
1406 unittest.expect(o.thumbnailVersion, unittest.equals('foo'));
1403 unittest.expect(o.title, unittest.equals('foo')); 1407 unittest.expect(o.title, unittest.equals('foo'));
1404 checkPermission(o.userPermission); 1408 checkPermission(o.userPermission);
1405 unittest.expect(o.version, unittest.equals('foo')); 1409 unittest.expect(o.version, unittest.equals('foo'));
1406 checkFileVideoMediaMetadata(o.videoMediaMetadata); 1410 checkFileVideoMediaMetadata(o.videoMediaMetadata);
1407 unittest.expect(o.webContentLink, unittest.equals('foo')); 1411 unittest.expect(o.webContentLink, unittest.equals('foo'));
1408 unittest.expect(o.webViewLink, unittest.equals('foo')); 1412 unittest.expect(o.webViewLink, unittest.equals('foo'));
1409 unittest.expect(o.writersCanShare, unittest.isTrue); 1413 unittest.expect(o.writersCanShare, unittest.isTrue);
1410 } 1414 }
1411 buildCounterFile--; 1415 buildCounterFile--;
1412 } 1416 }
1413 1417
1414 buildUnnamed878() { 1418 buildUnnamed618() {
1415 var o = new core.List<api.File>(); 1419 var o = new core.List<api.File>();
1416 o.add(buildFile()); 1420 o.add(buildFile());
1417 o.add(buildFile()); 1421 o.add(buildFile());
1418 return o; 1422 return o;
1419 } 1423 }
1420 1424
1421 checkUnnamed878(core.List<api.File> o) { 1425 checkUnnamed618(core.List<api.File> o) {
1422 unittest.expect(o, unittest.hasLength(2)); 1426 unittest.expect(o, unittest.hasLength(2));
1423 checkFile(o[0]); 1427 checkFile(o[0]);
1424 checkFile(o[1]); 1428 checkFile(o[1]);
1425 } 1429 }
1426 1430
1427 core.int buildCounterFileList = 0; 1431 core.int buildCounterFileList = 0;
1428 buildFileList() { 1432 buildFileList() {
1429 var o = new api.FileList(); 1433 var o = new api.FileList();
1430 buildCounterFileList++; 1434 buildCounterFileList++;
1431 if (buildCounterFileList < 3) { 1435 if (buildCounterFileList < 3) {
1432 o.etag = "foo"; 1436 o.etag = "foo";
1433 o.items = buildUnnamed878(); 1437 o.items = buildUnnamed618();
1434 o.kind = "foo"; 1438 o.kind = "foo";
1435 o.nextLink = "foo"; 1439 o.nextLink = "foo";
1436 o.nextPageToken = "foo"; 1440 o.nextPageToken = "foo";
1437 o.selfLink = "foo"; 1441 o.selfLink = "foo";
1438 } 1442 }
1439 buildCounterFileList--; 1443 buildCounterFileList--;
1440 return o; 1444 return o;
1441 } 1445 }
1442 1446
1443 checkFileList(api.FileList o) { 1447 checkFileList(api.FileList o) {
1444 buildCounterFileList++; 1448 buildCounterFileList++;
1445 if (buildCounterFileList < 3) { 1449 if (buildCounterFileList < 3) {
1446 unittest.expect(o.etag, unittest.equals('foo')); 1450 unittest.expect(o.etag, unittest.equals('foo'));
1447 checkUnnamed878(o.items); 1451 checkUnnamed618(o.items);
1448 unittest.expect(o.kind, unittest.equals('foo')); 1452 unittest.expect(o.kind, unittest.equals('foo'));
1449 unittest.expect(o.nextLink, unittest.equals('foo')); 1453 unittest.expect(o.nextLink, unittest.equals('foo'));
1450 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1454 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1451 unittest.expect(o.selfLink, unittest.equals('foo')); 1455 unittest.expect(o.selfLink, unittest.equals('foo'));
1452 } 1456 }
1453 buildCounterFileList--; 1457 buildCounterFileList--;
1454 } 1458 }
1455 1459
1456 buildUnnamed879() { 1460 buildUnnamed619() {
1457 var o = new core.List<core.String>(); 1461 var o = new core.List<core.String>();
1458 o.add("foo"); 1462 o.add("foo");
1459 o.add("foo"); 1463 o.add("foo");
1460 return o; 1464 return o;
1461 } 1465 }
1462 1466
1463 checkUnnamed879(core.List<core.String> o) { 1467 checkUnnamed619(core.List<core.String> o) {
1464 unittest.expect(o, unittest.hasLength(2)); 1468 unittest.expect(o, unittest.hasLength(2));
1465 unittest.expect(o[0], unittest.equals('foo')); 1469 unittest.expect(o[0], unittest.equals('foo'));
1466 unittest.expect(o[1], unittest.equals('foo')); 1470 unittest.expect(o[1], unittest.equals('foo'));
1467 } 1471 }
1468 1472
1469 core.int buildCounterGeneratedIds = 0; 1473 core.int buildCounterGeneratedIds = 0;
1470 buildGeneratedIds() { 1474 buildGeneratedIds() {
1471 var o = new api.GeneratedIds(); 1475 var o = new api.GeneratedIds();
1472 buildCounterGeneratedIds++; 1476 buildCounterGeneratedIds++;
1473 if (buildCounterGeneratedIds < 3) { 1477 if (buildCounterGeneratedIds < 3) {
1474 o.ids = buildUnnamed879(); 1478 o.ids = buildUnnamed619();
1475 o.kind = "foo"; 1479 o.kind = "foo";
1476 o.space = "foo"; 1480 o.space = "foo";
1477 } 1481 }
1478 buildCounterGeneratedIds--; 1482 buildCounterGeneratedIds--;
1479 return o; 1483 return o;
1480 } 1484 }
1481 1485
1482 checkGeneratedIds(api.GeneratedIds o) { 1486 checkGeneratedIds(api.GeneratedIds o) {
1483 buildCounterGeneratedIds++; 1487 buildCounterGeneratedIds++;
1484 if (buildCounterGeneratedIds < 3) { 1488 if (buildCounterGeneratedIds < 3) {
1485 checkUnnamed879(o.ids); 1489 checkUnnamed619(o.ids);
1486 unittest.expect(o.kind, unittest.equals('foo')); 1490 unittest.expect(o.kind, unittest.equals('foo'));
1487 unittest.expect(o.space, unittest.equals('foo')); 1491 unittest.expect(o.space, unittest.equals('foo'));
1488 } 1492 }
1489 buildCounterGeneratedIds--; 1493 buildCounterGeneratedIds--;
1490 } 1494 }
1491 1495
1492 buildUnnamed880() { 1496 buildUnnamed620() {
1493 var o = new core.List<api.ParentReference>(); 1497 var o = new core.List<api.ParentReference>();
1494 o.add(buildParentReference()); 1498 o.add(buildParentReference());
1495 o.add(buildParentReference()); 1499 o.add(buildParentReference());
1496 return o; 1500 return o;
1497 } 1501 }
1498 1502
1499 checkUnnamed880(core.List<api.ParentReference> o) { 1503 checkUnnamed620(core.List<api.ParentReference> o) {
1500 unittest.expect(o, unittest.hasLength(2)); 1504 unittest.expect(o, unittest.hasLength(2));
1501 checkParentReference(o[0]); 1505 checkParentReference(o[0]);
1502 checkParentReference(o[1]); 1506 checkParentReference(o[1]);
1503 } 1507 }
1504 1508
1505 core.int buildCounterParentList = 0; 1509 core.int buildCounterParentList = 0;
1506 buildParentList() { 1510 buildParentList() {
1507 var o = new api.ParentList(); 1511 var o = new api.ParentList();
1508 buildCounterParentList++; 1512 buildCounterParentList++;
1509 if (buildCounterParentList < 3) { 1513 if (buildCounterParentList < 3) {
1510 o.etag = "foo"; 1514 o.etag = "foo";
1511 o.items = buildUnnamed880(); 1515 o.items = buildUnnamed620();
1512 o.kind = "foo"; 1516 o.kind = "foo";
1513 o.selfLink = "foo"; 1517 o.selfLink = "foo";
1514 } 1518 }
1515 buildCounterParentList--; 1519 buildCounterParentList--;
1516 return o; 1520 return o;
1517 } 1521 }
1518 1522
1519 checkParentList(api.ParentList o) { 1523 checkParentList(api.ParentList o) {
1520 buildCounterParentList++; 1524 buildCounterParentList++;
1521 if (buildCounterParentList < 3) { 1525 if (buildCounterParentList < 3) {
1522 unittest.expect(o.etag, unittest.equals('foo')); 1526 unittest.expect(o.etag, unittest.equals('foo'));
1523 checkUnnamed880(o.items); 1527 checkUnnamed620(o.items);
1524 unittest.expect(o.kind, unittest.equals('foo')); 1528 unittest.expect(o.kind, unittest.equals('foo'));
1525 unittest.expect(o.selfLink, unittest.equals('foo')); 1529 unittest.expect(o.selfLink, unittest.equals('foo'));
1526 } 1530 }
1527 buildCounterParentList--; 1531 buildCounterParentList--;
1528 } 1532 }
1529 1533
1530 core.int buildCounterParentReference = 0; 1534 core.int buildCounterParentReference = 0;
1531 buildParentReference() { 1535 buildParentReference() {
1532 var o = new api.ParentReference(); 1536 var o = new api.ParentReference();
1533 buildCounterParentReference++; 1537 buildCounterParentReference++;
(...skipping 13 matching lines...)
1547 if (buildCounterParentReference < 3) { 1551 if (buildCounterParentReference < 3) {
1548 unittest.expect(o.id, unittest.equals('foo')); 1552 unittest.expect(o.id, unittest.equals('foo'));
1549 unittest.expect(o.isRoot, unittest.isTrue); 1553 unittest.expect(o.isRoot, unittest.isTrue);
1550 unittest.expect(o.kind, unittest.equals('foo')); 1554 unittest.expect(o.kind, unittest.equals('foo'));
1551 unittest.expect(o.parentLink, unittest.equals('foo')); 1555 unittest.expect(o.parentLink, unittest.equals('foo'));
1552 unittest.expect(o.selfLink, unittest.equals('foo')); 1556 unittest.expect(o.selfLink, unittest.equals('foo'));
1553 } 1557 }
1554 buildCounterParentReference--; 1558 buildCounterParentReference--;
1555 } 1559 }
1556 1560
1557 buildUnnamed881() { 1561 buildUnnamed621() {
1558 var o = new core.List<core.String>(); 1562 var o = new core.List<core.String>();
1559 o.add("foo"); 1563 o.add("foo");
1560 o.add("foo"); 1564 o.add("foo");
1561 return o; 1565 return o;
1562 } 1566 }
1563 1567
1564 checkUnnamed881(core.List<core.String> o) { 1568 checkUnnamed621(core.List<core.String> o) {
1565 unittest.expect(o, unittest.hasLength(2)); 1569 unittest.expect(o, unittest.hasLength(2));
1566 unittest.expect(o[0], unittest.equals('foo')); 1570 unittest.expect(o[0], unittest.equals('foo'));
1567 unittest.expect(o[1], unittest.equals('foo')); 1571 unittest.expect(o[1], unittest.equals('foo'));
1568 } 1572 }
1569 1573
1570 core.int buildCounterPermission = 0; 1574 core.int buildCounterPermission = 0;
1571 buildPermission() { 1575 buildPermission() {
1572 var o = new api.Permission(); 1576 var o = new api.Permission();
1573 buildCounterPermission++; 1577 buildCounterPermission++;
1574 if (buildCounterPermission < 3) { 1578 if (buildCounterPermission < 3) {
1575 o.additionalRoles = buildUnnamed881(); 1579 o.additionalRoles = buildUnnamed621();
1576 o.authKey = "foo"; 1580 o.authKey = "foo";
1577 o.domain = "foo"; 1581 o.domain = "foo";
1578 o.emailAddress = "foo"; 1582 o.emailAddress = "foo";
1579 o.etag = "foo"; 1583 o.etag = "foo";
1580 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02"); 1584 o.expirationDate = core.DateTime.parse("2002-02-27T14:01:02");
1581 o.id = "foo"; 1585 o.id = "foo";
1582 o.kind = "foo"; 1586 o.kind = "foo";
1583 o.name = "foo"; 1587 o.name = "foo";
1584 o.photoLink = "foo"; 1588 o.photoLink = "foo";
1585 o.role = "foo"; 1589 o.role = "foo";
1586 o.selfLink = "foo"; 1590 o.selfLink = "foo";
1587 o.type = "foo"; 1591 o.type = "foo";
1588 o.value = "foo"; 1592 o.value = "foo";
1589 o.withLink = true; 1593 o.withLink = true;
1590 } 1594 }
1591 buildCounterPermission--; 1595 buildCounterPermission--;
1592 return o; 1596 return o;
1593 } 1597 }
1594 1598
1595 checkPermission(api.Permission o) { 1599 checkPermission(api.Permission o) {
1596 buildCounterPermission++; 1600 buildCounterPermission++;
1597 if (buildCounterPermission < 3) { 1601 if (buildCounterPermission < 3) {
1598 checkUnnamed881(o.additionalRoles); 1602 checkUnnamed621(o.additionalRoles);
1599 unittest.expect(o.authKey, unittest.equals('foo')); 1603 unittest.expect(o.authKey, unittest.equals('foo'));
1600 unittest.expect(o.domain, unittest.equals('foo')); 1604 unittest.expect(o.domain, unittest.equals('foo'));
1601 unittest.expect(o.emailAddress, unittest.equals('foo')); 1605 unittest.expect(o.emailAddress, unittest.equals('foo'));
1602 unittest.expect(o.etag, unittest.equals('foo')); 1606 unittest.expect(o.etag, unittest.equals('foo'));
1603 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002- 02-27T14:01:02"))); 1607 unittest.expect(o.expirationDate, unittest.equals(core.DateTime.parse("2002- 02-27T14:01:02")));
1604 unittest.expect(o.id, unittest.equals('foo')); 1608 unittest.expect(o.id, unittest.equals('foo'));
1605 unittest.expect(o.kind, unittest.equals('foo')); 1609 unittest.expect(o.kind, unittest.equals('foo'));
1606 unittest.expect(o.name, unittest.equals('foo')); 1610 unittest.expect(o.name, unittest.equals('foo'));
1607 unittest.expect(o.photoLink, unittest.equals('foo')); 1611 unittest.expect(o.photoLink, unittest.equals('foo'));
1608 unittest.expect(o.role, unittest.equals('foo')); 1612 unittest.expect(o.role, unittest.equals('foo'));
(...skipping 19 matching lines...)
1628 1632
1629 checkPermissionId(api.PermissionId o) { 1633 checkPermissionId(api.PermissionId o) {
1630 buildCounterPermissionId++; 1634 buildCounterPermissionId++;
1631 if (buildCounterPermissionId < 3) { 1635 if (buildCounterPermissionId < 3) {
1632 unittest.expect(o.id, unittest.equals('foo')); 1636 unittest.expect(o.id, unittest.equals('foo'));
1633 unittest.expect(o.kind, unittest.equals('foo')); 1637 unittest.expect(o.kind, unittest.equals('foo'));
1634 } 1638 }
1635 buildCounterPermissionId--; 1639 buildCounterPermissionId--;
1636 } 1640 }
1637 1641
1638 buildUnnamed882() { 1642 buildUnnamed622() {
1639 var o = new core.List<api.Permission>(); 1643 var o = new core.List<api.Permission>();
1640 o.add(buildPermission()); 1644 o.add(buildPermission());
1641 o.add(buildPermission()); 1645 o.add(buildPermission());
1642 return o; 1646 return o;
1643 } 1647 }
1644 1648
1645 checkUnnamed882(core.List<api.Permission> o) { 1649 checkUnnamed622(core.List<api.Permission> o) {
1646 unittest.expect(o, unittest.hasLength(2)); 1650 unittest.expect(o, unittest.hasLength(2));
1647 checkPermission(o[0]); 1651 checkPermission(o[0]);
1648 checkPermission(o[1]); 1652 checkPermission(o[1]);
1649 } 1653 }
1650 1654
1651 core.int buildCounterPermissionList = 0; 1655 core.int buildCounterPermissionList = 0;
1652 buildPermissionList() { 1656 buildPermissionList() {
1653 var o = new api.PermissionList(); 1657 var o = new api.PermissionList();
1654 buildCounterPermissionList++; 1658 buildCounterPermissionList++;
1655 if (buildCounterPermissionList < 3) { 1659 if (buildCounterPermissionList < 3) {
1656 o.etag = "foo"; 1660 o.etag = "foo";
1657 o.items = buildUnnamed882(); 1661 o.items = buildUnnamed622();
1658 o.kind = "foo"; 1662 o.kind = "foo";
1659 o.selfLink = "foo"; 1663 o.selfLink = "foo";
1660 } 1664 }
1661 buildCounterPermissionList--; 1665 buildCounterPermissionList--;
1662 return o; 1666 return o;
1663 } 1667 }
1664 1668
1665 checkPermissionList(api.PermissionList o) { 1669 checkPermissionList(api.PermissionList o) {
1666 buildCounterPermissionList++; 1670 buildCounterPermissionList++;
1667 if (buildCounterPermissionList < 3) { 1671 if (buildCounterPermissionList < 3) {
1668 unittest.expect(o.etag, unittest.equals('foo')); 1672 unittest.expect(o.etag, unittest.equals('foo'));
1669 checkUnnamed882(o.items); 1673 checkUnnamed622(o.items);
1670 unittest.expect(o.kind, unittest.equals('foo')); 1674 unittest.expect(o.kind, unittest.equals('foo'));
1671 unittest.expect(o.selfLink, unittest.equals('foo')); 1675 unittest.expect(o.selfLink, unittest.equals('foo'));
1672 } 1676 }
1673 buildCounterPermissionList--; 1677 buildCounterPermissionList--;
1674 } 1678 }
1675 1679
1676 core.int buildCounterProperty = 0; 1680 core.int buildCounterProperty = 0;
1677 buildProperty() { 1681 buildProperty() {
1678 var o = new api.Property(); 1682 var o = new api.Property();
1679 buildCounterProperty++; 1683 buildCounterProperty++;
(...skipping 15 matching lines...)
1695 unittest.expect(o.etag, unittest.equals('foo')); 1699 unittest.expect(o.etag, unittest.equals('foo'));
1696 unittest.expect(o.key, unittest.equals('foo')); 1700 unittest.expect(o.key, unittest.equals('foo'));
1697 unittest.expect(o.kind, unittest.equals('foo')); 1701 unittest.expect(o.kind, unittest.equals('foo'));
1698 unittest.expect(o.selfLink, unittest.equals('foo')); 1702 unittest.expect(o.selfLink, unittest.equals('foo'));
1699 unittest.expect(o.value, unittest.equals('foo')); 1703 unittest.expect(o.value, unittest.equals('foo'));
1700 unittest.expect(o.visibility, unittest.equals('foo')); 1704 unittest.expect(o.visibility, unittest.equals('foo'));
1701 } 1705 }
1702 buildCounterProperty--; 1706 buildCounterProperty--;
1703 } 1707 }
1704 1708
1705 buildUnnamed883() { 1709 buildUnnamed623() {
1706 var o = new core.List<api.Property>(); 1710 var o = new core.List<api.Property>();
1707 o.add(buildProperty()); 1711 o.add(buildProperty());
1708 o.add(buildProperty()); 1712 o.add(buildProperty());
1709 return o; 1713 return o;
1710 } 1714 }
1711 1715
1712 checkUnnamed883(core.List<api.Property> o) { 1716 checkUnnamed623(core.List<api.Property> o) {
1713 unittest.expect(o, unittest.hasLength(2)); 1717 unittest.expect(o, unittest.hasLength(2));
1714 checkProperty(o[0]); 1718 checkProperty(o[0]);
1715 checkProperty(o[1]); 1719 checkProperty(o[1]);
1716 } 1720 }
1717 1721
1718 core.int buildCounterPropertyList = 0; 1722 core.int buildCounterPropertyList = 0;
1719 buildPropertyList() { 1723 buildPropertyList() {
1720 var o = new api.PropertyList(); 1724 var o = new api.PropertyList();
1721 buildCounterPropertyList++; 1725 buildCounterPropertyList++;
1722 if (buildCounterPropertyList < 3) { 1726 if (buildCounterPropertyList < 3) {
1723 o.etag = "foo"; 1727 o.etag = "foo";
1724 o.items = buildUnnamed883(); 1728 o.items = buildUnnamed623();
1725 o.kind = "foo"; 1729 o.kind = "foo";
1726 o.selfLink = "foo"; 1730 o.selfLink = "foo";
1727 } 1731 }
1728 buildCounterPropertyList--; 1732 buildCounterPropertyList--;
1729 return o; 1733 return o;
1730 } 1734 }
1731 1735
1732 checkPropertyList(api.PropertyList o) { 1736 checkPropertyList(api.PropertyList o) {
1733 buildCounterPropertyList++; 1737 buildCounterPropertyList++;
1734 if (buildCounterPropertyList < 3) { 1738 if (buildCounterPropertyList < 3) {
1735 unittest.expect(o.etag, unittest.equals('foo')); 1739 unittest.expect(o.etag, unittest.equals('foo'));
1736 checkUnnamed883(o.items); 1740 checkUnnamed623(o.items);
1737 unittest.expect(o.kind, unittest.equals('foo')); 1741 unittest.expect(o.kind, unittest.equals('foo'));
1738 unittest.expect(o.selfLink, unittest.equals('foo')); 1742 unittest.expect(o.selfLink, unittest.equals('foo'));
1739 } 1743 }
1740 buildCounterPropertyList--; 1744 buildCounterPropertyList--;
1741 } 1745 }
1742 1746
1743 buildUnnamed884() { 1747 buildUnnamed624() {
1744 var o = new core.Map<core.String, core.String>(); 1748 var o = new core.Map<core.String, core.String>();
1745 o["x"] = "foo"; 1749 o["x"] = "foo";
1746 o["y"] = "foo"; 1750 o["y"] = "foo";
1747 return o; 1751 return o;
1748 } 1752 }
1749 1753
1750 checkUnnamed884(core.Map<core.String, core.String> o) { 1754 checkUnnamed624(core.Map<core.String, core.String> o) {
1751 unittest.expect(o, unittest.hasLength(2)); 1755 unittest.expect(o, unittest.hasLength(2));
1752 unittest.expect(o["x"], unittest.equals('foo')); 1756 unittest.expect(o["x"], unittest.equals('foo'));
1753 unittest.expect(o["y"], unittest.equals('foo')); 1757 unittest.expect(o["y"], unittest.equals('foo'));
1754 } 1758 }
1755 1759
1756 core.int buildCounterRevision = 0; 1760 core.int buildCounterRevision = 0;
1757 buildRevision() { 1761 buildRevision() {
1758 var o = new api.Revision(); 1762 var o = new api.Revision();
1759 buildCounterRevision++; 1763 buildCounterRevision++;
1760 if (buildCounterRevision < 3) { 1764 if (buildCounterRevision < 3) {
1761 o.downloadUrl = "foo"; 1765 o.downloadUrl = "foo";
1762 o.etag = "foo"; 1766 o.etag = "foo";
1763 o.exportLinks = buildUnnamed884(); 1767 o.exportLinks = buildUnnamed624();
1764 o.fileSize = "foo"; 1768 o.fileSize = "foo";
1765 o.id = "foo"; 1769 o.id = "foo";
1766 o.kind = "foo"; 1770 o.kind = "foo";
1767 o.lastModifyingUser = buildUser(); 1771 o.lastModifyingUser = buildUser();
1768 o.lastModifyingUserName = "foo"; 1772 o.lastModifyingUserName = "foo";
1769 o.md5Checksum = "foo"; 1773 o.md5Checksum = "foo";
1770 o.mimeType = "foo"; 1774 o.mimeType = "foo";
1771 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02"); 1775 o.modifiedDate = core.DateTime.parse("2002-02-27T14:01:02");
1772 o.originalFilename = "foo"; 1776 o.originalFilename = "foo";
1773 o.pinned = true; 1777 o.pinned = true;
1774 o.publishAuto = true; 1778 o.publishAuto = true;
1775 o.published = true; 1779 o.published = true;
1776 o.publishedLink = "foo"; 1780 o.publishedLink = "foo";
1777 o.publishedOutsideDomain = true; 1781 o.publishedOutsideDomain = true;
1778 o.selfLink = "foo"; 1782 o.selfLink = "foo";
1779 } 1783 }
1780 buildCounterRevision--; 1784 buildCounterRevision--;
1781 return o; 1785 return o;
1782 } 1786 }
1783 1787
1784 checkRevision(api.Revision o) { 1788 checkRevision(api.Revision o) {
1785 buildCounterRevision++; 1789 buildCounterRevision++;
1786 if (buildCounterRevision < 3) { 1790 if (buildCounterRevision < 3) {
1787 unittest.expect(o.downloadUrl, unittest.equals('foo')); 1791 unittest.expect(o.downloadUrl, unittest.equals('foo'));
1788 unittest.expect(o.etag, unittest.equals('foo')); 1792 unittest.expect(o.etag, unittest.equals('foo'));
1789 checkUnnamed884(o.exportLinks); 1793 checkUnnamed624(o.exportLinks);
1790 unittest.expect(o.fileSize, unittest.equals('foo')); 1794 unittest.expect(o.fileSize, unittest.equals('foo'));
1791 unittest.expect(o.id, unittest.equals('foo')); 1795 unittest.expect(o.id, unittest.equals('foo'));
1792 unittest.expect(o.kind, unittest.equals('foo')); 1796 unittest.expect(o.kind, unittest.equals('foo'));
1793 checkUser(o.lastModifyingUser); 1797 checkUser(o.lastModifyingUser);
1794 unittest.expect(o.lastModifyingUserName, unittest.equals('foo')); 1798 unittest.expect(o.lastModifyingUserName, unittest.equals('foo'));
1795 unittest.expect(o.md5Checksum, unittest.equals('foo')); 1799 unittest.expect(o.md5Checksum, unittest.equals('foo'));
1796 unittest.expect(o.mimeType, unittest.equals('foo')); 1800 unittest.expect(o.mimeType, unittest.equals('foo'));
1797 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02"))); 1801 unittest.expect(o.modifiedDate, unittest.equals(core.DateTime.parse("2002-02 -27T14:01:02")));
1798 unittest.expect(o.originalFilename, unittest.equals('foo')); 1802 unittest.expect(o.originalFilename, unittest.equals('foo'));
1799 unittest.expect(o.pinned, unittest.isTrue); 1803 unittest.expect(o.pinned, unittest.isTrue);
1800 unittest.expect(o.publishAuto, unittest.isTrue); 1804 unittest.expect(o.publishAuto, unittest.isTrue);
1801 unittest.expect(o.published, unittest.isTrue); 1805 unittest.expect(o.published, unittest.isTrue);
1802 unittest.expect(o.publishedLink, unittest.equals('foo')); 1806 unittest.expect(o.publishedLink, unittest.equals('foo'));
1803 unittest.expect(o.publishedOutsideDomain, unittest.isTrue); 1807 unittest.expect(o.publishedOutsideDomain, unittest.isTrue);
1804 unittest.expect(o.selfLink, unittest.equals('foo')); 1808 unittest.expect(o.selfLink, unittest.equals('foo'));
1805 } 1809 }
1806 buildCounterRevision--; 1810 buildCounterRevision--;
1807 } 1811 }
1808 1812
1809 buildUnnamed885() { 1813 buildUnnamed625() {
1810 var o = new core.List<api.Revision>(); 1814 var o = new core.List<api.Revision>();
1811 o.add(buildRevision()); 1815 o.add(buildRevision());
1812 o.add(buildRevision()); 1816 o.add(buildRevision());
1813 return o; 1817 return o;
1814 } 1818 }
1815 1819
1816 checkUnnamed885(core.List<api.Revision> o) { 1820 checkUnnamed625(core.List<api.Revision> o) {
1817 unittest.expect(o, unittest.hasLength(2)); 1821 unittest.expect(o, unittest.hasLength(2));
1818 checkRevision(o[0]); 1822 checkRevision(o[0]);
1819 checkRevision(o[1]); 1823 checkRevision(o[1]);
1820 } 1824 }
1821 1825
1822 core.int buildCounterRevisionList = 0; 1826 core.int buildCounterRevisionList = 0;
1823 buildRevisionList() { 1827 buildRevisionList() {
1824 var o = new api.RevisionList(); 1828 var o = new api.RevisionList();
1825 buildCounterRevisionList++; 1829 buildCounterRevisionList++;
1826 if (buildCounterRevisionList < 3) { 1830 if (buildCounterRevisionList < 3) {
1827 o.etag = "foo"; 1831 o.etag = "foo";
1828 o.items = buildUnnamed885(); 1832 o.items = buildUnnamed625();
1829 o.kind = "foo"; 1833 o.kind = "foo";
1830 o.nextPageToken = "foo"; 1834 o.nextPageToken = "foo";
1831 o.selfLink = "foo"; 1835 o.selfLink = "foo";
1832 } 1836 }
1833 buildCounterRevisionList--; 1837 buildCounterRevisionList--;
1834 return o; 1838 return o;
1835 } 1839 }
1836 1840
1837 checkRevisionList(api.RevisionList o) { 1841 checkRevisionList(api.RevisionList o) {
1838 buildCounterRevisionList++; 1842 buildCounterRevisionList++;
1839 if (buildCounterRevisionList < 3) { 1843 if (buildCounterRevisionList < 3) {
1840 unittest.expect(o.etag, unittest.equals('foo')); 1844 unittest.expect(o.etag, unittest.equals('foo'));
1841 checkUnnamed885(o.items); 1845 checkUnnamed625(o.items);
1842 unittest.expect(o.kind, unittest.equals('foo')); 1846 unittest.expect(o.kind, unittest.equals('foo'));
1843 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1847 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1844 unittest.expect(o.selfLink, unittest.equals('foo')); 1848 unittest.expect(o.selfLink, unittest.equals('foo'));
1845 } 1849 }
1846 buildCounterRevisionList--; 1850 buildCounterRevisionList--;
1847 } 1851 }
1848 1852
1849 core.int buildCounterUserPicture = 0; 1853 core.int buildCounterUserPicture = 0;
1850 buildUserPicture() { 1854 buildUserPicture() {
1851 var o = new api.UserPicture(); 1855 var o = new api.UserPicture();
(...skipping 4025 matching lines...)
5877 res.update(arg_request, arg_fileId, arg_revisionId).then(unittest.expectAs ync(((api.Revision response) { 5881 res.update(arg_request, arg_fileId, arg_revisionId).then(unittest.expectAs ync(((api.Revision response) {
5878 checkRevision(response); 5882 checkRevision(response);
5879 }))); 5883 })));
5880 }); 5884 });
5881 5885
5882 }); 5886 });
5883 5887
5884 5888
5885 } 5889 }
5886 5890
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