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

Side by Side Diff: generated/googleapis/test/calendar/v3_test.dart

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.calendar.v3.test; 1 library googleapis.calendar.v3.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 } 44 }
45 } 45 }
46 } 46 }
47 47
48 http.StreamedResponse stringResponse( 48 http.StreamedResponse stringResponse(
49 core.int status, core.Map headers, core.String body) { 49 core.int status, core.Map headers, core.String body) {
50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]); 50 var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
51 return new http.StreamedResponse(stream, status, headers: headers); 51 return new http.StreamedResponse(stream, status, headers: headers);
52 } 52 }
53 53
54 buildUnnamed996() { 54 buildUnnamed1022() {
55 var o = new core.List<api.AclRule>(); 55 var o = new core.List<api.AclRule>();
56 o.add(buildAclRule()); 56 o.add(buildAclRule());
57 o.add(buildAclRule()); 57 o.add(buildAclRule());
58 return o; 58 return o;
59 } 59 }
60 60
61 checkUnnamed996(core.List<api.AclRule> o) { 61 checkUnnamed1022(core.List<api.AclRule> o) {
62 unittest.expect(o, unittest.hasLength(2)); 62 unittest.expect(o, unittest.hasLength(2));
63 checkAclRule(o[0]); 63 checkAclRule(o[0]);
64 checkAclRule(o[1]); 64 checkAclRule(o[1]);
65 } 65 }
66 66
67 core.int buildCounterAcl = 0; 67 core.int buildCounterAcl = 0;
68 buildAcl() { 68 buildAcl() {
69 var o = new api.Acl(); 69 var o = new api.Acl();
70 buildCounterAcl++; 70 buildCounterAcl++;
71 if (buildCounterAcl < 3) { 71 if (buildCounterAcl < 3) {
72 o.etag = "foo"; 72 o.etag = "foo";
73 o.items = buildUnnamed996(); 73 o.items = buildUnnamed1022();
74 o.kind = "foo"; 74 o.kind = "foo";
75 o.nextPageToken = "foo"; 75 o.nextPageToken = "foo";
76 o.nextSyncToken = "foo"; 76 o.nextSyncToken = "foo";
77 } 77 }
78 buildCounterAcl--; 78 buildCounterAcl--;
79 return o; 79 return o;
80 } 80 }
81 81
82 checkAcl(api.Acl o) { 82 checkAcl(api.Acl o) {
83 buildCounterAcl++; 83 buildCounterAcl++;
84 if (buildCounterAcl < 3) { 84 if (buildCounterAcl < 3) {
85 unittest.expect(o.etag, unittest.equals('foo')); 85 unittest.expect(o.etag, unittest.equals('foo'));
86 checkUnnamed996(o.items); 86 checkUnnamed1022(o.items);
87 unittest.expect(o.kind, unittest.equals('foo')); 87 unittest.expect(o.kind, unittest.equals('foo'));
88 unittest.expect(o.nextPageToken, unittest.equals('foo')); 88 unittest.expect(o.nextPageToken, unittest.equals('foo'));
89 unittest.expect(o.nextSyncToken, unittest.equals('foo')); 89 unittest.expect(o.nextSyncToken, unittest.equals('foo'));
90 } 90 }
91 buildCounterAcl--; 91 buildCounterAcl--;
92 } 92 }
93 93
94 core.int buildCounterAclRuleScope = 0; 94 core.int buildCounterAclRuleScope = 0;
95 buildAclRuleScope() { 95 buildAclRuleScope() {
96 var o = new api.AclRuleScope(); 96 var o = new api.AclRuleScope();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 unittest.expect(o.etag, unittest.equals('foo')); 163 unittest.expect(o.etag, unittest.equals('foo'));
164 unittest.expect(o.id, unittest.equals('foo')); 164 unittest.expect(o.id, unittest.equals('foo'));
165 unittest.expect(o.kind, unittest.equals('foo')); 165 unittest.expect(o.kind, unittest.equals('foo'));
166 unittest.expect(o.location, unittest.equals('foo')); 166 unittest.expect(o.location, unittest.equals('foo'));
167 unittest.expect(o.summary, unittest.equals('foo')); 167 unittest.expect(o.summary, unittest.equals('foo'));
168 unittest.expect(o.timeZone, unittest.equals('foo')); 168 unittest.expect(o.timeZone, unittest.equals('foo'));
169 } 169 }
170 buildCounterCalendar--; 170 buildCounterCalendar--;
171 } 171 }
172 172
173 buildUnnamed997() { 173 buildUnnamed1023() {
174 var o = new core.List<api.CalendarListEntry>(); 174 var o = new core.List<api.CalendarListEntry>();
175 o.add(buildCalendarListEntry()); 175 o.add(buildCalendarListEntry());
176 o.add(buildCalendarListEntry()); 176 o.add(buildCalendarListEntry());
177 return o; 177 return o;
178 } 178 }
179 179
180 checkUnnamed997(core.List<api.CalendarListEntry> o) { 180 checkUnnamed1023(core.List<api.CalendarListEntry> o) {
181 unittest.expect(o, unittest.hasLength(2)); 181 unittest.expect(o, unittest.hasLength(2));
182 checkCalendarListEntry(o[0]); 182 checkCalendarListEntry(o[0]);
183 checkCalendarListEntry(o[1]); 183 checkCalendarListEntry(o[1]);
184 } 184 }
185 185
186 core.int buildCounterCalendarList = 0; 186 core.int buildCounterCalendarList = 0;
187 buildCalendarList() { 187 buildCalendarList() {
188 var o = new api.CalendarList(); 188 var o = new api.CalendarList();
189 buildCounterCalendarList++; 189 buildCounterCalendarList++;
190 if (buildCounterCalendarList < 3) { 190 if (buildCounterCalendarList < 3) {
191 o.etag = "foo"; 191 o.etag = "foo";
192 o.items = buildUnnamed997(); 192 o.items = buildUnnamed1023();
193 o.kind = "foo"; 193 o.kind = "foo";
194 o.nextPageToken = "foo"; 194 o.nextPageToken = "foo";
195 o.nextSyncToken = "foo"; 195 o.nextSyncToken = "foo";
196 } 196 }
197 buildCounterCalendarList--; 197 buildCounterCalendarList--;
198 return o; 198 return o;
199 } 199 }
200 200
201 checkCalendarList(api.CalendarList o) { 201 checkCalendarList(api.CalendarList o) {
202 buildCounterCalendarList++; 202 buildCounterCalendarList++;
203 if (buildCounterCalendarList < 3) { 203 if (buildCounterCalendarList < 3) {
204 unittest.expect(o.etag, unittest.equals('foo')); 204 unittest.expect(o.etag, unittest.equals('foo'));
205 checkUnnamed997(o.items); 205 checkUnnamed1023(o.items);
206 unittest.expect(o.kind, unittest.equals('foo')); 206 unittest.expect(o.kind, unittest.equals('foo'));
207 unittest.expect(o.nextPageToken, unittest.equals('foo')); 207 unittest.expect(o.nextPageToken, unittest.equals('foo'));
208 unittest.expect(o.nextSyncToken, unittest.equals('foo')); 208 unittest.expect(o.nextSyncToken, unittest.equals('foo'));
209 } 209 }
210 buildCounterCalendarList--; 210 buildCounterCalendarList--;
211 } 211 }
212 212
213 buildUnnamed998() { 213 buildUnnamed1024() {
214 var o = new core.List<api.EventReminder>(); 214 var o = new core.List<api.EventReminder>();
215 o.add(buildEventReminder()); 215 o.add(buildEventReminder());
216 o.add(buildEventReminder()); 216 o.add(buildEventReminder());
217 return o; 217 return o;
218 } 218 }
219 219
220 checkUnnamed998(core.List<api.EventReminder> o) { 220 checkUnnamed1024(core.List<api.EventReminder> o) {
221 unittest.expect(o, unittest.hasLength(2)); 221 unittest.expect(o, unittest.hasLength(2));
222 checkEventReminder(o[0]); 222 checkEventReminder(o[0]);
223 checkEventReminder(o[1]); 223 checkEventReminder(o[1]);
224 } 224 }
225 225
226 buildUnnamed999() { 226 buildUnnamed1025() {
227 var o = new core.List<api.CalendarNotification>(); 227 var o = new core.List<api.CalendarNotification>();
228 o.add(buildCalendarNotification()); 228 o.add(buildCalendarNotification());
229 o.add(buildCalendarNotification()); 229 o.add(buildCalendarNotification());
230 return o; 230 return o;
231 } 231 }
232 232
233 checkUnnamed999(core.List<api.CalendarNotification> o) { 233 checkUnnamed1025(core.List<api.CalendarNotification> o) {
234 unittest.expect(o, unittest.hasLength(2)); 234 unittest.expect(o, unittest.hasLength(2));
235 checkCalendarNotification(o[0]); 235 checkCalendarNotification(o[0]);
236 checkCalendarNotification(o[1]); 236 checkCalendarNotification(o[1]);
237 } 237 }
238 238
239 core.int buildCounterCalendarListEntryNotificationSettings = 0; 239 core.int buildCounterCalendarListEntryNotificationSettings = 0;
240 buildCalendarListEntryNotificationSettings() { 240 buildCalendarListEntryNotificationSettings() {
241 var o = new api.CalendarListEntryNotificationSettings(); 241 var o = new api.CalendarListEntryNotificationSettings();
242 buildCounterCalendarListEntryNotificationSettings++; 242 buildCounterCalendarListEntryNotificationSettings++;
243 if (buildCounterCalendarListEntryNotificationSettings < 3) { 243 if (buildCounterCalendarListEntryNotificationSettings < 3) {
244 o.notifications = buildUnnamed999(); 244 o.notifications = buildUnnamed1025();
245 } 245 }
246 buildCounterCalendarListEntryNotificationSettings--; 246 buildCounterCalendarListEntryNotificationSettings--;
247 return o; 247 return o;
248 } 248 }
249 249
250 checkCalendarListEntryNotificationSettings(api.CalendarListEntryNotificationSett ings o) { 250 checkCalendarListEntryNotificationSettings(api.CalendarListEntryNotificationSett ings o) {
251 buildCounterCalendarListEntryNotificationSettings++; 251 buildCounterCalendarListEntryNotificationSettings++;
252 if (buildCounterCalendarListEntryNotificationSettings < 3) { 252 if (buildCounterCalendarListEntryNotificationSettings < 3) {
253 checkUnnamed999(o.notifications); 253 checkUnnamed1025(o.notifications);
254 } 254 }
255 buildCounterCalendarListEntryNotificationSettings--; 255 buildCounterCalendarListEntryNotificationSettings--;
256 } 256 }
257 257
258 core.int buildCounterCalendarListEntry = 0; 258 core.int buildCounterCalendarListEntry = 0;
259 buildCalendarListEntry() { 259 buildCalendarListEntry() {
260 var o = new api.CalendarListEntry(); 260 var o = new api.CalendarListEntry();
261 buildCounterCalendarListEntry++; 261 buildCounterCalendarListEntry++;
262 if (buildCounterCalendarListEntry < 3) { 262 if (buildCounterCalendarListEntry < 3) {
263 o.accessRole = "foo"; 263 o.accessRole = "foo";
264 o.backgroundColor = "foo"; 264 o.backgroundColor = "foo";
265 o.colorId = "foo"; 265 o.colorId = "foo";
266 o.defaultReminders = buildUnnamed998(); 266 o.defaultReminders = buildUnnamed1024();
267 o.deleted = true; 267 o.deleted = true;
268 o.description = "foo"; 268 o.description = "foo";
269 o.etag = "foo"; 269 o.etag = "foo";
270 o.foregroundColor = "foo"; 270 o.foregroundColor = "foo";
271 o.hidden = true; 271 o.hidden = true;
272 o.id = "foo"; 272 o.id = "foo";
273 o.kind = "foo"; 273 o.kind = "foo";
274 o.location = "foo"; 274 o.location = "foo";
275 o.notificationSettings = buildCalendarListEntryNotificationSettings(); 275 o.notificationSettings = buildCalendarListEntryNotificationSettings();
276 o.primary = true; 276 o.primary = true;
277 o.selected = true; 277 o.selected = true;
278 o.summary = "foo"; 278 o.summary = "foo";
279 o.summaryOverride = "foo"; 279 o.summaryOverride = "foo";
280 o.timeZone = "foo"; 280 o.timeZone = "foo";
281 } 281 }
282 buildCounterCalendarListEntry--; 282 buildCounterCalendarListEntry--;
283 return o; 283 return o;
284 } 284 }
285 285
286 checkCalendarListEntry(api.CalendarListEntry o) { 286 checkCalendarListEntry(api.CalendarListEntry o) {
287 buildCounterCalendarListEntry++; 287 buildCounterCalendarListEntry++;
288 if (buildCounterCalendarListEntry < 3) { 288 if (buildCounterCalendarListEntry < 3) {
289 unittest.expect(o.accessRole, unittest.equals('foo')); 289 unittest.expect(o.accessRole, unittest.equals('foo'));
290 unittest.expect(o.backgroundColor, unittest.equals('foo')); 290 unittest.expect(o.backgroundColor, unittest.equals('foo'));
291 unittest.expect(o.colorId, unittest.equals('foo')); 291 unittest.expect(o.colorId, unittest.equals('foo'));
292 checkUnnamed998(o.defaultReminders); 292 checkUnnamed1024(o.defaultReminders);
293 unittest.expect(o.deleted, unittest.isTrue); 293 unittest.expect(o.deleted, unittest.isTrue);
294 unittest.expect(o.description, unittest.equals('foo')); 294 unittest.expect(o.description, unittest.equals('foo'));
295 unittest.expect(o.etag, unittest.equals('foo')); 295 unittest.expect(o.etag, unittest.equals('foo'));
296 unittest.expect(o.foregroundColor, unittest.equals('foo')); 296 unittest.expect(o.foregroundColor, unittest.equals('foo'));
297 unittest.expect(o.hidden, unittest.isTrue); 297 unittest.expect(o.hidden, unittest.isTrue);
298 unittest.expect(o.id, unittest.equals('foo')); 298 unittest.expect(o.id, unittest.equals('foo'));
299 unittest.expect(o.kind, unittest.equals('foo')); 299 unittest.expect(o.kind, unittest.equals('foo'));
300 unittest.expect(o.location, unittest.equals('foo')); 300 unittest.expect(o.location, unittest.equals('foo'));
301 checkCalendarListEntryNotificationSettings(o.notificationSettings); 301 checkCalendarListEntryNotificationSettings(o.notificationSettings);
302 unittest.expect(o.primary, unittest.isTrue); 302 unittest.expect(o.primary, unittest.isTrue);
(...skipping 19 matching lines...) Expand all
322 322
323 checkCalendarNotification(api.CalendarNotification o) { 323 checkCalendarNotification(api.CalendarNotification o) {
324 buildCounterCalendarNotification++; 324 buildCounterCalendarNotification++;
325 if (buildCounterCalendarNotification < 3) { 325 if (buildCounterCalendarNotification < 3) {
326 unittest.expect(o.method, unittest.equals('foo')); 326 unittest.expect(o.method, unittest.equals('foo'));
327 unittest.expect(o.type, unittest.equals('foo')); 327 unittest.expect(o.type, unittest.equals('foo'));
328 } 328 }
329 buildCounterCalendarNotification--; 329 buildCounterCalendarNotification--;
330 } 330 }
331 331
332 buildUnnamed1000() { 332 buildUnnamed1026() {
333 var o = new core.Map<core.String, core.String>(); 333 var o = new core.Map<core.String, core.String>();
334 o["x"] = "foo"; 334 o["x"] = "foo";
335 o["y"] = "foo"; 335 o["y"] = "foo";
336 return o; 336 return o;
337 } 337 }
338 338
339 checkUnnamed1000(core.Map<core.String, core.String> o) { 339 checkUnnamed1026(core.Map<core.String, core.String> o) {
340 unittest.expect(o, unittest.hasLength(2)); 340 unittest.expect(o, unittest.hasLength(2));
341 unittest.expect(o["x"], unittest.equals('foo')); 341 unittest.expect(o["x"], unittest.equals('foo'));
342 unittest.expect(o["y"], unittest.equals('foo')); 342 unittest.expect(o["y"], unittest.equals('foo'));
343 } 343 }
344 344
345 core.int buildCounterChannel = 0; 345 core.int buildCounterChannel = 0;
346 buildChannel() { 346 buildChannel() {
347 var o = new api.Channel(); 347 var o = new api.Channel();
348 buildCounterChannel++; 348 buildCounterChannel++;
349 if (buildCounterChannel < 3) { 349 if (buildCounterChannel < 3) {
350 o.address = "foo"; 350 o.address = "foo";
351 o.expiration = "foo"; 351 o.expiration = "foo";
352 o.id = "foo"; 352 o.id = "foo";
353 o.kind = "foo"; 353 o.kind = "foo";
354 o.params = buildUnnamed1000(); 354 o.params = buildUnnamed1026();
355 o.payload = true; 355 o.payload = true;
356 o.resourceId = "foo"; 356 o.resourceId = "foo";
357 o.resourceUri = "foo"; 357 o.resourceUri = "foo";
358 o.token = "foo"; 358 o.token = "foo";
359 o.type = "foo"; 359 o.type = "foo";
360 } 360 }
361 buildCounterChannel--; 361 buildCounterChannel--;
362 return o; 362 return o;
363 } 363 }
364 364
365 checkChannel(api.Channel o) { 365 checkChannel(api.Channel o) {
366 buildCounterChannel++; 366 buildCounterChannel++;
367 if (buildCounterChannel < 3) { 367 if (buildCounterChannel < 3) {
368 unittest.expect(o.address, unittest.equals('foo')); 368 unittest.expect(o.address, unittest.equals('foo'));
369 unittest.expect(o.expiration, unittest.equals('foo')); 369 unittest.expect(o.expiration, unittest.equals('foo'));
370 unittest.expect(o.id, unittest.equals('foo')); 370 unittest.expect(o.id, unittest.equals('foo'));
371 unittest.expect(o.kind, unittest.equals('foo')); 371 unittest.expect(o.kind, unittest.equals('foo'));
372 checkUnnamed1000(o.params); 372 checkUnnamed1026(o.params);
373 unittest.expect(o.payload, unittest.isTrue); 373 unittest.expect(o.payload, unittest.isTrue);
374 unittest.expect(o.resourceId, unittest.equals('foo')); 374 unittest.expect(o.resourceId, unittest.equals('foo'));
375 unittest.expect(o.resourceUri, unittest.equals('foo')); 375 unittest.expect(o.resourceUri, unittest.equals('foo'));
376 unittest.expect(o.token, unittest.equals('foo')); 376 unittest.expect(o.token, unittest.equals('foo'));
377 unittest.expect(o.type, unittest.equals('foo')); 377 unittest.expect(o.type, unittest.equals('foo'));
378 } 378 }
379 buildCounterChannel--; 379 buildCounterChannel--;
380 } 380 }
381 381
382 core.int buildCounterColorDefinition = 0; 382 core.int buildCounterColorDefinition = 0;
(...skipping 10 matching lines...) Expand all
393 393
394 checkColorDefinition(api.ColorDefinition o) { 394 checkColorDefinition(api.ColorDefinition o) {
395 buildCounterColorDefinition++; 395 buildCounterColorDefinition++;
396 if (buildCounterColorDefinition < 3) { 396 if (buildCounterColorDefinition < 3) {
397 unittest.expect(o.background, unittest.equals('foo')); 397 unittest.expect(o.background, unittest.equals('foo'));
398 unittest.expect(o.foreground, unittest.equals('foo')); 398 unittest.expect(o.foreground, unittest.equals('foo'));
399 } 399 }
400 buildCounterColorDefinition--; 400 buildCounterColorDefinition--;
401 } 401 }
402 402
403 buildUnnamed1001() { 403 buildUnnamed1027() {
404 var o = new core.Map<core.String, api.ColorDefinition>(); 404 var o = new core.Map<core.String, api.ColorDefinition>();
405 o["x"] = buildColorDefinition(); 405 o["x"] = buildColorDefinition();
406 o["y"] = buildColorDefinition(); 406 o["y"] = buildColorDefinition();
407 return o; 407 return o;
408 } 408 }
409 409
410 checkUnnamed1001(core.Map<core.String, api.ColorDefinition> o) { 410 checkUnnamed1027(core.Map<core.String, api.ColorDefinition> o) {
411 unittest.expect(o, unittest.hasLength(2)); 411 unittest.expect(o, unittest.hasLength(2));
412 checkColorDefinition(o["x"]); 412 checkColorDefinition(o["x"]);
413 checkColorDefinition(o["y"]); 413 checkColorDefinition(o["y"]);
414 } 414 }
415 415
416 buildUnnamed1002() { 416 buildUnnamed1028() {
417 var o = new core.Map<core.String, api.ColorDefinition>(); 417 var o = new core.Map<core.String, api.ColorDefinition>();
418 o["x"] = buildColorDefinition(); 418 o["x"] = buildColorDefinition();
419 o["y"] = buildColorDefinition(); 419 o["y"] = buildColorDefinition();
420 return o; 420 return o;
421 } 421 }
422 422
423 checkUnnamed1002(core.Map<core.String, api.ColorDefinition> o) { 423 checkUnnamed1028(core.Map<core.String, api.ColorDefinition> o) {
424 unittest.expect(o, unittest.hasLength(2)); 424 unittest.expect(o, unittest.hasLength(2));
425 checkColorDefinition(o["x"]); 425 checkColorDefinition(o["x"]);
426 checkColorDefinition(o["y"]); 426 checkColorDefinition(o["y"]);
427 } 427 }
428 428
429 core.int buildCounterColors = 0; 429 core.int buildCounterColors = 0;
430 buildColors() { 430 buildColors() {
431 var o = new api.Colors(); 431 var o = new api.Colors();
432 buildCounterColors++; 432 buildCounterColors++;
433 if (buildCounterColors < 3) { 433 if (buildCounterColors < 3) {
434 o.calendar = buildUnnamed1001(); 434 o.calendar = buildUnnamed1027();
435 o.event = buildUnnamed1002(); 435 o.event = buildUnnamed1028();
436 o.kind = "foo"; 436 o.kind = "foo";
437 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 437 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
438 } 438 }
439 buildCounterColors--; 439 buildCounterColors--;
440 return o; 440 return o;
441 } 441 }
442 442
443 checkColors(api.Colors o) { 443 checkColors(api.Colors o) {
444 buildCounterColors++; 444 buildCounterColors++;
445 if (buildCounterColors < 3) { 445 if (buildCounterColors < 3) {
446 checkUnnamed1001(o.calendar); 446 checkUnnamed1027(o.calendar);
447 checkUnnamed1002(o.event); 447 checkUnnamed1028(o.event);
448 unittest.expect(o.kind, unittest.equals('foo')); 448 unittest.expect(o.kind, unittest.equals('foo'));
449 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 449 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
450 } 450 }
451 buildCounterColors--; 451 buildCounterColors--;
452 } 452 }
453 453
454 buildUnnamed1029() {
455 var o = new core.List<api.Link>();
456 o.add(buildLink());
457 o.add(buildLink());
458 return o;
459 }
460
461 checkUnnamed1029(core.List<api.Link> o) {
462 unittest.expect(o, unittest.hasLength(2));
463 checkLink(o[0]);
464 checkLink(o[1]);
465 }
466
467 core.int buildCounterDeepLinkData = 0;
468 buildDeepLinkData() {
469 var o = new api.DeepLinkData();
470 buildCounterDeepLinkData++;
471 if (buildCounterDeepLinkData < 3) {
472 o.links = buildUnnamed1029();
473 o.url = "foo";
474 }
475 buildCounterDeepLinkData--;
476 return o;
477 }
478
479 checkDeepLinkData(api.DeepLinkData o) {
480 buildCounterDeepLinkData++;
481 if (buildCounterDeepLinkData < 3) {
482 checkUnnamed1029(o.links);
483 unittest.expect(o.url, unittest.equals('foo'));
484 }
485 buildCounterDeepLinkData--;
486 }
487
488 core.int buildCounterDisplayInfo = 0;
489 buildDisplayInfo() {
490 var o = new api.DisplayInfo();
491 buildCounterDisplayInfo++;
492 if (buildCounterDisplayInfo < 3) {
493 o.appIconUrl = "foo";
494 o.appShortTitle = "foo";
495 o.appTitle = "foo";
496 o.linkShortTitle = "foo";
497 o.linkTitle = "foo";
498 }
499 buildCounterDisplayInfo--;
500 return o;
501 }
502
503 checkDisplayInfo(api.DisplayInfo o) {
504 buildCounterDisplayInfo++;
505 if (buildCounterDisplayInfo < 3) {
506 unittest.expect(o.appIconUrl, unittest.equals('foo'));
507 unittest.expect(o.appShortTitle, unittest.equals('foo'));
508 unittest.expect(o.appTitle, unittest.equals('foo'));
509 unittest.expect(o.linkShortTitle, unittest.equals('foo'));
510 unittest.expect(o.linkTitle, unittest.equals('foo'));
511 }
512 buildCounterDisplayInfo--;
513 }
514
454 core.int buildCounterError = 0; 515 core.int buildCounterError = 0;
455 buildError() { 516 buildError() {
456 var o = new api.Error(); 517 var o = new api.Error();
457 buildCounterError++; 518 buildCounterError++;
458 if (buildCounterError < 3) { 519 if (buildCounterError < 3) {
459 o.domain = "foo"; 520 o.domain = "foo";
460 o.reason = "foo"; 521 o.reason = "foo";
461 } 522 }
462 buildCounterError--; 523 buildCounterError--;
463 return o; 524 return o;
464 } 525 }
465 526
466 checkError(api.Error o) { 527 checkError(api.Error o) {
467 buildCounterError++; 528 buildCounterError++;
468 if (buildCounterError < 3) { 529 if (buildCounterError < 3) {
469 unittest.expect(o.domain, unittest.equals('foo')); 530 unittest.expect(o.domain, unittest.equals('foo'));
470 unittest.expect(o.reason, unittest.equals('foo')); 531 unittest.expect(o.reason, unittest.equals('foo'));
471 } 532 }
472 buildCounterError--; 533 buildCounterError--;
473 } 534 }
474 535
475 buildUnnamed1003() { 536 buildUnnamed1030() {
476 var o = new core.List<api.EventAttachment>(); 537 var o = new core.List<api.EventAttachment>();
477 o.add(buildEventAttachment()); 538 o.add(buildEventAttachment());
478 o.add(buildEventAttachment()); 539 o.add(buildEventAttachment());
479 return o; 540 return o;
480 } 541 }
481 542
482 checkUnnamed1003(core.List<api.EventAttachment> o) { 543 checkUnnamed1030(core.List<api.EventAttachment> o) {
483 unittest.expect(o, unittest.hasLength(2)); 544 unittest.expect(o, unittest.hasLength(2));
484 checkEventAttachment(o[0]); 545 checkEventAttachment(o[0]);
485 checkEventAttachment(o[1]); 546 checkEventAttachment(o[1]);
486 } 547 }
487 548
488 buildUnnamed1004() { 549 buildUnnamed1031() {
489 var o = new core.List<api.EventAttendee>(); 550 var o = new core.List<api.EventAttendee>();
490 o.add(buildEventAttendee()); 551 o.add(buildEventAttendee());
491 o.add(buildEventAttendee()); 552 o.add(buildEventAttendee());
492 return o; 553 return o;
493 } 554 }
494 555
495 checkUnnamed1004(core.List<api.EventAttendee> o) { 556 checkUnnamed1031(core.List<api.EventAttendee> o) {
496 unittest.expect(o, unittest.hasLength(2)); 557 unittest.expect(o, unittest.hasLength(2));
497 checkEventAttendee(o[0]); 558 checkEventAttendee(o[0]);
498 checkEventAttendee(o[1]); 559 checkEventAttendee(o[1]);
499 } 560 }
500 561
501 core.int buildCounterEventCreator = 0; 562 core.int buildCounterEventCreator = 0;
502 buildEventCreator() { 563 buildEventCreator() {
503 var o = new api.EventCreator(); 564 var o = new api.EventCreator();
504 buildCounterEventCreator++; 565 buildCounterEventCreator++;
505 if (buildCounterEventCreator < 3) { 566 if (buildCounterEventCreator < 3) {
(...skipping 10 matching lines...) Expand all
516 buildCounterEventCreator++; 577 buildCounterEventCreator++;
517 if (buildCounterEventCreator < 3) { 578 if (buildCounterEventCreator < 3) {
518 unittest.expect(o.displayName, unittest.equals('foo')); 579 unittest.expect(o.displayName, unittest.equals('foo'));
519 unittest.expect(o.email, unittest.equals('foo')); 580 unittest.expect(o.email, unittest.equals('foo'));
520 unittest.expect(o.id, unittest.equals('foo')); 581 unittest.expect(o.id, unittest.equals('foo'));
521 unittest.expect(o.self, unittest.isTrue); 582 unittest.expect(o.self, unittest.isTrue);
522 } 583 }
523 buildCounterEventCreator--; 584 buildCounterEventCreator--;
524 } 585 }
525 586
526 buildUnnamed1005() { 587 buildUnnamed1032() {
527 var o = new core.Map<core.String, core.String>(); 588 var o = new core.Map<core.String, core.String>();
528 o["x"] = "foo"; 589 o["x"] = "foo";
529 o["y"] = "foo"; 590 o["y"] = "foo";
530 return o; 591 return o;
531 } 592 }
532 593
533 checkUnnamed1005(core.Map<core.String, core.String> o) { 594 checkUnnamed1032(core.Map<core.String, core.String> o) {
534 unittest.expect(o, unittest.hasLength(2)); 595 unittest.expect(o, unittest.hasLength(2));
535 unittest.expect(o["x"], unittest.equals('foo')); 596 unittest.expect(o["x"], unittest.equals('foo'));
536 unittest.expect(o["y"], unittest.equals('foo')); 597 unittest.expect(o["y"], unittest.equals('foo'));
537 } 598 }
538 599
539 buildUnnamed1006() { 600 buildUnnamed1033() {
540 var o = new core.Map<core.String, core.String>(); 601 var o = new core.Map<core.String, core.String>();
541 o["x"] = "foo"; 602 o["x"] = "foo";
542 o["y"] = "foo"; 603 o["y"] = "foo";
543 return o; 604 return o;
544 } 605 }
545 606
546 checkUnnamed1006(core.Map<core.String, core.String> o) { 607 checkUnnamed1033(core.Map<core.String, core.String> o) {
547 unittest.expect(o, unittest.hasLength(2)); 608 unittest.expect(o, unittest.hasLength(2));
548 unittest.expect(o["x"], unittest.equals('foo')); 609 unittest.expect(o["x"], unittest.equals('foo'));
549 unittest.expect(o["y"], unittest.equals('foo')); 610 unittest.expect(o["y"], unittest.equals('foo'));
550 } 611 }
551 612
552 core.int buildCounterEventExtendedProperties = 0; 613 core.int buildCounterEventExtendedProperties = 0;
553 buildEventExtendedProperties() { 614 buildEventExtendedProperties() {
554 var o = new api.EventExtendedProperties(); 615 var o = new api.EventExtendedProperties();
555 buildCounterEventExtendedProperties++; 616 buildCounterEventExtendedProperties++;
556 if (buildCounterEventExtendedProperties < 3) { 617 if (buildCounterEventExtendedProperties < 3) {
557 o.private = buildUnnamed1005(); 618 o.private = buildUnnamed1032();
558 o.shared = buildUnnamed1006(); 619 o.shared = buildUnnamed1033();
559 } 620 }
560 buildCounterEventExtendedProperties--; 621 buildCounterEventExtendedProperties--;
561 return o; 622 return o;
562 } 623 }
563 624
564 checkEventExtendedProperties(api.EventExtendedProperties o) { 625 checkEventExtendedProperties(api.EventExtendedProperties o) {
565 buildCounterEventExtendedProperties++; 626 buildCounterEventExtendedProperties++;
566 if (buildCounterEventExtendedProperties < 3) { 627 if (buildCounterEventExtendedProperties < 3) {
567 checkUnnamed1005(o.private); 628 checkUnnamed1032(o.private);
568 checkUnnamed1006(o.shared); 629 checkUnnamed1033(o.shared);
569 } 630 }
570 buildCounterEventExtendedProperties--; 631 buildCounterEventExtendedProperties--;
571 } 632 }
572 633
573 buildUnnamed1007() { 634 buildUnnamed1034() {
574 var o = new core.Map<core.String, core.String>(); 635 var o = new core.Map<core.String, core.String>();
575 o["x"] = "foo"; 636 o["x"] = "foo";
576 o["y"] = "foo"; 637 o["y"] = "foo";
577 return o; 638 return o;
578 } 639 }
579 640
580 checkUnnamed1007(core.Map<core.String, core.String> o) { 641 checkUnnamed1034(core.Map<core.String, core.String> o) {
581 unittest.expect(o, unittest.hasLength(2)); 642 unittest.expect(o, unittest.hasLength(2));
582 unittest.expect(o["x"], unittest.equals('foo')); 643 unittest.expect(o["x"], unittest.equals('foo'));
583 unittest.expect(o["y"], unittest.equals('foo')); 644 unittest.expect(o["y"], unittest.equals('foo'));
584 } 645 }
585 646
586 core.int buildCounterEventGadget = 0; 647 core.int buildCounterEventGadget = 0;
587 buildEventGadget() { 648 buildEventGadget() {
588 var o = new api.EventGadget(); 649 var o = new api.EventGadget();
589 buildCounterEventGadget++; 650 buildCounterEventGadget++;
590 if (buildCounterEventGadget < 3) { 651 if (buildCounterEventGadget < 3) {
591 o.display = "foo"; 652 o.display = "foo";
592 o.height = 42; 653 o.height = 42;
593 o.iconLink = "foo"; 654 o.iconLink = "foo";
594 o.link = "foo"; 655 o.link = "foo";
595 o.preferences = buildUnnamed1007(); 656 o.preferences = buildUnnamed1034();
596 o.title = "foo"; 657 o.title = "foo";
597 o.type = "foo"; 658 o.type = "foo";
598 o.width = 42; 659 o.width = 42;
599 } 660 }
600 buildCounterEventGadget--; 661 buildCounterEventGadget--;
601 return o; 662 return o;
602 } 663 }
603 664
604 checkEventGadget(api.EventGadget o) { 665 checkEventGadget(api.EventGadget o) {
605 buildCounterEventGadget++; 666 buildCounterEventGadget++;
606 if (buildCounterEventGadget < 3) { 667 if (buildCounterEventGadget < 3) {
607 unittest.expect(o.display, unittest.equals('foo')); 668 unittest.expect(o.display, unittest.equals('foo'));
608 unittest.expect(o.height, unittest.equals(42)); 669 unittest.expect(o.height, unittest.equals(42));
609 unittest.expect(o.iconLink, unittest.equals('foo')); 670 unittest.expect(o.iconLink, unittest.equals('foo'));
610 unittest.expect(o.link, unittest.equals('foo')); 671 unittest.expect(o.link, unittest.equals('foo'));
611 checkUnnamed1007(o.preferences); 672 checkUnnamed1034(o.preferences);
612 unittest.expect(o.title, unittest.equals('foo')); 673 unittest.expect(o.title, unittest.equals('foo'));
613 unittest.expect(o.type, unittest.equals('foo')); 674 unittest.expect(o.type, unittest.equals('foo'));
614 unittest.expect(o.width, unittest.equals(42)); 675 unittest.expect(o.width, unittest.equals(42));
615 } 676 }
616 buildCounterEventGadget--; 677 buildCounterEventGadget--;
617 } 678 }
618 679
619 core.int buildCounterEventOrganizer = 0; 680 core.int buildCounterEventOrganizer = 0;
620 buildEventOrganizer() { 681 buildEventOrganizer() {
621 var o = new api.EventOrganizer(); 682 var o = new api.EventOrganizer();
(...skipping 12 matching lines...) Expand all
634 buildCounterEventOrganizer++; 695 buildCounterEventOrganizer++;
635 if (buildCounterEventOrganizer < 3) { 696 if (buildCounterEventOrganizer < 3) {
636 unittest.expect(o.displayName, unittest.equals('foo')); 697 unittest.expect(o.displayName, unittest.equals('foo'));
637 unittest.expect(o.email, unittest.equals('foo')); 698 unittest.expect(o.email, unittest.equals('foo'));
638 unittest.expect(o.id, unittest.equals('foo')); 699 unittest.expect(o.id, unittest.equals('foo'));
639 unittest.expect(o.self, unittest.isTrue); 700 unittest.expect(o.self, unittest.isTrue);
640 } 701 }
641 buildCounterEventOrganizer--; 702 buildCounterEventOrganizer--;
642 } 703 }
643 704
644 buildUnnamed1008() { 705 buildUnnamed1035() {
645 var o = new core.List<core.String>(); 706 var o = new core.List<core.String>();
646 o.add("foo"); 707 o.add("foo");
647 o.add("foo"); 708 o.add("foo");
648 return o; 709 return o;
649 } 710 }
650 711
651 checkUnnamed1008(core.List<core.String> o) { 712 checkUnnamed1035(core.List<core.String> o) {
652 unittest.expect(o, unittest.hasLength(2)); 713 unittest.expect(o, unittest.hasLength(2));
653 unittest.expect(o[0], unittest.equals('foo')); 714 unittest.expect(o[0], unittest.equals('foo'));
654 unittest.expect(o[1], unittest.equals('foo')); 715 unittest.expect(o[1], unittest.equals('foo'));
655 } 716 }
656 717
657 buildUnnamed1009() { 718 buildUnnamed1036() {
658 var o = new core.List<api.EventReminder>(); 719 var o = new core.List<api.EventReminder>();
659 o.add(buildEventReminder()); 720 o.add(buildEventReminder());
660 o.add(buildEventReminder()); 721 o.add(buildEventReminder());
661 return o; 722 return o;
662 } 723 }
663 724
664 checkUnnamed1009(core.List<api.EventReminder> o) { 725 checkUnnamed1036(core.List<api.EventReminder> o) {
665 unittest.expect(o, unittest.hasLength(2)); 726 unittest.expect(o, unittest.hasLength(2));
666 checkEventReminder(o[0]); 727 checkEventReminder(o[0]);
667 checkEventReminder(o[1]); 728 checkEventReminder(o[1]);
668 } 729 }
669 730
670 core.int buildCounterEventReminders = 0; 731 core.int buildCounterEventReminders = 0;
671 buildEventReminders() { 732 buildEventReminders() {
672 var o = new api.EventReminders(); 733 var o = new api.EventReminders();
673 buildCounterEventReminders++; 734 buildCounterEventReminders++;
674 if (buildCounterEventReminders < 3) { 735 if (buildCounterEventReminders < 3) {
675 o.overrides = buildUnnamed1009(); 736 o.overrides = buildUnnamed1036();
676 o.useDefault = true; 737 o.useDefault = true;
677 } 738 }
678 buildCounterEventReminders--; 739 buildCounterEventReminders--;
679 return o; 740 return o;
680 } 741 }
681 742
682 checkEventReminders(api.EventReminders o) { 743 checkEventReminders(api.EventReminders o) {
683 buildCounterEventReminders++; 744 buildCounterEventReminders++;
684 if (buildCounterEventReminders < 3) { 745 if (buildCounterEventReminders < 3) {
685 checkUnnamed1009(o.overrides); 746 checkUnnamed1036(o.overrides);
686 unittest.expect(o.useDefault, unittest.isTrue); 747 unittest.expect(o.useDefault, unittest.isTrue);
687 } 748 }
688 buildCounterEventReminders--; 749 buildCounterEventReminders--;
689 } 750 }
690 751
691 core.int buildCounterEventSource = 0; 752 core.int buildCounterEventSource = 0;
692 buildEventSource() { 753 buildEventSource() {
693 var o = new api.EventSource(); 754 var o = new api.EventSource();
694 buildCounterEventSource++; 755 buildCounterEventSource++;
695 if (buildCounterEventSource < 3) { 756 if (buildCounterEventSource < 3) {
(...skipping 12 matching lines...) Expand all
708 } 769 }
709 buildCounterEventSource--; 770 buildCounterEventSource--;
710 } 771 }
711 772
712 core.int buildCounterEvent = 0; 773 core.int buildCounterEvent = 0;
713 buildEvent() { 774 buildEvent() {
714 var o = new api.Event(); 775 var o = new api.Event();
715 buildCounterEvent++; 776 buildCounterEvent++;
716 if (buildCounterEvent < 3) { 777 if (buildCounterEvent < 3) {
717 o.anyoneCanAddSelf = true; 778 o.anyoneCanAddSelf = true;
718 o.attachments = buildUnnamed1003(); 779 o.attachments = buildUnnamed1030();
719 o.attendees = buildUnnamed1004(); 780 o.attendees = buildUnnamed1031();
720 o.attendeesOmitted = true; 781 o.attendeesOmitted = true;
721 o.colorId = "foo"; 782 o.colorId = "foo";
722 o.created = core.DateTime.parse("2002-02-27T14:01:02"); 783 o.created = core.DateTime.parse("2002-02-27T14:01:02");
723 o.creator = buildEventCreator(); 784 o.creator = buildEventCreator();
724 o.description = "foo"; 785 o.description = "foo";
725 o.end = buildEventDateTime(); 786 o.end = buildEventDateTime();
726 o.endTimeUnspecified = true; 787 o.endTimeUnspecified = true;
727 o.etag = "foo"; 788 o.etag = "foo";
728 o.extendedProperties = buildEventExtendedProperties(); 789 o.extendedProperties = buildEventExtendedProperties();
729 o.gadget = buildEventGadget(); 790 o.gadget = buildEventGadget();
730 o.guestsCanInviteOthers = true; 791 o.guestsCanInviteOthers = true;
731 o.guestsCanModify = true; 792 o.guestsCanModify = true;
732 o.guestsCanSeeOtherGuests = true; 793 o.guestsCanSeeOtherGuests = true;
733 o.hangoutLink = "foo"; 794 o.hangoutLink = "foo";
734 o.htmlLink = "foo"; 795 o.htmlLink = "foo";
735 o.iCalUID = "foo"; 796 o.iCalUID = "foo";
736 o.id = "foo"; 797 o.id = "foo";
737 o.kind = "foo"; 798 o.kind = "foo";
738 o.location = "foo"; 799 o.location = "foo";
739 o.locked = true; 800 o.locked = true;
740 o.organizer = buildEventOrganizer(); 801 o.organizer = buildEventOrganizer();
741 o.originalStartTime = buildEventDateTime(); 802 o.originalStartTime = buildEventDateTime();
742 o.privateCopy = true; 803 o.privateCopy = true;
743 o.recurrence = buildUnnamed1008(); 804 o.recurrence = buildUnnamed1035();
744 o.recurringEventId = "foo"; 805 o.recurringEventId = "foo";
745 o.reminders = buildEventReminders(); 806 o.reminders = buildEventReminders();
746 o.sequence = 42; 807 o.sequence = 42;
747 o.source = buildEventSource(); 808 o.source = buildEventSource();
748 o.start = buildEventDateTime(); 809 o.start = buildEventDateTime();
749 o.status = "foo"; 810 o.status = "foo";
750 o.summary = "foo"; 811 o.summary = "foo";
751 o.transparency = "foo"; 812 o.transparency = "foo";
752 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 813 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
753 o.visibility = "foo"; 814 o.visibility = "foo";
754 } 815 }
755 buildCounterEvent--; 816 buildCounterEvent--;
756 return o; 817 return o;
757 } 818 }
758 819
759 checkEvent(api.Event o) { 820 checkEvent(api.Event o) {
760 buildCounterEvent++; 821 buildCounterEvent++;
761 if (buildCounterEvent < 3) { 822 if (buildCounterEvent < 3) {
762 unittest.expect(o.anyoneCanAddSelf, unittest.isTrue); 823 unittest.expect(o.anyoneCanAddSelf, unittest.isTrue);
763 checkUnnamed1003(o.attachments); 824 checkUnnamed1030(o.attachments);
764 checkUnnamed1004(o.attendees); 825 checkUnnamed1031(o.attendees);
765 unittest.expect(o.attendeesOmitted, unittest.isTrue); 826 unittest.expect(o.attendeesOmitted, unittest.isTrue);
766 unittest.expect(o.colorId, unittest.equals('foo')); 827 unittest.expect(o.colorId, unittest.equals('foo'));
767 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 828 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
768 checkEventCreator(o.creator); 829 checkEventCreator(o.creator);
769 unittest.expect(o.description, unittest.equals('foo')); 830 unittest.expect(o.description, unittest.equals('foo'));
770 checkEventDateTime(o.end); 831 checkEventDateTime(o.end);
771 unittest.expect(o.endTimeUnspecified, unittest.isTrue); 832 unittest.expect(o.endTimeUnspecified, unittest.isTrue);
772 unittest.expect(o.etag, unittest.equals('foo')); 833 unittest.expect(o.etag, unittest.equals('foo'));
773 checkEventExtendedProperties(o.extendedProperties); 834 checkEventExtendedProperties(o.extendedProperties);
774 checkEventGadget(o.gadget); 835 checkEventGadget(o.gadget);
775 unittest.expect(o.guestsCanInviteOthers, unittest.isTrue); 836 unittest.expect(o.guestsCanInviteOthers, unittest.isTrue);
776 unittest.expect(o.guestsCanModify, unittest.isTrue); 837 unittest.expect(o.guestsCanModify, unittest.isTrue);
777 unittest.expect(o.guestsCanSeeOtherGuests, unittest.isTrue); 838 unittest.expect(o.guestsCanSeeOtherGuests, unittest.isTrue);
778 unittest.expect(o.hangoutLink, unittest.equals('foo')); 839 unittest.expect(o.hangoutLink, unittest.equals('foo'));
779 unittest.expect(o.htmlLink, unittest.equals('foo')); 840 unittest.expect(o.htmlLink, unittest.equals('foo'));
780 unittest.expect(o.iCalUID, unittest.equals('foo')); 841 unittest.expect(o.iCalUID, unittest.equals('foo'));
781 unittest.expect(o.id, unittest.equals('foo')); 842 unittest.expect(o.id, unittest.equals('foo'));
782 unittest.expect(o.kind, unittest.equals('foo')); 843 unittest.expect(o.kind, unittest.equals('foo'));
783 unittest.expect(o.location, unittest.equals('foo')); 844 unittest.expect(o.location, unittest.equals('foo'));
784 unittest.expect(o.locked, unittest.isTrue); 845 unittest.expect(o.locked, unittest.isTrue);
785 checkEventOrganizer(o.organizer); 846 checkEventOrganizer(o.organizer);
786 checkEventDateTime(o.originalStartTime); 847 checkEventDateTime(o.originalStartTime);
787 unittest.expect(o.privateCopy, unittest.isTrue); 848 unittest.expect(o.privateCopy, unittest.isTrue);
788 checkUnnamed1008(o.recurrence); 849 checkUnnamed1035(o.recurrence);
789 unittest.expect(o.recurringEventId, unittest.equals('foo')); 850 unittest.expect(o.recurringEventId, unittest.equals('foo'));
790 checkEventReminders(o.reminders); 851 checkEventReminders(o.reminders);
791 unittest.expect(o.sequence, unittest.equals(42)); 852 unittest.expect(o.sequence, unittest.equals(42));
792 checkEventSource(o.source); 853 checkEventSource(o.source);
793 checkEventDateTime(o.start); 854 checkEventDateTime(o.start);
794 unittest.expect(o.status, unittest.equals('foo')); 855 unittest.expect(o.status, unittest.equals('foo'));
795 unittest.expect(o.summary, unittest.equals('foo')); 856 unittest.expect(o.summary, unittest.equals('foo'));
796 unittest.expect(o.transparency, unittest.equals('foo')); 857 unittest.expect(o.transparency, unittest.equals('foo'));
797 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 858 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
798 unittest.expect(o.visibility, unittest.equals('foo')); 859 unittest.expect(o.visibility, unittest.equals('foo'));
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 checkEventDateTime(api.EventDateTime o) { 941 checkEventDateTime(api.EventDateTime o) {
881 buildCounterEventDateTime++; 942 buildCounterEventDateTime++;
882 if (buildCounterEventDateTime < 3) { 943 if (buildCounterEventDateTime < 3) {
883 unittest.expect(o.date, unittest.equals(core.DateTime.parse("2002-02-27T00:0 0:00"))); 944 unittest.expect(o.date, unittest.equals(core.DateTime.parse("2002-02-27T00:0 0:00")));
884 unittest.expect(o.dateTime, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02"))); 945 unittest.expect(o.dateTime, unittest.equals(core.DateTime.parse("2002-02-27T 14:01:02")));
885 unittest.expect(o.timeZone, unittest.equals('foo')); 946 unittest.expect(o.timeZone, unittest.equals('foo'));
886 } 947 }
887 buildCounterEventDateTime--; 948 buildCounterEventDateTime--;
888 } 949 }
889 950
951 core.int buildCounterEventHabitInstance = 0;
952 buildEventHabitInstance() {
953 var o = new api.EventHabitInstance();
954 buildCounterEventHabitInstance++;
955 if (buildCounterEventHabitInstance < 3) {
956 o.data = buildHabitInstanceData();
957 o.parentId = "foo";
958 }
959 buildCounterEventHabitInstance--;
960 return o;
961 }
962
963 checkEventHabitInstance(api.EventHabitInstance o) {
964 buildCounterEventHabitInstance++;
965 if (buildCounterEventHabitInstance < 3) {
966 checkHabitInstanceData(o.data);
967 unittest.expect(o.parentId, unittest.equals('foo'));
968 }
969 buildCounterEventHabitInstance--;
970 }
971
890 core.int buildCounterEventReminder = 0; 972 core.int buildCounterEventReminder = 0;
891 buildEventReminder() { 973 buildEventReminder() {
892 var o = new api.EventReminder(); 974 var o = new api.EventReminder();
893 buildCounterEventReminder++; 975 buildCounterEventReminder++;
894 if (buildCounterEventReminder < 3) { 976 if (buildCounterEventReminder < 3) {
895 o.method = "foo"; 977 o.method = "foo";
896 o.minutes = 42; 978 o.minutes = 42;
897 } 979 }
898 buildCounterEventReminder--; 980 buildCounterEventReminder--;
899 return o; 981 return o;
900 } 982 }
901 983
902 checkEventReminder(api.EventReminder o) { 984 checkEventReminder(api.EventReminder o) {
903 buildCounterEventReminder++; 985 buildCounterEventReminder++;
904 if (buildCounterEventReminder < 3) { 986 if (buildCounterEventReminder < 3) {
905 unittest.expect(o.method, unittest.equals('foo')); 987 unittest.expect(o.method, unittest.equals('foo'));
906 unittest.expect(o.minutes, unittest.equals(42)); 988 unittest.expect(o.minutes, unittest.equals(42));
907 } 989 }
908 buildCounterEventReminder--; 990 buildCounterEventReminder--;
909 } 991 }
910 992
911 buildUnnamed1010() { 993 buildUnnamed1037() {
912 var o = new core.List<api.EventReminder>(); 994 var o = new core.List<api.EventReminder>();
913 o.add(buildEventReminder()); 995 o.add(buildEventReminder());
914 o.add(buildEventReminder()); 996 o.add(buildEventReminder());
915 return o; 997 return o;
916 } 998 }
917 999
918 checkUnnamed1010(core.List<api.EventReminder> o) { 1000 checkUnnamed1037(core.List<api.EventReminder> o) {
919 unittest.expect(o, unittest.hasLength(2)); 1001 unittest.expect(o, unittest.hasLength(2));
920 checkEventReminder(o[0]); 1002 checkEventReminder(o[0]);
921 checkEventReminder(o[1]); 1003 checkEventReminder(o[1]);
922 } 1004 }
923 1005
924 buildUnnamed1011() { 1006 buildUnnamed1038() {
925 var o = new core.List<api.Event>(); 1007 var o = new core.List<api.Event>();
926 o.add(buildEvent()); 1008 o.add(buildEvent());
927 o.add(buildEvent()); 1009 o.add(buildEvent());
928 return o; 1010 return o;
929 } 1011 }
930 1012
931 checkUnnamed1011(core.List<api.Event> o) { 1013 checkUnnamed1038(core.List<api.Event> o) {
932 unittest.expect(o, unittest.hasLength(2)); 1014 unittest.expect(o, unittest.hasLength(2));
933 checkEvent(o[0]); 1015 checkEvent(o[0]);
934 checkEvent(o[1]); 1016 checkEvent(o[1]);
935 } 1017 }
936 1018
937 core.int buildCounterEvents = 0; 1019 core.int buildCounterEvents = 0;
938 buildEvents() { 1020 buildEvents() {
939 var o = new api.Events(); 1021 var o = new api.Events();
940 buildCounterEvents++; 1022 buildCounterEvents++;
941 if (buildCounterEvents < 3) { 1023 if (buildCounterEvents < 3) {
942 o.accessRole = "foo"; 1024 o.accessRole = "foo";
943 o.defaultReminders = buildUnnamed1010(); 1025 o.defaultReminders = buildUnnamed1037();
944 o.description = "foo"; 1026 o.description = "foo";
945 o.etag = "foo"; 1027 o.etag = "foo";
946 o.items = buildUnnamed1011(); 1028 o.items = buildUnnamed1038();
947 o.kind = "foo"; 1029 o.kind = "foo";
948 o.nextPageToken = "foo"; 1030 o.nextPageToken = "foo";
949 o.nextSyncToken = "foo"; 1031 o.nextSyncToken = "foo";
950 o.summary = "foo"; 1032 o.summary = "foo";
951 o.timeZone = "foo"; 1033 o.timeZone = "foo";
952 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 1034 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
953 } 1035 }
954 buildCounterEvents--; 1036 buildCounterEvents--;
955 return o; 1037 return o;
956 } 1038 }
957 1039
958 checkEvents(api.Events o) { 1040 checkEvents(api.Events o) {
959 buildCounterEvents++; 1041 buildCounterEvents++;
960 if (buildCounterEvents < 3) { 1042 if (buildCounterEvents < 3) {
961 unittest.expect(o.accessRole, unittest.equals('foo')); 1043 unittest.expect(o.accessRole, unittest.equals('foo'));
962 checkUnnamed1010(o.defaultReminders); 1044 checkUnnamed1037(o.defaultReminders);
963 unittest.expect(o.description, unittest.equals('foo')); 1045 unittest.expect(o.description, unittest.equals('foo'));
964 unittest.expect(o.etag, unittest.equals('foo')); 1046 unittest.expect(o.etag, unittest.equals('foo'));
965 checkUnnamed1011(o.items); 1047 checkUnnamed1038(o.items);
966 unittest.expect(o.kind, unittest.equals('foo')); 1048 unittest.expect(o.kind, unittest.equals('foo'));
967 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1049 unittest.expect(o.nextPageToken, unittest.equals('foo'));
968 unittest.expect(o.nextSyncToken, unittest.equals('foo')); 1050 unittest.expect(o.nextSyncToken, unittest.equals('foo'));
969 unittest.expect(o.summary, unittest.equals('foo')); 1051 unittest.expect(o.summary, unittest.equals('foo'));
970 unittest.expect(o.timeZone, unittest.equals('foo')); 1052 unittest.expect(o.timeZone, unittest.equals('foo'));
971 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1053 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
972 } 1054 }
973 buildCounterEvents--; 1055 buildCounterEvents--;
974 } 1056 }
975 1057
976 buildUnnamed1012() { 1058 buildUnnamed1039() {
977 var o = new core.List<api.TimePeriod>(); 1059 var o = new core.List<api.TimePeriod>();
978 o.add(buildTimePeriod()); 1060 o.add(buildTimePeriod());
979 o.add(buildTimePeriod()); 1061 o.add(buildTimePeriod());
980 return o; 1062 return o;
981 } 1063 }
982 1064
983 checkUnnamed1012(core.List<api.TimePeriod> o) { 1065 checkUnnamed1039(core.List<api.TimePeriod> o) {
984 unittest.expect(o, unittest.hasLength(2)); 1066 unittest.expect(o, unittest.hasLength(2));
985 checkTimePeriod(o[0]); 1067 checkTimePeriod(o[0]);
986 checkTimePeriod(o[1]); 1068 checkTimePeriod(o[1]);
987 } 1069 }
988 1070
989 buildUnnamed1013() { 1071 buildUnnamed1040() {
990 var o = new core.List<api.Error>(); 1072 var o = new core.List<api.Error>();
991 o.add(buildError()); 1073 o.add(buildError());
992 o.add(buildError()); 1074 o.add(buildError());
993 return o; 1075 return o;
994 } 1076 }
995 1077
996 checkUnnamed1013(core.List<api.Error> o) { 1078 checkUnnamed1040(core.List<api.Error> o) {
997 unittest.expect(o, unittest.hasLength(2)); 1079 unittest.expect(o, unittest.hasLength(2));
998 checkError(o[0]); 1080 checkError(o[0]);
999 checkError(o[1]); 1081 checkError(o[1]);
1000 } 1082 }
1001 1083
1002 core.int buildCounterFreeBusyCalendar = 0; 1084 core.int buildCounterFreeBusyCalendar = 0;
1003 buildFreeBusyCalendar() { 1085 buildFreeBusyCalendar() {
1004 var o = new api.FreeBusyCalendar(); 1086 var o = new api.FreeBusyCalendar();
1005 buildCounterFreeBusyCalendar++; 1087 buildCounterFreeBusyCalendar++;
1006 if (buildCounterFreeBusyCalendar < 3) { 1088 if (buildCounterFreeBusyCalendar < 3) {
1007 o.busy = buildUnnamed1012(); 1089 o.busy = buildUnnamed1039();
1008 o.errors = buildUnnamed1013(); 1090 o.errors = buildUnnamed1040();
1009 } 1091 }
1010 buildCounterFreeBusyCalendar--; 1092 buildCounterFreeBusyCalendar--;
1011 return o; 1093 return o;
1012 } 1094 }
1013 1095
1014 checkFreeBusyCalendar(api.FreeBusyCalendar o) { 1096 checkFreeBusyCalendar(api.FreeBusyCalendar o) {
1015 buildCounterFreeBusyCalendar++; 1097 buildCounterFreeBusyCalendar++;
1016 if (buildCounterFreeBusyCalendar < 3) { 1098 if (buildCounterFreeBusyCalendar < 3) {
1017 checkUnnamed1012(o.busy); 1099 checkUnnamed1039(o.busy);
1018 checkUnnamed1013(o.errors); 1100 checkUnnamed1040(o.errors);
1019 } 1101 }
1020 buildCounterFreeBusyCalendar--; 1102 buildCounterFreeBusyCalendar--;
1021 } 1103 }
1022 1104
1023 buildUnnamed1014() { 1105 buildUnnamed1041() {
1024 var o = new core.List<core.String>(); 1106 var o = new core.List<core.String>();
1025 o.add("foo"); 1107 o.add("foo");
1026 o.add("foo"); 1108 o.add("foo");
1027 return o; 1109 return o;
1028 } 1110 }
1029 1111
1030 checkUnnamed1014(core.List<core.String> o) { 1112 checkUnnamed1041(core.List<core.String> o) {
1031 unittest.expect(o, unittest.hasLength(2)); 1113 unittest.expect(o, unittest.hasLength(2));
1032 unittest.expect(o[0], unittest.equals('foo')); 1114 unittest.expect(o[0], unittest.equals('foo'));
1033 unittest.expect(o[1], unittest.equals('foo')); 1115 unittest.expect(o[1], unittest.equals('foo'));
1034 } 1116 }
1035 1117
1036 buildUnnamed1015() { 1118 buildUnnamed1042() {
1037 var o = new core.List<api.Error>(); 1119 var o = new core.List<api.Error>();
1038 o.add(buildError()); 1120 o.add(buildError());
1039 o.add(buildError()); 1121 o.add(buildError());
1040 return o; 1122 return o;
1041 } 1123 }
1042 1124
1043 checkUnnamed1015(core.List<api.Error> o) { 1125 checkUnnamed1042(core.List<api.Error> o) {
1044 unittest.expect(o, unittest.hasLength(2)); 1126 unittest.expect(o, unittest.hasLength(2));
1045 checkError(o[0]); 1127 checkError(o[0]);
1046 checkError(o[1]); 1128 checkError(o[1]);
1047 } 1129 }
1048 1130
1049 core.int buildCounterFreeBusyGroup = 0; 1131 core.int buildCounterFreeBusyGroup = 0;
1050 buildFreeBusyGroup() { 1132 buildFreeBusyGroup() {
1051 var o = new api.FreeBusyGroup(); 1133 var o = new api.FreeBusyGroup();
1052 buildCounterFreeBusyGroup++; 1134 buildCounterFreeBusyGroup++;
1053 if (buildCounterFreeBusyGroup < 3) { 1135 if (buildCounterFreeBusyGroup < 3) {
1054 o.calendars = buildUnnamed1014(); 1136 o.calendars = buildUnnamed1041();
1055 o.errors = buildUnnamed1015(); 1137 o.errors = buildUnnamed1042();
1056 } 1138 }
1057 buildCounterFreeBusyGroup--; 1139 buildCounterFreeBusyGroup--;
1058 return o; 1140 return o;
1059 } 1141 }
1060 1142
1061 checkFreeBusyGroup(api.FreeBusyGroup o) { 1143 checkFreeBusyGroup(api.FreeBusyGroup o) {
1062 buildCounterFreeBusyGroup++; 1144 buildCounterFreeBusyGroup++;
1063 if (buildCounterFreeBusyGroup < 3) { 1145 if (buildCounterFreeBusyGroup < 3) {
1064 checkUnnamed1014(o.calendars); 1146 checkUnnamed1041(o.calendars);
1065 checkUnnamed1015(o.errors); 1147 checkUnnamed1042(o.errors);
1066 } 1148 }
1067 buildCounterFreeBusyGroup--; 1149 buildCounterFreeBusyGroup--;
1068 } 1150 }
1069 1151
1070 buildUnnamed1016() { 1152 buildUnnamed1043() {
1071 var o = new core.List<api.FreeBusyRequestItem>(); 1153 var o = new core.List<api.FreeBusyRequestItem>();
1072 o.add(buildFreeBusyRequestItem()); 1154 o.add(buildFreeBusyRequestItem());
1073 o.add(buildFreeBusyRequestItem()); 1155 o.add(buildFreeBusyRequestItem());
1074 return o; 1156 return o;
1075 } 1157 }
1076 1158
1077 checkUnnamed1016(core.List<api.FreeBusyRequestItem> o) { 1159 checkUnnamed1043(core.List<api.FreeBusyRequestItem> o) {
1078 unittest.expect(o, unittest.hasLength(2)); 1160 unittest.expect(o, unittest.hasLength(2));
1079 checkFreeBusyRequestItem(o[0]); 1161 checkFreeBusyRequestItem(o[0]);
1080 checkFreeBusyRequestItem(o[1]); 1162 checkFreeBusyRequestItem(o[1]);
1081 } 1163 }
1082 1164
1083 core.int buildCounterFreeBusyRequest = 0; 1165 core.int buildCounterFreeBusyRequest = 0;
1084 buildFreeBusyRequest() { 1166 buildFreeBusyRequest() {
1085 var o = new api.FreeBusyRequest(); 1167 var o = new api.FreeBusyRequest();
1086 buildCounterFreeBusyRequest++; 1168 buildCounterFreeBusyRequest++;
1087 if (buildCounterFreeBusyRequest < 3) { 1169 if (buildCounterFreeBusyRequest < 3) {
1088 o.calendarExpansionMax = 42; 1170 o.calendarExpansionMax = 42;
1089 o.groupExpansionMax = 42; 1171 o.groupExpansionMax = 42;
1090 o.items = buildUnnamed1016(); 1172 o.items = buildUnnamed1043();
1091 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 1173 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
1092 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 1174 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
1093 o.timeZone = "foo"; 1175 o.timeZone = "foo";
1094 } 1176 }
1095 buildCounterFreeBusyRequest--; 1177 buildCounterFreeBusyRequest--;
1096 return o; 1178 return o;
1097 } 1179 }
1098 1180
1099 checkFreeBusyRequest(api.FreeBusyRequest o) { 1181 checkFreeBusyRequest(api.FreeBusyRequest o) {
1100 buildCounterFreeBusyRequest++; 1182 buildCounterFreeBusyRequest++;
1101 if (buildCounterFreeBusyRequest < 3) { 1183 if (buildCounterFreeBusyRequest < 3) {
1102 unittest.expect(o.calendarExpansionMax, unittest.equals(42)); 1184 unittest.expect(o.calendarExpansionMax, unittest.equals(42));
1103 unittest.expect(o.groupExpansionMax, unittest.equals(42)); 1185 unittest.expect(o.groupExpansionMax, unittest.equals(42));
1104 checkUnnamed1016(o.items); 1186 checkUnnamed1043(o.items);
1105 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1187 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1106 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1188 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1107 unittest.expect(o.timeZone, unittest.equals('foo')); 1189 unittest.expect(o.timeZone, unittest.equals('foo'));
1108 } 1190 }
1109 buildCounterFreeBusyRequest--; 1191 buildCounterFreeBusyRequest--;
1110 } 1192 }
1111 1193
1112 core.int buildCounterFreeBusyRequestItem = 0; 1194 core.int buildCounterFreeBusyRequestItem = 0;
1113 buildFreeBusyRequestItem() { 1195 buildFreeBusyRequestItem() {
1114 var o = new api.FreeBusyRequestItem(); 1196 var o = new api.FreeBusyRequestItem();
1115 buildCounterFreeBusyRequestItem++; 1197 buildCounterFreeBusyRequestItem++;
1116 if (buildCounterFreeBusyRequestItem < 3) { 1198 if (buildCounterFreeBusyRequestItem < 3) {
1117 o.id = "foo"; 1199 o.id = "foo";
1118 } 1200 }
1119 buildCounterFreeBusyRequestItem--; 1201 buildCounterFreeBusyRequestItem--;
1120 return o; 1202 return o;
1121 } 1203 }
1122 1204
1123 checkFreeBusyRequestItem(api.FreeBusyRequestItem o) { 1205 checkFreeBusyRequestItem(api.FreeBusyRequestItem o) {
1124 buildCounterFreeBusyRequestItem++; 1206 buildCounterFreeBusyRequestItem++;
1125 if (buildCounterFreeBusyRequestItem < 3) { 1207 if (buildCounterFreeBusyRequestItem < 3) {
1126 unittest.expect(o.id, unittest.equals('foo')); 1208 unittest.expect(o.id, unittest.equals('foo'));
1127 } 1209 }
1128 buildCounterFreeBusyRequestItem--; 1210 buildCounterFreeBusyRequestItem--;
1129 } 1211 }
1130 1212
1131 buildUnnamed1017() { 1213 buildUnnamed1044() {
1132 var o = new core.Map<core.String, api.FreeBusyCalendar>(); 1214 var o = new core.Map<core.String, api.FreeBusyCalendar>();
1133 o["x"] = buildFreeBusyCalendar(); 1215 o["x"] = buildFreeBusyCalendar();
1134 o["y"] = buildFreeBusyCalendar(); 1216 o["y"] = buildFreeBusyCalendar();
1135 return o; 1217 return o;
1136 } 1218 }
1137 1219
1138 checkUnnamed1017(core.Map<core.String, api.FreeBusyCalendar> o) { 1220 checkUnnamed1044(core.Map<core.String, api.FreeBusyCalendar> o) {
1139 unittest.expect(o, unittest.hasLength(2)); 1221 unittest.expect(o, unittest.hasLength(2));
1140 checkFreeBusyCalendar(o["x"]); 1222 checkFreeBusyCalendar(o["x"]);
1141 checkFreeBusyCalendar(o["y"]); 1223 checkFreeBusyCalendar(o["y"]);
1142 } 1224 }
1143 1225
1144 buildUnnamed1018() { 1226 buildUnnamed1045() {
1145 var o = new core.Map<core.String, api.FreeBusyGroup>(); 1227 var o = new core.Map<core.String, api.FreeBusyGroup>();
1146 o["x"] = buildFreeBusyGroup(); 1228 o["x"] = buildFreeBusyGroup();
1147 o["y"] = buildFreeBusyGroup(); 1229 o["y"] = buildFreeBusyGroup();
1148 return o; 1230 return o;
1149 } 1231 }
1150 1232
1151 checkUnnamed1018(core.Map<core.String, api.FreeBusyGroup> o) { 1233 checkUnnamed1045(core.Map<core.String, api.FreeBusyGroup> o) {
1152 unittest.expect(o, unittest.hasLength(2)); 1234 unittest.expect(o, unittest.hasLength(2));
1153 checkFreeBusyGroup(o["x"]); 1235 checkFreeBusyGroup(o["x"]);
1154 checkFreeBusyGroup(o["y"]); 1236 checkFreeBusyGroup(o["y"]);
1155 } 1237 }
1156 1238
1157 core.int buildCounterFreeBusyResponse = 0; 1239 core.int buildCounterFreeBusyResponse = 0;
1158 buildFreeBusyResponse() { 1240 buildFreeBusyResponse() {
1159 var o = new api.FreeBusyResponse(); 1241 var o = new api.FreeBusyResponse();
1160 buildCounterFreeBusyResponse++; 1242 buildCounterFreeBusyResponse++;
1161 if (buildCounterFreeBusyResponse < 3) { 1243 if (buildCounterFreeBusyResponse < 3) {
1162 o.calendars = buildUnnamed1017(); 1244 o.calendars = buildUnnamed1044();
1163 o.groups = buildUnnamed1018(); 1245 o.groups = buildUnnamed1045();
1164 o.kind = "foo"; 1246 o.kind = "foo";
1165 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 1247 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
1166 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 1248 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
1167 } 1249 }
1168 buildCounterFreeBusyResponse--; 1250 buildCounterFreeBusyResponse--;
1169 return o; 1251 return o;
1170 } 1252 }
1171 1253
1172 checkFreeBusyResponse(api.FreeBusyResponse o) { 1254 checkFreeBusyResponse(api.FreeBusyResponse o) {
1173 buildCounterFreeBusyResponse++; 1255 buildCounterFreeBusyResponse++;
1174 if (buildCounterFreeBusyResponse < 3) { 1256 if (buildCounterFreeBusyResponse < 3) {
1175 checkUnnamed1017(o.calendars); 1257 checkUnnamed1044(o.calendars);
1176 checkUnnamed1018(o.groups); 1258 checkUnnamed1045(o.groups);
1177 unittest.expect(o.kind, unittest.equals('foo')); 1259 unittest.expect(o.kind, unittest.equals('foo'));
1178 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1260 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1179 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1261 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1180 } 1262 }
1181 buildCounterFreeBusyResponse--; 1263 buildCounterFreeBusyResponse--;
1182 } 1264 }
1183 1265
1266 core.int buildCounterHabitInstanceData = 0;
1267 buildHabitInstanceData() {
1268 var o = new api.HabitInstanceData();
1269 buildCounterHabitInstanceData++;
1270 if (buildCounterHabitInstanceData < 3) {
1271 o.status = "foo";
1272 o.statusInferred = true;
1273 o.type = "foo";
1274 }
1275 buildCounterHabitInstanceData--;
1276 return o;
1277 }
1278
1279 checkHabitInstanceData(api.HabitInstanceData o) {
1280 buildCounterHabitInstanceData++;
1281 if (buildCounterHabitInstanceData < 3) {
1282 unittest.expect(o.status, unittest.equals('foo'));
1283 unittest.expect(o.statusInferred, unittest.isTrue);
1284 unittest.expect(o.type, unittest.equals('foo'));
1285 }
1286 buildCounterHabitInstanceData--;
1287 }
1288
1289 core.int buildCounterLaunchInfo = 0;
1290 buildLaunchInfo() {
1291 var o = new api.LaunchInfo();
1292 buildCounterLaunchInfo++;
1293 if (buildCounterLaunchInfo < 3) {
1294 o.appId = "foo";
1295 o.installUrl = "foo";
1296 o.intentAction = "foo";
1297 o.uri = "foo";
1298 }
1299 buildCounterLaunchInfo--;
1300 return o;
1301 }
1302
1303 checkLaunchInfo(api.LaunchInfo o) {
1304 buildCounterLaunchInfo++;
1305 if (buildCounterLaunchInfo < 3) {
1306 unittest.expect(o.appId, unittest.equals('foo'));
1307 unittest.expect(o.installUrl, unittest.equals('foo'));
1308 unittest.expect(o.intentAction, unittest.equals('foo'));
1309 unittest.expect(o.uri, unittest.equals('foo'));
1310 }
1311 buildCounterLaunchInfo--;
1312 }
1313
1314 core.int buildCounterLink = 0;
1315 buildLink() {
1316 var o = new api.Link();
1317 buildCounterLink++;
1318 if (buildCounterLink < 3) {
1319 o.applinkingSource = "foo";
1320 o.displayInfo = buildDisplayInfo();
1321 o.launchInfo = buildLaunchInfo();
1322 o.platform = "foo";
1323 o.url = "foo";
1324 }
1325 buildCounterLink--;
1326 return o;
1327 }
1328
1329 checkLink(api.Link o) {
1330 buildCounterLink++;
1331 if (buildCounterLink < 3) {
1332 unittest.expect(o.applinkingSource, unittest.equals('foo'));
1333 checkDisplayInfo(o.displayInfo);
1334 checkLaunchInfo(o.launchInfo);
1335 unittest.expect(o.platform, unittest.equals('foo'));
1336 unittest.expect(o.url, unittest.equals('foo'));
1337 }
1338 buildCounterLink--;
1339 }
1340
1184 core.int buildCounterSetting = 0; 1341 core.int buildCounterSetting = 0;
1185 buildSetting() { 1342 buildSetting() {
1186 var o = new api.Setting(); 1343 var o = new api.Setting();
1187 buildCounterSetting++; 1344 buildCounterSetting++;
1188 if (buildCounterSetting < 3) { 1345 if (buildCounterSetting < 3) {
1189 o.etag = "foo"; 1346 o.etag = "foo";
1190 o.id = "foo"; 1347 o.id = "foo";
1191 o.kind = "foo"; 1348 o.kind = "foo";
1192 o.value = "foo"; 1349 o.value = "foo";
1193 } 1350 }
1194 buildCounterSetting--; 1351 buildCounterSetting--;
1195 return o; 1352 return o;
1196 } 1353 }
1197 1354
1198 checkSetting(api.Setting o) { 1355 checkSetting(api.Setting o) {
1199 buildCounterSetting++; 1356 buildCounterSetting++;
1200 if (buildCounterSetting < 3) { 1357 if (buildCounterSetting < 3) {
1201 unittest.expect(o.etag, unittest.equals('foo')); 1358 unittest.expect(o.etag, unittest.equals('foo'));
1202 unittest.expect(o.id, unittest.equals('foo')); 1359 unittest.expect(o.id, unittest.equals('foo'));
1203 unittest.expect(o.kind, unittest.equals('foo')); 1360 unittest.expect(o.kind, unittest.equals('foo'));
1204 unittest.expect(o.value, unittest.equals('foo')); 1361 unittest.expect(o.value, unittest.equals('foo'));
1205 } 1362 }
1206 buildCounterSetting--; 1363 buildCounterSetting--;
1207 } 1364 }
1208 1365
1209 buildUnnamed1019() { 1366 buildUnnamed1046() {
1210 var o = new core.List<api.Setting>(); 1367 var o = new core.List<api.Setting>();
1211 o.add(buildSetting()); 1368 o.add(buildSetting());
1212 o.add(buildSetting()); 1369 o.add(buildSetting());
1213 return o; 1370 return o;
1214 } 1371 }
1215 1372
1216 checkUnnamed1019(core.List<api.Setting> o) { 1373 checkUnnamed1046(core.List<api.Setting> o) {
1217 unittest.expect(o, unittest.hasLength(2)); 1374 unittest.expect(o, unittest.hasLength(2));
1218 checkSetting(o[0]); 1375 checkSetting(o[0]);
1219 checkSetting(o[1]); 1376 checkSetting(o[1]);
1220 } 1377 }
1221 1378
1222 core.int buildCounterSettings = 0; 1379 core.int buildCounterSettings = 0;
1223 buildSettings() { 1380 buildSettings() {
1224 var o = new api.Settings(); 1381 var o = new api.Settings();
1225 buildCounterSettings++; 1382 buildCounterSettings++;
1226 if (buildCounterSettings < 3) { 1383 if (buildCounterSettings < 3) {
1227 o.etag = "foo"; 1384 o.etag = "foo";
1228 o.items = buildUnnamed1019(); 1385 o.items = buildUnnamed1046();
1229 o.kind = "foo"; 1386 o.kind = "foo";
1230 o.nextPageToken = "foo"; 1387 o.nextPageToken = "foo";
1231 o.nextSyncToken = "foo"; 1388 o.nextSyncToken = "foo";
1232 } 1389 }
1233 buildCounterSettings--; 1390 buildCounterSettings--;
1234 return o; 1391 return o;
1235 } 1392 }
1236 1393
1237 checkSettings(api.Settings o) { 1394 checkSettings(api.Settings o) {
1238 buildCounterSettings++; 1395 buildCounterSettings++;
1239 if (buildCounterSettings < 3) { 1396 if (buildCounterSettings < 3) {
1240 unittest.expect(o.etag, unittest.equals('foo')); 1397 unittest.expect(o.etag, unittest.equals('foo'));
1241 checkUnnamed1019(o.items); 1398 checkUnnamed1046(o.items);
1242 unittest.expect(o.kind, unittest.equals('foo')); 1399 unittest.expect(o.kind, unittest.equals('foo'));
1243 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1400 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1244 unittest.expect(o.nextSyncToken, unittest.equals('foo')); 1401 unittest.expect(o.nextSyncToken, unittest.equals('foo'));
1245 } 1402 }
1246 buildCounterSettings--; 1403 buildCounterSettings--;
1247 } 1404 }
1248 1405
1249 core.int buildCounterTimePeriod = 0; 1406 core.int buildCounterTimePeriod = 0;
1250 buildTimePeriod() { 1407 buildTimePeriod() {
1251 var o = new api.TimePeriod(); 1408 var o = new api.TimePeriod();
1252 buildCounterTimePeriod++; 1409 buildCounterTimePeriod++;
1253 if (buildCounterTimePeriod < 3) { 1410 if (buildCounterTimePeriod < 3) {
1254 o.end = core.DateTime.parse("2002-02-27T14:01:02"); 1411 o.end = core.DateTime.parse("2002-02-27T14:01:02");
1255 o.start = core.DateTime.parse("2002-02-27T14:01:02"); 1412 o.start = core.DateTime.parse("2002-02-27T14:01:02");
1256 } 1413 }
1257 buildCounterTimePeriod--; 1414 buildCounterTimePeriod--;
1258 return o; 1415 return o;
1259 } 1416 }
1260 1417
1261 checkTimePeriod(api.TimePeriod o) { 1418 checkTimePeriod(api.TimePeriod o) {
1262 buildCounterTimePeriod++; 1419 buildCounterTimePeriod++;
1263 if (buildCounterTimePeriod < 3) { 1420 if (buildCounterTimePeriod < 3) {
1264 unittest.expect(o.end, unittest.equals(core.DateTime.parse("2002-02-27T14:01 :02"))); 1421 unittest.expect(o.end, unittest.equals(core.DateTime.parse("2002-02-27T14:01 :02")));
1265 unittest.expect(o.start, unittest.equals(core.DateTime.parse("2002-02-27T14: 01:02"))); 1422 unittest.expect(o.start, unittest.equals(core.DateTime.parse("2002-02-27T14: 01:02")));
1266 } 1423 }
1267 buildCounterTimePeriod--; 1424 buildCounterTimePeriod--;
1268 } 1425 }
1269 1426
1270 buildUnnamed1020() { 1427 buildUnnamed1047() {
1271 var o = new core.List<core.String>(); 1428 var o = new core.List<core.String>();
1272 o.add("foo"); 1429 o.add("foo");
1273 o.add("foo"); 1430 o.add("foo");
1274 return o; 1431 return o;
1275 } 1432 }
1276 1433
1277 checkUnnamed1020(core.List<core.String> o) { 1434 checkUnnamed1047(core.List<core.String> o) {
1278 unittest.expect(o, unittest.hasLength(2)); 1435 unittest.expect(o, unittest.hasLength(2));
1279 unittest.expect(o[0], unittest.equals('foo')); 1436 unittest.expect(o[0], unittest.equals('foo'));
1280 unittest.expect(o[1], unittest.equals('foo')); 1437 unittest.expect(o[1], unittest.equals('foo'));
1281 } 1438 }
1282 1439
1283 buildUnnamed1021() { 1440 buildUnnamed1048() {
1284 var o = new core.List<core.String>(); 1441 var o = new core.List<core.String>();
1285 o.add("foo"); 1442 o.add("foo");
1286 o.add("foo"); 1443 o.add("foo");
1287 return o; 1444 return o;
1288 } 1445 }
1289 1446
1290 checkUnnamed1021(core.List<core.String> o) { 1447 checkUnnamed1048(core.List<core.String> o) {
1291 unittest.expect(o, unittest.hasLength(2)); 1448 unittest.expect(o, unittest.hasLength(2));
1292 unittest.expect(o[0], unittest.equals('foo')); 1449 unittest.expect(o[0], unittest.equals('foo'));
1293 unittest.expect(o[1], unittest.equals('foo')); 1450 unittest.expect(o[1], unittest.equals('foo'));
1294 } 1451 }
1295 1452
1296 buildUnnamed1022() { 1453 buildUnnamed1049() {
1297 var o = new core.List<core.String>(); 1454 var o = new core.List<core.String>();
1298 o.add("foo"); 1455 o.add("foo");
1299 o.add("foo"); 1456 o.add("foo");
1300 return o; 1457 return o;
1301 } 1458 }
1302 1459
1303 checkUnnamed1022(core.List<core.String> o) { 1460 checkUnnamed1049(core.List<core.String> o) {
1304 unittest.expect(o, unittest.hasLength(2)); 1461 unittest.expect(o, unittest.hasLength(2));
1305 unittest.expect(o[0], unittest.equals('foo')); 1462 unittest.expect(o[0], unittest.equals('foo'));
1306 unittest.expect(o[1], unittest.equals('foo')); 1463 unittest.expect(o[1], unittest.equals('foo'));
1307 } 1464 }
1308 1465
1309 buildUnnamed1023() { 1466 buildUnnamed1050() {
1310 var o = new core.List<core.String>(); 1467 var o = new core.List<core.String>();
1311 o.add("foo"); 1468 o.add("foo");
1312 o.add("foo"); 1469 o.add("foo");
1313 return o; 1470 return o;
1314 } 1471 }
1315 1472
1316 checkUnnamed1023(core.List<core.String> o) { 1473 checkUnnamed1050(core.List<core.String> o) {
1317 unittest.expect(o, unittest.hasLength(2)); 1474 unittest.expect(o, unittest.hasLength(2));
1318 unittest.expect(o[0], unittest.equals('foo')); 1475 unittest.expect(o[0], unittest.equals('foo'));
1319 unittest.expect(o[1], unittest.equals('foo')); 1476 unittest.expect(o[1], unittest.equals('foo'));
1320 } 1477 }
1321 1478
1322 1479
1323 main() { 1480 main() {
1324 unittest.group("obj-schema-Acl", () { 1481 unittest.group("obj-schema-Acl", () {
1325 unittest.test("to-json--from-json", () { 1482 unittest.test("to-json--from-json", () {
1326 var o = buildAcl(); 1483 var o = buildAcl();
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1413 1570
1414 unittest.group("obj-schema-Colors", () { 1571 unittest.group("obj-schema-Colors", () {
1415 unittest.test("to-json--from-json", () { 1572 unittest.test("to-json--from-json", () {
1416 var o = buildColors(); 1573 var o = buildColors();
1417 var od = new api.Colors.fromJson(o.toJson()); 1574 var od = new api.Colors.fromJson(o.toJson());
1418 checkColors(od); 1575 checkColors(od);
1419 }); 1576 });
1420 }); 1577 });
1421 1578
1422 1579
1580 unittest.group("obj-schema-DeepLinkData", () {
1581 unittest.test("to-json--from-json", () {
1582 var o = buildDeepLinkData();
1583 var od = new api.DeepLinkData.fromJson(o.toJson());
1584 checkDeepLinkData(od);
1585 });
1586 });
1587
1588
1589 unittest.group("obj-schema-DisplayInfo", () {
1590 unittest.test("to-json--from-json", () {
1591 var o = buildDisplayInfo();
1592 var od = new api.DisplayInfo.fromJson(o.toJson());
1593 checkDisplayInfo(od);
1594 });
1595 });
1596
1597
1423 unittest.group("obj-schema-Error", () { 1598 unittest.group("obj-schema-Error", () {
1424 unittest.test("to-json--from-json", () { 1599 unittest.test("to-json--from-json", () {
1425 var o = buildError(); 1600 var o = buildError();
1426 var od = new api.Error.fromJson(o.toJson()); 1601 var od = new api.Error.fromJson(o.toJson());
1427 checkError(od); 1602 checkError(od);
1428 }); 1603 });
1429 }); 1604 });
1430 1605
1431 1606
1432 unittest.group("obj-schema-EventCreator", () { 1607 unittest.group("obj-schema-EventCreator", () {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
1512 1687
1513 unittest.group("obj-schema-EventDateTime", () { 1688 unittest.group("obj-schema-EventDateTime", () {
1514 unittest.test("to-json--from-json", () { 1689 unittest.test("to-json--from-json", () {
1515 var o = buildEventDateTime(); 1690 var o = buildEventDateTime();
1516 var od = new api.EventDateTime.fromJson(o.toJson()); 1691 var od = new api.EventDateTime.fromJson(o.toJson());
1517 checkEventDateTime(od); 1692 checkEventDateTime(od);
1518 }); 1693 });
1519 }); 1694 });
1520 1695
1521 1696
1697 unittest.group("obj-schema-EventHabitInstance", () {
1698 unittest.test("to-json--from-json", () {
1699 var o = buildEventHabitInstance();
1700 var od = new api.EventHabitInstance.fromJson(o.toJson());
1701 checkEventHabitInstance(od);
1702 });
1703 });
1704
1705
1522 unittest.group("obj-schema-EventReminder", () { 1706 unittest.group("obj-schema-EventReminder", () {
1523 unittest.test("to-json--from-json", () { 1707 unittest.test("to-json--from-json", () {
1524 var o = buildEventReminder(); 1708 var o = buildEventReminder();
1525 var od = new api.EventReminder.fromJson(o.toJson()); 1709 var od = new api.EventReminder.fromJson(o.toJson());
1526 checkEventReminder(od); 1710 checkEventReminder(od);
1527 }); 1711 });
1528 }); 1712 });
1529 1713
1530 1714
1531 unittest.group("obj-schema-Events", () { 1715 unittest.group("obj-schema-Events", () {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 1759
1576 unittest.group("obj-schema-FreeBusyResponse", () { 1760 unittest.group("obj-schema-FreeBusyResponse", () {
1577 unittest.test("to-json--from-json", () { 1761 unittest.test("to-json--from-json", () {
1578 var o = buildFreeBusyResponse(); 1762 var o = buildFreeBusyResponse();
1579 var od = new api.FreeBusyResponse.fromJson(o.toJson()); 1763 var od = new api.FreeBusyResponse.fromJson(o.toJson());
1580 checkFreeBusyResponse(od); 1764 checkFreeBusyResponse(od);
1581 }); 1765 });
1582 }); 1766 });
1583 1767
1584 1768
1769 unittest.group("obj-schema-HabitInstanceData", () {
1770 unittest.test("to-json--from-json", () {
1771 var o = buildHabitInstanceData();
1772 var od = new api.HabitInstanceData.fromJson(o.toJson());
1773 checkHabitInstanceData(od);
1774 });
1775 });
1776
1777
1778 unittest.group("obj-schema-LaunchInfo", () {
1779 unittest.test("to-json--from-json", () {
1780 var o = buildLaunchInfo();
1781 var od = new api.LaunchInfo.fromJson(o.toJson());
1782 checkLaunchInfo(od);
1783 });
1784 });
1785
1786
1787 unittest.group("obj-schema-Link", () {
1788 unittest.test("to-json--from-json", () {
1789 var o = buildLink();
1790 var od = new api.Link.fromJson(o.toJson());
1791 checkLink(od);
1792 });
1793 });
1794
1795
1585 unittest.group("obj-schema-Setting", () { 1796 unittest.group("obj-schema-Setting", () {
1586 unittest.test("to-json--from-json", () { 1797 unittest.test("to-json--from-json", () {
1587 var o = buildSetting(); 1798 var o = buildSetting();
1588 var od = new api.Setting.fromJson(o.toJson()); 1799 var od = new api.Setting.fromJson(o.toJson());
1589 checkSetting(od); 1800 checkSetting(od);
1590 }); 1801 });
1591 }); 1802 });
1592 1803
1593 1804
1594 unittest.group("obj-schema-Settings", () { 1805 unittest.group("obj-schema-Settings", () {
(...skipping 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after
3141 3352
3142 var mock = new HttpServerMock(); 3353 var mock = new HttpServerMock();
3143 api.EventsResourceApi res = new api.CalendarApi(mock).events; 3354 api.EventsResourceApi res = new api.CalendarApi(mock).events;
3144 var arg_calendarId = "foo"; 3355 var arg_calendarId = "foo";
3145 var arg_alwaysIncludeEmail = true; 3356 var arg_alwaysIncludeEmail = true;
3146 var arg_iCalUID = "foo"; 3357 var arg_iCalUID = "foo";
3147 var arg_maxAttendees = 42; 3358 var arg_maxAttendees = 42;
3148 var arg_maxResults = 42; 3359 var arg_maxResults = 42;
3149 var arg_orderBy = "foo"; 3360 var arg_orderBy = "foo";
3150 var arg_pageToken = "foo"; 3361 var arg_pageToken = "foo";
3151 var arg_privateExtendedProperty = buildUnnamed1020(); 3362 var arg_privateExtendedProperty = buildUnnamed1047();
3152 var arg_q = "foo"; 3363 var arg_q = "foo";
3153 var arg_sharedExtendedProperty = buildUnnamed1021(); 3364 var arg_sharedExtendedProperty = buildUnnamed1048();
3154 var arg_showDeleted = true; 3365 var arg_showDeleted = true;
3155 var arg_showHiddenInvitations = true; 3366 var arg_showHiddenInvitations = true;
3156 var arg_singleEvents = true; 3367 var arg_singleEvents = true;
3157 var arg_syncToken = "foo"; 3368 var arg_syncToken = "foo";
3158 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 3369 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
3159 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 3370 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
3160 var arg_timeZone = "foo"; 3371 var arg_timeZone = "foo";
3161 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02"); 3372 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02");
3162 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3373 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3163 var path = (req.url).path; 3374 var path = (req.url).path;
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
3489 var mock = new HttpServerMock(); 3700 var mock = new HttpServerMock();
3490 api.EventsResourceApi res = new api.CalendarApi(mock).events; 3701 api.EventsResourceApi res = new api.CalendarApi(mock).events;
3491 var arg_request = buildChannel(); 3702 var arg_request = buildChannel();
3492 var arg_calendarId = "foo"; 3703 var arg_calendarId = "foo";
3493 var arg_alwaysIncludeEmail = true; 3704 var arg_alwaysIncludeEmail = true;
3494 var arg_iCalUID = "foo"; 3705 var arg_iCalUID = "foo";
3495 var arg_maxAttendees = 42; 3706 var arg_maxAttendees = 42;
3496 var arg_maxResults = 42; 3707 var arg_maxResults = 42;
3497 var arg_orderBy = "foo"; 3708 var arg_orderBy = "foo";
3498 var arg_pageToken = "foo"; 3709 var arg_pageToken = "foo";
3499 var arg_privateExtendedProperty = buildUnnamed1022(); 3710 var arg_privateExtendedProperty = buildUnnamed1049();
3500 var arg_q = "foo"; 3711 var arg_q = "foo";
3501 var arg_sharedExtendedProperty = buildUnnamed1023(); 3712 var arg_sharedExtendedProperty = buildUnnamed1050();
3502 var arg_showDeleted = true; 3713 var arg_showDeleted = true;
3503 var arg_showHiddenInvitations = true; 3714 var arg_showHiddenInvitations = true;
3504 var arg_singleEvents = true; 3715 var arg_singleEvents = true;
3505 var arg_syncToken = "foo"; 3716 var arg_syncToken = "foo";
3506 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 3717 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
3507 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 3718 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
3508 var arg_timeZone = "foo"; 3719 var arg_timeZone = "foo";
3509 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02"); 3720 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02");
3510 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3721 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3511 var obj = new api.Channel.fromJson(json); 3722 var obj = new api.Channel.fromJson(json);
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
3785 res.watch(arg_request, maxResults: arg_maxResults, pageToken: arg_pageToke n, syncToken: arg_syncToken).then(unittest.expectAsync(((api.Channel response) { 3996 res.watch(arg_request, maxResults: arg_maxResults, pageToken: arg_pageToke n, syncToken: arg_syncToken).then(unittest.expectAsync(((api.Channel response) {
3786 checkChannel(response); 3997 checkChannel(response);
3787 }))); 3998 })));
3788 }); 3999 });
3789 4000
3790 }); 4001 });
3791 4002
3792 4003
3793 } 4004 }
3794 4005
OLDNEW
« no previous file with comments | « generated/googleapis/test/books/v1_test.dart ('k') | generated/googleapis/test/civicinfo/v2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698