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

Side by Side Diff: generated/googleapis/test/books/v1_test.dart

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.books.v1.test; 1 library googleapis.books.v1.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 checkAnnotationLayerSummary(api.AnnotationLayerSummary o) { 121 checkAnnotationLayerSummary(api.AnnotationLayerSummary o) {
122 buildCounterAnnotationLayerSummary++; 122 buildCounterAnnotationLayerSummary++;
123 if (buildCounterAnnotationLayerSummary < 3) { 123 if (buildCounterAnnotationLayerSummary < 3) {
124 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); 124 unittest.expect(o.allowedCharacterCount, unittest.equals(42));
125 unittest.expect(o.limitType, unittest.equals('foo')); 125 unittest.expect(o.limitType, unittest.equals('foo'));
126 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); 126 unittest.expect(o.remainingCharacterCount, unittest.equals(42));
127 } 127 }
128 buildCounterAnnotationLayerSummary--; 128 buildCounterAnnotationLayerSummary--;
129 } 129 }
130 130
131 buildUnnamed818() { 131 buildUnnamed809() {
132 var o = new core.List<core.String>(); 132 var o = new core.List<core.String>();
133 o.add("foo"); 133 o.add("foo");
134 o.add("foo"); 134 o.add("foo");
135 return o; 135 return o;
136 } 136 }
137 137
138 checkUnnamed818(core.List<core.String> o) { 138 checkUnnamed809(core.List<core.String> o) {
139 unittest.expect(o, unittest.hasLength(2)); 139 unittest.expect(o, unittest.hasLength(2));
140 unittest.expect(o[0], unittest.equals('foo')); 140 unittest.expect(o[0], unittest.equals('foo'));
141 unittest.expect(o[1], unittest.equals('foo')); 141 unittest.expect(o[1], unittest.equals('foo'));
142 } 142 }
143 143
144 core.int buildCounterAnnotation = 0; 144 core.int buildCounterAnnotation = 0;
145 buildAnnotation() { 145 buildAnnotation() {
146 var o = new api.Annotation(); 146 var o = new api.Annotation();
147 buildCounterAnnotation++; 147 buildCounterAnnotation++;
148 if (buildCounterAnnotation < 3) { 148 if (buildCounterAnnotation < 3) {
149 o.afterSelectedText = "foo"; 149 o.afterSelectedText = "foo";
150 o.beforeSelectedText = "foo"; 150 o.beforeSelectedText = "foo";
151 o.clientVersionRanges = buildAnnotationClientVersionRanges(); 151 o.clientVersionRanges = buildAnnotationClientVersionRanges();
152 o.created = core.DateTime.parse("2002-02-27T14:01:02"); 152 o.created = core.DateTime.parse("2002-02-27T14:01:02");
153 o.currentVersionRanges = buildAnnotationCurrentVersionRanges(); 153 o.currentVersionRanges = buildAnnotationCurrentVersionRanges();
154 o.data = "foo"; 154 o.data = "foo";
155 o.deleted = true; 155 o.deleted = true;
156 o.highlightStyle = "foo"; 156 o.highlightStyle = "foo";
157 o.id = "foo"; 157 o.id = "foo";
158 o.kind = "foo"; 158 o.kind = "foo";
159 o.layerId = "foo"; 159 o.layerId = "foo";
160 o.layerSummary = buildAnnotationLayerSummary(); 160 o.layerSummary = buildAnnotationLayerSummary();
161 o.pageIds = buildUnnamed818(); 161 o.pageIds = buildUnnamed809();
162 o.selectedText = "foo"; 162 o.selectedText = "foo";
163 o.selfLink = "foo"; 163 o.selfLink = "foo";
164 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 164 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
165 o.volumeId = "foo"; 165 o.volumeId = "foo";
166 } 166 }
167 buildCounterAnnotation--; 167 buildCounterAnnotation--;
168 return o; 168 return o;
169 } 169 }
170 170
171 checkAnnotation(api.Annotation o) { 171 checkAnnotation(api.Annotation o) {
172 buildCounterAnnotation++; 172 buildCounterAnnotation++;
173 if (buildCounterAnnotation < 3) { 173 if (buildCounterAnnotation < 3) {
174 unittest.expect(o.afterSelectedText, unittest.equals('foo')); 174 unittest.expect(o.afterSelectedText, unittest.equals('foo'));
175 unittest.expect(o.beforeSelectedText, unittest.equals('foo')); 175 unittest.expect(o.beforeSelectedText, unittest.equals('foo'));
176 checkAnnotationClientVersionRanges(o.clientVersionRanges); 176 checkAnnotationClientVersionRanges(o.clientVersionRanges);
177 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 177 unittest.expect(o.created, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
178 checkAnnotationCurrentVersionRanges(o.currentVersionRanges); 178 checkAnnotationCurrentVersionRanges(o.currentVersionRanges);
179 unittest.expect(o.data, unittest.equals('foo')); 179 unittest.expect(o.data, unittest.equals('foo'));
180 unittest.expect(o.deleted, unittest.isTrue); 180 unittest.expect(o.deleted, unittest.isTrue);
181 unittest.expect(o.highlightStyle, unittest.equals('foo')); 181 unittest.expect(o.highlightStyle, unittest.equals('foo'));
182 unittest.expect(o.id, unittest.equals('foo')); 182 unittest.expect(o.id, unittest.equals('foo'));
183 unittest.expect(o.kind, unittest.equals('foo')); 183 unittest.expect(o.kind, unittest.equals('foo'));
184 unittest.expect(o.layerId, unittest.equals('foo')); 184 unittest.expect(o.layerId, unittest.equals('foo'));
185 checkAnnotationLayerSummary(o.layerSummary); 185 checkAnnotationLayerSummary(o.layerSummary);
186 checkUnnamed818(o.pageIds); 186 checkUnnamed809(o.pageIds);
187 unittest.expect(o.selectedText, unittest.equals('foo')); 187 unittest.expect(o.selectedText, unittest.equals('foo'));
188 unittest.expect(o.selfLink, unittest.equals('foo')); 188 unittest.expect(o.selfLink, unittest.equals('foo'));
189 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 189 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
190 unittest.expect(o.volumeId, unittest.equals('foo')); 190 unittest.expect(o.volumeId, unittest.equals('foo'));
191 } 191 }
192 buildCounterAnnotation--; 192 buildCounterAnnotation--;
193 } 193 }
194 194
195 core.int buildCounterAnnotationdata = 0; 195 core.int buildCounterAnnotationdata = 0;
196 buildAnnotationdata() { 196 buildAnnotationdata() {
(...skipping 23 matching lines...) Expand all
220 unittest.expect(o.id, unittest.equals('foo')); 220 unittest.expect(o.id, unittest.equals('foo'));
221 unittest.expect(o.kind, unittest.equals('foo')); 221 unittest.expect(o.kind, unittest.equals('foo'));
222 unittest.expect(o.layerId, unittest.equals('foo')); 222 unittest.expect(o.layerId, unittest.equals('foo'));
223 unittest.expect(o.selfLink, unittest.equals('foo')); 223 unittest.expect(o.selfLink, unittest.equals('foo'));
224 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 224 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
225 unittest.expect(o.volumeId, unittest.equals('foo')); 225 unittest.expect(o.volumeId, unittest.equals('foo'));
226 } 226 }
227 buildCounterAnnotationdata--; 227 buildCounterAnnotationdata--;
228 } 228 }
229 229
230 buildUnnamed819() { 230 buildUnnamed810() {
231 var o = new core.List<api.Annotation>(); 231 var o = new core.List<api.Annotation>();
232 o.add(buildAnnotation()); 232 o.add(buildAnnotation());
233 o.add(buildAnnotation()); 233 o.add(buildAnnotation());
234 return o; 234 return o;
235 } 235 }
236 236
237 checkUnnamed819(core.List<api.Annotation> o) { 237 checkUnnamed810(core.List<api.Annotation> o) {
238 unittest.expect(o, unittest.hasLength(2)); 238 unittest.expect(o, unittest.hasLength(2));
239 checkAnnotation(o[0]); 239 checkAnnotation(o[0]);
240 checkAnnotation(o[1]); 240 checkAnnotation(o[1]);
241 } 241 }
242 242
243 core.int buildCounterAnnotations = 0; 243 core.int buildCounterAnnotations = 0;
244 buildAnnotations() { 244 buildAnnotations() {
245 var o = new api.Annotations(); 245 var o = new api.Annotations();
246 buildCounterAnnotations++; 246 buildCounterAnnotations++;
247 if (buildCounterAnnotations < 3) { 247 if (buildCounterAnnotations < 3) {
248 o.items = buildUnnamed819(); 248 o.items = buildUnnamed810();
249 o.kind = "foo"; 249 o.kind = "foo";
250 o.nextPageToken = "foo"; 250 o.nextPageToken = "foo";
251 o.totalItems = 42; 251 o.totalItems = 42;
252 } 252 }
253 buildCounterAnnotations--; 253 buildCounterAnnotations--;
254 return o; 254 return o;
255 } 255 }
256 256
257 checkAnnotations(api.Annotations o) { 257 checkAnnotations(api.Annotations o) {
258 buildCounterAnnotations++; 258 buildCounterAnnotations++;
259 if (buildCounterAnnotations < 3) { 259 if (buildCounterAnnotations < 3) {
260 checkUnnamed819(o.items); 260 checkUnnamed810(o.items);
261 unittest.expect(o.kind, unittest.equals('foo')); 261 unittest.expect(o.kind, unittest.equals('foo'));
262 unittest.expect(o.nextPageToken, unittest.equals('foo')); 262 unittest.expect(o.nextPageToken, unittest.equals('foo'));
263 unittest.expect(o.totalItems, unittest.equals(42)); 263 unittest.expect(o.totalItems, unittest.equals(42));
264 } 264 }
265 buildCounterAnnotations--; 265 buildCounterAnnotations--;
266 } 266 }
267 267
268 core.int buildCounterAnnotationsSummaryLayers = 0; 268 core.int buildCounterAnnotationsSummaryLayers = 0;
269 buildAnnotationsSummaryLayers() { 269 buildAnnotationsSummaryLayers() {
270 var o = new api.AnnotationsSummaryLayers(); 270 var o = new api.AnnotationsSummaryLayers();
(...skipping 14 matching lines...) Expand all
285 if (buildCounterAnnotationsSummaryLayers < 3) { 285 if (buildCounterAnnotationsSummaryLayers < 3) {
286 unittest.expect(o.allowedCharacterCount, unittest.equals(42)); 286 unittest.expect(o.allowedCharacterCount, unittest.equals(42));
287 unittest.expect(o.layerId, unittest.equals('foo')); 287 unittest.expect(o.layerId, unittest.equals('foo'));
288 unittest.expect(o.limitType, unittest.equals('foo')); 288 unittest.expect(o.limitType, unittest.equals('foo'));
289 unittest.expect(o.remainingCharacterCount, unittest.equals(42)); 289 unittest.expect(o.remainingCharacterCount, unittest.equals(42));
290 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 290 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
291 } 291 }
292 buildCounterAnnotationsSummaryLayers--; 292 buildCounterAnnotationsSummaryLayers--;
293 } 293 }
294 294
295 buildUnnamed820() { 295 buildUnnamed811() {
296 var o = new core.List<api.AnnotationsSummaryLayers>(); 296 var o = new core.List<api.AnnotationsSummaryLayers>();
297 o.add(buildAnnotationsSummaryLayers()); 297 o.add(buildAnnotationsSummaryLayers());
298 o.add(buildAnnotationsSummaryLayers()); 298 o.add(buildAnnotationsSummaryLayers());
299 return o; 299 return o;
300 } 300 }
301 301
302 checkUnnamed820(core.List<api.AnnotationsSummaryLayers> o) { 302 checkUnnamed811(core.List<api.AnnotationsSummaryLayers> o) {
303 unittest.expect(o, unittest.hasLength(2)); 303 unittest.expect(o, unittest.hasLength(2));
304 checkAnnotationsSummaryLayers(o[0]); 304 checkAnnotationsSummaryLayers(o[0]);
305 checkAnnotationsSummaryLayers(o[1]); 305 checkAnnotationsSummaryLayers(o[1]);
306 } 306 }
307 307
308 core.int buildCounterAnnotationsSummary = 0; 308 core.int buildCounterAnnotationsSummary = 0;
309 buildAnnotationsSummary() { 309 buildAnnotationsSummary() {
310 var o = new api.AnnotationsSummary(); 310 var o = new api.AnnotationsSummary();
311 buildCounterAnnotationsSummary++; 311 buildCounterAnnotationsSummary++;
312 if (buildCounterAnnotationsSummary < 3) { 312 if (buildCounterAnnotationsSummary < 3) {
313 o.kind = "foo"; 313 o.kind = "foo";
314 o.layers = buildUnnamed820(); 314 o.layers = buildUnnamed811();
315 } 315 }
316 buildCounterAnnotationsSummary--; 316 buildCounterAnnotationsSummary--;
317 return o; 317 return o;
318 } 318 }
319 319
320 checkAnnotationsSummary(api.AnnotationsSummary o) { 320 checkAnnotationsSummary(api.AnnotationsSummary o) {
321 buildCounterAnnotationsSummary++; 321 buildCounterAnnotationsSummary++;
322 if (buildCounterAnnotationsSummary < 3) { 322 if (buildCounterAnnotationsSummary < 3) {
323 unittest.expect(o.kind, unittest.equals('foo')); 323 unittest.expect(o.kind, unittest.equals('foo'));
324 checkUnnamed820(o.layers); 324 checkUnnamed811(o.layers);
325 } 325 }
326 buildCounterAnnotationsSummary--; 326 buildCounterAnnotationsSummary--;
327 } 327 }
328 328
329 buildUnnamed821() { 329 buildUnnamed812() {
330 var o = new core.List<api.Annotationdata>(); 330 var o = new core.List<api.Annotationdata>();
331 o.add(buildAnnotationdata()); 331 o.add(buildAnnotationdata());
332 o.add(buildAnnotationdata()); 332 o.add(buildAnnotationdata());
333 return o; 333 return o;
334 } 334 }
335 335
336 checkUnnamed821(core.List<api.Annotationdata> o) { 336 checkUnnamed812(core.List<api.Annotationdata> o) {
337 unittest.expect(o, unittest.hasLength(2)); 337 unittest.expect(o, unittest.hasLength(2));
338 checkAnnotationdata(o[0]); 338 checkAnnotationdata(o[0]);
339 checkAnnotationdata(o[1]); 339 checkAnnotationdata(o[1]);
340 } 340 }
341 341
342 core.int buildCounterAnnotationsdata = 0; 342 core.int buildCounterAnnotationsdata = 0;
343 buildAnnotationsdata() { 343 buildAnnotationsdata() {
344 var o = new api.Annotationsdata(); 344 var o = new api.Annotationsdata();
345 buildCounterAnnotationsdata++; 345 buildCounterAnnotationsdata++;
346 if (buildCounterAnnotationsdata < 3) { 346 if (buildCounterAnnotationsdata < 3) {
347 o.items = buildUnnamed821(); 347 o.items = buildUnnamed812();
348 o.kind = "foo"; 348 o.kind = "foo";
349 o.nextPageToken = "foo"; 349 o.nextPageToken = "foo";
350 o.totalItems = 42; 350 o.totalItems = 42;
351 } 351 }
352 buildCounterAnnotationsdata--; 352 buildCounterAnnotationsdata--;
353 return o; 353 return o;
354 } 354 }
355 355
356 checkAnnotationsdata(api.Annotationsdata o) { 356 checkAnnotationsdata(api.Annotationsdata o) {
357 buildCounterAnnotationsdata++; 357 buildCounterAnnotationsdata++;
358 if (buildCounterAnnotationsdata < 3) { 358 if (buildCounterAnnotationsdata < 3) {
359 checkUnnamed821(o.items); 359 checkUnnamed812(o.items);
360 unittest.expect(o.kind, unittest.equals('foo')); 360 unittest.expect(o.kind, unittest.equals('foo'));
361 unittest.expect(o.nextPageToken, unittest.equals('foo')); 361 unittest.expect(o.nextPageToken, unittest.equals('foo'));
362 unittest.expect(o.totalItems, unittest.equals(42)); 362 unittest.expect(o.totalItems, unittest.equals(42));
363 } 363 }
364 buildCounterAnnotationsdata--; 364 buildCounterAnnotationsdata--;
365 } 365 }
366 366
367 core.int buildCounterBooksAnnotationsRange = 0; 367 core.int buildCounterBooksAnnotationsRange = 0;
368 buildBooksAnnotationsRange() { 368 buildBooksAnnotationsRange() {
369 var o = new api.BooksAnnotationsRange(); 369 var o = new api.BooksAnnotationsRange();
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 unittest.expect(o.kind, unittest.equals('foo')); 463 unittest.expect(o.kind, unittest.equals('foo'));
464 unittest.expect(o.selfLink, unittest.equals('foo')); 464 unittest.expect(o.selfLink, unittest.equals('foo'));
465 unittest.expect(o.title, unittest.equals('foo')); 465 unittest.expect(o.title, unittest.equals('foo'));
466 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 466 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
467 unittest.expect(o.volumeCount, unittest.equals(42)); 467 unittest.expect(o.volumeCount, unittest.equals(42));
468 unittest.expect(o.volumesLastUpdated, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02"))); 468 unittest.expect(o.volumesLastUpdated, unittest.equals(core.DateTime.parse("2 002-02-27T14:01:02")));
469 } 469 }
470 buildCounterBookshelf--; 470 buildCounterBookshelf--;
471 } 471 }
472 472
473 buildUnnamed822() { 473 buildUnnamed813() {
474 var o = new core.List<api.Bookshelf>(); 474 var o = new core.List<api.Bookshelf>();
475 o.add(buildBookshelf()); 475 o.add(buildBookshelf());
476 o.add(buildBookshelf()); 476 o.add(buildBookshelf());
477 return o; 477 return o;
478 } 478 }
479 479
480 checkUnnamed822(core.List<api.Bookshelf> o) { 480 checkUnnamed813(core.List<api.Bookshelf> o) {
481 unittest.expect(o, unittest.hasLength(2)); 481 unittest.expect(o, unittest.hasLength(2));
482 checkBookshelf(o[0]); 482 checkBookshelf(o[0]);
483 checkBookshelf(o[1]); 483 checkBookshelf(o[1]);
484 } 484 }
485 485
486 core.int buildCounterBookshelves = 0; 486 core.int buildCounterBookshelves = 0;
487 buildBookshelves() { 487 buildBookshelves() {
488 var o = new api.Bookshelves(); 488 var o = new api.Bookshelves();
489 buildCounterBookshelves++; 489 buildCounterBookshelves++;
490 if (buildCounterBookshelves < 3) { 490 if (buildCounterBookshelves < 3) {
491 o.items = buildUnnamed822(); 491 o.items = buildUnnamed813();
492 o.kind = "foo"; 492 o.kind = "foo";
493 } 493 }
494 buildCounterBookshelves--; 494 buildCounterBookshelves--;
495 return o; 495 return o;
496 } 496 }
497 497
498 checkBookshelves(api.Bookshelves o) { 498 checkBookshelves(api.Bookshelves o) {
499 buildCounterBookshelves++; 499 buildCounterBookshelves++;
500 if (buildCounterBookshelves < 3) { 500 if (buildCounterBookshelves < 3) {
501 checkUnnamed822(o.items); 501 checkUnnamed813(o.items);
502 unittest.expect(o.kind, unittest.equals('foo')); 502 unittest.expect(o.kind, unittest.equals('foo'));
503 } 503 }
504 buildCounterBookshelves--; 504 buildCounterBookshelves--;
505 } 505 }
506 506
507 core.int buildCounterCategoryItems = 0; 507 core.int buildCounterCategoryItems = 0;
508 buildCategoryItems() { 508 buildCategoryItems() {
509 var o = new api.CategoryItems(); 509 var o = new api.CategoryItems();
510 buildCounterCategoryItems++; 510 buildCounterCategoryItems++;
511 if (buildCounterCategoryItems < 3) { 511 if (buildCounterCategoryItems < 3) {
512 o.badgeUrl = "foo"; 512 o.badgeUrl = "foo";
513 o.categoryId = "foo"; 513 o.categoryId = "foo";
514 o.name = "foo"; 514 o.name = "foo";
515 } 515 }
516 buildCounterCategoryItems--; 516 buildCounterCategoryItems--;
517 return o; 517 return o;
518 } 518 }
519 519
520 checkCategoryItems(api.CategoryItems o) { 520 checkCategoryItems(api.CategoryItems o) {
521 buildCounterCategoryItems++; 521 buildCounterCategoryItems++;
522 if (buildCounterCategoryItems < 3) { 522 if (buildCounterCategoryItems < 3) {
523 unittest.expect(o.badgeUrl, unittest.equals('foo')); 523 unittest.expect(o.badgeUrl, unittest.equals('foo'));
524 unittest.expect(o.categoryId, unittest.equals('foo')); 524 unittest.expect(o.categoryId, unittest.equals('foo'));
525 unittest.expect(o.name, unittest.equals('foo')); 525 unittest.expect(o.name, unittest.equals('foo'));
526 } 526 }
527 buildCounterCategoryItems--; 527 buildCounterCategoryItems--;
528 } 528 }
529 529
530 buildUnnamed823() { 530 buildUnnamed814() {
531 var o = new core.List<api.CategoryItems>(); 531 var o = new core.List<api.CategoryItems>();
532 o.add(buildCategoryItems()); 532 o.add(buildCategoryItems());
533 o.add(buildCategoryItems()); 533 o.add(buildCategoryItems());
534 return o; 534 return o;
535 } 535 }
536 536
537 checkUnnamed823(core.List<api.CategoryItems> o) { 537 checkUnnamed814(core.List<api.CategoryItems> o) {
538 unittest.expect(o, unittest.hasLength(2)); 538 unittest.expect(o, unittest.hasLength(2));
539 checkCategoryItems(o[0]); 539 checkCategoryItems(o[0]);
540 checkCategoryItems(o[1]); 540 checkCategoryItems(o[1]);
541 } 541 }
542 542
543 core.int buildCounterCategory = 0; 543 core.int buildCounterCategory = 0;
544 buildCategory() { 544 buildCategory() {
545 var o = new api.Category(); 545 var o = new api.Category();
546 buildCounterCategory++; 546 buildCounterCategory++;
547 if (buildCounterCategory < 3) { 547 if (buildCounterCategory < 3) {
548 o.items = buildUnnamed823(); 548 o.items = buildUnnamed814();
549 o.kind = "foo"; 549 o.kind = "foo";
550 } 550 }
551 buildCounterCategory--; 551 buildCounterCategory--;
552 return o; 552 return o;
553 } 553 }
554 554
555 checkCategory(api.Category o) { 555 checkCategory(api.Category o) {
556 buildCounterCategory++; 556 buildCounterCategory++;
557 if (buildCounterCategory < 3) { 557 if (buildCounterCategory < 3) {
558 checkUnnamed823(o.items); 558 checkUnnamed814(o.items);
559 unittest.expect(o.kind, unittest.equals('foo')); 559 unittest.expect(o.kind, unittest.equals('foo'));
560 } 560 }
561 buildCounterCategory--; 561 buildCounterCategory--;
562 } 562 }
563 563
564 core.int buildCounterConcurrentAccessRestriction = 0; 564 core.int buildCounterConcurrentAccessRestriction = 0;
565 buildConcurrentAccessRestriction() { 565 buildConcurrentAccessRestriction() {
566 var o = new api.ConcurrentAccessRestriction(); 566 var o = new api.ConcurrentAccessRestriction();
567 buildCounterConcurrentAccessRestriction++; 567 buildCounterConcurrentAccessRestriction++;
568 if (buildCounterConcurrentAccessRestriction < 3) { 568 if (buildCounterConcurrentAccessRestriction < 3) {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 675
676 checkDictlayerdataDictWordsDerivatives(api.DictlayerdataDictWordsDerivatives o) { 676 checkDictlayerdataDictWordsDerivatives(api.DictlayerdataDictWordsDerivatives o) {
677 buildCounterDictlayerdataDictWordsDerivatives++; 677 buildCounterDictlayerdataDictWordsDerivatives++;
678 if (buildCounterDictlayerdataDictWordsDerivatives < 3) { 678 if (buildCounterDictlayerdataDictWordsDerivatives < 3) {
679 checkDictlayerdataDictWordsDerivativesSource(o.source); 679 checkDictlayerdataDictWordsDerivativesSource(o.source);
680 unittest.expect(o.text, unittest.equals('foo')); 680 unittest.expect(o.text, unittest.equals('foo'));
681 } 681 }
682 buildCounterDictlayerdataDictWordsDerivatives--; 682 buildCounterDictlayerdataDictWordsDerivatives--;
683 } 683 }
684 684
685 buildUnnamed824() { 685 buildUnnamed815() {
686 var o = new core.List<api.DictlayerdataDictWordsDerivatives>(); 686 var o = new core.List<api.DictlayerdataDictWordsDerivatives>();
687 o.add(buildDictlayerdataDictWordsDerivatives()); 687 o.add(buildDictlayerdataDictWordsDerivatives());
688 o.add(buildDictlayerdataDictWordsDerivatives()); 688 o.add(buildDictlayerdataDictWordsDerivatives());
689 return o; 689 return o;
690 } 690 }
691 691
692 checkUnnamed824(core.List<api.DictlayerdataDictWordsDerivatives> o) { 692 checkUnnamed815(core.List<api.DictlayerdataDictWordsDerivatives> o) {
693 unittest.expect(o, unittest.hasLength(2)); 693 unittest.expect(o, unittest.hasLength(2));
694 checkDictlayerdataDictWordsDerivatives(o[0]); 694 checkDictlayerdataDictWordsDerivatives(o[0]);
695 checkDictlayerdataDictWordsDerivatives(o[1]); 695 checkDictlayerdataDictWordsDerivatives(o[1]);
696 } 696 }
697 697
698 core.int buildCounterDictlayerdataDictWordsExamplesSource = 0; 698 core.int buildCounterDictlayerdataDictWordsExamplesSource = 0;
699 buildDictlayerdataDictWordsExamplesSource() { 699 buildDictlayerdataDictWordsExamplesSource() {
700 var o = new api.DictlayerdataDictWordsExamplesSource(); 700 var o = new api.DictlayerdataDictWordsExamplesSource();
701 buildCounterDictlayerdataDictWordsExamplesSource++; 701 buildCounterDictlayerdataDictWordsExamplesSource++;
702 if (buildCounterDictlayerdataDictWordsExamplesSource < 3) { 702 if (buildCounterDictlayerdataDictWordsExamplesSource < 3) {
(...skipping 27 matching lines...) Expand all
730 730
731 checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) { 731 checkDictlayerdataDictWordsExamples(api.DictlayerdataDictWordsExamples o) {
732 buildCounterDictlayerdataDictWordsExamples++; 732 buildCounterDictlayerdataDictWordsExamples++;
733 if (buildCounterDictlayerdataDictWordsExamples < 3) { 733 if (buildCounterDictlayerdataDictWordsExamples < 3) {
734 checkDictlayerdataDictWordsExamplesSource(o.source); 734 checkDictlayerdataDictWordsExamplesSource(o.source);
735 unittest.expect(o.text, unittest.equals('foo')); 735 unittest.expect(o.text, unittest.equals('foo'));
736 } 736 }
737 buildCounterDictlayerdataDictWordsExamples--; 737 buildCounterDictlayerdataDictWordsExamples--;
738 } 738 }
739 739
740 buildUnnamed825() { 740 buildUnnamed816() {
741 var o = new core.List<api.DictlayerdataDictWordsExamples>(); 741 var o = new core.List<api.DictlayerdataDictWordsExamples>();
742 o.add(buildDictlayerdataDictWordsExamples()); 742 o.add(buildDictlayerdataDictWordsExamples());
743 o.add(buildDictlayerdataDictWordsExamples()); 743 o.add(buildDictlayerdataDictWordsExamples());
744 return o; 744 return o;
745 } 745 }
746 746
747 checkUnnamed825(core.List<api.DictlayerdataDictWordsExamples> o) { 747 checkUnnamed816(core.List<api.DictlayerdataDictWordsExamples> o) {
748 unittest.expect(o, unittest.hasLength(2)); 748 unittest.expect(o, unittest.hasLength(2));
749 checkDictlayerdataDictWordsExamples(o[0]); 749 checkDictlayerdataDictWordsExamples(o[0]);
750 checkDictlayerdataDictWordsExamples(o[1]); 750 checkDictlayerdataDictWordsExamples(o[1]);
751 } 751 }
752 752
753 core.int buildCounterDictlayerdataDictWordsSensesConjugations = 0; 753 core.int buildCounterDictlayerdataDictWordsSensesConjugations = 0;
754 buildDictlayerdataDictWordsSensesConjugations() { 754 buildDictlayerdataDictWordsSensesConjugations() {
755 var o = new api.DictlayerdataDictWordsSensesConjugations(); 755 var o = new api.DictlayerdataDictWordsSensesConjugations();
756 buildCounterDictlayerdataDictWordsSensesConjugations++; 756 buildCounterDictlayerdataDictWordsSensesConjugations++;
757 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { 757 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) {
758 o.type = "foo"; 758 o.type = "foo";
759 o.value = "foo"; 759 o.value = "foo";
760 } 760 }
761 buildCounterDictlayerdataDictWordsSensesConjugations--; 761 buildCounterDictlayerdataDictWordsSensesConjugations--;
762 return o; 762 return o;
763 } 763 }
764 764
765 checkDictlayerdataDictWordsSensesConjugations(api.DictlayerdataDictWordsSensesCo njugations o) { 765 checkDictlayerdataDictWordsSensesConjugations(api.DictlayerdataDictWordsSensesCo njugations o) {
766 buildCounterDictlayerdataDictWordsSensesConjugations++; 766 buildCounterDictlayerdataDictWordsSensesConjugations++;
767 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) { 767 if (buildCounterDictlayerdataDictWordsSensesConjugations < 3) {
768 unittest.expect(o.type, unittest.equals('foo')); 768 unittest.expect(o.type, unittest.equals('foo'));
769 unittest.expect(o.value, unittest.equals('foo')); 769 unittest.expect(o.value, unittest.equals('foo'));
770 } 770 }
771 buildCounterDictlayerdataDictWordsSensesConjugations--; 771 buildCounterDictlayerdataDictWordsSensesConjugations--;
772 } 772 }
773 773
774 buildUnnamed826() { 774 buildUnnamed817() {
775 var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>(); 775 var o = new core.List<api.DictlayerdataDictWordsSensesConjugations>();
776 o.add(buildDictlayerdataDictWordsSensesConjugations()); 776 o.add(buildDictlayerdataDictWordsSensesConjugations());
777 o.add(buildDictlayerdataDictWordsSensesConjugations()); 777 o.add(buildDictlayerdataDictWordsSensesConjugations());
778 return o; 778 return o;
779 } 779 }
780 780
781 checkUnnamed826(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { 781 checkUnnamed817(core.List<api.DictlayerdataDictWordsSensesConjugations> o) {
782 unittest.expect(o, unittest.hasLength(2)); 782 unittest.expect(o, unittest.hasLength(2));
783 checkDictlayerdataDictWordsSensesConjugations(o[0]); 783 checkDictlayerdataDictWordsSensesConjugations(o[0]);
784 checkDictlayerdataDictWordsSensesConjugations(o[1]); 784 checkDictlayerdataDictWordsSensesConjugations(o[1]);
785 } 785 }
786 786
787 core.int buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource = 0; 787 core.int buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource = 0;
788 buildDictlayerdataDictWordsSensesDefinitionsExamplesSource() { 788 buildDictlayerdataDictWordsSensesDefinitionsExamplesSource() {
789 var o = new api.DictlayerdataDictWordsSensesDefinitionsExamplesSource(); 789 var o = new api.DictlayerdataDictWordsSensesDefinitionsExamplesSource();
790 buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource++; 790 buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource++;
791 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource < 3) { 791 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamplesSource < 3) {
(...skipping 27 matching lines...) Expand all
819 819
820 checkDictlayerdataDictWordsSensesDefinitionsExamples(api.DictlayerdataDictWordsS ensesDefinitionsExamples o) { 820 checkDictlayerdataDictWordsSensesDefinitionsExamples(api.DictlayerdataDictWordsS ensesDefinitionsExamples o) {
821 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples++; 821 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples++;
822 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamples < 3) { 822 if (buildCounterDictlayerdataDictWordsSensesDefinitionsExamples < 3) {
823 checkDictlayerdataDictWordsSensesDefinitionsExamplesSource(o.source); 823 checkDictlayerdataDictWordsSensesDefinitionsExamplesSource(o.source);
824 unittest.expect(o.text, unittest.equals('foo')); 824 unittest.expect(o.text, unittest.equals('foo'));
825 } 825 }
826 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--; 826 buildCounterDictlayerdataDictWordsSensesDefinitionsExamples--;
827 } 827 }
828 828
829 buildUnnamed827() { 829 buildUnnamed818() {
830 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>(); 830 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples>();
831 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); 831 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
832 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples()); 832 o.add(buildDictlayerdataDictWordsSensesDefinitionsExamples());
833 return o; 833 return o;
834 } 834 }
835 835
836 checkUnnamed827(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o ) { 836 checkUnnamed818(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o ) {
837 unittest.expect(o, unittest.hasLength(2)); 837 unittest.expect(o, unittest.hasLength(2));
838 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]); 838 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[0]);
839 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]); 839 checkDictlayerdataDictWordsSensesDefinitionsExamples(o[1]);
840 } 840 }
841 841
842 core.int buildCounterDictlayerdataDictWordsSensesDefinitions = 0; 842 core.int buildCounterDictlayerdataDictWordsSensesDefinitions = 0;
843 buildDictlayerdataDictWordsSensesDefinitions() { 843 buildDictlayerdataDictWordsSensesDefinitions() {
844 var o = new api.DictlayerdataDictWordsSensesDefinitions(); 844 var o = new api.DictlayerdataDictWordsSensesDefinitions();
845 buildCounterDictlayerdataDictWordsSensesDefinitions++; 845 buildCounterDictlayerdataDictWordsSensesDefinitions++;
846 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { 846 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
847 o.definition = "foo"; 847 o.definition = "foo";
848 o.examples = buildUnnamed827(); 848 o.examples = buildUnnamed818();
849 } 849 }
850 buildCounterDictlayerdataDictWordsSensesDefinitions--; 850 buildCounterDictlayerdataDictWordsSensesDefinitions--;
851 return o; 851 return o;
852 } 852 }
853 853
854 checkDictlayerdataDictWordsSensesDefinitions(api.DictlayerdataDictWordsSensesDef initions o) { 854 checkDictlayerdataDictWordsSensesDefinitions(api.DictlayerdataDictWordsSensesDef initions o) {
855 buildCounterDictlayerdataDictWordsSensesDefinitions++; 855 buildCounterDictlayerdataDictWordsSensesDefinitions++;
856 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) { 856 if (buildCounterDictlayerdataDictWordsSensesDefinitions < 3) {
857 unittest.expect(o.definition, unittest.equals('foo')); 857 unittest.expect(o.definition, unittest.equals('foo'));
858 checkUnnamed827(o.examples); 858 checkUnnamed818(o.examples);
859 } 859 }
860 buildCounterDictlayerdataDictWordsSensesDefinitions--; 860 buildCounterDictlayerdataDictWordsSensesDefinitions--;
861 } 861 }
862 862
863 buildUnnamed828() { 863 buildUnnamed819() {
864 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>(); 864 var o = new core.List<api.DictlayerdataDictWordsSensesDefinitions>();
865 o.add(buildDictlayerdataDictWordsSensesDefinitions()); 865 o.add(buildDictlayerdataDictWordsSensesDefinitions());
866 o.add(buildDictlayerdataDictWordsSensesDefinitions()); 866 o.add(buildDictlayerdataDictWordsSensesDefinitions());
867 return o; 867 return o;
868 } 868 }
869 869
870 checkUnnamed828(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { 870 checkUnnamed819(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) {
871 unittest.expect(o, unittest.hasLength(2)); 871 unittest.expect(o, unittest.hasLength(2));
872 checkDictlayerdataDictWordsSensesDefinitions(o[0]); 872 checkDictlayerdataDictWordsSensesDefinitions(o[0]);
873 checkDictlayerdataDictWordsSensesDefinitions(o[1]); 873 checkDictlayerdataDictWordsSensesDefinitions(o[1]);
874 } 874 }
875 875
876 core.int buildCounterDictlayerdataDictWordsSensesSource = 0; 876 core.int buildCounterDictlayerdataDictWordsSensesSource = 0;
877 buildDictlayerdataDictWordsSensesSource() { 877 buildDictlayerdataDictWordsSensesSource() {
878 var o = new api.DictlayerdataDictWordsSensesSource(); 878 var o = new api.DictlayerdataDictWordsSensesSource();
879 buildCounterDictlayerdataDictWordsSensesSource++; 879 buildCounterDictlayerdataDictWordsSensesSource++;
880 if (buildCounterDictlayerdataDictWordsSensesSource < 3) { 880 if (buildCounterDictlayerdataDictWordsSensesSource < 3) {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
929 929
930 checkDictlayerdataDictWordsSensesSynonyms(api.DictlayerdataDictWordsSensesSynony ms o) { 930 checkDictlayerdataDictWordsSensesSynonyms(api.DictlayerdataDictWordsSensesSynony ms o) {
931 buildCounterDictlayerdataDictWordsSensesSynonyms++; 931 buildCounterDictlayerdataDictWordsSensesSynonyms++;
932 if (buildCounterDictlayerdataDictWordsSensesSynonyms < 3) { 932 if (buildCounterDictlayerdataDictWordsSensesSynonyms < 3) {
933 checkDictlayerdataDictWordsSensesSynonymsSource(o.source); 933 checkDictlayerdataDictWordsSensesSynonymsSource(o.source);
934 unittest.expect(o.text, unittest.equals('foo')); 934 unittest.expect(o.text, unittest.equals('foo'));
935 } 935 }
936 buildCounterDictlayerdataDictWordsSensesSynonyms--; 936 buildCounterDictlayerdataDictWordsSensesSynonyms--;
937 } 937 }
938 938
939 buildUnnamed829() { 939 buildUnnamed820() {
940 var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>(); 940 var o = new core.List<api.DictlayerdataDictWordsSensesSynonyms>();
941 o.add(buildDictlayerdataDictWordsSensesSynonyms()); 941 o.add(buildDictlayerdataDictWordsSensesSynonyms());
942 o.add(buildDictlayerdataDictWordsSensesSynonyms()); 942 o.add(buildDictlayerdataDictWordsSensesSynonyms());
943 return o; 943 return o;
944 } 944 }
945 945
946 checkUnnamed829(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { 946 checkUnnamed820(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) {
947 unittest.expect(o, unittest.hasLength(2)); 947 unittest.expect(o, unittest.hasLength(2));
948 checkDictlayerdataDictWordsSensesSynonyms(o[0]); 948 checkDictlayerdataDictWordsSensesSynonyms(o[0]);
949 checkDictlayerdataDictWordsSensesSynonyms(o[1]); 949 checkDictlayerdataDictWordsSensesSynonyms(o[1]);
950 } 950 }
951 951
952 core.int buildCounterDictlayerdataDictWordsSenses = 0; 952 core.int buildCounterDictlayerdataDictWordsSenses = 0;
953 buildDictlayerdataDictWordsSenses() { 953 buildDictlayerdataDictWordsSenses() {
954 var o = new api.DictlayerdataDictWordsSenses(); 954 var o = new api.DictlayerdataDictWordsSenses();
955 buildCounterDictlayerdataDictWordsSenses++; 955 buildCounterDictlayerdataDictWordsSenses++;
956 if (buildCounterDictlayerdataDictWordsSenses < 3) { 956 if (buildCounterDictlayerdataDictWordsSenses < 3) {
957 o.conjugations = buildUnnamed826(); 957 o.conjugations = buildUnnamed817();
958 o.definitions = buildUnnamed828(); 958 o.definitions = buildUnnamed819();
959 o.partOfSpeech = "foo"; 959 o.partOfSpeech = "foo";
960 o.pronunciation = "foo"; 960 o.pronunciation = "foo";
961 o.pronunciationUrl = "foo"; 961 o.pronunciationUrl = "foo";
962 o.source = buildDictlayerdataDictWordsSensesSource(); 962 o.source = buildDictlayerdataDictWordsSensesSource();
963 o.syllabification = "foo"; 963 o.syllabification = "foo";
964 o.synonyms = buildUnnamed829(); 964 o.synonyms = buildUnnamed820();
965 } 965 }
966 buildCounterDictlayerdataDictWordsSenses--; 966 buildCounterDictlayerdataDictWordsSenses--;
967 return o; 967 return o;
968 } 968 }
969 969
970 checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) { 970 checkDictlayerdataDictWordsSenses(api.DictlayerdataDictWordsSenses o) {
971 buildCounterDictlayerdataDictWordsSenses++; 971 buildCounterDictlayerdataDictWordsSenses++;
972 if (buildCounterDictlayerdataDictWordsSenses < 3) { 972 if (buildCounterDictlayerdataDictWordsSenses < 3) {
973 checkUnnamed826(o.conjugations); 973 checkUnnamed817(o.conjugations);
974 checkUnnamed828(o.definitions); 974 checkUnnamed819(o.definitions);
975 unittest.expect(o.partOfSpeech, unittest.equals('foo')); 975 unittest.expect(o.partOfSpeech, unittest.equals('foo'));
976 unittest.expect(o.pronunciation, unittest.equals('foo')); 976 unittest.expect(o.pronunciation, unittest.equals('foo'));
977 unittest.expect(o.pronunciationUrl, unittest.equals('foo')); 977 unittest.expect(o.pronunciationUrl, unittest.equals('foo'));
978 checkDictlayerdataDictWordsSensesSource(o.source); 978 checkDictlayerdataDictWordsSensesSource(o.source);
979 unittest.expect(o.syllabification, unittest.equals('foo')); 979 unittest.expect(o.syllabification, unittest.equals('foo'));
980 checkUnnamed829(o.synonyms); 980 checkUnnamed820(o.synonyms);
981 } 981 }
982 buildCounterDictlayerdataDictWordsSenses--; 982 buildCounterDictlayerdataDictWordsSenses--;
983 } 983 }
984 984
985 buildUnnamed830() { 985 buildUnnamed821() {
986 var o = new core.List<api.DictlayerdataDictWordsSenses>(); 986 var o = new core.List<api.DictlayerdataDictWordsSenses>();
987 o.add(buildDictlayerdataDictWordsSenses()); 987 o.add(buildDictlayerdataDictWordsSenses());
988 o.add(buildDictlayerdataDictWordsSenses()); 988 o.add(buildDictlayerdataDictWordsSenses());
989 return o; 989 return o;
990 } 990 }
991 991
992 checkUnnamed830(core.List<api.DictlayerdataDictWordsSenses> o) { 992 checkUnnamed821(core.List<api.DictlayerdataDictWordsSenses> o) {
993 unittest.expect(o, unittest.hasLength(2)); 993 unittest.expect(o, unittest.hasLength(2));
994 checkDictlayerdataDictWordsSenses(o[0]); 994 checkDictlayerdataDictWordsSenses(o[0]);
995 checkDictlayerdataDictWordsSenses(o[1]); 995 checkDictlayerdataDictWordsSenses(o[1]);
996 } 996 }
997 997
998 core.int buildCounterDictlayerdataDictWordsSource = 0; 998 core.int buildCounterDictlayerdataDictWordsSource = 0;
999 buildDictlayerdataDictWordsSource() { 999 buildDictlayerdataDictWordsSource() {
1000 var o = new api.DictlayerdataDictWordsSource(); 1000 var o = new api.DictlayerdataDictWordsSource();
1001 buildCounterDictlayerdataDictWordsSource++; 1001 buildCounterDictlayerdataDictWordsSource++;
1002 if (buildCounterDictlayerdataDictWordsSource < 3) { 1002 if (buildCounterDictlayerdataDictWordsSource < 3) {
(...skipping 11 matching lines...) Expand all
1014 unittest.expect(o.url, unittest.equals('foo')); 1014 unittest.expect(o.url, unittest.equals('foo'));
1015 } 1015 }
1016 buildCounterDictlayerdataDictWordsSource--; 1016 buildCounterDictlayerdataDictWordsSource--;
1017 } 1017 }
1018 1018
1019 core.int buildCounterDictlayerdataDictWords = 0; 1019 core.int buildCounterDictlayerdataDictWords = 0;
1020 buildDictlayerdataDictWords() { 1020 buildDictlayerdataDictWords() {
1021 var o = new api.DictlayerdataDictWords(); 1021 var o = new api.DictlayerdataDictWords();
1022 buildCounterDictlayerdataDictWords++; 1022 buildCounterDictlayerdataDictWords++;
1023 if (buildCounterDictlayerdataDictWords < 3) { 1023 if (buildCounterDictlayerdataDictWords < 3) {
1024 o.derivatives = buildUnnamed824(); 1024 o.derivatives = buildUnnamed815();
1025 o.examples = buildUnnamed825(); 1025 o.examples = buildUnnamed816();
1026 o.senses = buildUnnamed830(); 1026 o.senses = buildUnnamed821();
1027 o.source = buildDictlayerdataDictWordsSource(); 1027 o.source = buildDictlayerdataDictWordsSource();
1028 } 1028 }
1029 buildCounterDictlayerdataDictWords--; 1029 buildCounterDictlayerdataDictWords--;
1030 return o; 1030 return o;
1031 } 1031 }
1032 1032
1033 checkDictlayerdataDictWords(api.DictlayerdataDictWords o) { 1033 checkDictlayerdataDictWords(api.DictlayerdataDictWords o) {
1034 buildCounterDictlayerdataDictWords++; 1034 buildCounterDictlayerdataDictWords++;
1035 if (buildCounterDictlayerdataDictWords < 3) { 1035 if (buildCounterDictlayerdataDictWords < 3) {
1036 checkUnnamed824(o.derivatives); 1036 checkUnnamed815(o.derivatives);
1037 checkUnnamed825(o.examples); 1037 checkUnnamed816(o.examples);
1038 checkUnnamed830(o.senses); 1038 checkUnnamed821(o.senses);
1039 checkDictlayerdataDictWordsSource(o.source); 1039 checkDictlayerdataDictWordsSource(o.source);
1040 } 1040 }
1041 buildCounterDictlayerdataDictWords--; 1041 buildCounterDictlayerdataDictWords--;
1042 } 1042 }
1043 1043
1044 buildUnnamed831() { 1044 buildUnnamed822() {
1045 var o = new core.List<api.DictlayerdataDictWords>(); 1045 var o = new core.List<api.DictlayerdataDictWords>();
1046 o.add(buildDictlayerdataDictWords()); 1046 o.add(buildDictlayerdataDictWords());
1047 o.add(buildDictlayerdataDictWords()); 1047 o.add(buildDictlayerdataDictWords());
1048 return o; 1048 return o;
1049 } 1049 }
1050 1050
1051 checkUnnamed831(core.List<api.DictlayerdataDictWords> o) { 1051 checkUnnamed822(core.List<api.DictlayerdataDictWords> o) {
1052 unittest.expect(o, unittest.hasLength(2)); 1052 unittest.expect(o, unittest.hasLength(2));
1053 checkDictlayerdataDictWords(o[0]); 1053 checkDictlayerdataDictWords(o[0]);
1054 checkDictlayerdataDictWords(o[1]); 1054 checkDictlayerdataDictWords(o[1]);
1055 } 1055 }
1056 1056
1057 core.int buildCounterDictlayerdataDict = 0; 1057 core.int buildCounterDictlayerdataDict = 0;
1058 buildDictlayerdataDict() { 1058 buildDictlayerdataDict() {
1059 var o = new api.DictlayerdataDict(); 1059 var o = new api.DictlayerdataDict();
1060 buildCounterDictlayerdataDict++; 1060 buildCounterDictlayerdataDict++;
1061 if (buildCounterDictlayerdataDict < 3) { 1061 if (buildCounterDictlayerdataDict < 3) {
1062 o.source = buildDictlayerdataDictSource(); 1062 o.source = buildDictlayerdataDictSource();
1063 o.words = buildUnnamed831(); 1063 o.words = buildUnnamed822();
1064 } 1064 }
1065 buildCounterDictlayerdataDict--; 1065 buildCounterDictlayerdataDict--;
1066 return o; 1066 return o;
1067 } 1067 }
1068 1068
1069 checkDictlayerdataDict(api.DictlayerdataDict o) { 1069 checkDictlayerdataDict(api.DictlayerdataDict o) {
1070 buildCounterDictlayerdataDict++; 1070 buildCounterDictlayerdataDict++;
1071 if (buildCounterDictlayerdataDict < 3) { 1071 if (buildCounterDictlayerdataDict < 3) {
1072 checkDictlayerdataDictSource(o.source); 1072 checkDictlayerdataDictSource(o.source);
1073 checkUnnamed831(o.words); 1073 checkUnnamed822(o.words);
1074 } 1074 }
1075 buildCounterDictlayerdataDict--; 1075 buildCounterDictlayerdataDict--;
1076 } 1076 }
1077 1077
1078 core.int buildCounterDictlayerdata = 0; 1078 core.int buildCounterDictlayerdata = 0;
1079 buildDictlayerdata() { 1079 buildDictlayerdata() {
1080 var o = new api.Dictlayerdata(); 1080 var o = new api.Dictlayerdata();
1081 buildCounterDictlayerdata++; 1081 buildCounterDictlayerdata++;
1082 if (buildCounterDictlayerdata < 3) { 1082 if (buildCounterDictlayerdata < 3) {
1083 o.common = buildDictlayerdataCommon(); 1083 o.common = buildDictlayerdataCommon();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1120 unittest.expect(o.fillColorArgb, unittest.equals('foo')); 1120 unittest.expect(o.fillColorArgb, unittest.equals('foo'));
1121 unittest.expect(o.imageUrl, unittest.equals('foo')); 1121 unittest.expect(o.imageUrl, unittest.equals('foo'));
1122 unittest.expect(o.maskColorArgb, unittest.equals('foo')); 1122 unittest.expect(o.maskColorArgb, unittest.equals('foo'));
1123 unittest.expect(o.moreButtonText, unittest.equals('foo')); 1123 unittest.expect(o.moreButtonText, unittest.equals('foo'));
1124 unittest.expect(o.moreButtonUrl, unittest.equals('foo')); 1124 unittest.expect(o.moreButtonUrl, unittest.equals('foo'));
1125 unittest.expect(o.textColorArgb, unittest.equals('foo')); 1125 unittest.expect(o.textColorArgb, unittest.equals('foo'));
1126 } 1126 }
1127 buildCounterDiscoveryclustersClustersBannerWithContentContainer--; 1127 buildCounterDiscoveryclustersClustersBannerWithContentContainer--;
1128 } 1128 }
1129 1129
1130 buildUnnamed832() { 1130 buildUnnamed823() {
1131 var o = new core.List<api.Volume>(); 1131 var o = new core.List<api.Volume>();
1132 o.add(buildVolume()); 1132 o.add(buildVolume());
1133 o.add(buildVolume()); 1133 o.add(buildVolume());
1134 return o; 1134 return o;
1135 } 1135 }
1136 1136
1137 checkUnnamed832(core.List<api.Volume> o) { 1137 checkUnnamed823(core.List<api.Volume> o) {
1138 unittest.expect(o, unittest.hasLength(2)); 1138 unittest.expect(o, unittest.hasLength(2));
1139 checkVolume(o[0]); 1139 checkVolume(o[0]);
1140 checkVolume(o[1]); 1140 checkVolume(o[1]);
1141 } 1141 }
1142 1142
1143 core.int buildCounterDiscoveryclustersClusters = 0; 1143 core.int buildCounterDiscoveryclustersClusters = 0;
1144 buildDiscoveryclustersClusters() { 1144 buildDiscoveryclustersClusters() {
1145 var o = new api.DiscoveryclustersClusters(); 1145 var o = new api.DiscoveryclustersClusters();
1146 buildCounterDiscoveryclustersClusters++; 1146 buildCounterDiscoveryclustersClusters++;
1147 if (buildCounterDiscoveryclustersClusters < 3) { 1147 if (buildCounterDiscoveryclustersClusters < 3) {
1148 o.bannerWithContentContainer = buildDiscoveryclustersClustersBannerWithConte ntContainer(); 1148 o.bannerWithContentContainer = buildDiscoveryclustersClustersBannerWithConte ntContainer();
1149 o.subTitle = "foo"; 1149 o.subTitle = "foo";
1150 o.title = "foo"; 1150 o.title = "foo";
1151 o.totalVolumes = 42; 1151 o.totalVolumes = 42;
1152 o.uid = "foo"; 1152 o.uid = "foo";
1153 o.volumes = buildUnnamed832(); 1153 o.volumes = buildUnnamed823();
1154 } 1154 }
1155 buildCounterDiscoveryclustersClusters--; 1155 buildCounterDiscoveryclustersClusters--;
1156 return o; 1156 return o;
1157 } 1157 }
1158 1158
1159 checkDiscoveryclustersClusters(api.DiscoveryclustersClusters o) { 1159 checkDiscoveryclustersClusters(api.DiscoveryclustersClusters o) {
1160 buildCounterDiscoveryclustersClusters++; 1160 buildCounterDiscoveryclustersClusters++;
1161 if (buildCounterDiscoveryclustersClusters < 3) { 1161 if (buildCounterDiscoveryclustersClusters < 3) {
1162 checkDiscoveryclustersClustersBannerWithContentContainer(o.bannerWithContent Container); 1162 checkDiscoveryclustersClustersBannerWithContentContainer(o.bannerWithContent Container);
1163 unittest.expect(o.subTitle, unittest.equals('foo')); 1163 unittest.expect(o.subTitle, unittest.equals('foo'));
1164 unittest.expect(o.title, unittest.equals('foo')); 1164 unittest.expect(o.title, unittest.equals('foo'));
1165 unittest.expect(o.totalVolumes, unittest.equals(42)); 1165 unittest.expect(o.totalVolumes, unittest.equals(42));
1166 unittest.expect(o.uid, unittest.equals('foo')); 1166 unittest.expect(o.uid, unittest.equals('foo'));
1167 checkUnnamed832(o.volumes); 1167 checkUnnamed823(o.volumes);
1168 } 1168 }
1169 buildCounterDiscoveryclustersClusters--; 1169 buildCounterDiscoveryclustersClusters--;
1170 } 1170 }
1171 1171
1172 buildUnnamed833() { 1172 buildUnnamed824() {
1173 var o = new core.List<api.DiscoveryclustersClusters>(); 1173 var o = new core.List<api.DiscoveryclustersClusters>();
1174 o.add(buildDiscoveryclustersClusters()); 1174 o.add(buildDiscoveryclustersClusters());
1175 o.add(buildDiscoveryclustersClusters()); 1175 o.add(buildDiscoveryclustersClusters());
1176 return o; 1176 return o;
1177 } 1177 }
1178 1178
1179 checkUnnamed833(core.List<api.DiscoveryclustersClusters> o) { 1179 checkUnnamed824(core.List<api.DiscoveryclustersClusters> o) {
1180 unittest.expect(o, unittest.hasLength(2)); 1180 unittest.expect(o, unittest.hasLength(2));
1181 checkDiscoveryclustersClusters(o[0]); 1181 checkDiscoveryclustersClusters(o[0]);
1182 checkDiscoveryclustersClusters(o[1]); 1182 checkDiscoveryclustersClusters(o[1]);
1183 } 1183 }
1184 1184
1185 core.int buildCounterDiscoveryclusters = 0; 1185 core.int buildCounterDiscoveryclusters = 0;
1186 buildDiscoveryclusters() { 1186 buildDiscoveryclusters() {
1187 var o = new api.Discoveryclusters(); 1187 var o = new api.Discoveryclusters();
1188 buildCounterDiscoveryclusters++; 1188 buildCounterDiscoveryclusters++;
1189 if (buildCounterDiscoveryclusters < 3) { 1189 if (buildCounterDiscoveryclusters < 3) {
1190 o.clusters = buildUnnamed833(); 1190 o.clusters = buildUnnamed824();
1191 o.kind = "foo"; 1191 o.kind = "foo";
1192 o.totalClusters = 42; 1192 o.totalClusters = 42;
1193 } 1193 }
1194 buildCounterDiscoveryclusters--; 1194 buildCounterDiscoveryclusters--;
1195 return o; 1195 return o;
1196 } 1196 }
1197 1197
1198 checkDiscoveryclusters(api.Discoveryclusters o) { 1198 checkDiscoveryclusters(api.Discoveryclusters o) {
1199 buildCounterDiscoveryclusters++; 1199 buildCounterDiscoveryclusters++;
1200 if (buildCounterDiscoveryclusters < 3) { 1200 if (buildCounterDiscoveryclusters < 3) {
1201 checkUnnamed833(o.clusters); 1201 checkUnnamed824(o.clusters);
1202 unittest.expect(o.kind, unittest.equals('foo')); 1202 unittest.expect(o.kind, unittest.equals('foo'));
1203 unittest.expect(o.totalClusters, unittest.equals(42)); 1203 unittest.expect(o.totalClusters, unittest.equals(42));
1204 } 1204 }
1205 buildCounterDiscoveryclusters--; 1205 buildCounterDiscoveryclusters--;
1206 } 1206 }
1207 1207
1208 core.int buildCounterDownloadAccessRestriction = 0; 1208 core.int buildCounterDownloadAccessRestriction = 0;
1209 buildDownloadAccessRestriction() { 1209 buildDownloadAccessRestriction() {
1210 var o = new api.DownloadAccessRestriction(); 1210 var o = new api.DownloadAccessRestriction();
1211 buildCounterDownloadAccessRestriction++; 1211 buildCounterDownloadAccessRestriction++;
(...skipping 27 matching lines...) Expand all
1239 unittest.expect(o.nonce, unittest.equals('foo')); 1239 unittest.expect(o.nonce, unittest.equals('foo'));
1240 unittest.expect(o.reasonCode, unittest.equals('foo')); 1240 unittest.expect(o.reasonCode, unittest.equals('foo'));
1241 unittest.expect(o.restricted, unittest.isTrue); 1241 unittest.expect(o.restricted, unittest.isTrue);
1242 unittest.expect(o.signature, unittest.equals('foo')); 1242 unittest.expect(o.signature, unittest.equals('foo'));
1243 unittest.expect(o.source, unittest.equals('foo')); 1243 unittest.expect(o.source, unittest.equals('foo'));
1244 unittest.expect(o.volumeId, unittest.equals('foo')); 1244 unittest.expect(o.volumeId, unittest.equals('foo'));
1245 } 1245 }
1246 buildCounterDownloadAccessRestriction--; 1246 buildCounterDownloadAccessRestriction--;
1247 } 1247 }
1248 1248
1249 buildUnnamed834() { 1249 buildUnnamed825() {
1250 var o = new core.List<api.DownloadAccessRestriction>(); 1250 var o = new core.List<api.DownloadAccessRestriction>();
1251 o.add(buildDownloadAccessRestriction()); 1251 o.add(buildDownloadAccessRestriction());
1252 o.add(buildDownloadAccessRestriction()); 1252 o.add(buildDownloadAccessRestriction());
1253 return o; 1253 return o;
1254 } 1254 }
1255 1255
1256 checkUnnamed834(core.List<api.DownloadAccessRestriction> o) { 1256 checkUnnamed825(core.List<api.DownloadAccessRestriction> o) {
1257 unittest.expect(o, unittest.hasLength(2)); 1257 unittest.expect(o, unittest.hasLength(2));
1258 checkDownloadAccessRestriction(o[0]); 1258 checkDownloadAccessRestriction(o[0]);
1259 checkDownloadAccessRestriction(o[1]); 1259 checkDownloadAccessRestriction(o[1]);
1260 } 1260 }
1261 1261
1262 core.int buildCounterDownloadAccesses = 0; 1262 core.int buildCounterDownloadAccesses = 0;
1263 buildDownloadAccesses() { 1263 buildDownloadAccesses() {
1264 var o = new api.DownloadAccesses(); 1264 var o = new api.DownloadAccesses();
1265 buildCounterDownloadAccesses++; 1265 buildCounterDownloadAccesses++;
1266 if (buildCounterDownloadAccesses < 3) { 1266 if (buildCounterDownloadAccesses < 3) {
1267 o.downloadAccessList = buildUnnamed834(); 1267 o.downloadAccessList = buildUnnamed825();
1268 o.kind = "foo"; 1268 o.kind = "foo";
1269 } 1269 }
1270 buildCounterDownloadAccesses--; 1270 buildCounterDownloadAccesses--;
1271 return o; 1271 return o;
1272 } 1272 }
1273 1273
1274 checkDownloadAccesses(api.DownloadAccesses o) { 1274 checkDownloadAccesses(api.DownloadAccesses o) {
1275 buildCounterDownloadAccesses++; 1275 buildCounterDownloadAccesses++;
1276 if (buildCounterDownloadAccesses < 3) { 1276 if (buildCounterDownloadAccesses < 3) {
1277 checkUnnamed834(o.downloadAccessList); 1277 checkUnnamed825(o.downloadAccessList);
1278 unittest.expect(o.kind, unittest.equals('foo')); 1278 unittest.expect(o.kind, unittest.equals('foo'));
1279 } 1279 }
1280 buildCounterDownloadAccesses--; 1280 buildCounterDownloadAccesses--;
1281 } 1281 }
1282 1282
1283 core.int buildCounterGeolayerdataCommon = 0; 1283 core.int buildCounterGeolayerdataCommon = 0;
1284 buildGeolayerdataCommon() { 1284 buildGeolayerdataCommon() {
1285 var o = new api.GeolayerdataCommon(); 1285 var o = new api.GeolayerdataCommon();
1286 buildCounterGeolayerdataCommon++; 1286 buildCounterGeolayerdataCommon++;
1287 if (buildCounterGeolayerdataCommon < 3) { 1287 if (buildCounterGeolayerdataCommon < 3) {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1321 1321
1322 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) { 1322 checkGeolayerdataGeoBoundary(api.GeolayerdataGeoBoundary o) {
1323 buildCounterGeolayerdataGeoBoundary++; 1323 buildCounterGeolayerdataGeoBoundary++;
1324 if (buildCounterGeolayerdataGeoBoundary < 3) { 1324 if (buildCounterGeolayerdataGeoBoundary < 3) {
1325 unittest.expect(o.latitude, unittest.equals(42)); 1325 unittest.expect(o.latitude, unittest.equals(42));
1326 unittest.expect(o.longitude, unittest.equals(42)); 1326 unittest.expect(o.longitude, unittest.equals(42));
1327 } 1327 }
1328 buildCounterGeolayerdataGeoBoundary--; 1328 buildCounterGeolayerdataGeoBoundary--;
1329 } 1329 }
1330 1330
1331 buildUnnamed835() { 1331 buildUnnamed826() {
1332 var o = new core.List<api.GeolayerdataGeoBoundary>(); 1332 var o = new core.List<api.GeolayerdataGeoBoundary>();
1333 o.add(buildGeolayerdataGeoBoundary()); 1333 o.add(buildGeolayerdataGeoBoundary());
1334 o.add(buildGeolayerdataGeoBoundary()); 1334 o.add(buildGeolayerdataGeoBoundary());
1335 return o; 1335 return o;
1336 } 1336 }
1337 1337
1338 checkUnnamed835(core.List<api.GeolayerdataGeoBoundary> o) { 1338 checkUnnamed826(core.List<api.GeolayerdataGeoBoundary> o) {
1339 unittest.expect(o, unittest.hasLength(2)); 1339 unittest.expect(o, unittest.hasLength(2));
1340 checkGeolayerdataGeoBoundary(o[0]); 1340 checkGeolayerdataGeoBoundary(o[0]);
1341 checkGeolayerdataGeoBoundary(o[1]); 1341 checkGeolayerdataGeoBoundary(o[1]);
1342 } 1342 }
1343 1343
1344 buildUnnamed836() { 1344 buildUnnamed827() {
1345 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); 1345 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>();
1346 o.add(buildUnnamed835()); 1346 o.add(buildUnnamed826());
1347 o.add(buildUnnamed835()); 1347 o.add(buildUnnamed826());
1348 return o; 1348 return o;
1349 } 1349 }
1350 1350
1351 checkUnnamed836(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { 1351 checkUnnamed827(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
1352 unittest.expect(o, unittest.hasLength(2)); 1352 unittest.expect(o, unittest.hasLength(2));
1353 checkUnnamed835(o[0]); 1353 checkUnnamed826(o[0]);
1354 checkUnnamed835(o[1]); 1354 checkUnnamed826(o[1]);
1355 } 1355 }
1356 1356
1357 core.int buildCounterGeolayerdataGeoViewportHi = 0; 1357 core.int buildCounterGeolayerdataGeoViewportHi = 0;
1358 buildGeolayerdataGeoViewportHi() { 1358 buildGeolayerdataGeoViewportHi() {
1359 var o = new api.GeolayerdataGeoViewportHi(); 1359 var o = new api.GeolayerdataGeoViewportHi();
1360 buildCounterGeolayerdataGeoViewportHi++; 1360 buildCounterGeolayerdataGeoViewportHi++;
1361 if (buildCounterGeolayerdataGeoViewportHi < 3) { 1361 if (buildCounterGeolayerdataGeoViewportHi < 3) {
1362 o.latitude = 42.0; 1362 o.latitude = 42.0;
1363 o.longitude = 42.0; 1363 o.longitude = 42.0;
1364 } 1364 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
1415 checkGeolayerdataGeoViewportLo(o.lo); 1415 checkGeolayerdataGeoViewportLo(o.lo);
1416 } 1416 }
1417 buildCounterGeolayerdataGeoViewport--; 1417 buildCounterGeolayerdataGeoViewport--;
1418 } 1418 }
1419 1419
1420 core.int buildCounterGeolayerdataGeo = 0; 1420 core.int buildCounterGeolayerdataGeo = 0;
1421 buildGeolayerdataGeo() { 1421 buildGeolayerdataGeo() {
1422 var o = new api.GeolayerdataGeo(); 1422 var o = new api.GeolayerdataGeo();
1423 buildCounterGeolayerdataGeo++; 1423 buildCounterGeolayerdataGeo++;
1424 if (buildCounterGeolayerdataGeo < 3) { 1424 if (buildCounterGeolayerdataGeo < 3) {
1425 o.boundary = buildUnnamed836(); 1425 o.boundary = buildUnnamed827();
1426 o.cachePolicy = "foo"; 1426 o.cachePolicy = "foo";
1427 o.countryCode = "foo"; 1427 o.countryCode = "foo";
1428 o.latitude = 42.0; 1428 o.latitude = 42.0;
1429 o.longitude = 42.0; 1429 o.longitude = 42.0;
1430 o.mapType = "foo"; 1430 o.mapType = "foo";
1431 o.viewport = buildGeolayerdataGeoViewport(); 1431 o.viewport = buildGeolayerdataGeoViewport();
1432 o.zoom = 42; 1432 o.zoom = 42;
1433 } 1433 }
1434 buildCounterGeolayerdataGeo--; 1434 buildCounterGeolayerdataGeo--;
1435 return o; 1435 return o;
1436 } 1436 }
1437 1437
1438 checkGeolayerdataGeo(api.GeolayerdataGeo o) { 1438 checkGeolayerdataGeo(api.GeolayerdataGeo o) {
1439 buildCounterGeolayerdataGeo++; 1439 buildCounterGeolayerdataGeo++;
1440 if (buildCounterGeolayerdataGeo < 3) { 1440 if (buildCounterGeolayerdataGeo < 3) {
1441 checkUnnamed836(o.boundary); 1441 checkUnnamed827(o.boundary);
1442 unittest.expect(o.cachePolicy, unittest.equals('foo')); 1442 unittest.expect(o.cachePolicy, unittest.equals('foo'));
1443 unittest.expect(o.countryCode, unittest.equals('foo')); 1443 unittest.expect(o.countryCode, unittest.equals('foo'));
1444 unittest.expect(o.latitude, unittest.equals(42.0)); 1444 unittest.expect(o.latitude, unittest.equals(42.0));
1445 unittest.expect(o.longitude, unittest.equals(42.0)); 1445 unittest.expect(o.longitude, unittest.equals(42.0));
1446 unittest.expect(o.mapType, unittest.equals('foo')); 1446 unittest.expect(o.mapType, unittest.equals('foo'));
1447 checkGeolayerdataGeoViewport(o.viewport); 1447 checkGeolayerdataGeoViewport(o.viewport);
1448 unittest.expect(o.zoom, unittest.equals(42)); 1448 unittest.expect(o.zoom, unittest.equals(42));
1449 } 1449 }
1450 buildCounterGeolayerdataGeo--; 1450 buildCounterGeolayerdataGeo--;
1451 } 1451 }
(...skipping 14 matching lines...) Expand all
1466 checkGeolayerdata(api.Geolayerdata o) { 1466 checkGeolayerdata(api.Geolayerdata o) {
1467 buildCounterGeolayerdata++; 1467 buildCounterGeolayerdata++;
1468 if (buildCounterGeolayerdata < 3) { 1468 if (buildCounterGeolayerdata < 3) {
1469 checkGeolayerdataCommon(o.common); 1469 checkGeolayerdataCommon(o.common);
1470 checkGeolayerdataGeo(o.geo); 1470 checkGeolayerdataGeo(o.geo);
1471 unittest.expect(o.kind, unittest.equals('foo')); 1471 unittest.expect(o.kind, unittest.equals('foo'));
1472 } 1472 }
1473 buildCounterGeolayerdata--; 1473 buildCounterGeolayerdata--;
1474 } 1474 }
1475 1475
1476 buildUnnamed837() { 1476 buildUnnamed828() {
1477 var o = new core.List<api.Layersummary>(); 1477 var o = new core.List<api.Layersummary>();
1478 o.add(buildLayersummary()); 1478 o.add(buildLayersummary());
1479 o.add(buildLayersummary()); 1479 o.add(buildLayersummary());
1480 return o; 1480 return o;
1481 } 1481 }
1482 1482
1483 checkUnnamed837(core.List<api.Layersummary> o) { 1483 checkUnnamed828(core.List<api.Layersummary> o) {
1484 unittest.expect(o, unittest.hasLength(2)); 1484 unittest.expect(o, unittest.hasLength(2));
1485 checkLayersummary(o[0]); 1485 checkLayersummary(o[0]);
1486 checkLayersummary(o[1]); 1486 checkLayersummary(o[1]);
1487 } 1487 }
1488 1488
1489 core.int buildCounterLayersummaries = 0; 1489 core.int buildCounterLayersummaries = 0;
1490 buildLayersummaries() { 1490 buildLayersummaries() {
1491 var o = new api.Layersummaries(); 1491 var o = new api.Layersummaries();
1492 buildCounterLayersummaries++; 1492 buildCounterLayersummaries++;
1493 if (buildCounterLayersummaries < 3) { 1493 if (buildCounterLayersummaries < 3) {
1494 o.items = buildUnnamed837(); 1494 o.items = buildUnnamed828();
1495 o.kind = "foo"; 1495 o.kind = "foo";
1496 o.totalItems = 42; 1496 o.totalItems = 42;
1497 } 1497 }
1498 buildCounterLayersummaries--; 1498 buildCounterLayersummaries--;
1499 return o; 1499 return o;
1500 } 1500 }
1501 1501
1502 checkLayersummaries(api.Layersummaries o) { 1502 checkLayersummaries(api.Layersummaries o) {
1503 buildCounterLayersummaries++; 1503 buildCounterLayersummaries++;
1504 if (buildCounterLayersummaries < 3) { 1504 if (buildCounterLayersummaries < 3) {
1505 checkUnnamed837(o.items); 1505 checkUnnamed828(o.items);
1506 unittest.expect(o.kind, unittest.equals('foo')); 1506 unittest.expect(o.kind, unittest.equals('foo'));
1507 unittest.expect(o.totalItems, unittest.equals(42)); 1507 unittest.expect(o.totalItems, unittest.equals(42));
1508 } 1508 }
1509 buildCounterLayersummaries--; 1509 buildCounterLayersummaries--;
1510 } 1510 }
1511 1511
1512 buildUnnamed838() { 1512 buildUnnamed829() {
1513 var o = new core.List<core.String>(); 1513 var o = new core.List<core.String>();
1514 o.add("foo"); 1514 o.add("foo");
1515 o.add("foo"); 1515 o.add("foo");
1516 return o; 1516 return o;
1517 } 1517 }
1518 1518
1519 checkUnnamed838(core.List<core.String> o) { 1519 checkUnnamed829(core.List<core.String> o) {
1520 unittest.expect(o, unittest.hasLength(2)); 1520 unittest.expect(o, unittest.hasLength(2));
1521 unittest.expect(o[0], unittest.equals('foo')); 1521 unittest.expect(o[0], unittest.equals('foo'));
1522 unittest.expect(o[1], unittest.equals('foo')); 1522 unittest.expect(o[1], unittest.equals('foo'));
1523 } 1523 }
1524 1524
1525 core.int buildCounterLayersummary = 0; 1525 core.int buildCounterLayersummary = 0;
1526 buildLayersummary() { 1526 buildLayersummary() {
1527 var o = new api.Layersummary(); 1527 var o = new api.Layersummary();
1528 buildCounterLayersummary++; 1528 buildCounterLayersummary++;
1529 if (buildCounterLayersummary < 3) { 1529 if (buildCounterLayersummary < 3) {
1530 o.annotationCount = 42; 1530 o.annotationCount = 42;
1531 o.annotationTypes = buildUnnamed838(); 1531 o.annotationTypes = buildUnnamed829();
1532 o.annotationsDataLink = "foo"; 1532 o.annotationsDataLink = "foo";
1533 o.annotationsLink = "foo"; 1533 o.annotationsLink = "foo";
1534 o.contentVersion = "foo"; 1534 o.contentVersion = "foo";
1535 o.dataCount = 42; 1535 o.dataCount = 42;
1536 o.id = "foo"; 1536 o.id = "foo";
1537 o.kind = "foo"; 1537 o.kind = "foo";
1538 o.layerId = "foo"; 1538 o.layerId = "foo";
1539 o.selfLink = "foo"; 1539 o.selfLink = "foo";
1540 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 1540 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
1541 o.volumeAnnotationsVersion = "foo"; 1541 o.volumeAnnotationsVersion = "foo";
1542 o.volumeId = "foo"; 1542 o.volumeId = "foo";
1543 } 1543 }
1544 buildCounterLayersummary--; 1544 buildCounterLayersummary--;
1545 return o; 1545 return o;
1546 } 1546 }
1547 1547
1548 checkLayersummary(api.Layersummary o) { 1548 checkLayersummary(api.Layersummary o) {
1549 buildCounterLayersummary++; 1549 buildCounterLayersummary++;
1550 if (buildCounterLayersummary < 3) { 1550 if (buildCounterLayersummary < 3) {
1551 unittest.expect(o.annotationCount, unittest.equals(42)); 1551 unittest.expect(o.annotationCount, unittest.equals(42));
1552 checkUnnamed838(o.annotationTypes); 1552 checkUnnamed829(o.annotationTypes);
1553 unittest.expect(o.annotationsDataLink, unittest.equals('foo')); 1553 unittest.expect(o.annotationsDataLink, unittest.equals('foo'));
1554 unittest.expect(o.annotationsLink, unittest.equals('foo')); 1554 unittest.expect(o.annotationsLink, unittest.equals('foo'));
1555 unittest.expect(o.contentVersion, unittest.equals('foo')); 1555 unittest.expect(o.contentVersion, unittest.equals('foo'));
1556 unittest.expect(o.dataCount, unittest.equals(42)); 1556 unittest.expect(o.dataCount, unittest.equals(42));
1557 unittest.expect(o.id, unittest.equals('foo')); 1557 unittest.expect(o.id, unittest.equals('foo'));
1558 unittest.expect(o.kind, unittest.equals('foo')); 1558 unittest.expect(o.kind, unittest.equals('foo'));
1559 unittest.expect(o.layerId, unittest.equals('foo')); 1559 unittest.expect(o.layerId, unittest.equals('foo'));
1560 unittest.expect(o.selfLink, unittest.equals('foo')); 1560 unittest.expect(o.selfLink, unittest.equals('foo'));
1561 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 1561 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
1562 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); 1562 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo'));
(...skipping 22 matching lines...) Expand all
1585 if (buildCounterMetadataItems < 3) { 1585 if (buildCounterMetadataItems < 3) {
1586 unittest.expect(o.downloadUrl, unittest.equals('foo')); 1586 unittest.expect(o.downloadUrl, unittest.equals('foo'));
1587 unittest.expect(o.encryptedKey, unittest.equals('foo')); 1587 unittest.expect(o.encryptedKey, unittest.equals('foo'));
1588 unittest.expect(o.language, unittest.equals('foo')); 1588 unittest.expect(o.language, unittest.equals('foo'));
1589 unittest.expect(o.size, unittest.equals('foo')); 1589 unittest.expect(o.size, unittest.equals('foo'));
1590 unittest.expect(o.version, unittest.equals('foo')); 1590 unittest.expect(o.version, unittest.equals('foo'));
1591 } 1591 }
1592 buildCounterMetadataItems--; 1592 buildCounterMetadataItems--;
1593 } 1593 }
1594 1594
1595 buildUnnamed839() { 1595 buildUnnamed830() {
1596 var o = new core.List<api.MetadataItems>(); 1596 var o = new core.List<api.MetadataItems>();
1597 o.add(buildMetadataItems()); 1597 o.add(buildMetadataItems());
1598 o.add(buildMetadataItems()); 1598 o.add(buildMetadataItems());
1599 return o; 1599 return o;
1600 } 1600 }
1601 1601
1602 checkUnnamed839(core.List<api.MetadataItems> o) { 1602 checkUnnamed830(core.List<api.MetadataItems> o) {
1603 unittest.expect(o, unittest.hasLength(2)); 1603 unittest.expect(o, unittest.hasLength(2));
1604 checkMetadataItems(o[0]); 1604 checkMetadataItems(o[0]);
1605 checkMetadataItems(o[1]); 1605 checkMetadataItems(o[1]);
1606 } 1606 }
1607 1607
1608 core.int buildCounterMetadata = 0; 1608 core.int buildCounterMetadata = 0;
1609 buildMetadata() { 1609 buildMetadata() {
1610 var o = new api.Metadata(); 1610 var o = new api.Metadata();
1611 buildCounterMetadata++; 1611 buildCounterMetadata++;
1612 if (buildCounterMetadata < 3) { 1612 if (buildCounterMetadata < 3) {
1613 o.items = buildUnnamed839(); 1613 o.items = buildUnnamed830();
1614 o.kind = "foo"; 1614 o.kind = "foo";
1615 } 1615 }
1616 buildCounterMetadata--; 1616 buildCounterMetadata--;
1617 return o; 1617 return o;
1618 } 1618 }
1619 1619
1620 checkMetadata(api.Metadata o) { 1620 checkMetadata(api.Metadata o) {
1621 buildCounterMetadata++; 1621 buildCounterMetadata++;
1622 if (buildCounterMetadata < 3) { 1622 if (buildCounterMetadata < 3) {
1623 checkUnnamed839(o.items); 1623 checkUnnamed830(o.items);
1624 unittest.expect(o.kind, unittest.equals('foo')); 1624 unittest.expect(o.kind, unittest.equals('foo'));
1625 } 1625 }
1626 buildCounterMetadata--; 1626 buildCounterMetadata--;
1627 } 1627 }
1628 1628
1629 buildUnnamed840() { 1629 buildUnnamed831() {
1630 var o = new core.List<core.String>(); 1630 var o = new core.List<core.String>();
1631 o.add("foo"); 1631 o.add("foo");
1632 o.add("foo"); 1632 o.add("foo");
1633 return o; 1633 return o;
1634 } 1634 }
1635 1635
1636 checkUnnamed840(core.List<core.String> o) { 1636 checkUnnamed831(core.List<core.String> o) {
1637 unittest.expect(o, unittest.hasLength(2)); 1637 unittest.expect(o, unittest.hasLength(2));
1638 unittest.expect(o[0], unittest.equals('foo')); 1638 unittest.expect(o[0], unittest.equals('foo'));
1639 unittest.expect(o[1], unittest.equals('foo')); 1639 unittest.expect(o[1], unittest.equals('foo'));
1640 } 1640 }
1641 1641
1642 core.int buildCounterNotification = 0; 1642 core.int buildCounterNotification = 0;
1643 buildNotification() { 1643 buildNotification() {
1644 var o = new api.Notification(); 1644 var o = new api.Notification();
1645 buildCounterNotification++; 1645 buildCounterNotification++;
1646 if (buildCounterNotification < 3) { 1646 if (buildCounterNotification < 3) {
1647 o.body = "foo"; 1647 o.body = "foo";
1648 o.crmExperimentIds = buildUnnamed840(); 1648 o.crmExperimentIds = buildUnnamed831();
1649 o.docId = "foo"; 1649 o.docId = "foo";
1650 o.docType = "foo"; 1650 o.docType = "foo";
1651 o.dontShowNotification = true; 1651 o.dontShowNotification = true;
1652 o.iconUrl = "foo"; 1652 o.iconUrl = "foo";
1653 o.kind = "foo"; 1653 o.kind = "foo";
1654 o.notificationGroup = "foo"; 1654 o.notificationGroup = "foo";
1655 o.notificationType = "foo"; 1655 o.notificationType = "foo";
1656 o.pcampaignId = "foo"; 1656 o.pcampaignId = "foo";
1657 o.reason = "foo"; 1657 o.reason = "foo";
1658 o.showNotificationSettingsAction = true; 1658 o.showNotificationSettingsAction = true;
1659 o.targetUrl = "foo"; 1659 o.targetUrl = "foo";
1660 o.title = "foo"; 1660 o.title = "foo";
1661 } 1661 }
1662 buildCounterNotification--; 1662 buildCounterNotification--;
1663 return o; 1663 return o;
1664 } 1664 }
1665 1665
1666 checkNotification(api.Notification o) { 1666 checkNotification(api.Notification o) {
1667 buildCounterNotification++; 1667 buildCounterNotification++;
1668 if (buildCounterNotification < 3) { 1668 if (buildCounterNotification < 3) {
1669 unittest.expect(o.body, unittest.equals('foo')); 1669 unittest.expect(o.body, unittest.equals('foo'));
1670 checkUnnamed840(o.crmExperimentIds); 1670 checkUnnamed831(o.crmExperimentIds);
1671 unittest.expect(o.docId, unittest.equals('foo')); 1671 unittest.expect(o.docId, unittest.equals('foo'));
1672 unittest.expect(o.docType, unittest.equals('foo')); 1672 unittest.expect(o.docType, unittest.equals('foo'));
1673 unittest.expect(o.dontShowNotification, unittest.isTrue); 1673 unittest.expect(o.dontShowNotification, unittest.isTrue);
1674 unittest.expect(o.iconUrl, unittest.equals('foo')); 1674 unittest.expect(o.iconUrl, unittest.equals('foo'));
1675 unittest.expect(o.kind, unittest.equals('foo')); 1675 unittest.expect(o.kind, unittest.equals('foo'));
1676 unittest.expect(o.notificationGroup, unittest.equals('foo')); 1676 unittest.expect(o.notificationGroup, unittest.equals('foo'));
1677 unittest.expect(o.notificationType, unittest.equals('foo')); 1677 unittest.expect(o.notificationType, unittest.equals('foo'));
1678 unittest.expect(o.pcampaignId, unittest.equals('foo')); 1678 unittest.expect(o.pcampaignId, unittest.equals('foo'));
1679 unittest.expect(o.reason, unittest.equals('foo')); 1679 unittest.expect(o.reason, unittest.equals('foo'));
1680 unittest.expect(o.showNotificationSettingsAction, unittest.isTrue); 1680 unittest.expect(o.showNotificationSettingsAction, unittest.isTrue);
(...skipping 25 matching lines...) Expand all
1706 unittest.expect(o.author, unittest.equals('foo')); 1706 unittest.expect(o.author, unittest.equals('foo'));
1707 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); 1707 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo'));
1708 unittest.expect(o.coverUrl, unittest.equals('foo')); 1708 unittest.expect(o.coverUrl, unittest.equals('foo'));
1709 unittest.expect(o.description, unittest.equals('foo')); 1709 unittest.expect(o.description, unittest.equals('foo'));
1710 unittest.expect(o.title, unittest.equals('foo')); 1710 unittest.expect(o.title, unittest.equals('foo'));
1711 unittest.expect(o.volumeId, unittest.equals('foo')); 1711 unittest.expect(o.volumeId, unittest.equals('foo'));
1712 } 1712 }
1713 buildCounterOffersItemsItems--; 1713 buildCounterOffersItemsItems--;
1714 } 1714 }
1715 1715
1716 buildUnnamed841() { 1716 buildUnnamed832() {
1717 var o = new core.List<api.OffersItemsItems>(); 1717 var o = new core.List<api.OffersItemsItems>();
1718 o.add(buildOffersItemsItems()); 1718 o.add(buildOffersItemsItems());
1719 o.add(buildOffersItemsItems()); 1719 o.add(buildOffersItemsItems());
1720 return o; 1720 return o;
1721 } 1721 }
1722 1722
1723 checkUnnamed841(core.List<api.OffersItemsItems> o) { 1723 checkUnnamed832(core.List<api.OffersItemsItems> o) {
1724 unittest.expect(o, unittest.hasLength(2)); 1724 unittest.expect(o, unittest.hasLength(2));
1725 checkOffersItemsItems(o[0]); 1725 checkOffersItemsItems(o[0]);
1726 checkOffersItemsItems(o[1]); 1726 checkOffersItemsItems(o[1]);
1727 } 1727 }
1728 1728
1729 core.int buildCounterOffersItems = 0; 1729 core.int buildCounterOffersItems = 0;
1730 buildOffersItems() { 1730 buildOffersItems() {
1731 var o = new api.OffersItems(); 1731 var o = new api.OffersItems();
1732 buildCounterOffersItems++; 1732 buildCounterOffersItems++;
1733 if (buildCounterOffersItems < 3) { 1733 if (buildCounterOffersItems < 3) {
1734 o.artUrl = "foo"; 1734 o.artUrl = "foo";
1735 o.gservicesKey = "foo"; 1735 o.gservicesKey = "foo";
1736 o.id = "foo"; 1736 o.id = "foo";
1737 o.items = buildUnnamed841(); 1737 o.items = buildUnnamed832();
1738 } 1738 }
1739 buildCounterOffersItems--; 1739 buildCounterOffersItems--;
1740 return o; 1740 return o;
1741 } 1741 }
1742 1742
1743 checkOffersItems(api.OffersItems o) { 1743 checkOffersItems(api.OffersItems o) {
1744 buildCounterOffersItems++; 1744 buildCounterOffersItems++;
1745 if (buildCounterOffersItems < 3) { 1745 if (buildCounterOffersItems < 3) {
1746 unittest.expect(o.artUrl, unittest.equals('foo')); 1746 unittest.expect(o.artUrl, unittest.equals('foo'));
1747 unittest.expect(o.gservicesKey, unittest.equals('foo')); 1747 unittest.expect(o.gservicesKey, unittest.equals('foo'));
1748 unittest.expect(o.id, unittest.equals('foo')); 1748 unittest.expect(o.id, unittest.equals('foo'));
1749 checkUnnamed841(o.items); 1749 checkUnnamed832(o.items);
1750 } 1750 }
1751 buildCounterOffersItems--; 1751 buildCounterOffersItems--;
1752 } 1752 }
1753 1753
1754 buildUnnamed842() { 1754 buildUnnamed833() {
1755 var o = new core.List<api.OffersItems>(); 1755 var o = new core.List<api.OffersItems>();
1756 o.add(buildOffersItems()); 1756 o.add(buildOffersItems());
1757 o.add(buildOffersItems()); 1757 o.add(buildOffersItems());
1758 return o; 1758 return o;
1759 } 1759 }
1760 1760
1761 checkUnnamed842(core.List<api.OffersItems> o) { 1761 checkUnnamed833(core.List<api.OffersItems> o) {
1762 unittest.expect(o, unittest.hasLength(2)); 1762 unittest.expect(o, unittest.hasLength(2));
1763 checkOffersItems(o[0]); 1763 checkOffersItems(o[0]);
1764 checkOffersItems(o[1]); 1764 checkOffersItems(o[1]);
1765 } 1765 }
1766 1766
1767 core.int buildCounterOffers = 0; 1767 core.int buildCounterOffers = 0;
1768 buildOffers() { 1768 buildOffers() {
1769 var o = new api.Offers(); 1769 var o = new api.Offers();
1770 buildCounterOffers++; 1770 buildCounterOffers++;
1771 if (buildCounterOffers < 3) { 1771 if (buildCounterOffers < 3) {
1772 o.items = buildUnnamed842(); 1772 o.items = buildUnnamed833();
1773 o.kind = "foo"; 1773 o.kind = "foo";
1774 } 1774 }
1775 buildCounterOffers--; 1775 buildCounterOffers--;
1776 return o; 1776 return o;
1777 } 1777 }
1778 1778
1779 checkOffers(api.Offers o) { 1779 checkOffers(api.Offers o) {
1780 buildCounterOffers++; 1780 buildCounterOffers++;
1781 if (buildCounterOffers < 3) { 1781 if (buildCounterOffers < 3) {
1782 checkUnnamed842(o.items); 1782 checkUnnamed833(o.items);
1783 unittest.expect(o.kind, unittest.equals('foo')); 1783 unittest.expect(o.kind, unittest.equals('foo'));
1784 } 1784 }
1785 buildCounterOffers--; 1785 buildCounterOffers--;
1786 } 1786 }
1787 1787
1788 core.int buildCounterReadingPosition = 0; 1788 core.int buildCounterReadingPosition = 0;
1789 buildReadingPosition() { 1789 buildReadingPosition() {
1790 var o = new api.ReadingPosition(); 1790 var o = new api.ReadingPosition();
1791 buildCounterReadingPosition++; 1791 buildCounterReadingPosition++;
1792 if (buildCounterReadingPosition < 3) { 1792 if (buildCounterReadingPosition < 3) {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1938 if (buildCounterSeriesSeries < 3) { 1938 if (buildCounterSeriesSeries < 3) {
1939 unittest.expect(o.bannerImageUrl, unittest.equals('foo')); 1939 unittest.expect(o.bannerImageUrl, unittest.equals('foo'));
1940 unittest.expect(o.imageUrl, unittest.equals('foo')); 1940 unittest.expect(o.imageUrl, unittest.equals('foo'));
1941 unittest.expect(o.seriesId, unittest.equals('foo')); 1941 unittest.expect(o.seriesId, unittest.equals('foo'));
1942 unittest.expect(o.seriesType, unittest.equals('foo')); 1942 unittest.expect(o.seriesType, unittest.equals('foo'));
1943 unittest.expect(o.title, unittest.equals('foo')); 1943 unittest.expect(o.title, unittest.equals('foo'));
1944 } 1944 }
1945 buildCounterSeriesSeries--; 1945 buildCounterSeriesSeries--;
1946 } 1946 }
1947 1947
1948 buildUnnamed843() { 1948 buildUnnamed834() {
1949 var o = new core.List<api.SeriesSeries>(); 1949 var o = new core.List<api.SeriesSeries>();
1950 o.add(buildSeriesSeries()); 1950 o.add(buildSeriesSeries());
1951 o.add(buildSeriesSeries()); 1951 o.add(buildSeriesSeries());
1952 return o; 1952 return o;
1953 } 1953 }
1954 1954
1955 checkUnnamed843(core.List<api.SeriesSeries> o) { 1955 checkUnnamed834(core.List<api.SeriesSeries> o) {
1956 unittest.expect(o, unittest.hasLength(2)); 1956 unittest.expect(o, unittest.hasLength(2));
1957 checkSeriesSeries(o[0]); 1957 checkSeriesSeries(o[0]);
1958 checkSeriesSeries(o[1]); 1958 checkSeriesSeries(o[1]);
1959 } 1959 }
1960 1960
1961 core.int buildCounterSeries = 0; 1961 core.int buildCounterSeries = 0;
1962 buildSeries() { 1962 buildSeries() {
1963 var o = new api.Series(); 1963 var o = new api.Series();
1964 buildCounterSeries++; 1964 buildCounterSeries++;
1965 if (buildCounterSeries < 3) { 1965 if (buildCounterSeries < 3) {
1966 o.kind = "foo"; 1966 o.kind = "foo";
1967 o.series = buildUnnamed843(); 1967 o.series = buildUnnamed834();
1968 } 1968 }
1969 buildCounterSeries--; 1969 buildCounterSeries--;
1970 return o; 1970 return o;
1971 } 1971 }
1972 1972
1973 checkSeries(api.Series o) { 1973 checkSeries(api.Series o) {
1974 buildCounterSeries++; 1974 buildCounterSeries++;
1975 if (buildCounterSeries < 3) { 1975 if (buildCounterSeries < 3) {
1976 unittest.expect(o.kind, unittest.equals('foo')); 1976 unittest.expect(o.kind, unittest.equals('foo'));
1977 checkUnnamed843(o.series); 1977 checkUnnamed834(o.series);
1978 } 1978 }
1979 buildCounterSeries--; 1979 buildCounterSeries--;
1980 } 1980 }
1981 1981
1982 buildUnnamed844() { 1982 buildUnnamed835() {
1983 var o = new core.List<api.Volume>(); 1983 var o = new core.List<api.Volume>();
1984 o.add(buildVolume()); 1984 o.add(buildVolume());
1985 o.add(buildVolume()); 1985 o.add(buildVolume());
1986 return o; 1986 return o;
1987 } 1987 }
1988 1988
1989 checkUnnamed844(core.List<api.Volume> o) { 1989 checkUnnamed835(core.List<api.Volume> o) {
1990 unittest.expect(o, unittest.hasLength(2)); 1990 unittest.expect(o, unittest.hasLength(2));
1991 checkVolume(o[0]); 1991 checkVolume(o[0]);
1992 checkVolume(o[1]); 1992 checkVolume(o[1]);
1993 } 1993 }
1994 1994
1995 core.int buildCounterSeriesmembership = 0; 1995 core.int buildCounterSeriesmembership = 0;
1996 buildSeriesmembership() { 1996 buildSeriesmembership() {
1997 var o = new api.Seriesmembership(); 1997 var o = new api.Seriesmembership();
1998 buildCounterSeriesmembership++; 1998 buildCounterSeriesmembership++;
1999 if (buildCounterSeriesmembership < 3) { 1999 if (buildCounterSeriesmembership < 3) {
2000 o.kind = "foo"; 2000 o.kind = "foo";
2001 o.member = buildUnnamed844(); 2001 o.member = buildUnnamed835();
2002 o.nextPageToken = "foo"; 2002 o.nextPageToken = "foo";
2003 } 2003 }
2004 buildCounterSeriesmembership--; 2004 buildCounterSeriesmembership--;
2005 return o; 2005 return o;
2006 } 2006 }
2007 2007
2008 checkSeriesmembership(api.Seriesmembership o) { 2008 checkSeriesmembership(api.Seriesmembership o) {
2009 buildCounterSeriesmembership++; 2009 buildCounterSeriesmembership++;
2010 if (buildCounterSeriesmembership < 3) { 2010 if (buildCounterSeriesmembership < 3) {
2011 unittest.expect(o.kind, unittest.equals('foo')); 2011 unittest.expect(o.kind, unittest.equals('foo'));
2012 checkUnnamed844(o.member); 2012 checkUnnamed835(o.member);
2013 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2013 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2014 } 2014 }
2015 buildCounterSeriesmembership--; 2015 buildCounterSeriesmembership--;
2016 } 2016 }
2017 2017
2018 core.int buildCounterUsersettingsNotesExport = 0; 2018 core.int buildCounterUsersettingsNotesExport = 0;
2019 buildUsersettingsNotesExport() { 2019 buildUsersettingsNotesExport() {
2020 var o = new api.UsersettingsNotesExport(); 2020 var o = new api.UsersettingsNotesExport();
2021 buildCounterUsersettingsNotesExport++; 2021 buildCounterUsersettingsNotesExport++;
2022 if (buildCounterUsersettingsNotesExport < 3) { 2022 if (buildCounterUsersettingsNotesExport < 3) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
2067 } 2067 }
2068 2068
2069 checkUsersettingsNotificationMoreFromSeries(api.UsersettingsNotificationMoreFrom Series o) { 2069 checkUsersettingsNotificationMoreFromSeries(api.UsersettingsNotificationMoreFrom Series o) {
2070 buildCounterUsersettingsNotificationMoreFromSeries++; 2070 buildCounterUsersettingsNotificationMoreFromSeries++;
2071 if (buildCounterUsersettingsNotificationMoreFromSeries < 3) { 2071 if (buildCounterUsersettingsNotificationMoreFromSeries < 3) {
2072 unittest.expect(o.optedState, unittest.equals('foo')); 2072 unittest.expect(o.optedState, unittest.equals('foo'));
2073 } 2073 }
2074 buildCounterUsersettingsNotificationMoreFromSeries--; 2074 buildCounterUsersettingsNotificationMoreFromSeries--;
2075 } 2075 }
2076 2076
2077 core.int buildCounterUsersettingsNotificationRewardExpirations = 0;
2078 buildUsersettingsNotificationRewardExpirations() {
2079 var o = new api.UsersettingsNotificationRewardExpirations();
2080 buildCounterUsersettingsNotificationRewardExpirations++;
2081 if (buildCounterUsersettingsNotificationRewardExpirations < 3) {
2082 o.optedState = "foo";
2083 }
2084 buildCounterUsersettingsNotificationRewardExpirations--;
2085 return o;
2086 }
2087
2088 checkUsersettingsNotificationRewardExpirations(api.UsersettingsNotificationRewar dExpirations o) {
2089 buildCounterUsersettingsNotificationRewardExpirations++;
2090 if (buildCounterUsersettingsNotificationRewardExpirations < 3) {
2091 unittest.expect(o.optedState, unittest.equals('foo'));
2092 }
2093 buildCounterUsersettingsNotificationRewardExpirations--;
2094 }
2095
2077 core.int buildCounterUsersettingsNotification = 0; 2096 core.int buildCounterUsersettingsNotification = 0;
2078 buildUsersettingsNotification() { 2097 buildUsersettingsNotification() {
2079 var o = new api.UsersettingsNotification(); 2098 var o = new api.UsersettingsNotification();
2080 buildCounterUsersettingsNotification++; 2099 buildCounterUsersettingsNotification++;
2081 if (buildCounterUsersettingsNotification < 3) { 2100 if (buildCounterUsersettingsNotification < 3) {
2082 o.moreFromAuthors = buildUsersettingsNotificationMoreFromAuthors(); 2101 o.moreFromAuthors = buildUsersettingsNotificationMoreFromAuthors();
2083 o.moreFromSeries = buildUsersettingsNotificationMoreFromSeries(); 2102 o.moreFromSeries = buildUsersettingsNotificationMoreFromSeries();
2103 o.rewardExpirations = buildUsersettingsNotificationRewardExpirations();
2084 } 2104 }
2085 buildCounterUsersettingsNotification--; 2105 buildCounterUsersettingsNotification--;
2086 return o; 2106 return o;
2087 } 2107 }
2088 2108
2089 checkUsersettingsNotification(api.UsersettingsNotification o) { 2109 checkUsersettingsNotification(api.UsersettingsNotification o) {
2090 buildCounterUsersettingsNotification++; 2110 buildCounterUsersettingsNotification++;
2091 if (buildCounterUsersettingsNotification < 3) { 2111 if (buildCounterUsersettingsNotification < 3) {
2092 checkUsersettingsNotificationMoreFromAuthors(o.moreFromAuthors); 2112 checkUsersettingsNotificationMoreFromAuthors(o.moreFromAuthors);
2093 checkUsersettingsNotificationMoreFromSeries(o.moreFromSeries); 2113 checkUsersettingsNotificationMoreFromSeries(o.moreFromSeries);
2114 checkUsersettingsNotificationRewardExpirations(o.rewardExpirations);
2094 } 2115 }
2095 buildCounterUsersettingsNotification--; 2116 buildCounterUsersettingsNotification--;
2096 } 2117 }
2097 2118
2098 core.int buildCounterUsersettings = 0; 2119 core.int buildCounterUsersettings = 0;
2099 buildUsersettings() { 2120 buildUsersettings() {
2100 var o = new api.Usersettings(); 2121 var o = new api.Usersettings();
2101 buildCounterUsersettings++; 2122 buildCounterUsersettings++;
2102 if (buildCounterUsersettings < 3) { 2123 if (buildCounterUsersettings < 3) {
2103 o.kind = "foo"; 2124 o.kind = "foo";
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
2223 2244
2224 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { 2245 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) {
2225 buildCounterVolumeLayerInfoLayers++; 2246 buildCounterVolumeLayerInfoLayers++;
2226 if (buildCounterVolumeLayerInfoLayers < 3) { 2247 if (buildCounterVolumeLayerInfoLayers < 3) {
2227 unittest.expect(o.layerId, unittest.equals('foo')); 2248 unittest.expect(o.layerId, unittest.equals('foo'));
2228 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); 2249 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo'));
2229 } 2250 }
2230 buildCounterVolumeLayerInfoLayers--; 2251 buildCounterVolumeLayerInfoLayers--;
2231 } 2252 }
2232 2253
2233 buildUnnamed845() { 2254 buildUnnamed836() {
2234 var o = new core.List<api.VolumeLayerInfoLayers>(); 2255 var o = new core.List<api.VolumeLayerInfoLayers>();
2235 o.add(buildVolumeLayerInfoLayers()); 2256 o.add(buildVolumeLayerInfoLayers());
2236 o.add(buildVolumeLayerInfoLayers()); 2257 o.add(buildVolumeLayerInfoLayers());
2237 return o; 2258 return o;
2238 } 2259 }
2239 2260
2240 checkUnnamed845(core.List<api.VolumeLayerInfoLayers> o) { 2261 checkUnnamed836(core.List<api.VolumeLayerInfoLayers> o) {
2241 unittest.expect(o, unittest.hasLength(2)); 2262 unittest.expect(o, unittest.hasLength(2));
2242 checkVolumeLayerInfoLayers(o[0]); 2263 checkVolumeLayerInfoLayers(o[0]);
2243 checkVolumeLayerInfoLayers(o[1]); 2264 checkVolumeLayerInfoLayers(o[1]);
2244 } 2265 }
2245 2266
2246 core.int buildCounterVolumeLayerInfo = 0; 2267 core.int buildCounterVolumeLayerInfo = 0;
2247 buildVolumeLayerInfo() { 2268 buildVolumeLayerInfo() {
2248 var o = new api.VolumeLayerInfo(); 2269 var o = new api.VolumeLayerInfo();
2249 buildCounterVolumeLayerInfo++; 2270 buildCounterVolumeLayerInfo++;
2250 if (buildCounterVolumeLayerInfo < 3) { 2271 if (buildCounterVolumeLayerInfo < 3) {
2251 o.layers = buildUnnamed845(); 2272 o.layers = buildUnnamed836();
2252 } 2273 }
2253 buildCounterVolumeLayerInfo--; 2274 buildCounterVolumeLayerInfo--;
2254 return o; 2275 return o;
2255 } 2276 }
2256 2277
2257 checkVolumeLayerInfo(api.VolumeLayerInfo o) { 2278 checkVolumeLayerInfo(api.VolumeLayerInfo o) {
2258 buildCounterVolumeLayerInfo++; 2279 buildCounterVolumeLayerInfo++;
2259 if (buildCounterVolumeLayerInfo < 3) { 2280 if (buildCounterVolumeLayerInfo < 3) {
2260 checkUnnamed845(o.layers); 2281 checkUnnamed836(o.layers);
2261 } 2282 }
2262 buildCounterVolumeLayerInfo--; 2283 buildCounterVolumeLayerInfo--;
2263 } 2284 }
2264 2285
2265 core.int buildCounterVolumeRecommendedInfo = 0; 2286 core.int buildCounterVolumeRecommendedInfo = 0;
2266 buildVolumeRecommendedInfo() { 2287 buildVolumeRecommendedInfo() {
2267 var o = new api.VolumeRecommendedInfo(); 2288 var o = new api.VolumeRecommendedInfo();
2268 buildCounterVolumeRecommendedInfo++; 2289 buildCounterVolumeRecommendedInfo++;
2269 if (buildCounterVolumeRecommendedInfo < 3) { 2290 if (buildCounterVolumeRecommendedInfo < 3) {
2270 o.explanation = "foo"; 2291 o.explanation = "foo";
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
2385 if (buildCounterVolumeSaleInfoOffers < 3) { 2406 if (buildCounterVolumeSaleInfoOffers < 3) {
2386 unittest.expect(o.finskyOfferType, unittest.equals(42)); 2407 unittest.expect(o.finskyOfferType, unittest.equals(42));
2387 unittest.expect(o.giftable, unittest.isTrue); 2408 unittest.expect(o.giftable, unittest.isTrue);
2388 checkVolumeSaleInfoOffersListPrice(o.listPrice); 2409 checkVolumeSaleInfoOffersListPrice(o.listPrice);
2389 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); 2410 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration);
2390 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); 2411 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice);
2391 } 2412 }
2392 buildCounterVolumeSaleInfoOffers--; 2413 buildCounterVolumeSaleInfoOffers--;
2393 } 2414 }
2394 2415
2395 buildUnnamed846() { 2416 buildUnnamed837() {
2396 var o = new core.List<api.VolumeSaleInfoOffers>(); 2417 var o = new core.List<api.VolumeSaleInfoOffers>();
2397 o.add(buildVolumeSaleInfoOffers()); 2418 o.add(buildVolumeSaleInfoOffers());
2398 o.add(buildVolumeSaleInfoOffers()); 2419 o.add(buildVolumeSaleInfoOffers());
2399 return o; 2420 return o;
2400 } 2421 }
2401 2422
2402 checkUnnamed846(core.List<api.VolumeSaleInfoOffers> o) { 2423 checkUnnamed837(core.List<api.VolumeSaleInfoOffers> o) {
2403 unittest.expect(o, unittest.hasLength(2)); 2424 unittest.expect(o, unittest.hasLength(2));
2404 checkVolumeSaleInfoOffers(o[0]); 2425 checkVolumeSaleInfoOffers(o[0]);
2405 checkVolumeSaleInfoOffers(o[1]); 2426 checkVolumeSaleInfoOffers(o[1]);
2406 } 2427 }
2407 2428
2408 core.int buildCounterVolumeSaleInfoRetailPrice = 0; 2429 core.int buildCounterVolumeSaleInfoRetailPrice = 0;
2409 buildVolumeSaleInfoRetailPrice() { 2430 buildVolumeSaleInfoRetailPrice() {
2410 var o = new api.VolumeSaleInfoRetailPrice(); 2431 var o = new api.VolumeSaleInfoRetailPrice();
2411 buildCounterVolumeSaleInfoRetailPrice++; 2432 buildCounterVolumeSaleInfoRetailPrice++;
2412 if (buildCounterVolumeSaleInfoRetailPrice < 3) { 2433 if (buildCounterVolumeSaleInfoRetailPrice < 3) {
(...skipping 15 matching lines...) Expand all
2428 2449
2429 core.int buildCounterVolumeSaleInfo = 0; 2450 core.int buildCounterVolumeSaleInfo = 0;
2430 buildVolumeSaleInfo() { 2451 buildVolumeSaleInfo() {
2431 var o = new api.VolumeSaleInfo(); 2452 var o = new api.VolumeSaleInfo();
2432 buildCounterVolumeSaleInfo++; 2453 buildCounterVolumeSaleInfo++;
2433 if (buildCounterVolumeSaleInfo < 3) { 2454 if (buildCounterVolumeSaleInfo < 3) {
2434 o.buyLink = "foo"; 2455 o.buyLink = "foo";
2435 o.country = "foo"; 2456 o.country = "foo";
2436 o.isEbook = true; 2457 o.isEbook = true;
2437 o.listPrice = buildVolumeSaleInfoListPrice(); 2458 o.listPrice = buildVolumeSaleInfoListPrice();
2438 o.offers = buildUnnamed846(); 2459 o.offers = buildUnnamed837();
2439 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); 2460 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02");
2440 o.retailPrice = buildVolumeSaleInfoRetailPrice(); 2461 o.retailPrice = buildVolumeSaleInfoRetailPrice();
2441 o.saleability = "foo"; 2462 o.saleability = "foo";
2442 } 2463 }
2443 buildCounterVolumeSaleInfo--; 2464 buildCounterVolumeSaleInfo--;
2444 return o; 2465 return o;
2445 } 2466 }
2446 2467
2447 checkVolumeSaleInfo(api.VolumeSaleInfo o) { 2468 checkVolumeSaleInfo(api.VolumeSaleInfo o) {
2448 buildCounterVolumeSaleInfo++; 2469 buildCounterVolumeSaleInfo++;
2449 if (buildCounterVolumeSaleInfo < 3) { 2470 if (buildCounterVolumeSaleInfo < 3) {
2450 unittest.expect(o.buyLink, unittest.equals('foo')); 2471 unittest.expect(o.buyLink, unittest.equals('foo'));
2451 unittest.expect(o.country, unittest.equals('foo')); 2472 unittest.expect(o.country, unittest.equals('foo'));
2452 unittest.expect(o.isEbook, unittest.isTrue); 2473 unittest.expect(o.isEbook, unittest.isTrue);
2453 checkVolumeSaleInfoListPrice(o.listPrice); 2474 checkVolumeSaleInfoListPrice(o.listPrice);
2454 checkUnnamed846(o.offers); 2475 checkUnnamed837(o.offers);
2455 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2 7T14:01:02"))); 2476 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2 7T14:01:02")));
2456 checkVolumeSaleInfoRetailPrice(o.retailPrice); 2477 checkVolumeSaleInfoRetailPrice(o.retailPrice);
2457 unittest.expect(o.saleability, unittest.equals('foo')); 2478 unittest.expect(o.saleability, unittest.equals('foo'));
2458 } 2479 }
2459 buildCounterVolumeSaleInfo--; 2480 buildCounterVolumeSaleInfo--;
2460 } 2481 }
2461 2482
2462 core.int buildCounterVolumeSearchInfo = 0; 2483 core.int buildCounterVolumeSearchInfo = 0;
2463 buildVolumeSearchInfo() { 2484 buildVolumeSearchInfo() {
2464 var o = new api.VolumeSearchInfo(); 2485 var o = new api.VolumeSearchInfo();
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
2614 checkReadingPosition(o.readingPosition); 2635 checkReadingPosition(o.readingPosition);
2615 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); 2636 checkVolumeUserInfoRentalPeriod(o.rentalPeriod);
2616 unittest.expect(o.rentalState, unittest.equals('foo')); 2637 unittest.expect(o.rentalState, unittest.equals('foo'));
2617 checkReview(o.review); 2638 checkReview(o.review);
2618 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 2639 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
2619 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); 2640 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo);
2620 } 2641 }
2621 buildCounterVolumeUserInfo--; 2642 buildCounterVolumeUserInfo--;
2622 } 2643 }
2623 2644
2624 buildUnnamed847() { 2645 buildUnnamed838() {
2625 var o = new core.List<core.String>(); 2646 var o = new core.List<core.String>();
2626 o.add("foo"); 2647 o.add("foo");
2627 o.add("foo"); 2648 o.add("foo");
2628 return o; 2649 return o;
2629 } 2650 }
2630 2651
2631 checkUnnamed847(core.List<core.String> o) { 2652 checkUnnamed838(core.List<core.String> o) {
2632 unittest.expect(o, unittest.hasLength(2)); 2653 unittest.expect(o, unittest.hasLength(2));
2633 unittest.expect(o[0], unittest.equals('foo')); 2654 unittest.expect(o[0], unittest.equals('foo'));
2634 unittest.expect(o[1], unittest.equals('foo')); 2655 unittest.expect(o[1], unittest.equals('foo'));
2635 } 2656 }
2636 2657
2637 buildUnnamed848() { 2658 buildUnnamed839() {
2638 var o = new core.List<core.String>(); 2659 var o = new core.List<core.String>();
2639 o.add("foo"); 2660 o.add("foo");
2640 o.add("foo"); 2661 o.add("foo");
2641 return o; 2662 return o;
2642 } 2663 }
2643 2664
2644 checkUnnamed848(core.List<core.String> o) { 2665 checkUnnamed839(core.List<core.String> o) {
2645 unittest.expect(o, unittest.hasLength(2)); 2666 unittest.expect(o, unittest.hasLength(2));
2646 unittest.expect(o[0], unittest.equals('foo')); 2667 unittest.expect(o[0], unittest.equals('foo'));
2647 unittest.expect(o[1], unittest.equals('foo')); 2668 unittest.expect(o[1], unittest.equals('foo'));
2648 } 2669 }
2649 2670
2650 core.int buildCounterVolumeVolumeInfoDimensions = 0; 2671 core.int buildCounterVolumeVolumeInfoDimensions = 0;
2651 buildVolumeVolumeInfoDimensions() { 2672 buildVolumeVolumeInfoDimensions() {
2652 var o = new api.VolumeVolumeInfoDimensions(); 2673 var o = new api.VolumeVolumeInfoDimensions();
2653 buildCounterVolumeVolumeInfoDimensions++; 2674 buildCounterVolumeVolumeInfoDimensions++;
2654 if (buildCounterVolumeVolumeInfoDimensions < 3) { 2675 if (buildCounterVolumeVolumeInfoDimensions < 3) {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
2713 2734
2714 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers o) { 2735 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers o) {
2715 buildCounterVolumeVolumeInfoIndustryIdentifiers++; 2736 buildCounterVolumeVolumeInfoIndustryIdentifiers++;
2716 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { 2737 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) {
2717 unittest.expect(o.identifier, unittest.equals('foo')); 2738 unittest.expect(o.identifier, unittest.equals('foo'));
2718 unittest.expect(o.type, unittest.equals('foo')); 2739 unittest.expect(o.type, unittest.equals('foo'));
2719 } 2740 }
2720 buildCounterVolumeVolumeInfoIndustryIdentifiers--; 2741 buildCounterVolumeVolumeInfoIndustryIdentifiers--;
2721 } 2742 }
2722 2743
2723 buildUnnamed849() { 2744 buildUnnamed840() {
2724 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); 2745 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>();
2725 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); 2746 o.add(buildVolumeVolumeInfoIndustryIdentifiers());
2726 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); 2747 o.add(buildVolumeVolumeInfoIndustryIdentifiers());
2727 return o; 2748 return o;
2728 } 2749 }
2729 2750
2730 checkUnnamed849(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { 2751 checkUnnamed840(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
2731 unittest.expect(o, unittest.hasLength(2)); 2752 unittest.expect(o, unittest.hasLength(2));
2732 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); 2753 checkVolumeVolumeInfoIndustryIdentifiers(o[0]);
2733 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); 2754 checkVolumeVolumeInfoIndustryIdentifiers(o[1]);
2734 } 2755 }
2735 2756
2736 core.int buildCounterVolumeVolumeInfoPanelizationSummary = 0; 2757 core.int buildCounterVolumeVolumeInfoPanelizationSummary = 0;
2737 buildVolumeVolumeInfoPanelizationSummary() { 2758 buildVolumeVolumeInfoPanelizationSummary() {
2738 var o = new api.VolumeVolumeInfoPanelizationSummary(); 2759 var o = new api.VolumeVolumeInfoPanelizationSummary();
2739 buildCounterVolumeVolumeInfoPanelizationSummary++; 2760 buildCounterVolumeVolumeInfoPanelizationSummary++;
2740 if (buildCounterVolumeVolumeInfoPanelizationSummary < 3) { 2761 if (buildCounterVolumeVolumeInfoPanelizationSummary < 3) {
(...skipping 16 matching lines...) Expand all
2757 } 2778 }
2758 buildCounterVolumeVolumeInfoPanelizationSummary--; 2779 buildCounterVolumeVolumeInfoPanelizationSummary--;
2759 } 2780 }
2760 2781
2761 core.int buildCounterVolumeVolumeInfo = 0; 2782 core.int buildCounterVolumeVolumeInfo = 0;
2762 buildVolumeVolumeInfo() { 2783 buildVolumeVolumeInfo() {
2763 var o = new api.VolumeVolumeInfo(); 2784 var o = new api.VolumeVolumeInfo();
2764 buildCounterVolumeVolumeInfo++; 2785 buildCounterVolumeVolumeInfo++;
2765 if (buildCounterVolumeVolumeInfo < 3) { 2786 if (buildCounterVolumeVolumeInfo < 3) {
2766 o.allowAnonLogging = true; 2787 o.allowAnonLogging = true;
2767 o.authors = buildUnnamed847(); 2788 o.authors = buildUnnamed838();
2768 o.averageRating = 42.0; 2789 o.averageRating = 42.0;
2769 o.canonicalVolumeLink = "foo"; 2790 o.canonicalVolumeLink = "foo";
2770 o.categories = buildUnnamed848(); 2791 o.categories = buildUnnamed839();
2771 o.contentVersion = "foo"; 2792 o.contentVersion = "foo";
2772 o.description = "foo"; 2793 o.description = "foo";
2773 o.dimensions = buildVolumeVolumeInfoDimensions(); 2794 o.dimensions = buildVolumeVolumeInfoDimensions();
2774 o.imageLinks = buildVolumeVolumeInfoImageLinks(); 2795 o.imageLinks = buildVolumeVolumeInfoImageLinks();
2775 o.industryIdentifiers = buildUnnamed849(); 2796 o.industryIdentifiers = buildUnnamed840();
2776 o.infoLink = "foo"; 2797 o.infoLink = "foo";
2777 o.language = "foo"; 2798 o.language = "foo";
2778 o.mainCategory = "foo"; 2799 o.mainCategory = "foo";
2779 o.maturityRating = "foo"; 2800 o.maturityRating = "foo";
2780 o.pageCount = 42; 2801 o.pageCount = 42;
2781 o.panelizationSummary = buildVolumeVolumeInfoPanelizationSummary(); 2802 o.panelizationSummary = buildVolumeVolumeInfoPanelizationSummary();
2782 o.previewLink = "foo"; 2803 o.previewLink = "foo";
2783 o.printType = "foo"; 2804 o.printType = "foo";
2784 o.printedPageCount = 42; 2805 o.printedPageCount = 42;
2785 o.publishedDate = "foo"; 2806 o.publishedDate = "foo";
2786 o.publisher = "foo"; 2807 o.publisher = "foo";
2787 o.ratingsCount = 42; 2808 o.ratingsCount = 42;
2788 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2809 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2789 o.samplePageCount = 42; 2810 o.samplePageCount = 42;
2790 o.seriesInfo = buildVolumeseriesinfo(); 2811 o.seriesInfo = buildVolumeseriesinfo();
2791 o.subtitle = "foo"; 2812 o.subtitle = "foo";
2792 o.title = "foo"; 2813 o.title = "foo";
2793 } 2814 }
2794 buildCounterVolumeVolumeInfo--; 2815 buildCounterVolumeVolumeInfo--;
2795 return o; 2816 return o;
2796 } 2817 }
2797 2818
2798 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { 2819 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) {
2799 buildCounterVolumeVolumeInfo++; 2820 buildCounterVolumeVolumeInfo++;
2800 if (buildCounterVolumeVolumeInfo < 3) { 2821 if (buildCounterVolumeVolumeInfo < 3) {
2801 unittest.expect(o.allowAnonLogging, unittest.isTrue); 2822 unittest.expect(o.allowAnonLogging, unittest.isTrue);
2802 checkUnnamed847(o.authors); 2823 checkUnnamed838(o.authors);
2803 unittest.expect(o.averageRating, unittest.equals(42.0)); 2824 unittest.expect(o.averageRating, unittest.equals(42.0));
2804 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); 2825 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo'));
2805 checkUnnamed848(o.categories); 2826 checkUnnamed839(o.categories);
2806 unittest.expect(o.contentVersion, unittest.equals('foo')); 2827 unittest.expect(o.contentVersion, unittest.equals('foo'));
2807 unittest.expect(o.description, unittest.equals('foo')); 2828 unittest.expect(o.description, unittest.equals('foo'));
2808 checkVolumeVolumeInfoDimensions(o.dimensions); 2829 checkVolumeVolumeInfoDimensions(o.dimensions);
2809 checkVolumeVolumeInfoImageLinks(o.imageLinks); 2830 checkVolumeVolumeInfoImageLinks(o.imageLinks);
2810 checkUnnamed849(o.industryIdentifiers); 2831 checkUnnamed840(o.industryIdentifiers);
2811 unittest.expect(o.infoLink, unittest.equals('foo')); 2832 unittest.expect(o.infoLink, unittest.equals('foo'));
2812 unittest.expect(o.language, unittest.equals('foo')); 2833 unittest.expect(o.language, unittest.equals('foo'));
2813 unittest.expect(o.mainCategory, unittest.equals('foo')); 2834 unittest.expect(o.mainCategory, unittest.equals('foo'));
2814 unittest.expect(o.maturityRating, unittest.equals('foo')); 2835 unittest.expect(o.maturityRating, unittest.equals('foo'));
2815 unittest.expect(o.pageCount, unittest.equals(42)); 2836 unittest.expect(o.pageCount, unittest.equals(42));
2816 checkVolumeVolumeInfoPanelizationSummary(o.panelizationSummary); 2837 checkVolumeVolumeInfoPanelizationSummary(o.panelizationSummary);
2817 unittest.expect(o.previewLink, unittest.equals('foo')); 2838 unittest.expect(o.previewLink, unittest.equals('foo'));
2818 unittest.expect(o.printType, unittest.equals('foo')); 2839 unittest.expect(o.printType, unittest.equals('foo'));
2819 unittest.expect(o.printedPageCount, unittest.equals(42)); 2840 unittest.expect(o.printedPageCount, unittest.equals(42));
2820 unittest.expect(o.publishedDate, unittest.equals('foo')); 2841 unittest.expect(o.publishedDate, unittest.equals('foo'));
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
2861 checkVolumeRecommendedInfo(o.recommendedInfo); 2882 checkVolumeRecommendedInfo(o.recommendedInfo);
2862 checkVolumeSaleInfo(o.saleInfo); 2883 checkVolumeSaleInfo(o.saleInfo);
2863 checkVolumeSearchInfo(o.searchInfo); 2884 checkVolumeSearchInfo(o.searchInfo);
2864 unittest.expect(o.selfLink, unittest.equals('foo')); 2885 unittest.expect(o.selfLink, unittest.equals('foo'));
2865 checkVolumeUserInfo(o.userInfo); 2886 checkVolumeUserInfo(o.userInfo);
2866 checkVolumeVolumeInfo(o.volumeInfo); 2887 checkVolumeVolumeInfo(o.volumeInfo);
2867 } 2888 }
2868 buildCounterVolume--; 2889 buildCounterVolume--;
2869 } 2890 }
2870 2891
2871 buildUnnamed850() { 2892 buildUnnamed841() {
2872 var o = new core.List<api.Volume>(); 2893 var o = new core.List<api.Volume>();
2873 o.add(buildVolume()); 2894 o.add(buildVolume());
2874 o.add(buildVolume()); 2895 o.add(buildVolume());
2875 return o; 2896 return o;
2876 } 2897 }
2877 2898
2878 checkUnnamed850(core.List<api.Volume> o) { 2899 checkUnnamed841(core.List<api.Volume> o) {
2879 unittest.expect(o, unittest.hasLength(2)); 2900 unittest.expect(o, unittest.hasLength(2));
2880 checkVolume(o[0]); 2901 checkVolume(o[0]);
2881 checkVolume(o[1]); 2902 checkVolume(o[1]);
2882 } 2903 }
2883 2904
2884 core.int buildCounterVolume2 = 0; 2905 core.int buildCounterVolume2 = 0;
2885 buildVolume2() { 2906 buildVolume2() {
2886 var o = new api.Volume2(); 2907 var o = new api.Volume2();
2887 buildCounterVolume2++; 2908 buildCounterVolume2++;
2888 if (buildCounterVolume2 < 3) { 2909 if (buildCounterVolume2 < 3) {
2889 o.items = buildUnnamed850(); 2910 o.items = buildUnnamed841();
2890 o.kind = "foo"; 2911 o.kind = "foo";
2891 o.nextPageToken = "foo"; 2912 o.nextPageToken = "foo";
2892 } 2913 }
2893 buildCounterVolume2--; 2914 buildCounterVolume2--;
2894 return o; 2915 return o;
2895 } 2916 }
2896 2917
2897 checkVolume2(api.Volume2 o) { 2918 checkVolume2(api.Volume2 o) {
2898 buildCounterVolume2++; 2919 buildCounterVolume2++;
2899 if (buildCounterVolume2 < 3) { 2920 if (buildCounterVolume2 < 3) {
2900 checkUnnamed850(o.items); 2921 checkUnnamed841(o.items);
2901 unittest.expect(o.kind, unittest.equals('foo')); 2922 unittest.expect(o.kind, unittest.equals('foo'));
2902 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2923 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2903 } 2924 }
2904 buildCounterVolume2--; 2925 buildCounterVolume2--;
2905 } 2926 }
2906 2927
2907 core.int buildCounterVolumeannotationContentRanges = 0; 2928 core.int buildCounterVolumeannotationContentRanges = 0;
2908 buildVolumeannotationContentRanges() { 2929 buildVolumeannotationContentRanges() {
2909 var o = new api.VolumeannotationContentRanges(); 2930 var o = new api.VolumeannotationContentRanges();
2910 buildCounterVolumeannotationContentRanges++; 2931 buildCounterVolumeannotationContentRanges++;
(...skipping 11 matching lines...) Expand all
2922 buildCounterVolumeannotationContentRanges++; 2943 buildCounterVolumeannotationContentRanges++;
2923 if (buildCounterVolumeannotationContentRanges < 3) { 2944 if (buildCounterVolumeannotationContentRanges < 3) {
2924 checkBooksAnnotationsRange(o.cfiRange); 2945 checkBooksAnnotationsRange(o.cfiRange);
2925 unittest.expect(o.contentVersion, unittest.equals('foo')); 2946 unittest.expect(o.contentVersion, unittest.equals('foo'));
2926 checkBooksAnnotationsRange(o.gbImageRange); 2947 checkBooksAnnotationsRange(o.gbImageRange);
2927 checkBooksAnnotationsRange(o.gbTextRange); 2948 checkBooksAnnotationsRange(o.gbTextRange);
2928 } 2949 }
2929 buildCounterVolumeannotationContentRanges--; 2950 buildCounterVolumeannotationContentRanges--;
2930 } 2951 }
2931 2952
2932 buildUnnamed851() { 2953 buildUnnamed842() {
2933 var o = new core.List<core.String>(); 2954 var o = new core.List<core.String>();
2934 o.add("foo"); 2955 o.add("foo");
2935 o.add("foo"); 2956 o.add("foo");
2936 return o; 2957 return o;
2937 } 2958 }
2938 2959
2939 checkUnnamed851(core.List<core.String> o) { 2960 checkUnnamed842(core.List<core.String> o) {
2940 unittest.expect(o, unittest.hasLength(2)); 2961 unittest.expect(o, unittest.hasLength(2));
2941 unittest.expect(o[0], unittest.equals('foo')); 2962 unittest.expect(o[0], unittest.equals('foo'));
2942 unittest.expect(o[1], unittest.equals('foo')); 2963 unittest.expect(o[1], unittest.equals('foo'));
2943 } 2964 }
2944 2965
2945 core.int buildCounterVolumeannotation = 0; 2966 core.int buildCounterVolumeannotation = 0;
2946 buildVolumeannotation() { 2967 buildVolumeannotation() {
2947 var o = new api.Volumeannotation(); 2968 var o = new api.Volumeannotation();
2948 buildCounterVolumeannotation++; 2969 buildCounterVolumeannotation++;
2949 if (buildCounterVolumeannotation < 3) { 2970 if (buildCounterVolumeannotation < 3) {
2950 o.annotationDataId = "foo"; 2971 o.annotationDataId = "foo";
2951 o.annotationDataLink = "foo"; 2972 o.annotationDataLink = "foo";
2952 o.annotationType = "foo"; 2973 o.annotationType = "foo";
2953 o.contentRanges = buildVolumeannotationContentRanges(); 2974 o.contentRanges = buildVolumeannotationContentRanges();
2954 o.data = "foo"; 2975 o.data = "foo";
2955 o.deleted = true; 2976 o.deleted = true;
2956 o.id = "foo"; 2977 o.id = "foo";
2957 o.kind = "foo"; 2978 o.kind = "foo";
2958 o.layerId = "foo"; 2979 o.layerId = "foo";
2959 o.pageIds = buildUnnamed851(); 2980 o.pageIds = buildUnnamed842();
2960 o.selectedText = "foo"; 2981 o.selectedText = "foo";
2961 o.selfLink = "foo"; 2982 o.selfLink = "foo";
2962 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 2983 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
2963 o.volumeId = "foo"; 2984 o.volumeId = "foo";
2964 } 2985 }
2965 buildCounterVolumeannotation--; 2986 buildCounterVolumeannotation--;
2966 return o; 2987 return o;
2967 } 2988 }
2968 2989
2969 checkVolumeannotation(api.Volumeannotation o) { 2990 checkVolumeannotation(api.Volumeannotation o) {
2970 buildCounterVolumeannotation++; 2991 buildCounterVolumeannotation++;
2971 if (buildCounterVolumeannotation < 3) { 2992 if (buildCounterVolumeannotation < 3) {
2972 unittest.expect(o.annotationDataId, unittest.equals('foo')); 2993 unittest.expect(o.annotationDataId, unittest.equals('foo'));
2973 unittest.expect(o.annotationDataLink, unittest.equals('foo')); 2994 unittest.expect(o.annotationDataLink, unittest.equals('foo'));
2974 unittest.expect(o.annotationType, unittest.equals('foo')); 2995 unittest.expect(o.annotationType, unittest.equals('foo'));
2975 checkVolumeannotationContentRanges(o.contentRanges); 2996 checkVolumeannotationContentRanges(o.contentRanges);
2976 unittest.expect(o.data, unittest.equals('foo')); 2997 unittest.expect(o.data, unittest.equals('foo'));
2977 unittest.expect(o.deleted, unittest.isTrue); 2998 unittest.expect(o.deleted, unittest.isTrue);
2978 unittest.expect(o.id, unittest.equals('foo')); 2999 unittest.expect(o.id, unittest.equals('foo'));
2979 unittest.expect(o.kind, unittest.equals('foo')); 3000 unittest.expect(o.kind, unittest.equals('foo'));
2980 unittest.expect(o.layerId, unittest.equals('foo')); 3001 unittest.expect(o.layerId, unittest.equals('foo'));
2981 checkUnnamed851(o.pageIds); 3002 checkUnnamed842(o.pageIds);
2982 unittest.expect(o.selectedText, unittest.equals('foo')); 3003 unittest.expect(o.selectedText, unittest.equals('foo'));
2983 unittest.expect(o.selfLink, unittest.equals('foo')); 3004 unittest.expect(o.selfLink, unittest.equals('foo'));
2984 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 3005 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
2985 unittest.expect(o.volumeId, unittest.equals('foo')); 3006 unittest.expect(o.volumeId, unittest.equals('foo'));
2986 } 3007 }
2987 buildCounterVolumeannotation--; 3008 buildCounterVolumeannotation--;
2988 } 3009 }
2989 3010
2990 buildUnnamed852() { 3011 buildUnnamed843() {
2991 var o = new core.List<api.Volumeannotation>(); 3012 var o = new core.List<api.Volumeannotation>();
2992 o.add(buildVolumeannotation()); 3013 o.add(buildVolumeannotation());
2993 o.add(buildVolumeannotation()); 3014 o.add(buildVolumeannotation());
2994 return o; 3015 return o;
2995 } 3016 }
2996 3017
2997 checkUnnamed852(core.List<api.Volumeannotation> o) { 3018 checkUnnamed843(core.List<api.Volumeannotation> o) {
2998 unittest.expect(o, unittest.hasLength(2)); 3019 unittest.expect(o, unittest.hasLength(2));
2999 checkVolumeannotation(o[0]); 3020 checkVolumeannotation(o[0]);
3000 checkVolumeannotation(o[1]); 3021 checkVolumeannotation(o[1]);
3001 } 3022 }
3002 3023
3003 core.int buildCounterVolumeannotations = 0; 3024 core.int buildCounterVolumeannotations = 0;
3004 buildVolumeannotations() { 3025 buildVolumeannotations() {
3005 var o = new api.Volumeannotations(); 3026 var o = new api.Volumeannotations();
3006 buildCounterVolumeannotations++; 3027 buildCounterVolumeannotations++;
3007 if (buildCounterVolumeannotations < 3) { 3028 if (buildCounterVolumeannotations < 3) {
3008 o.items = buildUnnamed852(); 3029 o.items = buildUnnamed843();
3009 o.kind = "foo"; 3030 o.kind = "foo";
3010 o.nextPageToken = "foo"; 3031 o.nextPageToken = "foo";
3011 o.totalItems = 42; 3032 o.totalItems = 42;
3012 o.version = "foo"; 3033 o.version = "foo";
3013 } 3034 }
3014 buildCounterVolumeannotations--; 3035 buildCounterVolumeannotations--;
3015 return o; 3036 return o;
3016 } 3037 }
3017 3038
3018 checkVolumeannotations(api.Volumeannotations o) { 3039 checkVolumeannotations(api.Volumeannotations o) {
3019 buildCounterVolumeannotations++; 3040 buildCounterVolumeannotations++;
3020 if (buildCounterVolumeannotations < 3) { 3041 if (buildCounterVolumeannotations < 3) {
3021 checkUnnamed852(o.items); 3042 checkUnnamed843(o.items);
3022 unittest.expect(o.kind, unittest.equals('foo')); 3043 unittest.expect(o.kind, unittest.equals('foo'));
3023 unittest.expect(o.nextPageToken, unittest.equals('foo')); 3044 unittest.expect(o.nextPageToken, unittest.equals('foo'));
3024 unittest.expect(o.totalItems, unittest.equals(42)); 3045 unittest.expect(o.totalItems, unittest.equals(42));
3025 unittest.expect(o.version, unittest.equals('foo')); 3046 unittest.expect(o.version, unittest.equals('foo'));
3026 } 3047 }
3027 buildCounterVolumeannotations--; 3048 buildCounterVolumeannotations--;
3028 } 3049 }
3029 3050
3030 buildUnnamed853() { 3051 buildUnnamed844() {
3031 var o = new core.List<api.Volume>(); 3052 var o = new core.List<api.Volume>();
3032 o.add(buildVolume()); 3053 o.add(buildVolume());
3033 o.add(buildVolume()); 3054 o.add(buildVolume());
3034 return o; 3055 return o;
3035 } 3056 }
3036 3057
3037 checkUnnamed853(core.List<api.Volume> o) { 3058 checkUnnamed844(core.List<api.Volume> o) {
3038 unittest.expect(o, unittest.hasLength(2)); 3059 unittest.expect(o, unittest.hasLength(2));
3039 checkVolume(o[0]); 3060 checkVolume(o[0]);
3040 checkVolume(o[1]); 3061 checkVolume(o[1]);
3041 } 3062 }
3042 3063
3043 core.int buildCounterVolumes = 0; 3064 core.int buildCounterVolumes = 0;
3044 buildVolumes() { 3065 buildVolumes() {
3045 var o = new api.Volumes(); 3066 var o = new api.Volumes();
3046 buildCounterVolumes++; 3067 buildCounterVolumes++;
3047 if (buildCounterVolumes < 3) { 3068 if (buildCounterVolumes < 3) {
3048 o.items = buildUnnamed853(); 3069 o.items = buildUnnamed844();
3049 o.kind = "foo"; 3070 o.kind = "foo";
3050 o.totalItems = 42; 3071 o.totalItems = 42;
3051 } 3072 }
3052 buildCounterVolumes--; 3073 buildCounterVolumes--;
3053 return o; 3074 return o;
3054 } 3075 }
3055 3076
3056 checkVolumes(api.Volumes o) { 3077 checkVolumes(api.Volumes o) {
3057 buildCounterVolumes++; 3078 buildCounterVolumes++;
3058 if (buildCounterVolumes < 3) { 3079 if (buildCounterVolumes < 3) {
3059 checkUnnamed853(o.items); 3080 checkUnnamed844(o.items);
3060 unittest.expect(o.kind, unittest.equals('foo')); 3081 unittest.expect(o.kind, unittest.equals('foo'));
3061 unittest.expect(o.totalItems, unittest.equals(42)); 3082 unittest.expect(o.totalItems, unittest.equals(42));
3062 } 3083 }
3063 buildCounterVolumes--; 3084 buildCounterVolumes--;
3064 } 3085 }
3065 3086
3066 core.int buildCounterVolumeseriesinfoVolumeSeriesIssue = 0; 3087 core.int buildCounterVolumeseriesinfoVolumeSeriesIssue = 0;
3067 buildVolumeseriesinfoVolumeSeriesIssue() { 3088 buildVolumeseriesinfoVolumeSeriesIssue() {
3068 var o = new api.VolumeseriesinfoVolumeSeriesIssue(); 3089 var o = new api.VolumeseriesinfoVolumeSeriesIssue();
3069 buildCounterVolumeseriesinfoVolumeSeriesIssue++; 3090 buildCounterVolumeseriesinfoVolumeSeriesIssue++;
3070 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { 3091 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) {
3071 o.issueDisplayNumber = "foo"; 3092 o.issueDisplayNumber = "foo";
3072 o.issueOrderNumber = 42; 3093 o.issueOrderNumber = 42;
3073 } 3094 }
3074 buildCounterVolumeseriesinfoVolumeSeriesIssue--; 3095 buildCounterVolumeseriesinfoVolumeSeriesIssue--;
3075 return o; 3096 return o;
3076 } 3097 }
3077 3098
3078 checkVolumeseriesinfoVolumeSeriesIssue(api.VolumeseriesinfoVolumeSeriesIssue o) { 3099 checkVolumeseriesinfoVolumeSeriesIssue(api.VolumeseriesinfoVolumeSeriesIssue o) {
3079 buildCounterVolumeseriesinfoVolumeSeriesIssue++; 3100 buildCounterVolumeseriesinfoVolumeSeriesIssue++;
3080 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { 3101 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) {
3081 unittest.expect(o.issueDisplayNumber, unittest.equals('foo')); 3102 unittest.expect(o.issueDisplayNumber, unittest.equals('foo'));
3082 unittest.expect(o.issueOrderNumber, unittest.equals(42)); 3103 unittest.expect(o.issueOrderNumber, unittest.equals(42));
3083 } 3104 }
3084 buildCounterVolumeseriesinfoVolumeSeriesIssue--; 3105 buildCounterVolumeseriesinfoVolumeSeriesIssue--;
3085 } 3106 }
3086 3107
3087 buildUnnamed854() { 3108 buildUnnamed845() {
3088 var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>(); 3109 var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>();
3089 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); 3110 o.add(buildVolumeseriesinfoVolumeSeriesIssue());
3090 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); 3111 o.add(buildVolumeseriesinfoVolumeSeriesIssue());
3091 return o; 3112 return o;
3092 } 3113 }
3093 3114
3094 checkUnnamed854(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) { 3115 checkUnnamed845(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
3095 unittest.expect(o, unittest.hasLength(2)); 3116 unittest.expect(o, unittest.hasLength(2));
3096 checkVolumeseriesinfoVolumeSeriesIssue(o[0]); 3117 checkVolumeseriesinfoVolumeSeriesIssue(o[0]);
3097 checkVolumeseriesinfoVolumeSeriesIssue(o[1]); 3118 checkVolumeseriesinfoVolumeSeriesIssue(o[1]);
3098 } 3119 }
3099 3120
3100 core.int buildCounterVolumeseriesinfoVolumeSeries = 0; 3121 core.int buildCounterVolumeseriesinfoVolumeSeries = 0;
3101 buildVolumeseriesinfoVolumeSeries() { 3122 buildVolumeseriesinfoVolumeSeries() {
3102 var o = new api.VolumeseriesinfoVolumeSeries(); 3123 var o = new api.VolumeseriesinfoVolumeSeries();
3103 buildCounterVolumeseriesinfoVolumeSeries++; 3124 buildCounterVolumeseriesinfoVolumeSeries++;
3104 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { 3125 if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
3105 o.issue = buildUnnamed854(); 3126 o.issue = buildUnnamed845();
3106 o.orderNumber = 42; 3127 o.orderNumber = 42;
3107 o.seriesBookType = "foo"; 3128 o.seriesBookType = "foo";
3108 o.seriesId = "foo"; 3129 o.seriesId = "foo";
3109 } 3130 }
3110 buildCounterVolumeseriesinfoVolumeSeries--; 3131 buildCounterVolumeseriesinfoVolumeSeries--;
3111 return o; 3132 return o;
3112 } 3133 }
3113 3134
3114 checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) { 3135 checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) {
3115 buildCounterVolumeseriesinfoVolumeSeries++; 3136 buildCounterVolumeseriesinfoVolumeSeries++;
3116 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { 3137 if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
3117 checkUnnamed854(o.issue); 3138 checkUnnamed845(o.issue);
3118 unittest.expect(o.orderNumber, unittest.equals(42)); 3139 unittest.expect(o.orderNumber, unittest.equals(42));
3119 unittest.expect(o.seriesBookType, unittest.equals('foo')); 3140 unittest.expect(o.seriesBookType, unittest.equals('foo'));
3120 unittest.expect(o.seriesId, unittest.equals('foo')); 3141 unittest.expect(o.seriesId, unittest.equals('foo'));
3121 } 3142 }
3122 buildCounterVolumeseriesinfoVolumeSeries--; 3143 buildCounterVolumeseriesinfoVolumeSeries--;
3123 } 3144 }
3124 3145
3125 buildUnnamed855() { 3146 buildUnnamed846() {
3126 var o = new core.List<api.VolumeseriesinfoVolumeSeries>(); 3147 var o = new core.List<api.VolumeseriesinfoVolumeSeries>();
3127 o.add(buildVolumeseriesinfoVolumeSeries()); 3148 o.add(buildVolumeseriesinfoVolumeSeries());
3128 o.add(buildVolumeseriesinfoVolumeSeries()); 3149 o.add(buildVolumeseriesinfoVolumeSeries());
3129 return o; 3150 return o;
3130 } 3151 }
3131 3152
3132 checkUnnamed855(core.List<api.VolumeseriesinfoVolumeSeries> o) { 3153 checkUnnamed846(core.List<api.VolumeseriesinfoVolumeSeries> o) {
3133 unittest.expect(o, unittest.hasLength(2)); 3154 unittest.expect(o, unittest.hasLength(2));
3134 checkVolumeseriesinfoVolumeSeries(o[0]); 3155 checkVolumeseriesinfoVolumeSeries(o[0]);
3135 checkVolumeseriesinfoVolumeSeries(o[1]); 3156 checkVolumeseriesinfoVolumeSeries(o[1]);
3136 } 3157 }
3137 3158
3138 core.int buildCounterVolumeseriesinfo = 0; 3159 core.int buildCounterVolumeseriesinfo = 0;
3139 buildVolumeseriesinfo() { 3160 buildVolumeseriesinfo() {
3140 var o = new api.Volumeseriesinfo(); 3161 var o = new api.Volumeseriesinfo();
3141 buildCounterVolumeseriesinfo++; 3162 buildCounterVolumeseriesinfo++;
3142 if (buildCounterVolumeseriesinfo < 3) { 3163 if (buildCounterVolumeseriesinfo < 3) {
3143 o.bookDisplayNumber = "foo"; 3164 o.bookDisplayNumber = "foo";
3144 o.kind = "foo"; 3165 o.kind = "foo";
3145 o.shortSeriesBookTitle = "foo"; 3166 o.shortSeriesBookTitle = "foo";
3146 o.volumeSeries = buildUnnamed855(); 3167 o.volumeSeries = buildUnnamed846();
3147 } 3168 }
3148 buildCounterVolumeseriesinfo--; 3169 buildCounterVolumeseriesinfo--;
3149 return o; 3170 return o;
3150 } 3171 }
3151 3172
3152 checkVolumeseriesinfo(api.Volumeseriesinfo o) { 3173 checkVolumeseriesinfo(api.Volumeseriesinfo o) {
3153 buildCounterVolumeseriesinfo++; 3174 buildCounterVolumeseriesinfo++;
3154 if (buildCounterVolumeseriesinfo < 3) { 3175 if (buildCounterVolumeseriesinfo < 3) {
3155 unittest.expect(o.bookDisplayNumber, unittest.equals('foo')); 3176 unittest.expect(o.bookDisplayNumber, unittest.equals('foo'));
3156 unittest.expect(o.kind, unittest.equals('foo')); 3177 unittest.expect(o.kind, unittest.equals('foo'));
3157 unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo')); 3178 unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo'));
3158 checkUnnamed855(o.volumeSeries); 3179 checkUnnamed846(o.volumeSeries);
3159 } 3180 }
3160 buildCounterVolumeseriesinfo--; 3181 buildCounterVolumeseriesinfo--;
3161 } 3182 }
3162 3183
3184 buildUnnamed847() {
3185 var o = new core.List<core.String>();
3186 o.add("foo");
3187 o.add("foo");
3188 return o;
3189 }
3190
3191 checkUnnamed847(core.List<core.String> o) {
3192 unittest.expect(o, unittest.hasLength(2));
3193 unittest.expect(o[0], unittest.equals('foo'));
3194 unittest.expect(o[1], unittest.equals('foo'));
3195 }
3196
3197 buildUnnamed848() {
3198 var o = new core.List<core.String>();
3199 o.add("foo");
3200 o.add("foo");
3201 return o;
3202 }
3203
3204 checkUnnamed848(core.List<core.String> o) {
3205 unittest.expect(o, unittest.hasLength(2));
3206 unittest.expect(o[0], unittest.equals('foo'));
3207 unittest.expect(o[1], unittest.equals('foo'));
3208 }
3209
3210 buildUnnamed849() {
3211 var o = new core.List<core.String>();
3212 o.add("foo");
3213 o.add("foo");
3214 return o;
3215 }
3216
3217 checkUnnamed849(core.List<core.String> o) {
3218 unittest.expect(o, unittest.hasLength(2));
3219 unittest.expect(o[0], unittest.equals('foo'));
3220 unittest.expect(o[1], unittest.equals('foo'));
3221 }
3222
3223 buildUnnamed850() {
3224 var o = new core.List<core.String>();
3225 o.add("foo");
3226 o.add("foo");
3227 return o;
3228 }
3229
3230 checkUnnamed850(core.List<core.String> o) {
3231 unittest.expect(o, unittest.hasLength(2));
3232 unittest.expect(o[0], unittest.equals('foo'));
3233 unittest.expect(o[1], unittest.equals('foo'));
3234 }
3235
3236 buildUnnamed851() {
3237 var o = new core.List<core.String>();
3238 o.add("foo");
3239 o.add("foo");
3240 return o;
3241 }
3242
3243 checkUnnamed851(core.List<core.String> o) {
3244 unittest.expect(o, unittest.hasLength(2));
3245 unittest.expect(o[0], unittest.equals('foo'));
3246 unittest.expect(o[1], unittest.equals('foo'));
3247 }
3248
3249 buildUnnamed852() {
3250 var o = new core.List<core.String>();
3251 o.add("foo");
3252 o.add("foo");
3253 return o;
3254 }
3255
3256 checkUnnamed852(core.List<core.String> o) {
3257 unittest.expect(o, unittest.hasLength(2));
3258 unittest.expect(o[0], unittest.equals('foo'));
3259 unittest.expect(o[1], unittest.equals('foo'));
3260 }
3261
3262 buildUnnamed853() {
3263 var o = new core.List<core.String>();
3264 o.add("foo");
3265 o.add("foo");
3266 return o;
3267 }
3268
3269 checkUnnamed853(core.List<core.String> o) {
3270 unittest.expect(o, unittest.hasLength(2));
3271 unittest.expect(o[0], unittest.equals('foo'));
3272 unittest.expect(o[1], unittest.equals('foo'));
3273 }
3274
3275 buildUnnamed854() {
3276 var o = new core.List<core.String>();
3277 o.add("foo");
3278 o.add("foo");
3279 return o;
3280 }
3281
3282 checkUnnamed854(core.List<core.String> o) {
3283 unittest.expect(o, unittest.hasLength(2));
3284 unittest.expect(o[0], unittest.equals('foo'));
3285 unittest.expect(o[1], unittest.equals('foo'));
3286 }
3287
3288 buildUnnamed855() {
3289 var o = new core.List<core.String>();
3290 o.add("foo");
3291 o.add("foo");
3292 return o;
3293 }
3294
3295 checkUnnamed855(core.List<core.String> o) {
3296 unittest.expect(o, unittest.hasLength(2));
3297 unittest.expect(o[0], unittest.equals('foo'));
3298 unittest.expect(o[1], unittest.equals('foo'));
3299 }
3300
3163 buildUnnamed856() { 3301 buildUnnamed856() {
3164 var o = new core.List<core.String>(); 3302 var o = new core.List<core.String>();
3165 o.add("foo"); 3303 o.add("foo");
3166 o.add("foo"); 3304 o.add("foo");
3167 return o; 3305 return o;
3168 } 3306 }
3169 3307
3170 checkUnnamed856(core.List<core.String> o) { 3308 checkUnnamed856(core.List<core.String> o) {
3171 unittest.expect(o, unittest.hasLength(2)); 3309 unittest.expect(o, unittest.hasLength(2));
3172 unittest.expect(o[0], unittest.equals('foo')); 3310 unittest.expect(o[0], unittest.equals('foo'));
(...skipping 17 matching lines...) Expand all
3190 var o = new core.List<core.String>(); 3328 var o = new core.List<core.String>();
3191 o.add("foo"); 3329 o.add("foo");
3192 o.add("foo"); 3330 o.add("foo");
3193 return o; 3331 return o;
3194 } 3332 }
3195 3333
3196 checkUnnamed858(core.List<core.String> o) { 3334 checkUnnamed858(core.List<core.String> o) {
3197 unittest.expect(o, unittest.hasLength(2)); 3335 unittest.expect(o, unittest.hasLength(2));
3198 unittest.expect(o[0], unittest.equals('foo')); 3336 unittest.expect(o[0], unittest.equals('foo'));
3199 unittest.expect(o[1], unittest.equals('foo')); 3337 unittest.expect(o[1], unittest.equals('foo'));
3200 }
3201
3202 buildUnnamed859() {
3203 var o = new core.List<core.String>();
3204 o.add("foo");
3205 o.add("foo");
3206 return o;
3207 }
3208
3209 checkUnnamed859(core.List<core.String> o) {
3210 unittest.expect(o, unittest.hasLength(2));
3211 unittest.expect(o[0], unittest.equals('foo'));
3212 unittest.expect(o[1], unittest.equals('foo'));
3213 }
3214
3215 buildUnnamed860() {
3216 var o = new core.List<core.String>();
3217 o.add("foo");
3218 o.add("foo");
3219 return o;
3220 }
3221
3222 checkUnnamed860(core.List<core.String> o) {
3223 unittest.expect(o, unittest.hasLength(2));
3224 unittest.expect(o[0], unittest.equals('foo'));
3225 unittest.expect(o[1], unittest.equals('foo'));
3226 }
3227
3228 buildUnnamed861() {
3229 var o = new core.List<core.String>();
3230 o.add("foo");
3231 o.add("foo");
3232 return o;
3233 }
3234
3235 checkUnnamed861(core.List<core.String> o) {
3236 unittest.expect(o, unittest.hasLength(2));
3237 unittest.expect(o[0], unittest.equals('foo'));
3238 unittest.expect(o[1], unittest.equals('foo'));
3239 }
3240
3241 buildUnnamed862() {
3242 var o = new core.List<core.String>();
3243 o.add("foo");
3244 o.add("foo");
3245 return o;
3246 }
3247
3248 checkUnnamed862(core.List<core.String> o) {
3249 unittest.expect(o, unittest.hasLength(2));
3250 unittest.expect(o[0], unittest.equals('foo'));
3251 unittest.expect(o[1], unittest.equals('foo'));
3252 }
3253
3254 buildUnnamed863() {
3255 var o = new core.List<core.String>();
3256 o.add("foo");
3257 o.add("foo");
3258 return o;
3259 }
3260
3261 checkUnnamed863(core.List<core.String> o) {
3262 unittest.expect(o, unittest.hasLength(2));
3263 unittest.expect(o[0], unittest.equals('foo'));
3264 unittest.expect(o[1], unittest.equals('foo'));
3265 }
3266
3267 buildUnnamed864() {
3268 var o = new core.List<core.String>();
3269 o.add("foo");
3270 o.add("foo");
3271 return o;
3272 }
3273
3274 checkUnnamed864(core.List<core.String> o) {
3275 unittest.expect(o, unittest.hasLength(2));
3276 unittest.expect(o[0], unittest.equals('foo'));
3277 unittest.expect(o[1], unittest.equals('foo'));
3278 }
3279
3280 buildUnnamed865() {
3281 var o = new core.List<core.String>();
3282 o.add("foo");
3283 o.add("foo");
3284 return o;
3285 }
3286
3287 checkUnnamed865(core.List<core.String> o) {
3288 unittest.expect(o, unittest.hasLength(2));
3289 unittest.expect(o[0], unittest.equals('foo'));
3290 unittest.expect(o[1], unittest.equals('foo'));
3291 }
3292
3293 buildUnnamed866() {
3294 var o = new core.List<core.String>();
3295 o.add("foo");
3296 o.add("foo");
3297 return o;
3298 }
3299
3300 checkUnnamed866(core.List<core.String> o) {
3301 unittest.expect(o, unittest.hasLength(2));
3302 unittest.expect(o[0], unittest.equals('foo'));
3303 unittest.expect(o[1], unittest.equals('foo'));
3304 }
3305
3306 buildUnnamed867() {
3307 var o = new core.List<core.String>();
3308 o.add("foo");
3309 o.add("foo");
3310 return o;
3311 }
3312
3313 checkUnnamed867(core.List<core.String> o) {
3314 unittest.expect(o, unittest.hasLength(2));
3315 unittest.expect(o[0], unittest.equals('foo'));
3316 unittest.expect(o[1], unittest.equals('foo'));
3317 } 3338 }
3318 3339
3319 3340
3320 main() { 3341 main() {
3321 unittest.group("obj-schema-AnnotationClientVersionRanges", () { 3342 unittest.group("obj-schema-AnnotationClientVersionRanges", () {
3322 unittest.test("to-json--from-json", () { 3343 unittest.test("to-json--from-json", () {
3323 var o = buildAnnotationClientVersionRanges(); 3344 var o = buildAnnotationClientVersionRanges();
3324 var od = new api.AnnotationClientVersionRanges.fromJson(o.toJson()); 3345 var od = new api.AnnotationClientVersionRanges.fromJson(o.toJson());
3325 checkAnnotationClientVersionRanges(od); 3346 checkAnnotationClientVersionRanges(od);
3326 }); 3347 });
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
3905 3926
3906 unittest.group("obj-schema-UsersettingsNotificationMoreFromSeries", () { 3927 unittest.group("obj-schema-UsersettingsNotificationMoreFromSeries", () {
3907 unittest.test("to-json--from-json", () { 3928 unittest.test("to-json--from-json", () {
3908 var o = buildUsersettingsNotificationMoreFromSeries(); 3929 var o = buildUsersettingsNotificationMoreFromSeries();
3909 var od = new api.UsersettingsNotificationMoreFromSeries.fromJson(o.toJson( )); 3930 var od = new api.UsersettingsNotificationMoreFromSeries.fromJson(o.toJson( ));
3910 checkUsersettingsNotificationMoreFromSeries(od); 3931 checkUsersettingsNotificationMoreFromSeries(od);
3911 }); 3932 });
3912 }); 3933 });
3913 3934
3914 3935
3936 unittest.group("obj-schema-UsersettingsNotificationRewardExpirations", () {
3937 unittest.test("to-json--from-json", () {
3938 var o = buildUsersettingsNotificationRewardExpirations();
3939 var od = new api.UsersettingsNotificationRewardExpirations.fromJson(o.toJs on());
3940 checkUsersettingsNotificationRewardExpirations(od);
3941 });
3942 });
3943
3944
3915 unittest.group("obj-schema-UsersettingsNotification", () { 3945 unittest.group("obj-schema-UsersettingsNotification", () {
3916 unittest.test("to-json--from-json", () { 3946 unittest.test("to-json--from-json", () {
3917 var o = buildUsersettingsNotification(); 3947 var o = buildUsersettingsNotification();
3918 var od = new api.UsersettingsNotification.fromJson(o.toJson()); 3948 var od = new api.UsersettingsNotification.fromJson(o.toJson());
3919 checkUsersettingsNotification(od); 3949 checkUsersettingsNotification(od);
3920 }); 3950 });
3921 }); 3951 });
3922 3952
3923 3953
3924 unittest.group("obj-schema-Usersettings", () { 3954 unittest.group("obj-schema-Usersettings", () {
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
4826 }))); 4856 })));
4827 }); 4857 });
4828 4858
4829 unittest.test("method--list", () { 4859 unittest.test("method--list", () {
4830 4860
4831 var mock = new HttpServerMock(); 4861 var mock = new HttpServerMock();
4832 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an notationData; 4862 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an notationData;
4833 var arg_volumeId = "foo"; 4863 var arg_volumeId = "foo";
4834 var arg_layerId = "foo"; 4864 var arg_layerId = "foo";
4835 var arg_contentVersion = "foo"; 4865 var arg_contentVersion = "foo";
4836 var arg_annotationDataId = buildUnnamed856(); 4866 var arg_annotationDataId = buildUnnamed847();
4837 var arg_h = 42; 4867 var arg_h = 42;
4838 var arg_locale = "foo"; 4868 var arg_locale = "foo";
4839 var arg_maxResults = 42; 4869 var arg_maxResults = 42;
4840 var arg_pageToken = "foo"; 4870 var arg_pageToken = "foo";
4841 var arg_scale = 42; 4871 var arg_scale = 42;
4842 var arg_source = "foo"; 4872 var arg_source = "foo";
4843 var arg_updatedMax = "foo"; 4873 var arg_updatedMax = "foo";
4844 var arg_updatedMin = "foo"; 4874 var arg_updatedMin = "foo";
4845 var arg_w = 42; 4875 var arg_w = 42;
4846 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4876 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
5111 }), true); 5141 }), true);
5112 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons e) { 5142 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons e) {
5113 checkUsersettings(response); 5143 checkUsersettings(response);
5114 }))); 5144 })));
5115 }); 5145 });
5116 5146
5117 unittest.test("method--releaseDownloadAccess", () { 5147 unittest.test("method--releaseDownloadAccess", () {
5118 5148
5119 var mock = new HttpServerMock(); 5149 var mock = new HttpServerMock();
5120 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; 5150 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
5121 var arg_volumeIds = buildUnnamed857(); 5151 var arg_volumeIds = buildUnnamed848();
5122 var arg_cpksver = "foo"; 5152 var arg_cpksver = "foo";
5123 var arg_locale = "foo"; 5153 var arg_locale = "foo";
5124 var arg_source = "foo"; 5154 var arg_source = "foo";
5125 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5155 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5126 var path = (req.url).path; 5156 var path = (req.url).path;
5127 var pathOffset = 0; 5157 var pathOffset = 0;
5128 var index; 5158 var index;
5129 var subPart; 5159 var subPart;
5130 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5160 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5131 pathOffset += 1; 5161 pathOffset += 1;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
5224 }))); 5254 })));
5225 }); 5255 });
5226 5256
5227 unittest.test("method--syncVolumeLicenses", () { 5257 unittest.test("method--syncVolumeLicenses", () {
5228 5258
5229 var mock = new HttpServerMock(); 5259 var mock = new HttpServerMock();
5230 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; 5260 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
5231 var arg_source = "foo"; 5261 var arg_source = "foo";
5232 var arg_nonce = "foo"; 5262 var arg_nonce = "foo";
5233 var arg_cpksver = "foo"; 5263 var arg_cpksver = "foo";
5234 var arg_features = buildUnnamed858(); 5264 var arg_features = buildUnnamed849();
5235 var arg_includeNonComicsSeries = true; 5265 var arg_includeNonComicsSeries = true;
5236 var arg_locale = "foo"; 5266 var arg_locale = "foo";
5237 var arg_showPreorders = true; 5267 var arg_showPreorders = true;
5238 var arg_volumeIds = buildUnnamed859(); 5268 var arg_volumeIds = buildUnnamed850();
5239 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5269 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5240 var path = (req.url).path; 5270 var path = (req.url).path;
5241 var pathOffset = 0; 5271 var pathOffset = 0;
5242 var index; 5272 var index;
5243 var subPart; 5273 var subPart;
5244 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5274 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5245 pathOffset += 1; 5275 pathOffset += 1;
5246 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 5276 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
5247 pathOffset += 9; 5277 pathOffset += 9;
5248 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq uals("myconfig/syncVolumeLicenses")); 5278 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq uals("myconfig/syncVolumeLicenses"));
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
5385 return new async.Future.value(stringResponse(200, h, resp)); 5415 return new async.Future.value(stringResponse(200, h, resp));
5386 }), true); 5416 }), true);
5387 res.delete(arg_annotationId, source: arg_source).then(unittest.expectAsync ((_) {})); 5417 res.delete(arg_annotationId, source: arg_source).then(unittest.expectAsync ((_) {}));
5388 }); 5418 });
5389 5419
5390 unittest.test("method--insert", () { 5420 unittest.test("method--insert", () {
5391 5421
5392 var mock = new HttpServerMock(); 5422 var mock = new HttpServerMock();
5393 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary .annotations; 5423 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary .annotations;
5394 var arg_request = buildAnnotation(); 5424 var arg_request = buildAnnotation();
5425 var arg_annotationId = "foo";
5395 var arg_country = "foo"; 5426 var arg_country = "foo";
5396 var arg_showOnlySummaryInResponse = true; 5427 var arg_showOnlySummaryInResponse = true;
5397 var arg_source = "foo"; 5428 var arg_source = "foo";
5398 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5429 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5399 var obj = new api.Annotation.fromJson(json); 5430 var obj = new api.Annotation.fromJson(json);
5400 checkAnnotation(obj); 5431 checkAnnotation(obj);
5401 5432
5402 var path = (req.url).path; 5433 var path = (req.url).path;
5403 var pathOffset = 0; 5434 var pathOffset = 0;
5404 var index; 5435 var index;
(...skipping 14 matching lines...) Expand all
5419 if (n == "false") return false; 5450 if (n == "false") return false;
5420 if (n == null) return null; 5451 if (n == null) return null;
5421 throw new core.ArgumentError("Invalid boolean: $n"); 5452 throw new core.ArgumentError("Invalid boolean: $n");
5422 } 5453 }
5423 if (query.length > 0) { 5454 if (query.length > 0) {
5424 for (var part in query.split("&")) { 5455 for (var part in query.split("&")) {
5425 var keyvalue = part.split("="); 5456 var keyvalue = part.split("=");
5426 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 5457 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
5427 } 5458 }
5428 } 5459 }
5460 unittest.expect(queryMap["annotationId"].first, unittest.equals(arg_anno tationId));
5429 unittest.expect(queryMap["country"].first, unittest.equals(arg_country)) ; 5461 unittest.expect(queryMap["country"].first, unittest.equals(arg_country)) ;
5430 unittest.expect(queryMap["showOnlySummaryInResponse"].first, unittest.eq uals("$arg_showOnlySummaryInResponse")); 5462 unittest.expect(queryMap["showOnlySummaryInResponse"].first, unittest.eq uals("$arg_showOnlySummaryInResponse"));
5431 unittest.expect(queryMap["source"].first, unittest.equals(arg_source)); 5463 unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
5432 5464
5433 5465
5434 var h = { 5466 var h = {
5435 "content-type" : "application/json; charset=utf-8", 5467 "content-type" : "application/json; charset=utf-8",
5436 }; 5468 };
5437 var resp = convert.JSON.encode(buildAnnotation()); 5469 var resp = convert.JSON.encode(buildAnnotation());
5438 return new async.Future.value(stringResponse(200, h, resp)); 5470 return new async.Future.value(stringResponse(200, h, resp));
5439 }), true); 5471 }), true);
5440 res.insert(arg_request, country: arg_country, showOnlySummaryInResponse: a rg_showOnlySummaryInResponse, source: arg_source).then(unittest.expectAsync(((ap i.Annotation response) { 5472 res.insert(arg_request, annotationId: arg_annotationId, country: arg_count ry, showOnlySummaryInResponse: arg_showOnlySummaryInResponse, source: arg_source ).then(unittest.expectAsync(((api.Annotation response) {
5441 checkAnnotation(response); 5473 checkAnnotation(response);
5442 }))); 5474 })));
5443 }); 5475 });
5444 5476
5445 unittest.test("method--list", () { 5477 unittest.test("method--list", () {
5446 5478
5447 var mock = new HttpServerMock(); 5479 var mock = new HttpServerMock();
5448 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary .annotations; 5480 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary .annotations;
5449 var arg_contentVersion = "foo"; 5481 var arg_contentVersion = "foo";
5450 var arg_layerId = "foo"; 5482 var arg_layerId = "foo";
5451 var arg_layerIds = buildUnnamed860(); 5483 var arg_layerIds = buildUnnamed851();
5452 var arg_maxResults = 42; 5484 var arg_maxResults = 42;
5453 var arg_pageToken = "foo"; 5485 var arg_pageToken = "foo";
5454 var arg_showDeleted = true; 5486 var arg_showDeleted = true;
5455 var arg_source = "foo"; 5487 var arg_source = "foo";
5456 var arg_updatedMax = "foo"; 5488 var arg_updatedMax = "foo";
5457 var arg_updatedMin = "foo"; 5489 var arg_updatedMin = "foo";
5458 var arg_volumeId = "foo"; 5490 var arg_volumeId = "foo";
5459 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5491 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5460 var path = (req.url).path; 5492 var path = (req.url).path;
5461 var pathOffset = 0; 5493 var pathOffset = 0;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
5504 }), true); 5536 }), true);
5505 res.list(contentVersion: arg_contentVersion, layerId: arg_layerId, layerId s: arg_layerIds, maxResults: arg_maxResults, pageToken: arg_pageToken, showDelet ed: arg_showDeleted, source: arg_source, updatedMax: arg_updatedMax, updatedMin: arg_updatedMin, volumeId: arg_volumeId).then(unittest.expectAsync(((api.Annotat ions response) { 5537 res.list(contentVersion: arg_contentVersion, layerId: arg_layerId, layerId s: arg_layerIds, maxResults: arg_maxResults, pageToken: arg_pageToken, showDelet ed: arg_showDeleted, source: arg_source, updatedMax: arg_updatedMax, updatedMin: arg_updatedMin, volumeId: arg_volumeId).then(unittest.expectAsync(((api.Annotat ions response) {
5506 checkAnnotations(response); 5538 checkAnnotations(response);
5507 }))); 5539 })));
5508 }); 5540 });
5509 5541
5510 unittest.test("method--summary", () { 5542 unittest.test("method--summary", () {
5511 5543
5512 var mock = new HttpServerMock(); 5544 var mock = new HttpServerMock();
5513 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary .annotations; 5545 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary .annotations;
5514 var arg_layerIds = buildUnnamed861(); 5546 var arg_layerIds = buildUnnamed852();
5515 var arg_volumeId = "foo"; 5547 var arg_volumeId = "foo";
5516 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5548 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5517 var path = (req.url).path; 5549 var path = (req.url).path;
5518 var pathOffset = 0; 5550 var pathOffset = 0;
5519 var index; 5551 var index;
5520 var subPart; 5552 var subPart;
5521 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5553 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5522 pathOffset += 1; 5554 pathOffset += 1;
5523 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 5555 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
5524 pathOffset += 9; 5556 pathOffset += 9;
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
6231 }), true); 6263 }), true);
6232 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat egory response) { 6264 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat egory response) {
6233 checkCategory(response); 6265 checkCategory(response);
6234 }))); 6266 })));
6235 }); 6267 });
6236 6268
6237 unittest.test("method--listCategoryVolumes", () { 6269 unittest.test("method--listCategoryVolumes", () {
6238 6270
6239 var mock = new HttpServerMock(); 6271 var mock = new HttpServerMock();
6240 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding; 6272 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding;
6241 var arg_categoryId = buildUnnamed862(); 6273 var arg_categoryId = buildUnnamed853();
6242 var arg_locale = "foo"; 6274 var arg_locale = "foo";
6243 var arg_maxAllowedMaturityRating = "foo"; 6275 var arg_maxAllowedMaturityRating = "foo";
6244 var arg_pageSize = 42; 6276 var arg_pageSize = 42;
6245 var arg_pageToken = "foo"; 6277 var arg_pageToken = "foo";
6246 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6278 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6247 var path = (req.url).path; 6279 var path = (req.url).path;
6248 var pathOffset = 0; 6280 var pathOffset = 0;
6249 var index; 6281 var index;
6250 var subPart; 6282 var subPart;
6251 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6283 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
6522 }); 6554 });
6523 6555
6524 }); 6556 });
6525 6557
6526 6558
6527 unittest.group("resource-SeriesResourceApi", () { 6559 unittest.group("resource-SeriesResourceApi", () {
6528 unittest.test("method--get", () { 6560 unittest.test("method--get", () {
6529 6561
6530 var mock = new HttpServerMock(); 6562 var mock = new HttpServerMock();
6531 api.SeriesResourceApi res = new api.BooksApi(mock).series; 6563 api.SeriesResourceApi res = new api.BooksApi(mock).series;
6532 var arg_seriesId = buildUnnamed863(); 6564 var arg_seriesId = buildUnnamed854();
6533 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6565 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6534 var path = (req.url).path; 6566 var path = (req.url).path;
6535 var pathOffset = 0; 6567 var pathOffset = 0;
6536 var index; 6568 var index;
6537 var subPart; 6569 var subPart;
6538 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6570 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6539 pathOffset += 1; 6571 pathOffset += 1;
6540 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 6572 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
6541 pathOffset += 9; 6573 pathOffset += 9;
6542 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq uals("series/get")); 6574 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq uals("series/get"));
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
6831 }); 6863 });
6832 6864
6833 }); 6865 });
6834 6866
6835 6867
6836 unittest.group("resource-VolumesMybooksResourceApi", () { 6868 unittest.group("resource-VolumesMybooksResourceApi", () {
6837 unittest.test("method--list", () { 6869 unittest.test("method--list", () {
6838 6870
6839 var mock = new HttpServerMock(); 6871 var mock = new HttpServerMock();
6840 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks ; 6872 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks ;
6841 var arg_acquireMethod = buildUnnamed864(); 6873 var arg_acquireMethod = buildUnnamed855();
6842 var arg_country = "foo"; 6874 var arg_country = "foo";
6843 var arg_locale = "foo"; 6875 var arg_locale = "foo";
6844 var arg_maxResults = 42; 6876 var arg_maxResults = 42;
6845 var arg_processingState = buildUnnamed865(); 6877 var arg_processingState = buildUnnamed856();
6846 var arg_source = "foo"; 6878 var arg_source = "foo";
6847 var arg_startIndex = 42; 6879 var arg_startIndex = 42;
6848 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6880 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6849 var path = (req.url).path; 6881 var path = (req.url).path;
6850 var pathOffset = 0; 6882 var pathOffset = 0;
6851 var index; 6883 var index;
6852 var subPart; 6884 var subPart;
6853 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6885 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6854 pathOffset += 1; 6886 pathOffset += 1;
6855 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 6887 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
7004 }); 7036 });
7005 7037
7006 7038
7007 unittest.group("resource-VolumesUseruploadedResourceApi", () { 7039 unittest.group("resource-VolumesUseruploadedResourceApi", () {
7008 unittest.test("method--list", () { 7040 unittest.test("method--list", () {
7009 7041
7010 var mock = new HttpServerMock(); 7042 var mock = new HttpServerMock();
7011 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us eruploaded; 7043 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us eruploaded;
7012 var arg_locale = "foo"; 7044 var arg_locale = "foo";
7013 var arg_maxResults = 42; 7045 var arg_maxResults = 42;
7014 var arg_processingState = buildUnnamed866(); 7046 var arg_processingState = buildUnnamed857();
7015 var arg_source = "foo"; 7047 var arg_source = "foo";
7016 var arg_startIndex = 42; 7048 var arg_startIndex = 42;
7017 var arg_volumeId = buildUnnamed867(); 7049 var arg_volumeId = buildUnnamed858();
7018 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 7050 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
7019 var path = (req.url).path; 7051 var path = (req.url).path;
7020 var pathOffset = 0; 7052 var pathOffset = 0;
7021 var index; 7053 var index;
7022 var subPart; 7054 var subPart;
7023 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 7055 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
7024 pathOffset += 1; 7056 pathOffset += 1;
7025 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 7057 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
7026 pathOffset += 9; 7058 pathOffset += 9;
7027 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq uals("volumes/useruploaded")); 7059 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq uals("volumes/useruploaded"));
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
7060 res.list(locale: arg_locale, maxResults: arg_maxResults, processingState: arg_processingState, source: arg_source, startIndex: arg_startIndex, volumeId: a rg_volumeId).then(unittest.expectAsync(((api.Volumes response) { 7092 res.list(locale: arg_locale, maxResults: arg_maxResults, processingState: arg_processingState, source: arg_source, startIndex: arg_startIndex, volumeId: a rg_volumeId).then(unittest.expectAsync(((api.Volumes response) {
7061 checkVolumes(response); 7093 checkVolumes(response);
7062 }))); 7094 })));
7063 }); 7095 });
7064 7096
7065 }); 7097 });
7066 7098
7067 7099
7068 } 7100 }
7069 7101
OLDNEW
« no previous file with comments | « generated/googleapis/test/blogger/v3_test.dart ('k') | generated/googleapis/test/calendar/v3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698