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

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

Issue 663113002: Api roll 4: 2014-10-20 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 2 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;
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 buildUnnamed126() { 19 buildUnnamed675() {
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 checkUnnamed126(core.List<api.AclRule> o) { 26 checkUnnamed675(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 = buildUnnamed126(); 38 o.items = buildUnnamed675();
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 checkUnnamed126(o.items); 51 checkUnnamed675(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...) Expand 10 before | Expand all | Expand 10 after
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 buildUnnamed127() { 138 buildUnnamed676() {
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 checkUnnamed127(core.List<api.CalendarListEntry> o) { 145 checkUnnamed676(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 = buildUnnamed127(); 157 o.items = buildUnnamed676();
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 checkUnnamed127(o.items); 170 checkUnnamed676(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 buildUnnamed128() { 178 buildUnnamed677() {
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 checkUnnamed128(core.List<api.EventReminder> o) { 185 checkUnnamed677(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 buildUnnamed129() { 191 buildUnnamed678() {
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 checkUnnamed129(core.List<api.CalendarNotification> o) { 198 checkUnnamed678(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 = buildUnnamed129(); 209 o.notifications = buildUnnamed678();
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 checkUnnamed129(o.notifications); 218 checkUnnamed678(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 = buildUnnamed128(); 231 o.defaultReminders = buildUnnamed677();
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 checkUnnamed128(o.defaultReminders); 257 checkUnnamed677(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...) Expand all
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 buildUnnamed130() { 297 buildUnnamed679() {
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 checkUnnamed130(core.Map<core.String, core.String> o) { 304 checkUnnamed679(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 = buildUnnamed130(); 319 o.params = buildUnnamed679();
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 checkUnnamed130(o.params); 337 checkUnnamed679(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...) Expand all
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 buildUnnamed131() { 368 buildUnnamed680() {
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 checkUnnamed131(core.Map<core.String, api.ColorDefinition> o) { 375 checkUnnamed680(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 buildUnnamed132() { 381 buildUnnamed681() {
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 checkUnnamed132(core.Map<core.String, api.ColorDefinition> o) { 388 checkUnnamed681(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 = buildUnnamed131(); 399 o.calendar = buildUnnamed680();
400 o.event = buildUnnamed132(); 400 o.event = buildUnnamed681();
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 checkUnnamed131(o.calendar); 411 checkUnnamed680(o.calendar);
412 checkUnnamed132(o.event); 412 checkUnnamed681(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 buildUnnamed133() { 440 buildUnnamed682() {
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 checkUnnamed133(core.List<api.EventAttendee> o) { 447 checkUnnamed682(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...) Expand all
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 buildUnnamed134() { 478 buildUnnamed683() {
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 checkUnnamed134(core.Map<core.String, core.String> o) { 485 checkUnnamed683(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 buildUnnamed135() { 491 buildUnnamed684() {
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 checkUnnamed135(core.Map<core.String, core.String> o) { 498 checkUnnamed684(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 = buildUnnamed134(); 509 o.private = buildUnnamed683();
510 o.shared = buildUnnamed135(); 510 o.shared = buildUnnamed684();
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 checkUnnamed134(o.private); 519 checkUnnamed683(o.private);
520 checkUnnamed135(o.shared); 520 checkUnnamed684(o.shared);
521 } 521 }
522 buildCounterEventExtendedProperties--; 522 buildCounterEventExtendedProperties--;
523 } 523 }
524 524
525 buildUnnamed136() { 525 buildUnnamed685() {
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 checkUnnamed136(core.Map<core.String, core.String> o) { 532 checkUnnamed685(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 = buildUnnamed136(); 547 o.preferences = buildUnnamed685();
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 checkUnnamed136(o.preferences); 563 checkUnnamed685(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...) Expand all
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 buildUnnamed137() { 596 buildUnnamed686() {
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 checkUnnamed137(core.List<core.String> o) { 603 checkUnnamed686(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 buildUnnamed138() { 609 buildUnnamed687() {
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 checkUnnamed138(core.List<api.EventReminder> o) { 616 checkUnnamed687(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 = buildUnnamed138(); 627 o.overrides = buildUnnamed687();
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 checkUnnamed138(o.overrides); 637 checkUnnamed687(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...) Expand all
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 = buildUnnamed133(); 670 o.attendees = buildUnnamed682();
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 = buildUnnamed137(); 694 o.recurrence = buildUnnamed686();
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 checkUnnamed133(o.attendees); 714 checkUnnamed682(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 checkUnnamed137(o.recurrence); 738 checkUnnamed686(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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 824
825 checkEventReminder(api.EventReminder o) { 825 checkEventReminder(api.EventReminder o) {
826 buildCounterEventReminder++; 826 buildCounterEventReminder++;
827 if (buildCounterEventReminder < 3) { 827 if (buildCounterEventReminder < 3) {
828 unittest.expect(o.method, unittest.equals('foo')); 828 unittest.expect(o.method, unittest.equals('foo'));
829 unittest.expect(o.minutes, unittest.equals(42)); 829 unittest.expect(o.minutes, unittest.equals(42));
830 } 830 }
831 buildCounterEventReminder--; 831 buildCounterEventReminder--;
832 } 832 }
833 833
834 buildUnnamed139() { 834 buildUnnamed688() {
835 var o = new core.List<api.EventReminder>(); 835 var o = new core.List<api.EventReminder>();
836 o.add(buildEventReminder()); 836 o.add(buildEventReminder());
837 o.add(buildEventReminder()); 837 o.add(buildEventReminder());
838 return o; 838 return o;
839 } 839 }
840 840
841 checkUnnamed139(core.List<api.EventReminder> o) { 841 checkUnnamed688(core.List<api.EventReminder> o) {
842 unittest.expect(o, unittest.hasLength(2)); 842 unittest.expect(o, unittest.hasLength(2));
843 checkEventReminder(o[0]); 843 checkEventReminder(o[0]);
844 checkEventReminder(o[1]); 844 checkEventReminder(o[1]);
845 } 845 }
846 846
847 buildUnnamed140() { 847 buildUnnamed689() {
848 var o = new core.List<api.Event>(); 848 var o = new core.List<api.Event>();
849 o.add(buildEvent()); 849 o.add(buildEvent());
850 o.add(buildEvent()); 850 o.add(buildEvent());
851 return o; 851 return o;
852 } 852 }
853 853
854 checkUnnamed140(core.List<api.Event> o) { 854 checkUnnamed689(core.List<api.Event> o) {
855 unittest.expect(o, unittest.hasLength(2)); 855 unittest.expect(o, unittest.hasLength(2));
856 checkEvent(o[0]); 856 checkEvent(o[0]);
857 checkEvent(o[1]); 857 checkEvent(o[1]);
858 } 858 }
859 859
860 core.int buildCounterEvents = 0; 860 core.int buildCounterEvents = 0;
861 buildEvents() { 861 buildEvents() {
862 var o = new api.Events(); 862 var o = new api.Events();
863 buildCounterEvents++; 863 buildCounterEvents++;
864 if (buildCounterEvents < 3) { 864 if (buildCounterEvents < 3) {
865 o.accessRole = "foo"; 865 o.accessRole = "foo";
866 o.defaultReminders = buildUnnamed139(); 866 o.defaultReminders = buildUnnamed688();
867 o.description = "foo"; 867 o.description = "foo";
868 o.etag = "foo"; 868 o.etag = "foo";
869 o.items = buildUnnamed140(); 869 o.items = buildUnnamed689();
870 o.kind = "foo"; 870 o.kind = "foo";
871 o.nextPageToken = "foo"; 871 o.nextPageToken = "foo";
872 o.nextSyncToken = "foo"; 872 o.nextSyncToken = "foo";
873 o.summary = "foo"; 873 o.summary = "foo";
874 o.timeZone = "foo"; 874 o.timeZone = "foo";
875 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 875 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
876 } 876 }
877 buildCounterEvents--; 877 buildCounterEvents--;
878 return o; 878 return o;
879 } 879 }
880 880
881 checkEvents(api.Events o) { 881 checkEvents(api.Events o) {
882 buildCounterEvents++; 882 buildCounterEvents++;
883 if (buildCounterEvents < 3) { 883 if (buildCounterEvents < 3) {
884 unittest.expect(o.accessRole, unittest.equals('foo')); 884 unittest.expect(o.accessRole, unittest.equals('foo'));
885 checkUnnamed139(o.defaultReminders); 885 checkUnnamed688(o.defaultReminders);
886 unittest.expect(o.description, unittest.equals('foo')); 886 unittest.expect(o.description, unittest.equals('foo'));
887 unittest.expect(o.etag, unittest.equals('foo')); 887 unittest.expect(o.etag, unittest.equals('foo'));
888 checkUnnamed140(o.items); 888 checkUnnamed689(o.items);
889 unittest.expect(o.kind, unittest.equals('foo')); 889 unittest.expect(o.kind, unittest.equals('foo'));
890 unittest.expect(o.nextPageToken, unittest.equals('foo')); 890 unittest.expect(o.nextPageToken, unittest.equals('foo'));
891 unittest.expect(o.nextSyncToken, unittest.equals('foo')); 891 unittest.expect(o.nextSyncToken, unittest.equals('foo'));
892 unittest.expect(o.summary, unittest.equals('foo')); 892 unittest.expect(o.summary, unittest.equals('foo'));
893 unittest.expect(o.timeZone, unittest.equals('foo')); 893 unittest.expect(o.timeZone, unittest.equals('foo'));
894 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 894 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
895 } 895 }
896 buildCounterEvents--; 896 buildCounterEvents--;
897 } 897 }
898 898
899 buildUnnamed141() { 899 buildUnnamed690() {
900 var o = new core.List<api.TimePeriod>(); 900 var o = new core.List<api.TimePeriod>();
901 o.add(buildTimePeriod()); 901 o.add(buildTimePeriod());
902 o.add(buildTimePeriod()); 902 o.add(buildTimePeriod());
903 return o; 903 return o;
904 } 904 }
905 905
906 checkUnnamed141(core.List<api.TimePeriod> o) { 906 checkUnnamed690(core.List<api.TimePeriod> o) {
907 unittest.expect(o, unittest.hasLength(2)); 907 unittest.expect(o, unittest.hasLength(2));
908 checkTimePeriod(o[0]); 908 checkTimePeriod(o[0]);
909 checkTimePeriod(o[1]); 909 checkTimePeriod(o[1]);
910 } 910 }
911 911
912 buildUnnamed142() { 912 buildUnnamed691() {
913 var o = new core.List<api.Error>(); 913 var o = new core.List<api.Error>();
914 o.add(buildError()); 914 o.add(buildError());
915 o.add(buildError()); 915 o.add(buildError());
916 return o; 916 return o;
917 } 917 }
918 918
919 checkUnnamed142(core.List<api.Error> o) { 919 checkUnnamed691(core.List<api.Error> o) {
920 unittest.expect(o, unittest.hasLength(2)); 920 unittest.expect(o, unittest.hasLength(2));
921 checkError(o[0]); 921 checkError(o[0]);
922 checkError(o[1]); 922 checkError(o[1]);
923 } 923 }
924 924
925 core.int buildCounterFreeBusyCalendar = 0; 925 core.int buildCounterFreeBusyCalendar = 0;
926 buildFreeBusyCalendar() { 926 buildFreeBusyCalendar() {
927 var o = new api.FreeBusyCalendar(); 927 var o = new api.FreeBusyCalendar();
928 buildCounterFreeBusyCalendar++; 928 buildCounterFreeBusyCalendar++;
929 if (buildCounterFreeBusyCalendar < 3) { 929 if (buildCounterFreeBusyCalendar < 3) {
930 o.busy = buildUnnamed141(); 930 o.busy = buildUnnamed690();
931 o.errors = buildUnnamed142(); 931 o.errors = buildUnnamed691();
932 } 932 }
933 buildCounterFreeBusyCalendar--; 933 buildCounterFreeBusyCalendar--;
934 return o; 934 return o;
935 } 935 }
936 936
937 checkFreeBusyCalendar(api.FreeBusyCalendar o) { 937 checkFreeBusyCalendar(api.FreeBusyCalendar o) {
938 buildCounterFreeBusyCalendar++; 938 buildCounterFreeBusyCalendar++;
939 if (buildCounterFreeBusyCalendar < 3) { 939 if (buildCounterFreeBusyCalendar < 3) {
940 checkUnnamed141(o.busy); 940 checkUnnamed690(o.busy);
941 checkUnnamed142(o.errors); 941 checkUnnamed691(o.errors);
942 } 942 }
943 buildCounterFreeBusyCalendar--; 943 buildCounterFreeBusyCalendar--;
944 } 944 }
945 945
946 buildUnnamed143() { 946 buildUnnamed692() {
947 var o = new core.List<core.String>(); 947 var o = new core.List<core.String>();
948 o.add("foo"); 948 o.add("foo");
949 o.add("foo"); 949 o.add("foo");
950 return o; 950 return o;
951 } 951 }
952 952
953 checkUnnamed143(core.List<core.String> o) { 953 checkUnnamed692(core.List<core.String> o) {
954 unittest.expect(o, unittest.hasLength(2)); 954 unittest.expect(o, unittest.hasLength(2));
955 unittest.expect(o[0], unittest.equals('foo')); 955 unittest.expect(o[0], unittest.equals('foo'));
956 unittest.expect(o[1], unittest.equals('foo')); 956 unittest.expect(o[1], unittest.equals('foo'));
957 } 957 }
958 958
959 buildUnnamed144() { 959 buildUnnamed693() {
960 var o = new core.List<api.Error>(); 960 var o = new core.List<api.Error>();
961 o.add(buildError()); 961 o.add(buildError());
962 o.add(buildError()); 962 o.add(buildError());
963 return o; 963 return o;
964 } 964 }
965 965
966 checkUnnamed144(core.List<api.Error> o) { 966 checkUnnamed693(core.List<api.Error> o) {
967 unittest.expect(o, unittest.hasLength(2)); 967 unittest.expect(o, unittest.hasLength(2));
968 checkError(o[0]); 968 checkError(o[0]);
969 checkError(o[1]); 969 checkError(o[1]);
970 } 970 }
971 971
972 core.int buildCounterFreeBusyGroup = 0; 972 core.int buildCounterFreeBusyGroup = 0;
973 buildFreeBusyGroup() { 973 buildFreeBusyGroup() {
974 var o = new api.FreeBusyGroup(); 974 var o = new api.FreeBusyGroup();
975 buildCounterFreeBusyGroup++; 975 buildCounterFreeBusyGroup++;
976 if (buildCounterFreeBusyGroup < 3) { 976 if (buildCounterFreeBusyGroup < 3) {
977 o.calendars = buildUnnamed143(); 977 o.calendars = buildUnnamed692();
978 o.errors = buildUnnamed144(); 978 o.errors = buildUnnamed693();
979 } 979 }
980 buildCounterFreeBusyGroup--; 980 buildCounterFreeBusyGroup--;
981 return o; 981 return o;
982 } 982 }
983 983
984 checkFreeBusyGroup(api.FreeBusyGroup o) { 984 checkFreeBusyGroup(api.FreeBusyGroup o) {
985 buildCounterFreeBusyGroup++; 985 buildCounterFreeBusyGroup++;
986 if (buildCounterFreeBusyGroup < 3) { 986 if (buildCounterFreeBusyGroup < 3) {
987 checkUnnamed143(o.calendars); 987 checkUnnamed692(o.calendars);
988 checkUnnamed144(o.errors); 988 checkUnnamed693(o.errors);
989 } 989 }
990 buildCounterFreeBusyGroup--; 990 buildCounterFreeBusyGroup--;
991 } 991 }
992 992
993 buildUnnamed145() { 993 buildUnnamed694() {
994 var o = new core.List<api.FreeBusyRequestItem>(); 994 var o = new core.List<api.FreeBusyRequestItem>();
995 o.add(buildFreeBusyRequestItem()); 995 o.add(buildFreeBusyRequestItem());
996 o.add(buildFreeBusyRequestItem()); 996 o.add(buildFreeBusyRequestItem());
997 return o; 997 return o;
998 } 998 }
999 999
1000 checkUnnamed145(core.List<api.FreeBusyRequestItem> o) { 1000 checkUnnamed694(core.List<api.FreeBusyRequestItem> o) {
1001 unittest.expect(o, unittest.hasLength(2)); 1001 unittest.expect(o, unittest.hasLength(2));
1002 checkFreeBusyRequestItem(o[0]); 1002 checkFreeBusyRequestItem(o[0]);
1003 checkFreeBusyRequestItem(o[1]); 1003 checkFreeBusyRequestItem(o[1]);
1004 } 1004 }
1005 1005
1006 core.int buildCounterFreeBusyRequest = 0; 1006 core.int buildCounterFreeBusyRequest = 0;
1007 buildFreeBusyRequest() { 1007 buildFreeBusyRequest() {
1008 var o = new api.FreeBusyRequest(); 1008 var o = new api.FreeBusyRequest();
1009 buildCounterFreeBusyRequest++; 1009 buildCounterFreeBusyRequest++;
1010 if (buildCounterFreeBusyRequest < 3) { 1010 if (buildCounterFreeBusyRequest < 3) {
1011 o.calendarExpansionMax = 42; 1011 o.calendarExpansionMax = 42;
1012 o.groupExpansionMax = 42; 1012 o.groupExpansionMax = 42;
1013 o.items = buildUnnamed145(); 1013 o.items = buildUnnamed694();
1014 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 1014 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
1015 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 1015 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
1016 o.timeZone = "foo"; 1016 o.timeZone = "foo";
1017 } 1017 }
1018 buildCounterFreeBusyRequest--; 1018 buildCounterFreeBusyRequest--;
1019 return o; 1019 return o;
1020 } 1020 }
1021 1021
1022 checkFreeBusyRequest(api.FreeBusyRequest o) { 1022 checkFreeBusyRequest(api.FreeBusyRequest o) {
1023 buildCounterFreeBusyRequest++; 1023 buildCounterFreeBusyRequest++;
1024 if (buildCounterFreeBusyRequest < 3) { 1024 if (buildCounterFreeBusyRequest < 3) {
1025 unittest.expect(o.calendarExpansionMax, unittest.equals(42)); 1025 unittest.expect(o.calendarExpansionMax, unittest.equals(42));
1026 unittest.expect(o.groupExpansionMax, unittest.equals(42)); 1026 unittest.expect(o.groupExpansionMax, unittest.equals(42));
1027 checkUnnamed145(o.items); 1027 checkUnnamed694(o.items);
1028 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1028 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1029 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1029 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1030 unittest.expect(o.timeZone, unittest.equals('foo')); 1030 unittest.expect(o.timeZone, unittest.equals('foo'));
1031 } 1031 }
1032 buildCounterFreeBusyRequest--; 1032 buildCounterFreeBusyRequest--;
1033 } 1033 }
1034 1034
1035 core.int buildCounterFreeBusyRequestItem = 0; 1035 core.int buildCounterFreeBusyRequestItem = 0;
1036 buildFreeBusyRequestItem() { 1036 buildFreeBusyRequestItem() {
1037 var o = new api.FreeBusyRequestItem(); 1037 var o = new api.FreeBusyRequestItem();
1038 buildCounterFreeBusyRequestItem++; 1038 buildCounterFreeBusyRequestItem++;
1039 if (buildCounterFreeBusyRequestItem < 3) { 1039 if (buildCounterFreeBusyRequestItem < 3) {
1040 o.id = "foo"; 1040 o.id = "foo";
1041 } 1041 }
1042 buildCounterFreeBusyRequestItem--; 1042 buildCounterFreeBusyRequestItem--;
1043 return o; 1043 return o;
1044 } 1044 }
1045 1045
1046 checkFreeBusyRequestItem(api.FreeBusyRequestItem o) { 1046 checkFreeBusyRequestItem(api.FreeBusyRequestItem o) {
1047 buildCounterFreeBusyRequestItem++; 1047 buildCounterFreeBusyRequestItem++;
1048 if (buildCounterFreeBusyRequestItem < 3) { 1048 if (buildCounterFreeBusyRequestItem < 3) {
1049 unittest.expect(o.id, unittest.equals('foo')); 1049 unittest.expect(o.id, unittest.equals('foo'));
1050 } 1050 }
1051 buildCounterFreeBusyRequestItem--; 1051 buildCounterFreeBusyRequestItem--;
1052 } 1052 }
1053 1053
1054 buildUnnamed146() { 1054 buildUnnamed695() {
1055 var o = new core.Map<core.String, api.FreeBusyCalendar>(); 1055 var o = new core.Map<core.String, api.FreeBusyCalendar>();
1056 o["x"] = buildFreeBusyCalendar(); 1056 o["x"] = buildFreeBusyCalendar();
1057 o["y"] = buildFreeBusyCalendar(); 1057 o["y"] = buildFreeBusyCalendar();
1058 return o; 1058 return o;
1059 } 1059 }
1060 1060
1061 checkUnnamed146(core.Map<core.String, api.FreeBusyCalendar> o) { 1061 checkUnnamed695(core.Map<core.String, api.FreeBusyCalendar> o) {
1062 unittest.expect(o, unittest.hasLength(2)); 1062 unittest.expect(o, unittest.hasLength(2));
1063 checkFreeBusyCalendar(o["x"]); 1063 checkFreeBusyCalendar(o["x"]);
1064 checkFreeBusyCalendar(o["y"]); 1064 checkFreeBusyCalendar(o["y"]);
1065 } 1065 }
1066 1066
1067 buildUnnamed147() { 1067 buildUnnamed696() {
1068 var o = new core.Map<core.String, api.FreeBusyGroup>(); 1068 var o = new core.Map<core.String, api.FreeBusyGroup>();
1069 o["x"] = buildFreeBusyGroup(); 1069 o["x"] = buildFreeBusyGroup();
1070 o["y"] = buildFreeBusyGroup(); 1070 o["y"] = buildFreeBusyGroup();
1071 return o; 1071 return o;
1072 } 1072 }
1073 1073
1074 checkUnnamed147(core.Map<core.String, api.FreeBusyGroup> o) { 1074 checkUnnamed696(core.Map<core.String, api.FreeBusyGroup> o) {
1075 unittest.expect(o, unittest.hasLength(2)); 1075 unittest.expect(o, unittest.hasLength(2));
1076 checkFreeBusyGroup(o["x"]); 1076 checkFreeBusyGroup(o["x"]);
1077 checkFreeBusyGroup(o["y"]); 1077 checkFreeBusyGroup(o["y"]);
1078 } 1078 }
1079 1079
1080 core.int buildCounterFreeBusyResponse = 0; 1080 core.int buildCounterFreeBusyResponse = 0;
1081 buildFreeBusyResponse() { 1081 buildFreeBusyResponse() {
1082 var o = new api.FreeBusyResponse(); 1082 var o = new api.FreeBusyResponse();
1083 buildCounterFreeBusyResponse++; 1083 buildCounterFreeBusyResponse++;
1084 if (buildCounterFreeBusyResponse < 3) { 1084 if (buildCounterFreeBusyResponse < 3) {
1085 o.calendars = buildUnnamed146(); 1085 o.calendars = buildUnnamed695();
1086 o.groups = buildUnnamed147(); 1086 o.groups = buildUnnamed696();
1087 o.kind = "foo"; 1087 o.kind = "foo";
1088 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 1088 o.timeMax = core.DateTime.parse("2002-02-27T14:01:02");
1089 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 1089 o.timeMin = core.DateTime.parse("2002-02-27T14:01:02");
1090 } 1090 }
1091 buildCounterFreeBusyResponse--; 1091 buildCounterFreeBusyResponse--;
1092 return o; 1092 return o;
1093 } 1093 }
1094 1094
1095 checkFreeBusyResponse(api.FreeBusyResponse o) { 1095 checkFreeBusyResponse(api.FreeBusyResponse o) {
1096 buildCounterFreeBusyResponse++; 1096 buildCounterFreeBusyResponse++;
1097 if (buildCounterFreeBusyResponse < 3) { 1097 if (buildCounterFreeBusyResponse < 3) {
1098 checkUnnamed146(o.calendars); 1098 checkUnnamed695(o.calendars);
1099 checkUnnamed147(o.groups); 1099 checkUnnamed696(o.groups);
1100 unittest.expect(o.kind, unittest.equals('foo')); 1100 unittest.expect(o.kind, unittest.equals('foo'));
1101 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1101 unittest.expect(o.timeMax, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1102 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1102 unittest.expect(o.timeMin, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1103 } 1103 }
1104 buildCounterFreeBusyResponse--; 1104 buildCounterFreeBusyResponse--;
1105 } 1105 }
1106 1106
1107 core.int buildCounterSetting = 0; 1107 core.int buildCounterSetting = 0;
1108 buildSetting() { 1108 buildSetting() {
1109 var o = new api.Setting(); 1109 var o = new api.Setting();
(...skipping 12 matching lines...) Expand all
1122 buildCounterSetting++; 1122 buildCounterSetting++;
1123 if (buildCounterSetting < 3) { 1123 if (buildCounterSetting < 3) {
1124 unittest.expect(o.etag, unittest.equals('foo')); 1124 unittest.expect(o.etag, unittest.equals('foo'));
1125 unittest.expect(o.id, unittest.equals('foo')); 1125 unittest.expect(o.id, unittest.equals('foo'));
1126 unittest.expect(o.kind, unittest.equals('foo')); 1126 unittest.expect(o.kind, unittest.equals('foo'));
1127 unittest.expect(o.value, unittest.equals('foo')); 1127 unittest.expect(o.value, unittest.equals('foo'));
1128 } 1128 }
1129 buildCounterSetting--; 1129 buildCounterSetting--;
1130 } 1130 }
1131 1131
1132 buildUnnamed148() { 1132 buildUnnamed697() {
1133 var o = new core.List<api.Setting>(); 1133 var o = new core.List<api.Setting>();
1134 o.add(buildSetting()); 1134 o.add(buildSetting());
1135 o.add(buildSetting()); 1135 o.add(buildSetting());
1136 return o; 1136 return o;
1137 } 1137 }
1138 1138
1139 checkUnnamed148(core.List<api.Setting> o) { 1139 checkUnnamed697(core.List<api.Setting> o) {
1140 unittest.expect(o, unittest.hasLength(2)); 1140 unittest.expect(o, unittest.hasLength(2));
1141 checkSetting(o[0]); 1141 checkSetting(o[0]);
1142 checkSetting(o[1]); 1142 checkSetting(o[1]);
1143 } 1143 }
1144 1144
1145 core.int buildCounterSettings = 0; 1145 core.int buildCounterSettings = 0;
1146 buildSettings() { 1146 buildSettings() {
1147 var o = new api.Settings(); 1147 var o = new api.Settings();
1148 buildCounterSettings++; 1148 buildCounterSettings++;
1149 if (buildCounterSettings < 3) { 1149 if (buildCounterSettings < 3) {
1150 o.etag = "foo"; 1150 o.etag = "foo";
1151 o.items = buildUnnamed148(); 1151 o.items = buildUnnamed697();
1152 o.kind = "foo"; 1152 o.kind = "foo";
1153 o.nextPageToken = "foo"; 1153 o.nextPageToken = "foo";
1154 o.nextSyncToken = "foo"; 1154 o.nextSyncToken = "foo";
1155 } 1155 }
1156 buildCounterSettings--; 1156 buildCounterSettings--;
1157 return o; 1157 return o;
1158 } 1158 }
1159 1159
1160 checkSettings(api.Settings o) { 1160 checkSettings(api.Settings o) {
1161 buildCounterSettings++; 1161 buildCounterSettings++;
1162 if (buildCounterSettings < 3) { 1162 if (buildCounterSettings < 3) {
1163 unittest.expect(o.etag, unittest.equals('foo')); 1163 unittest.expect(o.etag, unittest.equals('foo'));
1164 checkUnnamed148(o.items); 1164 checkUnnamed697(o.items);
1165 unittest.expect(o.kind, unittest.equals('foo')); 1165 unittest.expect(o.kind, unittest.equals('foo'));
1166 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1166 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1167 unittest.expect(o.nextSyncToken, unittest.equals('foo')); 1167 unittest.expect(o.nextSyncToken, unittest.equals('foo'));
1168 } 1168 }
1169 buildCounterSettings--; 1169 buildCounterSettings--;
1170 } 1170 }
1171 1171
1172 core.int buildCounterTimePeriod = 0; 1172 core.int buildCounterTimePeriod = 0;
1173 buildTimePeriod() { 1173 buildTimePeriod() {
1174 var o = new api.TimePeriod(); 1174 var o = new api.TimePeriod();
1175 buildCounterTimePeriod++; 1175 buildCounterTimePeriod++;
1176 if (buildCounterTimePeriod < 3) { 1176 if (buildCounterTimePeriod < 3) {
1177 o.end = core.DateTime.parse("2002-02-27T14:01:02"); 1177 o.end = core.DateTime.parse("2002-02-27T14:01:02");
1178 o.start = core.DateTime.parse("2002-02-27T14:01:02"); 1178 o.start = core.DateTime.parse("2002-02-27T14:01:02");
1179 } 1179 }
1180 buildCounterTimePeriod--; 1180 buildCounterTimePeriod--;
1181 return o; 1181 return o;
1182 } 1182 }
1183 1183
1184 checkTimePeriod(api.TimePeriod o) { 1184 checkTimePeriod(api.TimePeriod o) {
1185 buildCounterTimePeriod++; 1185 buildCounterTimePeriod++;
1186 if (buildCounterTimePeriod < 3) { 1186 if (buildCounterTimePeriod < 3) {
1187 unittest.expect(o.end, unittest.equals(core.DateTime.parse("2002-02-27T14:01 :02"))); 1187 unittest.expect(o.end, unittest.equals(core.DateTime.parse("2002-02-27T14:01 :02")));
1188 unittest.expect(o.start, unittest.equals(core.DateTime.parse("2002-02-27T14: 01:02"))); 1188 unittest.expect(o.start, unittest.equals(core.DateTime.parse("2002-02-27T14: 01:02")));
1189 } 1189 }
1190 buildCounterTimePeriod--; 1190 buildCounterTimePeriod--;
1191 } 1191 }
1192 1192
1193 buildUnnamed149() { 1193 buildUnnamed698() {
1194 var o = new core.List<core.String>(); 1194 var o = new core.List<core.String>();
1195 o.add("foo"); 1195 o.add("foo");
1196 o.add("foo"); 1196 o.add("foo");
1197 return o; 1197 return o;
1198 } 1198 }
1199 1199
1200 checkUnnamed149(core.List<core.String> o) { 1200 checkUnnamed698(core.List<core.String> o) {
1201 unittest.expect(o, unittest.hasLength(2)); 1201 unittest.expect(o, unittest.hasLength(2));
1202 unittest.expect(o[0], unittest.equals('foo')); 1202 unittest.expect(o[0], unittest.equals('foo'));
1203 unittest.expect(o[1], unittest.equals('foo')); 1203 unittest.expect(o[1], unittest.equals('foo'));
1204 } 1204 }
1205 1205
1206 buildUnnamed150() { 1206 buildUnnamed699() {
1207 var o = new core.List<core.String>(); 1207 var o = new core.List<core.String>();
1208 o.add("foo"); 1208 o.add("foo");
1209 o.add("foo"); 1209 o.add("foo");
1210 return o; 1210 return o;
1211 } 1211 }
1212 1212
1213 checkUnnamed150(core.List<core.String> o) { 1213 checkUnnamed699(core.List<core.String> o) {
1214 unittest.expect(o, unittest.hasLength(2)); 1214 unittest.expect(o, unittest.hasLength(2));
1215 unittest.expect(o[0], unittest.equals('foo')); 1215 unittest.expect(o[0], unittest.equals('foo'));
1216 unittest.expect(o[1], unittest.equals('foo')); 1216 unittest.expect(o[1], unittest.equals('foo'));
1217 } 1217 }
1218 1218
1219 buildUnnamed151() { 1219 buildUnnamed700() {
1220 var o = new core.List<core.String>(); 1220 var o = new core.List<core.String>();
1221 o.add("foo"); 1221 o.add("foo");
1222 o.add("foo"); 1222 o.add("foo");
1223 return o; 1223 return o;
1224 } 1224 }
1225 1225
1226 checkUnnamed151(core.List<core.String> o) { 1226 checkUnnamed700(core.List<core.String> o) {
1227 unittest.expect(o, unittest.hasLength(2)); 1227 unittest.expect(o, unittest.hasLength(2));
1228 unittest.expect(o[0], unittest.equals('foo')); 1228 unittest.expect(o[0], unittest.equals('foo'));
1229 unittest.expect(o[1], unittest.equals('foo')); 1229 unittest.expect(o[1], unittest.equals('foo'));
1230 } 1230 }
1231 1231
1232 buildUnnamed152() { 1232 buildUnnamed701() {
1233 var o = new core.List<core.String>(); 1233 var o = new core.List<core.String>();
1234 o.add("foo"); 1234 o.add("foo");
1235 o.add("foo"); 1235 o.add("foo");
1236 return o; 1236 return o;
1237 } 1237 }
1238 1238
1239 checkUnnamed152(core.List<core.String> o) { 1239 checkUnnamed701(core.List<core.String> o) {
1240 unittest.expect(o, unittest.hasLength(2)); 1240 unittest.expect(o, unittest.hasLength(2));
1241 unittest.expect(o[0], unittest.equals('foo')); 1241 unittest.expect(o[0], unittest.equals('foo'));
1242 unittest.expect(o[1], unittest.equals('foo')); 1242 unittest.expect(o[1], unittest.equals('foo'));
1243 } 1243 }
1244 1244
1245 1245
1246 main() { 1246 main() {
1247 unittest.group("obj-schema-Acl", () { 1247 unittest.group("obj-schema-Acl", () {
1248 unittest.test("to-json--from-json", () { 1248 unittest.test("to-json--from-json", () {
1249 var o = buildAcl(); 1249 var o = buildAcl();
(...skipping 1801 matching lines...) Expand 10 before | Expand all | Expand 10 after
3051 3051
3052 var mock = new common_test.HttpServerMock(); 3052 var mock = new common_test.HttpServerMock();
3053 api.EventsResourceApi res = new api.CalendarApi(mock).events; 3053 api.EventsResourceApi res = new api.CalendarApi(mock).events;
3054 var arg_calendarId = "foo"; 3054 var arg_calendarId = "foo";
3055 var arg_alwaysIncludeEmail = true; 3055 var arg_alwaysIncludeEmail = true;
3056 var arg_iCalUID = "foo"; 3056 var arg_iCalUID = "foo";
3057 var arg_maxAttendees = 42; 3057 var arg_maxAttendees = 42;
3058 var arg_maxResults = 42; 3058 var arg_maxResults = 42;
3059 var arg_orderBy = "foo"; 3059 var arg_orderBy = "foo";
3060 var arg_pageToken = "foo"; 3060 var arg_pageToken = "foo";
3061 var arg_privateExtendedProperty = buildUnnamed149(); 3061 var arg_privateExtendedProperty = buildUnnamed698();
3062 var arg_q = "foo"; 3062 var arg_q = "foo";
3063 var arg_sharedExtendedProperty = buildUnnamed150(); 3063 var arg_sharedExtendedProperty = buildUnnamed699();
3064 var arg_showDeleted = true; 3064 var arg_showDeleted = true;
3065 var arg_showHiddenInvitations = true; 3065 var arg_showHiddenInvitations = true;
3066 var arg_singleEvents = true; 3066 var arg_singleEvents = true;
3067 var arg_syncToken = "foo"; 3067 var arg_syncToken = "foo";
3068 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 3068 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
3069 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 3069 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
3070 var arg_timeZone = "foo"; 3070 var arg_timeZone = "foo";
3071 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02"); 3071 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02");
3072 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3072 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3073 var path = (req.url).path; 3073 var path = (req.url).path;
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
3395 var mock = new common_test.HttpServerMock(); 3395 var mock = new common_test.HttpServerMock();
3396 api.EventsResourceApi res = new api.CalendarApi(mock).events; 3396 api.EventsResourceApi res = new api.CalendarApi(mock).events;
3397 var arg_request = buildChannel(); 3397 var arg_request = buildChannel();
3398 var arg_calendarId = "foo"; 3398 var arg_calendarId = "foo";
3399 var arg_alwaysIncludeEmail = true; 3399 var arg_alwaysIncludeEmail = true;
3400 var arg_iCalUID = "foo"; 3400 var arg_iCalUID = "foo";
3401 var arg_maxAttendees = 42; 3401 var arg_maxAttendees = 42;
3402 var arg_maxResults = 42; 3402 var arg_maxResults = 42;
3403 var arg_orderBy = "foo"; 3403 var arg_orderBy = "foo";
3404 var arg_pageToken = "foo"; 3404 var arg_pageToken = "foo";
3405 var arg_privateExtendedProperty = buildUnnamed151(); 3405 var arg_privateExtendedProperty = buildUnnamed700();
3406 var arg_q = "foo"; 3406 var arg_q = "foo";
3407 var arg_sharedExtendedProperty = buildUnnamed152(); 3407 var arg_sharedExtendedProperty = buildUnnamed701();
3408 var arg_showDeleted = true; 3408 var arg_showDeleted = true;
3409 var arg_showHiddenInvitations = true; 3409 var arg_showHiddenInvitations = true;
3410 var arg_singleEvents = true; 3410 var arg_singleEvents = true;
3411 var arg_syncToken = "foo"; 3411 var arg_syncToken = "foo";
3412 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02"); 3412 var arg_timeMax = core.DateTime.parse("2002-02-27T14:01:02");
3413 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02"); 3413 var arg_timeMin = core.DateTime.parse("2002-02-27T14:01:02");
3414 var arg_timeZone = "foo"; 3414 var arg_timeZone = "foo";
3415 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02"); 3415 var arg_updatedMin = core.DateTime.parse("2002-02-27T14:01:02");
3416 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 3416 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
3417 var obj = new api.Channel.fromJson(json); 3417 var obj = new api.Channel.fromJson(json);
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
3691 res.watch(arg_request, maxResults: arg_maxResults, pageToken: arg_pageToke n, syncToken: arg_syncToken).then(unittest.expectAsync(((api.Channel response) { 3691 res.watch(arg_request, maxResults: arg_maxResults, pageToken: arg_pageToke n, syncToken: arg_syncToken).then(unittest.expectAsync(((api.Channel response) {
3692 checkChannel(response); 3692 checkChannel(response);
3693 }))); 3693 })));
3694 }); 3694 });
3695 3695
3696 }); 3696 });
3697 3697
3698 3698
3699 } 3699 }
3700 3700
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
This is Rietveld 408576698