Chromium Code Reviews

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

Issue 733093002: Api roll 6: 2014-11-17 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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;
11 import 'package:googleapis/common/common.dart' as common; 11 import 'package:googleapis/common/common.dart' as common;
12 import 'package:googleapis/src/common_internal.dart' as common_internal; 12 import 'package:googleapis/src/common_internal.dart' as common_internal;
13 import '../common/common_internal_test.dart' as common_test; 13 import '../common/common_internal_test.dart' as common_test;
14 14
15 import 'package:googleapis/calendar/v3.dart' as api; 15 import 'package:googleapis/calendar/v3.dart' as api;
16 16
17 17
18 18
19 buildUnnamed343() { 19 buildUnnamed682() {
20 var o = new core.List<api.AclRule>(); 20 var o = new core.List<api.AclRule>();
21 o.add(buildAclRule()); 21 o.add(buildAclRule());
22 o.add(buildAclRule()); 22 o.add(buildAclRule());
23 return o; 23 return o;
24 } 24 }
25 25
26 checkUnnamed343(core.List<api.AclRule> o) { 26 checkUnnamed682(core.List<api.AclRule> o) {
27 unittest.expect(o, unittest.hasLength(2)); 27 unittest.expect(o, unittest.hasLength(2));
28 checkAclRule(o[0]); 28 checkAclRule(o[0]);
29 checkAclRule(o[1]); 29 checkAclRule(o[1]);
30 } 30 }
31 31
32 core.int buildCounterAcl = 0; 32 core.int buildCounterAcl = 0;
33 buildAcl() { 33 buildAcl() {
34 var o = new api.Acl(); 34 var o = new api.Acl();
35 buildCounterAcl++; 35 buildCounterAcl++;
36 if (buildCounterAcl < 3) { 36 if (buildCounterAcl < 3) {
37 o.etag = "foo"; 37 o.etag = "foo";
38 o.items = buildUnnamed343(); 38 o.items = buildUnnamed682();
39 o.kind = "foo"; 39 o.kind = "foo";
40 o.nextPageToken = "foo"; 40 o.nextPageToken = "foo";
41 o.nextSyncToken = "foo"; 41 o.nextSyncToken = "foo";
42 } 42 }
43 buildCounterAcl--; 43 buildCounterAcl--;
44 return o; 44 return o;
45 } 45 }
46 46
47 checkAcl(api.Acl o) { 47 checkAcl(api.Acl o) {
48 buildCounterAcl++; 48 buildCounterAcl++;
49 if (buildCounterAcl < 3) { 49 if (buildCounterAcl < 3) {
50 unittest.expect(o.etag, unittest.equals('foo')); 50 unittest.expect(o.etag, unittest.equals('foo'));
51 checkUnnamed343(o.items); 51 checkUnnamed682(o.items);
52 unittest.expect(o.kind, unittest.equals('foo')); 52 unittest.expect(o.kind, unittest.equals('foo'));
53 unittest.expect(o.nextPageToken, unittest.equals('foo')); 53 unittest.expect(o.nextPageToken, unittest.equals('foo'));
54 unittest.expect(o.nextSyncToken, unittest.equals('foo')); 54 unittest.expect(o.nextSyncToken, unittest.equals('foo'));
55 } 55 }
56 buildCounterAcl--; 56 buildCounterAcl--;
57 } 57 }
58 58
59 core.int buildCounterAclRuleScope = 0; 59 core.int buildCounterAclRuleScope = 0;
60 buildAclRuleScope() { 60 buildAclRuleScope() {
61 var o = new api.AclRuleScope(); 61 var o = new api.AclRuleScope();
(...skipping 66 matching lines...)
128 unittest.expect(o.etag, unittest.equals('foo')); 128 unittest.expect(o.etag, unittest.equals('foo'));
129 unittest.expect(o.id, unittest.equals('foo')); 129 unittest.expect(o.id, unittest.equals('foo'));
130 unittest.expect(o.kind, unittest.equals('foo')); 130 unittest.expect(o.kind, unittest.equals('foo'));
131 unittest.expect(o.location, unittest.equals('foo')); 131 unittest.expect(o.location, unittest.equals('foo'));
132 unittest.expect(o.summary, unittest.equals('foo')); 132 unittest.expect(o.summary, unittest.equals('foo'));
133 unittest.expect(o.timeZone, unittest.equals('foo')); 133 unittest.expect(o.timeZone, unittest.equals('foo'));
134 } 134 }
135 buildCounterCalendar--; 135 buildCounterCalendar--;
136 } 136 }
137 137
138 buildUnnamed344() { 138 buildUnnamed683() {
139 var o = new core.List<api.CalendarListEntry>(); 139 var o = new core.List<api.CalendarListEntry>();
140 o.add(buildCalendarListEntry()); 140 o.add(buildCalendarListEntry());
141 o.add(buildCalendarListEntry()); 141 o.add(buildCalendarListEntry());
142 return o; 142 return o;
143 } 143 }
144 144
145 checkUnnamed344(core.List<api.CalendarListEntry> o) { 145 checkUnnamed683(core.List<api.CalendarListEntry> o) {
146 unittest.expect(o, unittest.hasLength(2)); 146 unittest.expect(o, unittest.hasLength(2));
147 checkCalendarListEntry(o[0]); 147 checkCalendarListEntry(o[0]);
148 checkCalendarListEntry(o[1]); 148 checkCalendarListEntry(o[1]);
149 } 149 }
150 150
151 core.int buildCounterCalendarList = 0; 151 core.int buildCounterCalendarList = 0;
152 buildCalendarList() { 152 buildCalendarList() {
153 var o = new api.CalendarList(); 153 var o = new api.CalendarList();
154 buildCounterCalendarList++; 154 buildCounterCalendarList++;
155 if (buildCounterCalendarList < 3) { 155 if (buildCounterCalendarList < 3) {
156 o.etag = "foo"; 156 o.etag = "foo";
157 o.items = buildUnnamed344(); 157 o.items = buildUnnamed683();
158 o.kind = "foo"; 158 o.kind = "foo";
159 o.nextPageToken = "foo"; 159 o.nextPageToken = "foo";
160 o.nextSyncToken = "foo"; 160 o.nextSyncToken = "foo";
161 } 161 }
162 buildCounterCalendarList--; 162 buildCounterCalendarList--;
163 return o; 163 return o;
164 } 164 }
165 165
166 checkCalendarList(api.CalendarList o) { 166 checkCalendarList(api.CalendarList o) {
167 buildCounterCalendarList++; 167 buildCounterCalendarList++;
168 if (buildCounterCalendarList < 3) { 168 if (buildCounterCalendarList < 3) {
169 unittest.expect(o.etag, unittest.equals('foo')); 169 unittest.expect(o.etag, unittest.equals('foo'));
170 checkUnnamed344(o.items); 170 checkUnnamed683(o.items);
171 unittest.expect(o.kind, unittest.equals('foo')); 171 unittest.expect(o.kind, unittest.equals('foo'));
172 unittest.expect(o.nextPageToken, unittest.equals('foo')); 172 unittest.expect(o.nextPageToken, unittest.equals('foo'));
173 unittest.expect(o.nextSyncToken, unittest.equals('foo')); 173 unittest.expect(o.nextSyncToken, unittest.equals('foo'));
174 } 174 }
175 buildCounterCalendarList--; 175 buildCounterCalendarList--;
176 } 176 }
177 177
178 buildUnnamed345() { 178 buildUnnamed684() {
179 var o = new core.List<api.EventReminder>(); 179 var o = new core.List<api.EventReminder>();
180 o.add(buildEventReminder()); 180 o.add(buildEventReminder());
181 o.add(buildEventReminder()); 181 o.add(buildEventReminder());
182 return o; 182 return o;
183 } 183 }
184 184
185 checkUnnamed345(core.List<api.EventReminder> o) { 185 checkUnnamed684(core.List<api.EventReminder> o) {
186 unittest.expect(o, unittest.hasLength(2)); 186 unittest.expect(o, unittest.hasLength(2));
187 checkEventReminder(o[0]); 187 checkEventReminder(o[0]);
188 checkEventReminder(o[1]); 188 checkEventReminder(o[1]);
189 } 189 }
190 190
191 buildUnnamed346() { 191 buildUnnamed685() {
192 var o = new core.List<api.CalendarNotification>(); 192 var o = new core.List<api.CalendarNotification>();
193 o.add(buildCalendarNotification()); 193 o.add(buildCalendarNotification());
194 o.add(buildCalendarNotification()); 194 o.add(buildCalendarNotification());
195 return o; 195 return o;
196 } 196 }
197 197
198 checkUnnamed346(core.List<api.CalendarNotification> o) { 198 checkUnnamed685(core.List<api.CalendarNotification> o) {
199 unittest.expect(o, unittest.hasLength(2)); 199 unittest.expect(o, unittest.hasLength(2));
200 checkCalendarNotification(o[0]); 200 checkCalendarNotification(o[0]);
201 checkCalendarNotification(o[1]); 201 checkCalendarNotification(o[1]);
202 } 202 }
203 203
204 core.int buildCounterCalendarListEntryNotificationSettings = 0; 204 core.int buildCounterCalendarListEntryNotificationSettings = 0;
205 buildCalendarListEntryNotificationSettings() { 205 buildCalendarListEntryNotificationSettings() {
206 var o = new api.CalendarListEntryNotificationSettings(); 206 var o = new api.CalendarListEntryNotificationSettings();
207 buildCounterCalendarListEntryNotificationSettings++; 207 buildCounterCalendarListEntryNotificationSettings++;
208 if (buildCounterCalendarListEntryNotificationSettings < 3) { 208 if (buildCounterCalendarListEntryNotificationSettings < 3) {
209 o.notifications = buildUnnamed346(); 209 o.notifications = buildUnnamed685();
210 } 210 }
211 buildCounterCalendarListEntryNotificationSettings--; 211 buildCounterCalendarListEntryNotificationSettings--;
212 return o; 212 return o;
213 } 213 }
214 214
215 checkCalendarListEntryNotificationSettings(api.CalendarListEntryNotificationSett ings o) { 215 checkCalendarListEntryNotificationSettings(api.CalendarListEntryNotificationSett ings o) {
216 buildCounterCalendarListEntryNotificationSettings++; 216 buildCounterCalendarListEntryNotificationSettings++;
217 if (buildCounterCalendarListEntryNotificationSettings < 3) { 217 if (buildCounterCalendarListEntryNotificationSettings < 3) {
218 checkUnnamed346(o.notifications); 218 checkUnnamed685(o.notifications);
219 } 219 }
220 buildCounterCalendarListEntryNotificationSettings--; 220 buildCounterCalendarListEntryNotificationSettings--;
221 } 221 }
222 222
223 core.int buildCounterCalendarListEntry = 0; 223 core.int buildCounterCalendarListEntry = 0;
224 buildCalendarListEntry() { 224 buildCalendarListEntry() {
225 var o = new api.CalendarListEntry(); 225 var o = new api.CalendarListEntry();
226 buildCounterCalendarListEntry++; 226 buildCounterCalendarListEntry++;
227 if (buildCounterCalendarListEntry < 3) { 227 if (buildCounterCalendarListEntry < 3) {
228 o.accessRole = "foo"; 228 o.accessRole = "foo";
229 o.backgroundColor = "foo"; 229 o.backgroundColor = "foo";
230 o.colorId = "foo"; 230 o.colorId = "foo";
231 o.defaultReminders = buildUnnamed345(); 231 o.defaultReminders = buildUnnamed684();
232 o.deleted = true; 232 o.deleted = true;
233 o.description = "foo"; 233 o.description = "foo";
234 o.etag = "foo"; 234 o.etag = "foo";
235 o.foregroundColor = "foo"; 235 o.foregroundColor = "foo";
236 o.hidden = true; 236 o.hidden = true;
237 o.id = "foo"; 237 o.id = "foo";
238 o.kind = "foo"; 238 o.kind = "foo";
239 o.location = "foo"; 239 o.location = "foo";
240 o.notificationSettings = buildCalendarListEntryNotificationSettings(); 240 o.notificationSettings = buildCalendarListEntryNotificationSettings();
241 o.primary = true; 241 o.primary = true;
242 o.selected = true; 242 o.selected = true;
243 o.summary = "foo"; 243 o.summary = "foo";
244 o.summaryOverride = "foo"; 244 o.summaryOverride = "foo";
245 o.timeZone = "foo"; 245 o.timeZone = "foo";
246 } 246 }
247 buildCounterCalendarListEntry--; 247 buildCounterCalendarListEntry--;
248 return o; 248 return o;
249 } 249 }
250 250
251 checkCalendarListEntry(api.CalendarListEntry o) { 251 checkCalendarListEntry(api.CalendarListEntry o) {
252 buildCounterCalendarListEntry++; 252 buildCounterCalendarListEntry++;
253 if (buildCounterCalendarListEntry < 3) { 253 if (buildCounterCalendarListEntry < 3) {
254 unittest.expect(o.accessRole, unittest.equals('foo')); 254 unittest.expect(o.accessRole, unittest.equals('foo'));
255 unittest.expect(o.backgroundColor, unittest.equals('foo')); 255 unittest.expect(o.backgroundColor, unittest.equals('foo'));
256 unittest.expect(o.colorId, unittest.equals('foo')); 256 unittest.expect(o.colorId, unittest.equals('foo'));
257 checkUnnamed345(o.defaultReminders); 257 checkUnnamed684(o.defaultReminders);
258 unittest.expect(o.deleted, unittest.isTrue); 258 unittest.expect(o.deleted, unittest.isTrue);
259 unittest.expect(o.description, unittest.equals('foo')); 259 unittest.expect(o.description, unittest.equals('foo'));
260 unittest.expect(o.etag, unittest.equals('foo')); 260 unittest.expect(o.etag, unittest.equals('foo'));
261 unittest.expect(o.foregroundColor, unittest.equals('foo')); 261 unittest.expect(o.foregroundColor, unittest.equals('foo'));
262 unittest.expect(o.hidden, unittest.isTrue); 262 unittest.expect(o.hidden, unittest.isTrue);
263 unittest.expect(o.id, unittest.equals('foo')); 263 unittest.expect(o.id, unittest.equals('foo'));
264 unittest.expect(o.kind, unittest.equals('foo')); 264 unittest.expect(o.kind, unittest.equals('foo'));
265 unittest.expect(o.location, unittest.equals('foo')); 265 unittest.expect(o.location, unittest.equals('foo'));
266 checkCalendarListEntryNotificationSettings(o.notificationSettings); 266 checkCalendarListEntryNotificationSettings(o.notificationSettings);
267 unittest.expect(o.primary, unittest.isTrue); 267 unittest.expect(o.primary, unittest.isTrue);
(...skipping 19 matching lines...)
287 287
288 checkCalendarNotification(api.CalendarNotification o) { 288 checkCalendarNotification(api.CalendarNotification o) {
289 buildCounterCalendarNotification++; 289 buildCounterCalendarNotification++;
290 if (buildCounterCalendarNotification < 3) { 290 if (buildCounterCalendarNotification < 3) {
291 unittest.expect(o.method, unittest.equals('foo')); 291 unittest.expect(o.method, unittest.equals('foo'));
292 unittest.expect(o.type, unittest.equals('foo')); 292 unittest.expect(o.type, unittest.equals('foo'));
293 } 293 }
294 buildCounterCalendarNotification--; 294 buildCounterCalendarNotification--;
295 } 295 }
296 296
297 buildUnnamed347() { 297 buildUnnamed686() {
298 var o = new core.Map<core.String, core.String>(); 298 var o = new core.Map<core.String, core.String>();
299 o["x"] = "foo"; 299 o["x"] = "foo";
300 o["y"] = "foo"; 300 o["y"] = "foo";
301 return o; 301 return o;
302 } 302 }
303 303
304 checkUnnamed347(core.Map<core.String, core.String> o) { 304 checkUnnamed686(core.Map<core.String, core.String> o) {
305 unittest.expect(o, unittest.hasLength(2)); 305 unittest.expect(o, unittest.hasLength(2));
306 unittest.expect(o["x"], unittest.equals('foo')); 306 unittest.expect(o["x"], unittest.equals('foo'));
307 unittest.expect(o["y"], unittest.equals('foo')); 307 unittest.expect(o["y"], unittest.equals('foo'));
308 } 308 }
309 309
310 core.int buildCounterChannel = 0; 310 core.int buildCounterChannel = 0;
311 buildChannel() { 311 buildChannel() {
312 var o = new api.Channel(); 312 var o = new api.Channel();
313 buildCounterChannel++; 313 buildCounterChannel++;
314 if (buildCounterChannel < 3) { 314 if (buildCounterChannel < 3) {
315 o.address = "foo"; 315 o.address = "foo";
316 o.expiration = "foo"; 316 o.expiration = "foo";
317 o.id = "foo"; 317 o.id = "foo";
318 o.kind = "foo"; 318 o.kind = "foo";
319 o.params = buildUnnamed347(); 319 o.params = buildUnnamed686();
320 o.payload = true; 320 o.payload = true;
321 o.resourceId = "foo"; 321 o.resourceId = "foo";
322 o.resourceUri = "foo"; 322 o.resourceUri = "foo";
323 o.token = "foo"; 323 o.token = "foo";
324 o.type = "foo"; 324 o.type = "foo";
325 } 325 }
326 buildCounterChannel--; 326 buildCounterChannel--;
327 return o; 327 return o;
328 } 328 }
329 329
330 checkChannel(api.Channel o) { 330 checkChannel(api.Channel o) {
331 buildCounterChannel++; 331 buildCounterChannel++;
332 if (buildCounterChannel < 3) { 332 if (buildCounterChannel < 3) {
333 unittest.expect(o.address, unittest.equals('foo')); 333 unittest.expect(o.address, unittest.equals('foo'));
334 unittest.expect(o.expiration, unittest.equals('foo')); 334 unittest.expect(o.expiration, unittest.equals('foo'));
335 unittest.expect(o.id, unittest.equals('foo')); 335 unittest.expect(o.id, unittest.equals('foo'));
336 unittest.expect(o.kind, unittest.equals('foo')); 336 unittest.expect(o.kind, unittest.equals('foo'));
337 checkUnnamed347(o.params); 337 checkUnnamed686(o.params);
338 unittest.expect(o.payload, unittest.isTrue); 338 unittest.expect(o.payload, unittest.isTrue);
339 unittest.expect(o.resourceId, unittest.equals('foo')); 339 unittest.expect(o.resourceId, unittest.equals('foo'));
340 unittest.expect(o.resourceUri, unittest.equals('foo')); 340 unittest.expect(o.resourceUri, unittest.equals('foo'));
341 unittest.expect(o.token, unittest.equals('foo')); 341 unittest.expect(o.token, unittest.equals('foo'));
342 unittest.expect(o.type, unittest.equals('foo')); 342 unittest.expect(o.type, unittest.equals('foo'));
343 } 343 }
344 buildCounterChannel--; 344 buildCounterChannel--;
345 } 345 }
346 346
347 core.int buildCounterColorDefinition = 0; 347 core.int buildCounterColorDefinition = 0;
(...skipping 10 matching lines...)
358 358
359 checkColorDefinition(api.ColorDefinition o) { 359 checkColorDefinition(api.ColorDefinition o) {
360 buildCounterColorDefinition++; 360 buildCounterColorDefinition++;
361 if (buildCounterColorDefinition < 3) { 361 if (buildCounterColorDefinition < 3) {
362 unittest.expect(o.background, unittest.equals('foo')); 362 unittest.expect(o.background, unittest.equals('foo'));
363 unittest.expect(o.foreground, unittest.equals('foo')); 363 unittest.expect(o.foreground, unittest.equals('foo'));
364 } 364 }
365 buildCounterColorDefinition--; 365 buildCounterColorDefinition--;
366 } 366 }
367 367
368 buildUnnamed348() { 368 buildUnnamed687() {
369 var o = new core.Map<core.String, api.ColorDefinition>(); 369 var o = new core.Map<core.String, api.ColorDefinition>();
370 o["x"] = buildColorDefinition(); 370 o["x"] = buildColorDefinition();
371 o["y"] = buildColorDefinition(); 371 o["y"] = buildColorDefinition();
372 return o; 372 return o;
373 } 373 }
374 374
375 checkUnnamed348(core.Map<core.String, api.ColorDefinition> o) { 375 checkUnnamed687(core.Map<core.String, api.ColorDefinition> o) {
376 unittest.expect(o, unittest.hasLength(2)); 376 unittest.expect(o, unittest.hasLength(2));
377 checkColorDefinition(o["x"]); 377 checkColorDefinition(o["x"]);
378 checkColorDefinition(o["y"]); 378 checkColorDefinition(o["y"]);
379 } 379 }
380 380
381 buildUnnamed349() { 381 buildUnnamed688() {
382 var o = new core.Map<core.String, api.ColorDefinition>(); 382 var o = new core.Map<core.String, api.ColorDefinition>();
383 o["x"] = buildColorDefinition(); 383 o["x"] = buildColorDefinition();
384 o["y"] = buildColorDefinition(); 384 o["y"] = buildColorDefinition();
385 return o; 385 return o;
386 } 386 }
387 387
388 checkUnnamed349(core.Map<core.String, api.ColorDefinition> o) { 388 checkUnnamed688(core.Map<core.String, api.ColorDefinition> o) {
389 unittest.expect(o, unittest.hasLength(2)); 389 unittest.expect(o, unittest.hasLength(2));
390 checkColorDefinition(o["x"]); 390 checkColorDefinition(o["x"]);
391 checkColorDefinition(o["y"]); 391 checkColorDefinition(o["y"]);
392 } 392 }
393 393
394 core.int buildCounterColors = 0; 394 core.int buildCounterColors = 0;
395 buildColors() { 395 buildColors() {
396 var o = new api.Colors(); 396 var o = new api.Colors();
397 buildCounterColors++; 397 buildCounterColors++;
398 if (buildCounterColors < 3) { 398 if (buildCounterColors < 3) {
399 o.calendar = buildUnnamed348(); 399 o.calendar = buildUnnamed687();
400 o.event = buildUnnamed349(); 400 o.event = buildUnnamed688();
401 o.kind = "foo"; 401 o.kind = "foo";
402 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 402 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
403 } 403 }
404 buildCounterColors--; 404 buildCounterColors--;
405 return o; 405 return o;
406 } 406 }
407 407
408 checkColors(api.Colors o) { 408 checkColors(api.Colors o) {
409 buildCounterColors++; 409 buildCounterColors++;
410 if (buildCounterColors < 3) { 410 if (buildCounterColors < 3) {
411 checkUnnamed348(o.calendar); 411 checkUnnamed687(o.calendar);
412 checkUnnamed349(o.event); 412 checkUnnamed688(o.event);
413 unittest.expect(o.kind, unittest.equals('foo')); 413 unittest.expect(o.kind, unittest.equals('foo'));
414 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 414 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
415 } 415 }
416 buildCounterColors--; 416 buildCounterColors--;
417 } 417 }
418 418
419 core.int buildCounterError = 0; 419 core.int buildCounterError = 0;
420 buildError() { 420 buildError() {
421 var o = new api.Error(); 421 var o = new api.Error();
422 buildCounterError++; 422 buildCounterError++;
423 if (buildCounterError < 3) { 423 if (buildCounterError < 3) {
424 o.domain = "foo"; 424 o.domain = "foo";
425 o.reason = "foo"; 425 o.reason = "foo";
426 } 426 }
427 buildCounterError--; 427 buildCounterError--;
428 return o; 428 return o;
429 } 429 }
430 430
431 checkError(api.Error o) { 431 checkError(api.Error o) {
432 buildCounterError++; 432 buildCounterError++;
433 if (buildCounterError < 3) { 433 if (buildCounterError < 3) {
434 unittest.expect(o.domain, unittest.equals('foo')); 434 unittest.expect(o.domain, unittest.equals('foo'));
435 unittest.expect(o.reason, unittest.equals('foo')); 435 unittest.expect(o.reason, unittest.equals('foo'));
436 } 436 }
437 buildCounterError--; 437 buildCounterError--;
438 } 438 }
439 439
440 buildUnnamed350() { 440 buildUnnamed689() {
441 var o = new core.List<api.EventAttendee>(); 441 var o = new core.List<api.EventAttendee>();
442 o.add(buildEventAttendee()); 442 o.add(buildEventAttendee());
443 o.add(buildEventAttendee()); 443 o.add(buildEventAttendee());
444 return o; 444 return o;
445 } 445 }
446 446
447 checkUnnamed350(core.List<api.EventAttendee> o) { 447 checkUnnamed689(core.List<api.EventAttendee> o) {
448 unittest.expect(o, unittest.hasLength(2)); 448 unittest.expect(o, unittest.hasLength(2));
449 checkEventAttendee(o[0]); 449 checkEventAttendee(o[0]);
450 checkEventAttendee(o[1]); 450 checkEventAttendee(o[1]);
451 } 451 }
452 452
453 core.int buildCounterEventCreator = 0; 453 core.int buildCounterEventCreator = 0;
454 buildEventCreator() { 454 buildEventCreator() {
455 var o = new api.EventCreator(); 455 var o = new api.EventCreator();
456 buildCounterEventCreator++; 456 buildCounterEventCreator++;
457 if (buildCounterEventCreator < 3) { 457 if (buildCounterEventCreator < 3) {
(...skipping 10 matching lines...)
468 buildCounterEventCreator++; 468 buildCounterEventCreator++;
469 if (buildCounterEventCreator < 3) { 469 if (buildCounterEventCreator < 3) {
470 unittest.expect(o.displayName, unittest.equals('foo')); 470 unittest.expect(o.displayName, unittest.equals('foo'));
471 unittest.expect(o.email, unittest.equals('foo')); 471 unittest.expect(o.email, unittest.equals('foo'));
472 unittest.expect(o.id, unittest.equals('foo')); 472 unittest.expect(o.id, unittest.equals('foo'));
473 unittest.expect(o.self, unittest.isTrue); 473 unittest.expect(o.self, unittest.isTrue);
474 } 474 }
475 buildCounterEventCreator--; 475 buildCounterEventCreator--;
476 } 476 }
477 477
478 buildUnnamed351() { 478 buildUnnamed690() {
479 var o = new core.Map<core.String, core.String>(); 479 var o = new core.Map<core.String, core.String>();
480 o["x"] = "foo"; 480 o["x"] = "foo";
481 o["y"] = "foo"; 481 o["y"] = "foo";
482 return o; 482 return o;
483 } 483 }
484 484
485 checkUnnamed351(core.Map<core.String, core.String> o) { 485 checkUnnamed690(core.Map<core.String, core.String> o) {
486 unittest.expect(o, unittest.hasLength(2)); 486 unittest.expect(o, unittest.hasLength(2));
487 unittest.expect(o["x"], unittest.equals('foo')); 487 unittest.expect(o["x"], unittest.equals('foo'));
488 unittest.expect(o["y"], unittest.equals('foo')); 488 unittest.expect(o["y"], unittest.equals('foo'));
489 } 489 }
490 490
491 buildUnnamed352() { 491 buildUnnamed691() {
492 var o = new core.Map<core.String, core.String>(); 492 var o = new core.Map<core.String, core.String>();
493 o["x"] = "foo"; 493 o["x"] = "foo";
494 o["y"] = "foo"; 494 o["y"] = "foo";
495 return o; 495 return o;
496 } 496 }
497 497
498 checkUnnamed352(core.Map<core.String, core.String> o) { 498 checkUnnamed691(core.Map<core.String, core.String> o) {
499 unittest.expect(o, unittest.hasLength(2)); 499 unittest.expect(o, unittest.hasLength(2));
500 unittest.expect(o["x"], unittest.equals('foo')); 500 unittest.expect(o["x"], unittest.equals('foo'));
501 unittest.expect(o["y"], unittest.equals('foo')); 501 unittest.expect(o["y"], unittest.equals('foo'));
502 } 502 }
503 503
504 core.int buildCounterEventExtendedProperties = 0; 504 core.int buildCounterEventExtendedProperties = 0;
505 buildEventExtendedProperties() { 505 buildEventExtendedProperties() {
506 var o = new api.EventExtendedProperties(); 506 var o = new api.EventExtendedProperties();
507 buildCounterEventExtendedProperties++; 507 buildCounterEventExtendedProperties++;
508 if (buildCounterEventExtendedProperties < 3) { 508 if (buildCounterEventExtendedProperties < 3) {
509 o.private = buildUnnamed351(); 509 o.private = buildUnnamed690();
510 o.shared = buildUnnamed352(); 510 o.shared = buildUnnamed691();
511 } 511 }
512 buildCounterEventExtendedProperties--; 512 buildCounterEventExtendedProperties--;
513 return o; 513 return o;
514 } 514 }
515 515
516 checkEventExtendedProperties(api.EventExtendedProperties o) { 516 checkEventExtendedProperties(api.EventExtendedProperties o) {
517 buildCounterEventExtendedProperties++; 517 buildCounterEventExtendedProperties++;
518 if (buildCounterEventExtendedProperties < 3) { 518 if (buildCounterEventExtendedProperties < 3) {
519 checkUnnamed351(o.private); 519 checkUnnamed690(o.private);
520 checkUnnamed352(o.shared); 520 checkUnnamed691(o.shared);
521 } 521 }
522 buildCounterEventExtendedProperties--; 522 buildCounterEventExtendedProperties--;
523 } 523 }
524 524
525 buildUnnamed353() { 525 buildUnnamed692() {
526 var o = new core.Map<core.String, core.String>(); 526 var o = new core.Map<core.String, core.String>();
527 o["x"] = "foo"; 527 o["x"] = "foo";
528 o["y"] = "foo"; 528 o["y"] = "foo";
529 return o; 529 return o;
530 } 530 }
531 531
532 checkUnnamed353(core.Map<core.String, core.String> o) { 532 checkUnnamed692(core.Map<core.String, core.String> o) {
533 unittest.expect(o, unittest.hasLength(2)); 533 unittest.expect(o, unittest.hasLength(2));
534 unittest.expect(o["x"], unittest.equals('foo')); 534 unittest.expect(o["x"], unittest.equals('foo'));
535 unittest.expect(o["y"], unittest.equals('foo')); 535 unittest.expect(o["y"], unittest.equals('foo'));
536 } 536 }
537 537
538 core.int buildCounterEventGadget = 0; 538 core.int buildCounterEventGadget = 0;
539 buildEventGadget() { 539 buildEventGadget() {
540 var o = new api.EventGadget(); 540 var o = new api.EventGadget();
541 buildCounterEventGadget++; 541 buildCounterEventGadget++;
542 if (buildCounterEventGadget < 3) { 542 if (buildCounterEventGadget < 3) {
543 o.display = "foo"; 543 o.display = "foo";
544 o.height = 42; 544 o.height = 42;
545 o.iconLink = "foo"; 545 o.iconLink = "foo";
546 o.link = "foo"; 546 o.link = "foo";
547 o.preferences = buildUnnamed353(); 547 o.preferences = buildUnnamed692();
548 o.title = "foo"; 548 o.title = "foo";
549 o.type = "foo"; 549 o.type = "foo";
550 o.width = 42; 550 o.width = 42;
551 } 551 }
552 buildCounterEventGadget--; 552 buildCounterEventGadget--;
553 return o; 553 return o;
554 } 554 }
555 555
556 checkEventGadget(api.EventGadget o) { 556 checkEventGadget(api.EventGadget o) {
557 buildCounterEventGadget++; 557 buildCounterEventGadget++;
558 if (buildCounterEventGadget < 3) { 558 if (buildCounterEventGadget < 3) {
559 unittest.expect(o.display, unittest.equals('foo')); 559 unittest.expect(o.display, unittest.equals('foo'));
560 unittest.expect(o.height, unittest.equals(42)); 560 unittest.expect(o.height, unittest.equals(42));
561 unittest.expect(o.iconLink, unittest.equals('foo')); 561 unittest.expect(o.iconLink, unittest.equals('foo'));
562 unittest.expect(o.link, unittest.equals('foo')); 562 unittest.expect(o.link, unittest.equals('foo'));
563 checkUnnamed353(o.preferences); 563 checkUnnamed692(o.preferences);
564 unittest.expect(o.title, unittest.equals('foo')); 564 unittest.expect(o.title, unittest.equals('foo'));
565 unittest.expect(o.type, unittest.equals('foo')); 565 unittest.expect(o.type, unittest.equals('foo'));
566 unittest.expect(o.width, unittest.equals(42)); 566 unittest.expect(o.width, unittest.equals(42));
567 } 567 }
568 buildCounterEventGadget--; 568 buildCounterEventGadget--;
569 } 569 }
570 570
571 core.int buildCounterEventOrganizer = 0; 571 core.int buildCounterEventOrganizer = 0;
572 buildEventOrganizer() { 572 buildEventOrganizer() {
573 var o = new api.EventOrganizer(); 573 var o = new api.EventOrganizer();
(...skipping 12 matching lines...)
586 buildCounterEventOrganizer++; 586 buildCounterEventOrganizer++;
587 if (buildCounterEventOrganizer < 3) { 587 if (buildCounterEventOrganizer < 3) {
588 unittest.expect(o.displayName, unittest.equals('foo')); 588 unittest.expect(o.displayName, unittest.equals('foo'));
589 unittest.expect(o.email, unittest.equals('foo')); 589 unittest.expect(o.email, unittest.equals('foo'));
590 unittest.expect(o.id, unittest.equals('foo')); 590 unittest.expect(o.id, unittest.equals('foo'));
591 unittest.expect(o.self, unittest.isTrue); 591 unittest.expect(o.self, unittest.isTrue);
592 } 592 }
593 buildCounterEventOrganizer--; 593 buildCounterEventOrganizer--;
594 } 594 }
595 595
596 buildUnnamed354() { 596 buildUnnamed693() {
597 var o = new core.List<core.String>(); 597 var o = new core.List<core.String>();
598 o.add("foo"); 598 o.add("foo");
599 o.add("foo"); 599 o.add("foo");
600 return o; 600 return o;
601 } 601 }
602 602
603 checkUnnamed354(core.List<core.String> o) { 603 checkUnnamed693(core.List<core.String> o) {
604 unittest.expect(o, unittest.hasLength(2)); 604 unittest.expect(o, unittest.hasLength(2));
605 unittest.expect(o[0], unittest.equals('foo')); 605 unittest.expect(o[0], unittest.equals('foo'));
606 unittest.expect(o[1], unittest.equals('foo')); 606 unittest.expect(o[1], unittest.equals('foo'));
607 } 607 }
608 608
609 buildUnnamed355() { 609 buildUnnamed694() {
610 var o = new core.List<api.EventReminder>(); 610 var o = new core.List<api.EventReminder>();
611 o.add(buildEventReminder()); 611 o.add(buildEventReminder());
612 o.add(buildEventReminder()); 612 o.add(buildEventReminder());
613 return o; 613 return o;
614 } 614 }
615 615
616 checkUnnamed355(core.List<api.EventReminder> o) { 616 checkUnnamed694(core.List<api.EventReminder> o) {
617 unittest.expect(o, unittest.hasLength(2)); 617 unittest.expect(o, unittest.hasLength(2));
618 checkEventReminder(o[0]); 618 checkEventReminder(o[0]);
619 checkEventReminder(o[1]); 619 checkEventReminder(o[1]);
620 } 620 }
621 621
622 core.int buildCounterEventReminders = 0; 622 core.int buildCounterEventReminders = 0;
623 buildEventReminders() { 623 buildEventReminders() {
624 var o = new api.EventReminders(); 624 var o = new api.EventReminders();
625 buildCounterEventReminders++; 625 buildCounterEventReminders++;
626 if (buildCounterEventReminders < 3) { 626 if (buildCounterEventReminders < 3) {
627 o.overrides = buildUnnamed355(); 627 o.overrides = buildUnnamed694();
628 o.useDefault = true; 628 o.useDefault = true;
629 } 629 }
630 buildCounterEventReminders--; 630 buildCounterEventReminders--;
631 return o; 631 return o;
632 } 632 }
633 633
634 checkEventReminders(api.EventReminders o) { 634 checkEventReminders(api.EventReminders o) {
635 buildCounterEventReminders++; 635 buildCounterEventReminders++;
636 if (buildCounterEventReminders < 3) { 636 if (buildCounterEventReminders < 3) {
637 checkUnnamed355(o.overrides); 637 checkUnnamed694(o.overrides);
638 unittest.expect(o.useDefault, unittest.isTrue); 638 unittest.expect(o.useDefault, unittest.isTrue);
639 } 639 }
640 buildCounterEventReminders--; 640 buildCounterEventReminders--;
641 } 641 }
642 642
643 core.int buildCounterEventSource = 0; 643 core.int buildCounterEventSource = 0;
644 buildEventSource() { 644 buildEventSource() {
645 var o = new api.EventSource(); 645 var o = new api.EventSource();
646 buildCounterEventSource++; 646 buildCounterEventSource++;
647 if (buildCounterEventSource < 3) { 647 if (buildCounterEventSource < 3) {
(...skipping 12 matching lines...)
660 } 660 }
661 buildCounterEventSource--; 661 buildCounterEventSource--;
662 } 662 }
663 663
664 core.int buildCounterEvent = 0; 664 core.int buildCounterEvent = 0;
665 buildEvent() { 665 buildEvent() {
666 var o = new api.Event(); 666 var o = new api.Event();
667 buildCounterEvent++; 667 buildCounterEvent++;
668 if (buildCounterEvent < 3) { 668 if (buildCounterEvent < 3) {
669 o.anyoneCanAddSelf = true; 669 o.anyoneCanAddSelf = true;
670 o.attendees = buildUnnamed350(); 670 o.attendees = buildUnnamed689();
671 o.attendeesOmitted = true; 671 o.attendeesOmitted = true;
672 o.colorId = "foo"; 672 o.colorId = "foo";
673 o.created = core.DateTime.parse("2002-02-27T14:01:02"); 673 o.created = core.DateTime.parse("2002-02-27T14:01:02");
674 o.creator = buildEventCreator(); 674 o.creator = buildEventCreator();
675 o.description = "foo"; 675 o.description = "foo";
676 o.end = buildEventDateTime(); 676 o.end = buildEventDateTime();
677 o.endTimeUnspecified = true; 677 o.endTimeUnspecified = true;
678 o.etag = "foo"; 678 o.etag = "foo";
679 o.extendedProperties = buildEventExtendedProperties(); 679 o.extendedProperties = buildEventExtendedProperties();
680 o.gadget = buildEventGadget(); 680 o.gadget = buildEventGadget();
681 o.guestsCanInviteOthers = true; 681 o.guestsCanInviteOthers = true;
682 o.guestsCanModify = true; 682 o.guestsCanModify = true;
683 o.guestsCanSeeOtherGuests = true; 683 o.guestsCanSeeOtherGuests = true;
684 o.hangoutLink = "foo"; 684 o.hangoutLink = "foo";
685 o.htmlLink = "foo"; 685 o.htmlLink = "foo";
686 o.iCalUID = "foo"; 686 o.iCalUID = "foo";
687 o.id = "foo"; 687 o.id = "foo";
688 o.kind = "foo"; 688 o.kind = "foo";
689 o.location = "foo"; 689 o.location = "foo";
690 o.locked = true; 690 o.locked = true;
691 o.organizer = buildEventOrganizer(); 691 o.organizer = buildEventOrganizer();
692 o.originalStartTime = buildEventDateTime(); 692 o.originalStartTime = buildEventDateTime();
693 o.privateCopy = true; 693 o.privateCopy = true;
694 o.recurrence = buildUnnamed354(); 694 o.recurrence = buildUnnamed693();
695 o.recurringEventId = "foo"; 695 o.recurringEventId = "foo";
696 o.reminders = buildEventReminders(); 696 o.reminders = buildEventReminders();
697 o.sequence = 42; 697 o.sequence = 42;
698 o.source = buildEventSource(); 698 o.source = buildEventSource();
699 o.start = buildEventDateTime(); 699 o.start = buildEventDateTime();
700 o.status = "foo"; 700 o.status = "foo";
701 o.summary = "foo"; 701 o.summary = "foo";
702 o.transparency = "foo"; 702 o.transparency = "foo";
703 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 703 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
704 o.visibility = "foo"; 704 o.visibility = "foo";
705 } 705 }
706 buildCounterEvent--; 706 buildCounterEvent--;
707 return o; 707 return o;
708 } 708 }
709 709
710 checkEvent(api.Event o) { 710 checkEvent(api.Event o) {
711 buildCounterEvent++; 711 buildCounterEvent++;
712 if (buildCounterEvent < 3) { 712 if (buildCounterEvent < 3) {
713 unittest.expect(o.anyoneCanAddSelf, unittest.isTrue); 713 unittest.expect(o.anyoneCanAddSelf, unittest.isTrue);
714 checkUnnamed350(o.attendees); 714 checkUnnamed689(o.attendees);
715 unittest.expect(o.attendeesOmitted, unittest.isTrue); 715 unittest.expect(o.attendeesOmitted, unittest.isTrue);
716 unittest.expect(o.colorId, unittest.equals('foo')); 716 unittest.expect(o.colorId, unittest.equals('foo'));
717 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 717 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
718 checkEventCreator(o.creator); 718 checkEventCreator(o.creator);
719 unittest.expect(o.description, unittest.equals('foo')); 719 unittest.expect(o.description, unittest.equals('foo'));
720 checkEventDateTime(o.end); 720 checkEventDateTime(o.end);
721 unittest.expect(o.endTimeUnspecified, unittest.isTrue); 721 unittest.expect(o.endTimeUnspecified, unittest.isTrue);
722 unittest.expect(o.etag, unittest.equals('foo')); 722 unittest.expect(o.etag, unittest.equals('foo'));
723 checkEventExtendedProperties(o.extendedProperties); 723 checkEventExtendedProperties(o.extendedProperties);
724 checkEventGadget(o.gadget); 724 checkEventGadget(o.gadget);
725 unittest.expect(o.guestsCanInviteOthers, unittest.isTrue); 725 unittest.expect(o.guestsCanInviteOthers, unittest.isTrue);
726 unittest.expect(o.guestsCanModify, unittest.isTrue); 726 unittest.expect(o.guestsCanModify, unittest.isTrue);
727 unittest.expect(o.guestsCanSeeOtherGuests, unittest.isTrue); 727 unittest.expect(o.guestsCanSeeOtherGuests, unittest.isTrue);
728 unittest.expect(o.hangoutLink, unittest.equals('foo')); 728 unittest.expect(o.hangoutLink, unittest.equals('foo'));
729 unittest.expect(o.htmlLink, unittest.equals('foo')); 729 unittest.expect(o.htmlLink, unittest.equals('foo'));
730 unittest.expect(o.iCalUID, unittest.equals('foo')); 730 unittest.expect(o.iCalUID, unittest.equals('foo'));
731 unittest.expect(o.id, unittest.equals('foo')); 731 unittest.expect(o.id, unittest.equals('foo'));
732 unittest.expect(o.kind, unittest.equals('foo')); 732 unittest.expect(o.kind, unittest.equals('foo'));
733 unittest.expect(o.location, unittest.equals('foo')); 733 unittest.expect(o.location, unittest.equals('foo'));
734 unittest.expect(o.locked, unittest.isTrue); 734 unittest.expect(o.locked, unittest.isTrue);
735 checkEventOrganizer(o.organizer); 735 checkEventOrganizer(o.organizer);
736 checkEventDateTime(o.originalStartTime); 736 checkEventDateTime(o.originalStartTime);
737 unittest.expect(o.privateCopy, unittest.isTrue); 737 unittest.expect(o.privateCopy, unittest.isTrue);
738 checkUnnamed354(o.recurrence); 738 checkUnnamed693(o.recurrence);
739 unittest.expect(o.recurringEventId, unittest.equals('foo')); 739 unittest.expect(o.recurringEventId, unittest.equals('foo'));
740 checkEventReminders(o.reminders); 740 checkEventReminders(o.reminders);
741 unittest.expect(o.sequence, unittest.equals(42)); 741 unittest.expect(o.sequence, unittest.equals(42));
742 checkEventSource(o.source); 742 checkEventSource(o.source);
743 checkEventDateTime(o.start); 743 checkEventDateTime(o.start);
744 unittest.expect(o.status, unittest.equals('foo')); 744 unittest.expect(o.status, unittest.equals('foo'));
745 unittest.expect(o.summary, unittest.equals('foo')); 745 unittest.expect(o.summary, unittest.equals('foo'));
746 unittest.expect(o.transparency, unittest.equals('foo')); 746 unittest.expect(o.transparency, unittest.equals('foo'));
747 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 747 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
748 unittest.expect(o.visibility, unittest.equals('foo')); 748 unittest.expect(o.visibility, unittest.equals('foo'));
(...skipping 94 matching lines...)
843 843
844 checkEventReminder(api.EventReminder o) { 844 checkEventReminder(api.EventReminder o) {
845 buildCounterEventReminder++; 845 buildCounterEventReminder++;
846 if (buildCounterEventReminder < 3) { 846 if (buildCounterEventReminder < 3) {
847 unittest.expect(o.method, unittest.equals('foo')); 847 unittest.expect(o.method, unittest.equals('foo'));
848 unittest.expect(o.minutes, unittest.equals(42)); 848 unittest.expect(o.minutes, unittest.equals(42));
849 } 849 }
850 buildCounterEventReminder--; 850 buildCounterEventReminder--;
851 } 851 }
852 852
853 buildUnnamed356() { 853 buildUnnamed695() {
854 var o = new core.List<api.EventReminder>(); 854 var o = new core.List<api.EventReminder>();
855 o.add(buildEventReminder()); 855 o.add(buildEventReminder());
856 o.add(buildEventReminder()); 856 o.add(buildEventReminder());
857 return o; 857 return o;
858 } 858 }
859 859
860 checkUnnamed356(core.List<api.EventReminder> o) { 860 checkUnnamed695(core.List<api.EventReminder> o) {
861 unittest.expect(o, unittest.hasLength(2)); 861 unittest.expect(o, unittest.hasLength(2));
862 checkEventReminder(o[0]); 862 checkEventReminder(o[0]);
863 checkEventReminder(o[1]); 863 checkEventReminder(o[1]);
864 } 864 }
865 865
866 buildUnnamed357() { 866 buildUnnamed696() {
867 var o = new core.List<api.Event>(); 867 var o = new core.List<api.Event>();
868 o.add(buildEvent()); 868 o.add(buildEvent());
869 o.add(buildEvent()); 869 o.add(buildEvent());
870 return o; 870 return o;
871 } 871 }
872 872
873 checkUnnamed357(core.List<api.Event> o) { 873 checkUnnamed696(core.List<api.Event> o) {
874 unittest.expect(o, unittest.hasLength(2)); 874 unittest.expect(o, unittest.hasLength(2));
875 checkEvent(o[0]); 875 checkEvent(o[0]);
876 checkEvent(o[1]); 876 checkEvent(o[1]);
877 } 877 }
878 878
879 core.int buildCounterEvents = 0; 879 core.int buildCounterEvents = 0;
880 buildEvents() { 880 buildEvents() {
881 var o = new api.Events(); 881 var o = new api.Events();
882 buildCounterEvents++; 882 buildCounterEvents++;
883 if (buildCounterEvents < 3) { 883 if (buildCounterEvents < 3) {
884 o.accessRole = "foo"; 884 o.accessRole = "foo";
885 o.defaultReminders = buildUnnamed356(); 885 o.defaultReminders = buildUnnamed695();
886 o.description = "foo"; 886 o.description = "foo";
887 o.etag = "foo"; 887 o.etag = "foo";
888 o.items = buildUnnamed357(); 888 o.items = buildUnnamed696();
889 o.kind = "foo"; 889 o.kind = "foo";
890 o.nextPageToken = "foo"; 890 o.nextPageToken = "foo";
891 o.nextSyncToken = "foo"; 891 o.nextSyncToken = "foo";
892 o.summary = "foo"; 892 o.summary = "foo";
893 o.timeZone = "foo"; 893 o.timeZone = "foo";
894 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 894 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
895 } 895 }
896 buildCounterEvents--; 896 buildCounterEvents--;
897 return o; 897 return o;
898 } 898 }
899 899
900 checkEvents(api.Events o) { 900 checkEvents(api.Events o) {
901 buildCounterEvents++; 901 buildCounterEvents++;
902 if (buildCounterEvents < 3) { 902 if (buildCounterEvents < 3) {
903 unittest.expect(o.accessRole, unittest.equals('foo')); 903 unittest.expect(o.accessRole, unittest.equals('foo'));
904 checkUnnamed356(o.defaultReminders); 904 checkUnnamed695(o.defaultReminders);
905 unittest.expect(o.description, unittest.equals('foo')); 905 unittest.expect(o.description, unittest.equals('foo'));
906 unittest.expect(o.etag, unittest.equals('foo')); 906 unittest.expect(o.etag, unittest.equals('foo'));
907 checkUnnamed357(o.items); 907 checkUnnamed696(o.items);
908 unittest.expect(o.kind, unittest.equals('foo')); 908 unittest.expect(o.kind, unittest.equals('foo'));
909 unittest.expect(o.nextPageToken, unittest.equals('foo')); 909 unittest.expect(o.nextPageToken, unittest.equals('foo'));
910 unittest.expect(o.nextSyncToken, unittest.equals('foo')); 910 unittest.expect(o.nextSyncToken, unittest.equals('foo'));
911 unittest.expect(o.summary, unittest.equals('foo')); 911 unittest.expect(o.summary, unittest.equals('foo'));
912 unittest.expect(o.timeZone, unittest.equals('foo')); 912 unittest.expect(o.timeZone, unittest.equals('foo'));
913 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 913 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
914 } 914 }
915 buildCounterEvents--; 915 buildCounterEvents--;
916 } 916 }
917 917
918 buildUnnamed358() { 918 buildUnnamed697() {
919 var o = new core.List<api.TimePeriod>(); 919 var o = new core.List<api.TimePeriod>();
920 o.add(buildTimePeriod()); 920 o.add(buildTimePeriod());
921 o.add(buildTimePeriod()); 921 o.add(buildTimePeriod());
922 return o; 922 return o;
923 } 923 }
924 924
925 checkUnnamed358(core.List<api.TimePeriod> o) { 925 checkUnnamed697(core.List<api.TimePeriod> o) {
926 unittest.expect(o, unittest.hasLength(2)); 926 unittest.expect(o, unittest.hasLength(2));
927 checkTimePeriod(o[0]); 927 checkTimePeriod(o[0]);
928 checkTimePeriod(o[1]); 928 checkTimePeriod(o[1]);
929 } 929 }
930 930
931 buildUnnamed359() { 931 buildUnnamed698() {
932 var o = new core.List<api.Error>(); 932 var o = new core.List<api.Error>();
933 o.add(buildError()); 933 o.add(buildError());
934 o.add(buildError()); 934 o.add(buildError());
935 return o; 935 return o;
936 } 936 }
937 937
938 checkUnnamed359(core.List<api.Error> o) { 938 checkUnnamed698(core.List<api.Error> o) {
939 unittest.expect(o, unittest.hasLength(2)); 939 unittest.expect(o, unittest.hasLength(2));
940 checkError(o[0]); 940 checkError(o[0]);
941 checkError(o[1]); 941 checkError(o[1]);
942 } 942 }
943 943
944 core.int buildCounterFreeBusyCalendar = 0; 944 core.int buildCounterFreeBusyCalendar = 0;
945 buildFreeBusyCalendar() { 945 buildFreeBusyCalendar() {
946 var o = new api.FreeBusyCalendar(); 946 var o = new api.FreeBusyCalendar();
947 buildCounterFreeBusyCalendar++; 947 buildCounterFreeBusyCalendar++;
948 if (buildCounterFreeBusyCalendar < 3) { 948 if (buildCounterFreeBusyCalendar < 3) {
949 o.busy = buildUnnamed358(); 949 o.busy = buildUnnamed697();
950 o.errors = buildUnnamed359(); 950 o.errors = buildUnnamed698();
951 } 951 }
952 buildCounterFreeBusyCalendar--; 952 buildCounterFreeBusyCalendar--;
953 return o; 953 return o;
954 } 954 }
955 955
956 checkFreeBusyCalendar(api.FreeBusyCalendar o) { 956 checkFreeBusyCalendar(api.FreeBusyCalendar o) {
957 buildCounterFreeBusyCalendar++; 957 buildCounterFreeBusyCalendar++;
958 if (buildCounterFreeBusyCalendar < 3) { 958 if (buildCounterFreeBusyCalendar < 3) {
959 checkUnnamed358(o.busy); 959 checkUnnamed697(o.busy);
960 checkUnnamed359(o.errors); 960 checkUnnamed698(o.errors);
961 } 961 }
962 buildCounterFreeBusyCalendar--; 962 buildCounterFreeBusyCalendar--;
963 } 963 }
964 964
965 buildUnnamed360() { 965 buildUnnamed699() {
966 var o = new core.List<core.String>(); 966 var o = new core.List<core.String>();
967 o.add("foo"); 967 o.add("foo");
968 o.add("foo"); 968 o.add("foo");
969 return o; 969 return o;
970 } 970 }
971 971
972 checkUnnamed360(core.List<core.String> o) { 972 checkUnnamed699(core.List<core.String> o) {
973 unittest.expect(o, unittest.hasLength(2)); 973 unittest.expect(o, unittest.hasLength(2));
974 unittest.expect(o[0], unittest.equals('foo')); 974 unittest.expect(o[0], unittest.equals('foo'));
975 unittest.expect(o[1], unittest.equals('foo')); 975 unittest.expect(o[1], unittest.equals('foo'));
976 } 976 }
977 977
978 buildUnnamed361() { 978 buildUnnamed700() {
979 var o = new core.List<api.Error>(); 979 var o = new core.List<api.Error>();
980 o.add(buildError()); 980 o.add(buildError());
981 o.add(buildError()); 981 o.add(buildError());
982 return o; 982 return o;
983 } 983 }
984 984
985 checkUnnamed361(core.List<api.Error> o) { 985 checkUnnamed700(core.List<api.Error> o) {
986 unittest.expect(o, unittest.hasLength(2)); 986 unittest.expect(o, unittest.hasLength(2));
987 checkError(o[0]); 987 checkError(o[0]);
988 checkError(o[1]); 988 checkError(o[1]);
989 } 989 }
990 990
991 core.int buildCounterFreeBusyGroup = 0; 991 core.int buildCounterFreeBusyGroup = 0;
992 buildFreeBusyGroup() { 992 buildFreeBusyGroup() {
993 var o = new api.FreeBusyGroup(); 993 var o = new api.FreeBusyGroup();
994 buildCounterFreeBusyGroup++; 994 buildCounterFreeBusyGroup++;
995 if (buildCounterFreeBusyGroup < 3) { 995 if (buildCounterFreeBusyGroup < 3) {
996 o.calendars = buildUnnamed360(); 996 o.calendars = buildUnnamed699();
997 o.errors = buildUnnamed361(); 997 o.errors = buildUnnamed700();
998 } 998 }
999 buildCounterFreeBusyGroup--; 999 buildCounterFreeBusyGroup--;
1000 return o; 1000 return o;
1001 } 1001 }
1002 1002
1003 checkFreeBusyGroup(api.FreeBusyGroup o) { 1003 checkFreeBusyGroup(api.FreeBusyGroup o) {
1004 buildCounterFreeBusyGroup++; 1004 buildCounterFreeBusyGroup++;
1005 if (buildCounterFreeBusyGroup < 3) { 1005 if (buildCounterFreeBusyGroup < 3) {
1006 checkUnnamed360(o.calendars); 1006 checkUnnamed699(o.calendars);
1007 checkUnnamed361(o.errors); 1007 checkUnnamed700(o.errors);
1008 } 1008 }
1009 buildCounterFreeBusyGroup--; 1009 buildCounterFreeBusyGroup--;
1010 } 1010 }
1011 1011
1012 buildUnnamed362() { 1012 buildUnnamed701() {
1013 var o = new core.List<api.FreeBusyRequestItem>(); 1013 var o = new core.List<api.FreeBusyRequestItem>();
1014 o.add(buildFreeBusyRequestItem()); 1014 o.add(buildFreeBusyRequestItem());
1015 o.add(buildFreeBusyRequestItem()); 1015 o.add(buildFreeBusyRequestItem());
1016 return o; 1016 return o;
1017 } 1017 }
1018 1018
1019 checkUnnamed362(core.List<api.FreeBusyRequestItem> o) { 1019 checkUnnamed701(core.List<api.FreeBusyRequestItem> o) {
1020 unittest.expect(o, unittest.hasLength(2)); 1020 unittest.expect(o, unittest.hasLength(2));
1021 checkFreeBusyRequestItem(o[0]); 1021 checkFreeBusyRequestItem(o[0]);
1022 checkFreeBusyRequestItem(o[1]); 1022 checkFreeBusyRequestItem(o[1]);
1023 } 1023 }
1024 1024
1025 core.int buildCounterFreeBusyRequest = 0; 1025 core.int buildCounterFreeBusyRequest = 0;
1026 buildFreeBusyRequest() { 1026 buildFreeBusyRequest() {
1027 var o = new api.FreeBusyRequest(); 1027 var o = new api.FreeBusyRequest();
1028 buildCounterFreeBusyRequest++; 1028 buildCounterFreeBusyRequest++;
1029 if (buildCounterFreeBusyRequest < 3) { 1029 if (buildCounterFreeBusyRequest < 3) {
1030 o.calendarExpansionMax = 42; 1030 o.calendarExpansionMax = 42;
1031 o.groupExpansionMax = 42; 1031 o.groupExpansionMax = 42;
1032 o.items = buildUnnamed362(); 1032 o.items = buildUnnamed701();
1033 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 1033 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
1034 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 1034 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
1035 o.timeZone = "foo"; 1035 o.timeZone = "foo";
1036 } 1036 }
1037 buildCounterFreeBusyRequest--; 1037 buildCounterFreeBusyRequest--;
1038 return o; 1038 return o;
1039 } 1039 }
1040 1040
1041 checkFreeBusyRequest(api.FreeBusyRequest o) { 1041 checkFreeBusyRequest(api.FreeBusyRequest o) {
1042 buildCounterFreeBusyRequest++; 1042 buildCounterFreeBusyRequest++;
1043 if (buildCounterFreeBusyRequest < 3) { 1043 if (buildCounterFreeBusyRequest < 3) {
1044 unittest.expect(o.calendarExpansionMax, unittest.equals(42)); 1044 unittest.expect(o.calendarExpansionMax, unittest.equals(42));
1045 unittest.expect(o.groupExpansionMax, unittest.equals(42)); 1045 unittest.expect(o.groupExpansionMax, unittest.equals(42));
1046 checkUnnamed362(o.items); 1046 checkUnnamed701(o.items);
1047 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1047 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1048 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1048 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1049 unittest.expect(o.timeZone, unittest.equals('foo')); 1049 unittest.expect(o.timeZone, unittest.equals('foo'));
1050 } 1050 }
1051 buildCounterFreeBusyRequest--; 1051 buildCounterFreeBusyRequest--;
1052 } 1052 }
1053 1053
1054 core.int buildCounterFreeBusyRequestItem = 0; 1054 core.int buildCounterFreeBusyRequestItem = 0;
1055 buildFreeBusyRequestItem() { 1055 buildFreeBusyRequestItem() {
1056 var o = new api.FreeBusyRequestItem(); 1056 var o = new api.FreeBusyRequestItem();
1057 buildCounterFreeBusyRequestItem++; 1057 buildCounterFreeBusyRequestItem++;
1058 if (buildCounterFreeBusyRequestItem < 3) { 1058 if (buildCounterFreeBusyRequestItem < 3) {
1059 o.id = "foo"; 1059 o.id = "foo";
1060 } 1060 }
1061 buildCounterFreeBusyRequestItem--; 1061 buildCounterFreeBusyRequestItem--;
1062 return o; 1062 return o;
1063 } 1063 }
1064 1064
1065 checkFreeBusyRequestItem(api.FreeBusyRequestItem o) { 1065 checkFreeBusyRequestItem(api.FreeBusyRequestItem o) {
1066 buildCounterFreeBusyRequestItem++; 1066 buildCounterFreeBusyRequestItem++;
1067 if (buildCounterFreeBusyRequestItem < 3) { 1067 if (buildCounterFreeBusyRequestItem < 3) {
1068 unittest.expect(o.id, unittest.equals('foo')); 1068 unittest.expect(o.id, unittest.equals('foo'));
1069 } 1069 }
1070 buildCounterFreeBusyRequestItem--; 1070 buildCounterFreeBusyRequestItem--;
1071 } 1071 }
1072 1072
1073 buildUnnamed363() { 1073 buildUnnamed702() {
1074 var o = new core.Map<core.String, api.FreeBusyCalendar>(); 1074 var o = new core.Map<core.String, api.FreeBusyCalendar>();
1075 o["x"] = buildFreeBusyCalendar(); 1075 o["x"] = buildFreeBusyCalendar();
1076 o["y"] = buildFreeBusyCalendar(); 1076 o["y"] = buildFreeBusyCalendar();
1077 return o; 1077 return o;
1078 } 1078 }
1079 1079
1080 checkUnnamed363(core.Map<core.String, api.FreeBusyCalendar> o) { 1080 checkUnnamed702(core.Map<core.String, api.FreeBusyCalendar> o) {
1081 unittest.expect(o, unittest.hasLength(2)); 1081 unittest.expect(o, unittest.hasLength(2));
1082 checkFreeBusyCalendar(o["x"]); 1082 checkFreeBusyCalendar(o["x"]);
1083 checkFreeBusyCalendar(o["y"]); 1083 checkFreeBusyCalendar(o["y"]);
1084 } 1084 }
1085 1085
1086 buildUnnamed364() { 1086 buildUnnamed703() {
1087 var o = new core.Map<core.String, api.FreeBusyGroup>(); 1087 var o = new core.Map<core.String, api.FreeBusyGroup>();
1088 o["x"] = buildFreeBusyGroup(); 1088 o["x"] = buildFreeBusyGroup();
1089 o["y"] = buildFreeBusyGroup(); 1089 o["y"] = buildFreeBusyGroup();
1090 return o; 1090 return o;
1091 } 1091 }
1092 1092
1093 checkUnnamed364(core.Map<core.String, api.FreeBusyGroup> o) { 1093 checkUnnamed703(core.Map<core.String, api.FreeBusyGroup> o) {
1094 unittest.expect(o, unittest.hasLength(2)); 1094 unittest.expect(o, unittest.hasLength(2));
1095 checkFreeBusyGroup(o["x"]); 1095 checkFreeBusyGroup(o["x"]);
1096 checkFreeBusyGroup(o["y"]); 1096 checkFreeBusyGroup(o["y"]);
1097 } 1097 }
1098 1098
1099 core.int buildCounterFreeBusyResponse = 0; 1099 core.int buildCounterFreeBusyResponse = 0;
1100 buildFreeBusyResponse() { 1100 buildFreeBusyResponse() {
1101 var o = new api.FreeBusyResponse(); 1101 var o = new api.FreeBusyResponse();
1102 buildCounterFreeBusyResponse++; 1102 buildCounterFreeBusyResponse++;
1103 if (buildCounterFreeBusyResponse < 3) { 1103 if (buildCounterFreeBusyResponse < 3) {
1104 o.calendars = buildUnnamed363(); 1104 o.calendars = buildUnnamed702();
1105 o.groups = buildUnnamed364(); 1105 o.groups = buildUnnamed703();
1106 o.kind = "foo"; 1106 o.kind = "foo";
1107 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 1107 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
1108 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 1108 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
1109 } 1109 }
1110 buildCounterFreeBusyResponse--; 1110 buildCounterFreeBusyResponse--;
1111 return o; 1111 return o;
1112 } 1112 }
1113 1113
1114 checkFreeBusyResponse(api.FreeBusyResponse o) { 1114 checkFreeBusyResponse(api.FreeBusyResponse o) {
1115 buildCounterFreeBusyResponse++; 1115 buildCounterFreeBusyResponse++;
1116 if (buildCounterFreeBusyResponse < 3) { 1116 if (buildCounterFreeBusyResponse < 3) {
1117 checkUnnamed363(o.calendars); 1117 checkUnnamed702(o.calendars);
1118 checkUnnamed364(o.groups); 1118 checkUnnamed703(o.groups);
1119 unittest.expect(o.kind, unittest.equals('foo')); 1119 unittest.expect(o.kind, unittest.equals('foo'));
1120 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1120 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1121 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1121 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1122 } 1122 }
1123 buildCounterFreeBusyResponse--; 1123 buildCounterFreeBusyResponse--;
1124 } 1124 }
1125 1125
1126 core.int buildCounterSetting = 0; 1126 core.int buildCounterSetting = 0;
1127 buildSetting() { 1127 buildSetting() {
1128 var o = new api.Setting(); 1128 var o = new api.Setting();
(...skipping 12 matching lines...)
1141 buildCounterSetting++; 1141 buildCounterSetting++;
1142 if (buildCounterSetting < 3) { 1142 if (buildCounterSetting < 3) {
1143 unittest.expect(o.etag, unittest.equals('foo')); 1143 unittest.expect(o.etag, unittest.equals('foo'));
1144 unittest.expect(o.id, unittest.equals('foo')); 1144 unittest.expect(o.id, unittest.equals('foo'));
1145 unittest.expect(o.kind, unittest.equals('foo')); 1145 unittest.expect(o.kind, unittest.equals('foo'));
1146 unittest.expect(o.value, unittest.equals('foo')); 1146 unittest.expect(o.value, unittest.equals('foo'));
1147 } 1147 }
1148 buildCounterSetting--; 1148 buildCounterSetting--;
1149 } 1149 }
1150 1150
1151 buildUnnamed365() { 1151 buildUnnamed704() {
1152 var o = new core.List<api.Setting>(); 1152 var o = new core.List<api.Setting>();
1153 o.add(buildSetting()); 1153 o.add(buildSetting());
1154 o.add(buildSetting()); 1154 o.add(buildSetting());
1155 return o; 1155 return o;
1156 } 1156 }
1157 1157
1158 checkUnnamed365(core.List<api.Setting> o) { 1158 checkUnnamed704(core.List<api.Setting> o) {
1159 unittest.expect(o, unittest.hasLength(2)); 1159 unittest.expect(o, unittest.hasLength(2));
1160 checkSetting(o[0]); 1160 checkSetting(o[0]);
1161 checkSetting(o[1]); 1161 checkSetting(o[1]);
1162 } 1162 }
1163 1163
1164 core.int buildCounterSettings = 0; 1164 core.int buildCounterSettings = 0;
1165 buildSettings() { 1165 buildSettings() {
1166 var o = new api.Settings(); 1166 var o = new api.Settings();
1167 buildCounterSettings++; 1167 buildCounterSettings++;
1168 if (buildCounterSettings < 3) { 1168 if (buildCounterSettings < 3) {
1169 o.etag = "foo"; 1169 o.etag = "foo";
1170 o.items = buildUnnamed365(); 1170 o.items = buildUnnamed704();
1171 o.kind = "foo"; 1171 o.kind = "foo";
1172 o.nextPageToken = "foo"; 1172 o.nextPageToken = "foo";
1173 o.nextSyncToken = "foo"; 1173 o.nextSyncToken = "foo";
1174 } 1174 }
1175 buildCounterSettings--; 1175 buildCounterSettings--;
1176 return o; 1176 return o;
1177 } 1177 }
1178 1178
1179 checkSettings(api.Settings o) { 1179 checkSettings(api.Settings o) {
1180 buildCounterSettings++; 1180 buildCounterSettings++;
1181 if (buildCounterSettings < 3) { 1181 if (buildCounterSettings < 3) {
1182 unittest.expect(o.etag, unittest.equals('foo')); 1182 unittest.expect(o.etag, unittest.equals('foo'));
1183 checkUnnamed365(o.items); 1183 checkUnnamed704(o.items);
1184 unittest.expect(o.kind, unittest.equals('foo')); 1184 unittest.expect(o.kind, unittest.equals('foo'));
1185 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1185 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1186 unittest.expect(o.nextSyncToken, unittest.equals('foo')); 1186 unittest.expect(o.nextSyncToken, unittest.equals('foo'));
1187 } 1187 }
1188 buildCounterSettings--; 1188 buildCounterSettings--;
1189 } 1189 }
1190 1190
1191 core.int buildCounterTimePeriod = 0; 1191 core.int buildCounterTimePeriod = 0;
1192 buildTimePeriod() { 1192 buildTimePeriod() {
1193 var o = new api.TimePeriod(); 1193 var o = new api.TimePeriod();
1194 buildCounterTimePeriod++; 1194 buildCounterTimePeriod++;
1195 if (buildCounterTimePeriod < 3) { 1195 if (buildCounterTimePeriod < 3) {
1196 o.end = core.DateTime.parse("2002-02-27T14:01:02"); 1196 o.end = core.DateTime.parse("2002-02-27T14:01:02");
1197 o.start = core.DateTime.parse("2002-02-27T14:01:02"); 1197 o.start = core.DateTime.parse("2002-02-27T14:01:02");
1198 } 1198 }
1199 buildCounterTimePeriod--; 1199 buildCounterTimePeriod--;
1200 return o; 1200 return o;
1201 } 1201 }
1202 1202
1203 checkTimePeriod(api.TimePeriod o) { 1203 checkTimePeriod(api.TimePeriod o) {
1204 buildCounterTimePeriod++; 1204 buildCounterTimePeriod++;
1205 if (buildCounterTimePeriod < 3) { 1205 if (buildCounterTimePeriod < 3) {
1206 unittest.expect(o.end, unittest.equals(core.DateTime.parse("2002-02-27T14:01 :02"))); 1206 unittest.expect(o.end, unittest.equals(core.DateTime.parse("2002-02-27T14:01 :02")));
1207 unittest.expect(o.start, unittest.equals(core.DateTime.parse("2002-02-27T14: 01:02"))); 1207 unittest.expect(o.start, unittest.equals(core.DateTime.parse("2002-02-27T14: 01:02")));
1208 } 1208 }
1209 buildCounterTimePeriod--; 1209 buildCounterTimePeriod--;
1210 } 1210 }
1211 1211
1212 buildUnnamed366() { 1212 buildUnnamed705() {
1213 var o = new core.List<core.String>(); 1213 var o = new core.List<core.String>();
1214 o.add("foo"); 1214 o.add("foo");
1215 o.add("foo"); 1215 o.add("foo");
1216 return o; 1216 return o;
1217 } 1217 }
1218 1218
1219 checkUnnamed366(core.List<core.String> o) { 1219 checkUnnamed705(core.List<core.String> o) {
1220 unittest.expect(o, unittest.hasLength(2)); 1220 unittest.expect(o, unittest.hasLength(2));
1221 unittest.expect(o[0], unittest.equals('foo')); 1221 unittest.expect(o[0], unittest.equals('foo'));
1222 unittest.expect(o[1], unittest.equals('foo')); 1222 unittest.expect(o[1], unittest.equals('foo'));
1223 } 1223 }
1224 1224
1225 buildUnnamed367() { 1225 buildUnnamed706() {
1226 var o = new core.List<core.String>(); 1226 var o = new core.List<core.String>();
1227 o.add("foo"); 1227 o.add("foo");
1228 o.add("foo"); 1228 o.add("foo");
1229 return o; 1229 return o;
1230 } 1230 }
1231 1231
1232 checkUnnamed367(core.List<core.String> o) { 1232 checkUnnamed706(core.List<core.String> o) {
1233 unittest.expect(o, unittest.hasLength(2)); 1233 unittest.expect(o, unittest.hasLength(2));
1234 unittest.expect(o[0], unittest.equals('foo')); 1234 unittest.expect(o[0], unittest.equals('foo'));
1235 unittest.expect(o[1], unittest.equals('foo')); 1235 unittest.expect(o[1], unittest.equals('foo'));
1236 } 1236 }
1237 1237
1238 buildUnnamed368() { 1238 buildUnnamed707() {
1239 var o = new core.List<core.String>(); 1239 var o = new core.List<core.String>();
1240 o.add("foo"); 1240 o.add("foo");
1241 o.add("foo"); 1241 o.add("foo");
1242 return o; 1242 return o;
1243 } 1243 }
1244 1244
1245 checkUnnamed368(core.List<core.String> o) { 1245 checkUnnamed707(core.List<core.String> o) {
1246 unittest.expect(o, unittest.hasLength(2)); 1246 unittest.expect(o, unittest.hasLength(2));
1247 unittest.expect(o[0], unittest.equals('foo')); 1247 unittest.expect(o[0], unittest.equals('foo'));
1248 unittest.expect(o[1], unittest.equals('foo')); 1248 unittest.expect(o[1], unittest.equals('foo'));
1249 } 1249 }
1250 1250
1251 buildUnnamed369() { 1251 buildUnnamed708() {
1252 var o = new core.List<core.String>(); 1252 var o = new core.List<core.String>();
1253 o.add("foo"); 1253 o.add("foo");
1254 o.add("foo"); 1254 o.add("foo");
1255 return o; 1255 return o;
1256 } 1256 }
1257 1257
1258 checkUnnamed369(core.List<core.String> o) { 1258 checkUnnamed708(core.List<core.String> o) {
1259 unittest.expect(o, unittest.hasLength(2)); 1259 unittest.expect(o, unittest.hasLength(2));
1260 unittest.expect(o[0], unittest.equals('foo')); 1260 unittest.expect(o[0], unittest.equals('foo'));
1261 unittest.expect(o[1], unittest.equals('foo')); 1261 unittest.expect(o[1], unittest.equals('foo'));
1262 } 1262 }
1263 1263
1264 1264
1265 main() { 1265 main() {
1266 unittest.group("obj-schema-Acl", () { 1266 unittest.group("obj-schema-Acl", () {
1267 unittest.test("to-json--from-json", () { 1267 unittest.test("to-json--from-json", () {
1268 var o = buildAcl(); 1268 var o = buildAcl();
(...skipping 1810 matching lines...)
3079 3079
3080 var mock = new common_test.HttpServerMock(); 3080 var mock = new common_test.HttpServerMock();
3081 api.EventsResourceApi res = new api.CalendarApi(mock).events; 3081 api.EventsResourceApi res = new api.CalendarApi(mock).events;
3082 var arg_calendarId = "foo"; 3082 var arg_calendarId = "foo";
3083 var arg_alwaysIncludeEmail = true; 3083 var arg_alwaysIncludeEmail = true;
3084 var arg_iCalUID = "foo"; 3084 var arg_iCalUID = "foo";
3085 var arg_maxAttendees = 42; 3085 var arg_maxAttendees = 42;
3086 var arg_maxResults = 42; 3086 var arg_maxResults = 42;
3087 var arg_orderBy = "foo"; 3087 var arg_orderBy = "foo";
3088 var arg_pageToken = "foo"; 3088 var arg_pageToken = "foo";
3089 var arg_privateExtendedProperty = buildUnnamed366(); 3089 var arg_privateExtendedProperty = buildUnnamed705();
3090 var arg_q = "foo"; 3090 var arg_q = "foo";
3091 var arg_sharedExtendedProperty = buildUnnamed367(); 3091 var arg_sharedExtendedProperty = buildUnnamed706();
3092 var arg_showDeleted = true; 3092 var arg_showDeleted = true;
3093 var arg_showHiddenInvitations = true; 3093 var arg_showHiddenInvitations = true;
3094 var arg_singleEvents = true; 3094 var arg_singleEvents = true;
3095 var arg_syncToken = "foo"; 3095 var arg_syncToken = "foo";
3096 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 3096 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
3097 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 3097 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
3098 var arg_timeZone = "foo"; 3098 var arg_timeZone = "foo";
3099 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02"); 3099 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02");
3100 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3100 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3101 var path = (req.url).path; 3101 var path = (req.url).path;
(...skipping 321 matching lines...)
3423 var mock = new common_test.HttpServerMock(); 3423 var mock = new common_test.HttpServerMock();
3424 api.EventsResourceApi res = new api.CalendarApi(mock).events; 3424 api.EventsResourceApi res = new api.CalendarApi(mock).events;
3425 var arg_request = buildChannel(); 3425 var arg_request = buildChannel();
3426 var arg_calendarId = "foo"; 3426 var arg_calendarId = "foo";
3427 var arg_alwaysIncludeEmail = true; 3427 var arg_alwaysIncludeEmail = true;
3428 var arg_iCalUID = "foo"; 3428 var arg_iCalUID = "foo";
3429 var arg_maxAttendees = 42; 3429 var arg_maxAttendees = 42;
3430 var arg_maxResults = 42; 3430 var arg_maxResults = 42;
3431 var arg_orderBy = "foo"; 3431 var arg_orderBy = "foo";
3432 var arg_pageToken = "foo"; 3432 var arg_pageToken = "foo";
3433 var arg_privateExtendedProperty = buildUnnamed368(); 3433 var arg_privateExtendedProperty = buildUnnamed707();
3434 var arg_q = "foo"; 3434 var arg_q = "foo";
3435 var arg_sharedExtendedProperty = buildUnnamed369(); 3435 var arg_sharedExtendedProperty = buildUnnamed708();
3436 var arg_showDeleted = true; 3436 var arg_showDeleted = true;
3437 var arg_showHiddenInvitations = true; 3437 var arg_showHiddenInvitations = true;
3438 var arg_singleEvents = true; 3438 var arg_singleEvents = true;
3439 var arg_syncToken = "foo"; 3439 var arg_syncToken = "foo";
3440 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 3440 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
3441 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 3441 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
3442 var arg_timeZone = "foo"; 3442 var arg_timeZone = "foo";
3443 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02"); 3443 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02");
3444 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3444 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3445 var obj = new api.Channel.fromJson(json); 3445 var obj = new api.Channel.fromJson(json);
(...skipping 273 matching lines...)
3719 res.watch(arg_request, maxResults: arg_maxResults, pageToken: arg_pageToke n, syncToken: arg_syncToken).then(unittest.expectAsync(((api.Channel response) { 3719 res.watch(arg_request, maxResults: arg_maxResults, pageToken: arg_pageToke n, syncToken: arg_syncToken).then(unittest.expectAsync(((api.Channel response) {
3720 checkChannel(response); 3720 checkChannel(response);
3721 }))); 3721 })));
3722 }); 3722 });
3723 3723
3724 }); 3724 });
3725 3725
3726 3726
3727 } 3727 }
3728 3728
OLDNEW
« no previous file with comments | « generated/googleapis/test/books/v1_test.dart ('k') | generated/googleapis/test/civicinfo/us_v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine