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

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

Issue 1797933002: Api-roll 33: 2016-03-14 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Added resources/*/CHANGELOG.md, addresssed comments Created 4 years, 9 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 buildUnnamed1131() { 131 buildUnnamed1391() {
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 checkUnnamed1131(core.List<core.String> o) { 138 checkUnnamed1391(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 = buildUnnamed1131(); 161 o.pageIds = buildUnnamed1391();
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 checkUnnamed1131(o.pageIds); 186 checkUnnamed1391(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 buildUnnamed1132() { 230 buildUnnamed1392() {
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 checkUnnamed1132(core.List<api.Annotation> o) { 237 checkUnnamed1392(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 = buildUnnamed1132(); 248 o.items = buildUnnamed1392();
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 checkUnnamed1132(o.items); 260 checkUnnamed1392(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 buildUnnamed1133() { 295 buildUnnamed1393() {
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 checkUnnamed1133(core.List<api.AnnotationsSummaryLayers> o) { 302 checkUnnamed1393(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 = buildUnnamed1133(); 314 o.layers = buildUnnamed1393();
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 checkUnnamed1133(o.layers); 324 checkUnnamed1393(o.layers);
325 } 325 }
326 buildCounterAnnotationsSummary--; 326 buildCounterAnnotationsSummary--;
327 } 327 }
328 328
329 buildUnnamed1134() { 329 buildUnnamed1394() {
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 checkUnnamed1134(core.List<api.Annotationdata> o) { 336 checkUnnamed1394(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 = buildUnnamed1134(); 347 o.items = buildUnnamed1394();
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 checkUnnamed1134(o.items); 359 checkUnnamed1394(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 buildUnnamed1135() { 473 buildUnnamed1395() {
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 checkUnnamed1135(core.List<api.Bookshelf> o) { 480 checkUnnamed1395(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 = buildUnnamed1135(); 491 o.items = buildUnnamed1395();
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 checkUnnamed1135(o.items); 501 checkUnnamed1395(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 buildUnnamed1136() { 530 buildUnnamed1396() {
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 checkUnnamed1136(core.List<api.CategoryItems> o) { 537 checkUnnamed1396(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 = buildUnnamed1136(); 548 o.items = buildUnnamed1396();
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 checkUnnamed1136(o.items); 558 checkUnnamed1396(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 buildUnnamed1137() { 685 buildUnnamed1397() {
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 checkUnnamed1137(core.List<api.DictlayerdataDictWordsDerivatives> o) { 692 checkUnnamed1397(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 buildUnnamed1138() { 740 buildUnnamed1398() {
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 checkUnnamed1138(core.List<api.DictlayerdataDictWordsExamples> o) { 747 checkUnnamed1398(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 buildUnnamed1139() { 774 buildUnnamed1399() {
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 checkUnnamed1139(core.List<api.DictlayerdataDictWordsSensesConjugations> o) { 781 checkUnnamed1399(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 buildUnnamed1140() { 829 buildUnnamed1400() {
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 checkUnnamed1140(core.List<api.DictlayerdataDictWordsSensesDefinitionsExamples> o) { 836 checkUnnamed1400(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 = buildUnnamed1140(); 848 o.examples = buildUnnamed1400();
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 checkUnnamed1140(o.examples); 858 checkUnnamed1400(o.examples);
859 } 859 }
860 buildCounterDictlayerdataDictWordsSensesDefinitions--; 860 buildCounterDictlayerdataDictWordsSensesDefinitions--;
861 } 861 }
862 862
863 buildUnnamed1141() { 863 buildUnnamed1401() {
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 checkUnnamed1141(core.List<api.DictlayerdataDictWordsSensesDefinitions> o) { 870 checkUnnamed1401(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 buildUnnamed1142() { 939 buildUnnamed1402() {
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 checkUnnamed1142(core.List<api.DictlayerdataDictWordsSensesSynonyms> o) { 946 checkUnnamed1402(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 = buildUnnamed1139(); 957 o.conjugations = buildUnnamed1399();
958 o.definitions = buildUnnamed1141(); 958 o.definitions = buildUnnamed1401();
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 = buildUnnamed1142(); 964 o.synonyms = buildUnnamed1402();
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 checkUnnamed1139(o.conjugations); 973 checkUnnamed1399(o.conjugations);
974 checkUnnamed1141(o.definitions); 974 checkUnnamed1401(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 checkUnnamed1142(o.synonyms); 980 checkUnnamed1402(o.synonyms);
981 } 981 }
982 buildCounterDictlayerdataDictWordsSenses--; 982 buildCounterDictlayerdataDictWordsSenses--;
983 } 983 }
984 984
985 buildUnnamed1143() { 985 buildUnnamed1403() {
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 checkUnnamed1143(core.List<api.DictlayerdataDictWordsSenses> o) { 992 checkUnnamed1403(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 = buildUnnamed1137(); 1024 o.derivatives = buildUnnamed1397();
1025 o.examples = buildUnnamed1138(); 1025 o.examples = buildUnnamed1398();
1026 o.senses = buildUnnamed1143(); 1026 o.senses = buildUnnamed1403();
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 checkUnnamed1137(o.derivatives); 1036 checkUnnamed1397(o.derivatives);
1037 checkUnnamed1138(o.examples); 1037 checkUnnamed1398(o.examples);
1038 checkUnnamed1143(o.senses); 1038 checkUnnamed1403(o.senses);
1039 checkDictlayerdataDictWordsSource(o.source); 1039 checkDictlayerdataDictWordsSource(o.source);
1040 } 1040 }
1041 buildCounterDictlayerdataDictWords--; 1041 buildCounterDictlayerdataDictWords--;
1042 } 1042 }
1043 1043
1044 buildUnnamed1144() { 1044 buildUnnamed1404() {
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 checkUnnamed1144(core.List<api.DictlayerdataDictWords> o) { 1051 checkUnnamed1404(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 = buildUnnamed1144(); 1063 o.words = buildUnnamed1404();
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 checkUnnamed1144(o.words); 1073 checkUnnamed1404(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 buildUnnamed1145() { 1130 buildUnnamed1405() {
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 checkUnnamed1145(core.List<api.Volume> o) { 1137 checkUnnamed1405(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 = buildUnnamed1145(); 1153 o.volumes = buildUnnamed1405();
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 checkUnnamed1145(o.volumes); 1167 checkUnnamed1405(o.volumes);
1168 } 1168 }
1169 buildCounterDiscoveryclustersClusters--; 1169 buildCounterDiscoveryclustersClusters--;
1170 } 1170 }
1171 1171
1172 buildUnnamed1146() { 1172 buildUnnamed1406() {
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 checkUnnamed1146(core.List<api.DiscoveryclustersClusters> o) { 1179 checkUnnamed1406(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 = buildUnnamed1146(); 1190 o.clusters = buildUnnamed1406();
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 checkUnnamed1146(o.clusters); 1201 checkUnnamed1406(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 buildUnnamed1147() { 1249 buildUnnamed1407() {
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 checkUnnamed1147(core.List<api.DownloadAccessRestriction> o) { 1256 checkUnnamed1407(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 = buildUnnamed1147(); 1267 o.downloadAccessList = buildUnnamed1407();
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 checkUnnamed1147(o.downloadAccessList); 1277 checkUnnamed1407(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 buildUnnamed1148() { 1331 buildUnnamed1408() {
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 checkUnnamed1148(core.List<api.GeolayerdataGeoBoundary> o) { 1338 checkUnnamed1408(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 buildUnnamed1149() { 1344 buildUnnamed1409() {
1345 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>(); 1345 var o = new core.List<core.List<api.GeolayerdataGeoBoundary>>();
1346 o.add(buildUnnamed1148()); 1346 o.add(buildUnnamed1408());
1347 o.add(buildUnnamed1148()); 1347 o.add(buildUnnamed1408());
1348 return o; 1348 return o;
1349 } 1349 }
1350 1350
1351 checkUnnamed1149(core.List<core.List<api.GeolayerdataGeoBoundary>> o) { 1351 checkUnnamed1409(core.List<core.List<api.GeolayerdataGeoBoundary>> o) {
1352 unittest.expect(o, unittest.hasLength(2)); 1352 unittest.expect(o, unittest.hasLength(2));
1353 checkUnnamed1148(o[0]); 1353 checkUnnamed1408(o[0]);
1354 checkUnnamed1148(o[1]); 1354 checkUnnamed1408(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 = buildUnnamed1149(); 1425 o.boundary = buildUnnamed1409();
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 checkUnnamed1149(o.boundary); 1441 checkUnnamed1409(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 buildUnnamed1150() { 1476 buildUnnamed1410() {
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 checkUnnamed1150(core.List<api.Layersummary> o) { 1483 checkUnnamed1410(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 = buildUnnamed1150(); 1494 o.items = buildUnnamed1410();
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 checkUnnamed1150(o.items); 1505 checkUnnamed1410(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 buildUnnamed1151() { 1512 buildUnnamed1411() {
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 checkUnnamed1151(core.List<core.String> o) { 1519 checkUnnamed1411(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 = buildUnnamed1151(); 1531 o.annotationTypes = buildUnnamed1411();
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 checkUnnamed1151(o.annotationTypes); 1552 checkUnnamed1411(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 buildUnnamed1152() { 1595 buildUnnamed1412() {
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 checkUnnamed1152(core.List<api.MetadataItems> o) { 1602 checkUnnamed1412(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 = buildUnnamed1152(); 1613 o.items = buildUnnamed1412();
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 checkUnnamed1152(o.items); 1623 checkUnnamed1412(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 core.int buildCounterNotification = 0; 1629 core.int buildCounterNotification = 0;
1630 buildNotification() { 1630 buildNotification() {
1631 var o = new api.Notification(); 1631 var o = new api.Notification();
1632 buildCounterNotification++; 1632 buildCounterNotification++;
1633 if (buildCounterNotification < 3) { 1633 if (buildCounterNotification < 3) {
1634 o.body = "foo"; 1634 o.body = "foo";
1635 o.dontShowNotification = true; 1635 o.dontShowNotification = true;
1636 o.iconUrl = "foo"; 1636 o.iconUrl = "foo";
1637 o.kind = "foo"; 1637 o.kind = "foo";
1638 o.notificationType = "foo"; 1638 o.notificationType = "foo";
1639 o.pcampaignId = "foo"; 1639 o.pcampaignId = "foo";
1640 o.reason = "foo";
1640 o.showNotificationSettingsAction = true; 1641 o.showNotificationSettingsAction = true;
1641 o.targetUrl = "foo"; 1642 o.targetUrl = "foo";
1642 o.title = "foo"; 1643 o.title = "foo";
1643 } 1644 }
1644 buildCounterNotification--; 1645 buildCounterNotification--;
1645 return o; 1646 return o;
1646 } 1647 }
1647 1648
1648 checkNotification(api.Notification o) { 1649 checkNotification(api.Notification o) {
1649 buildCounterNotification++; 1650 buildCounterNotification++;
1650 if (buildCounterNotification < 3) { 1651 if (buildCounterNotification < 3) {
1651 unittest.expect(o.body, unittest.equals('foo')); 1652 unittest.expect(o.body, unittest.equals('foo'));
1652 unittest.expect(o.dontShowNotification, unittest.isTrue); 1653 unittest.expect(o.dontShowNotification, unittest.isTrue);
1653 unittest.expect(o.iconUrl, unittest.equals('foo')); 1654 unittest.expect(o.iconUrl, unittest.equals('foo'));
1654 unittest.expect(o.kind, unittest.equals('foo')); 1655 unittest.expect(o.kind, unittest.equals('foo'));
1655 unittest.expect(o.notificationType, unittest.equals('foo')); 1656 unittest.expect(o.notificationType, unittest.equals('foo'));
1656 unittest.expect(o.pcampaignId, unittest.equals('foo')); 1657 unittest.expect(o.pcampaignId, unittest.equals('foo'));
1658 unittest.expect(o.reason, unittest.equals('foo'));
1657 unittest.expect(o.showNotificationSettingsAction, unittest.isTrue); 1659 unittest.expect(o.showNotificationSettingsAction, unittest.isTrue);
1658 unittest.expect(o.targetUrl, unittest.equals('foo')); 1660 unittest.expect(o.targetUrl, unittest.equals('foo'));
1659 unittest.expect(o.title, unittest.equals('foo')); 1661 unittest.expect(o.title, unittest.equals('foo'));
1660 } 1662 }
1661 buildCounterNotification--; 1663 buildCounterNotification--;
1662 } 1664 }
1663 1665
1664 core.int buildCounterOffersItemsItems = 0; 1666 core.int buildCounterOffersItemsItems = 0;
1665 buildOffersItemsItems() { 1667 buildOffersItemsItems() {
1666 var o = new api.OffersItemsItems(); 1668 var o = new api.OffersItemsItems();
(...skipping 16 matching lines...) Expand all
1683 unittest.expect(o.author, unittest.equals('foo')); 1685 unittest.expect(o.author, unittest.equals('foo'));
1684 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); 1686 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo'));
1685 unittest.expect(o.coverUrl, unittest.equals('foo')); 1687 unittest.expect(o.coverUrl, unittest.equals('foo'));
1686 unittest.expect(o.description, unittest.equals('foo')); 1688 unittest.expect(o.description, unittest.equals('foo'));
1687 unittest.expect(o.title, unittest.equals('foo')); 1689 unittest.expect(o.title, unittest.equals('foo'));
1688 unittest.expect(o.volumeId, unittest.equals('foo')); 1690 unittest.expect(o.volumeId, unittest.equals('foo'));
1689 } 1691 }
1690 buildCounterOffersItemsItems--; 1692 buildCounterOffersItemsItems--;
1691 } 1693 }
1692 1694
1693 buildUnnamed1153() { 1695 buildUnnamed1413() {
1694 var o = new core.List<api.OffersItemsItems>(); 1696 var o = new core.List<api.OffersItemsItems>();
1695 o.add(buildOffersItemsItems()); 1697 o.add(buildOffersItemsItems());
1696 o.add(buildOffersItemsItems()); 1698 o.add(buildOffersItemsItems());
1697 return o; 1699 return o;
1698 } 1700 }
1699 1701
1700 checkUnnamed1153(core.List<api.OffersItemsItems> o) { 1702 checkUnnamed1413(core.List<api.OffersItemsItems> o) {
1701 unittest.expect(o, unittest.hasLength(2)); 1703 unittest.expect(o, unittest.hasLength(2));
1702 checkOffersItemsItems(o[0]); 1704 checkOffersItemsItems(o[0]);
1703 checkOffersItemsItems(o[1]); 1705 checkOffersItemsItems(o[1]);
1704 } 1706 }
1705 1707
1706 core.int buildCounterOffersItems = 0; 1708 core.int buildCounterOffersItems = 0;
1707 buildOffersItems() { 1709 buildOffersItems() {
1708 var o = new api.OffersItems(); 1710 var o = new api.OffersItems();
1709 buildCounterOffersItems++; 1711 buildCounterOffersItems++;
1710 if (buildCounterOffersItems < 3) { 1712 if (buildCounterOffersItems < 3) {
1711 o.artUrl = "foo"; 1713 o.artUrl = "foo";
1712 o.gservicesKey = "foo"; 1714 o.gservicesKey = "foo";
1713 o.id = "foo"; 1715 o.id = "foo";
1714 o.items = buildUnnamed1153(); 1716 o.items = buildUnnamed1413();
1715 } 1717 }
1716 buildCounterOffersItems--; 1718 buildCounterOffersItems--;
1717 return o; 1719 return o;
1718 } 1720 }
1719 1721
1720 checkOffersItems(api.OffersItems o) { 1722 checkOffersItems(api.OffersItems o) {
1721 buildCounterOffersItems++; 1723 buildCounterOffersItems++;
1722 if (buildCounterOffersItems < 3) { 1724 if (buildCounterOffersItems < 3) {
1723 unittest.expect(o.artUrl, unittest.equals('foo')); 1725 unittest.expect(o.artUrl, unittest.equals('foo'));
1724 unittest.expect(o.gservicesKey, unittest.equals('foo')); 1726 unittest.expect(o.gservicesKey, unittest.equals('foo'));
1725 unittest.expect(o.id, unittest.equals('foo')); 1727 unittest.expect(o.id, unittest.equals('foo'));
1726 checkUnnamed1153(o.items); 1728 checkUnnamed1413(o.items);
1727 } 1729 }
1728 buildCounterOffersItems--; 1730 buildCounterOffersItems--;
1729 } 1731 }
1730 1732
1731 buildUnnamed1154() { 1733 buildUnnamed1414() {
1732 var o = new core.List<api.OffersItems>(); 1734 var o = new core.List<api.OffersItems>();
1733 o.add(buildOffersItems()); 1735 o.add(buildOffersItems());
1734 o.add(buildOffersItems()); 1736 o.add(buildOffersItems());
1735 return o; 1737 return o;
1736 } 1738 }
1737 1739
1738 checkUnnamed1154(core.List<api.OffersItems> o) { 1740 checkUnnamed1414(core.List<api.OffersItems> o) {
1739 unittest.expect(o, unittest.hasLength(2)); 1741 unittest.expect(o, unittest.hasLength(2));
1740 checkOffersItems(o[0]); 1742 checkOffersItems(o[0]);
1741 checkOffersItems(o[1]); 1743 checkOffersItems(o[1]);
1742 } 1744 }
1743 1745
1744 core.int buildCounterOffers = 0; 1746 core.int buildCounterOffers = 0;
1745 buildOffers() { 1747 buildOffers() {
1746 var o = new api.Offers(); 1748 var o = new api.Offers();
1747 buildCounterOffers++; 1749 buildCounterOffers++;
1748 if (buildCounterOffers < 3) { 1750 if (buildCounterOffers < 3) {
1749 o.items = buildUnnamed1154(); 1751 o.items = buildUnnamed1414();
1750 o.kind = "foo"; 1752 o.kind = "foo";
1751 } 1753 }
1752 buildCounterOffers--; 1754 buildCounterOffers--;
1753 return o; 1755 return o;
1754 } 1756 }
1755 1757
1756 checkOffers(api.Offers o) { 1758 checkOffers(api.Offers o) {
1757 buildCounterOffers++; 1759 buildCounterOffers++;
1758 if (buildCounterOffers < 3) { 1760 if (buildCounterOffers < 3) {
1759 checkUnnamed1154(o.items); 1761 checkUnnamed1414(o.items);
1760 unittest.expect(o.kind, unittest.equals('foo')); 1762 unittest.expect(o.kind, unittest.equals('foo'));
1761 } 1763 }
1762 buildCounterOffers--; 1764 buildCounterOffers--;
1763 } 1765 }
1764 1766
1765 core.int buildCounterReadingPosition = 0; 1767 core.int buildCounterReadingPosition = 0;
1766 buildReadingPosition() { 1768 buildReadingPosition() {
1767 var o = new api.ReadingPosition(); 1769 var o = new api.ReadingPosition();
1768 buildCounterReadingPosition++; 1770 buildCounterReadingPosition++;
1769 if (buildCounterReadingPosition < 3) { 1771 if (buildCounterReadingPosition < 3) {
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1915 if (buildCounterSeriesSeries < 3) { 1917 if (buildCounterSeriesSeries < 3) {
1916 unittest.expect(o.bannerImageUrl, unittest.equals('foo')); 1918 unittest.expect(o.bannerImageUrl, unittest.equals('foo'));
1917 unittest.expect(o.imageUrl, unittest.equals('foo')); 1919 unittest.expect(o.imageUrl, unittest.equals('foo'));
1918 unittest.expect(o.seriesId, unittest.equals('foo')); 1920 unittest.expect(o.seriesId, unittest.equals('foo'));
1919 unittest.expect(o.seriesType, unittest.equals('foo')); 1921 unittest.expect(o.seriesType, unittest.equals('foo'));
1920 unittest.expect(o.title, unittest.equals('foo')); 1922 unittest.expect(o.title, unittest.equals('foo'));
1921 } 1923 }
1922 buildCounterSeriesSeries--; 1924 buildCounterSeriesSeries--;
1923 } 1925 }
1924 1926
1925 buildUnnamed1155() { 1927 buildUnnamed1415() {
1926 var o = new core.List<api.SeriesSeries>(); 1928 var o = new core.List<api.SeriesSeries>();
1927 o.add(buildSeriesSeries()); 1929 o.add(buildSeriesSeries());
1928 o.add(buildSeriesSeries()); 1930 o.add(buildSeriesSeries());
1929 return o; 1931 return o;
1930 } 1932 }
1931 1933
1932 checkUnnamed1155(core.List<api.SeriesSeries> o) { 1934 checkUnnamed1415(core.List<api.SeriesSeries> o) {
1933 unittest.expect(o, unittest.hasLength(2)); 1935 unittest.expect(o, unittest.hasLength(2));
1934 checkSeriesSeries(o[0]); 1936 checkSeriesSeries(o[0]);
1935 checkSeriesSeries(o[1]); 1937 checkSeriesSeries(o[1]);
1936 } 1938 }
1937 1939
1938 core.int buildCounterSeries = 0; 1940 core.int buildCounterSeries = 0;
1939 buildSeries() { 1941 buildSeries() {
1940 var o = new api.Series(); 1942 var o = new api.Series();
1941 buildCounterSeries++; 1943 buildCounterSeries++;
1942 if (buildCounterSeries < 3) { 1944 if (buildCounterSeries < 3) {
1943 o.kind = "foo"; 1945 o.kind = "foo";
1944 o.series = buildUnnamed1155(); 1946 o.series = buildUnnamed1415();
1945 } 1947 }
1946 buildCounterSeries--; 1948 buildCounterSeries--;
1947 return o; 1949 return o;
1948 } 1950 }
1949 1951
1950 checkSeries(api.Series o) { 1952 checkSeries(api.Series o) {
1951 buildCounterSeries++; 1953 buildCounterSeries++;
1952 if (buildCounterSeries < 3) { 1954 if (buildCounterSeries < 3) {
1953 unittest.expect(o.kind, unittest.equals('foo')); 1955 unittest.expect(o.kind, unittest.equals('foo'));
1954 checkUnnamed1155(o.series); 1956 checkUnnamed1415(o.series);
1955 } 1957 }
1956 buildCounterSeries--; 1958 buildCounterSeries--;
1957 } 1959 }
1958 1960
1959 buildUnnamed1156() { 1961 buildUnnamed1416() {
1960 var o = new core.List<api.Volume>(); 1962 var o = new core.List<api.Volume>();
1961 o.add(buildVolume()); 1963 o.add(buildVolume());
1962 o.add(buildVolume()); 1964 o.add(buildVolume());
1963 return o; 1965 return o;
1964 } 1966 }
1965 1967
1966 checkUnnamed1156(core.List<api.Volume> o) { 1968 checkUnnamed1416(core.List<api.Volume> o) {
1967 unittest.expect(o, unittest.hasLength(2)); 1969 unittest.expect(o, unittest.hasLength(2));
1968 checkVolume(o[0]); 1970 checkVolume(o[0]);
1969 checkVolume(o[1]); 1971 checkVolume(o[1]);
1970 } 1972 }
1971 1973
1972 core.int buildCounterSeriesmembership = 0; 1974 core.int buildCounterSeriesmembership = 0;
1973 buildSeriesmembership() { 1975 buildSeriesmembership() {
1974 var o = new api.Seriesmembership(); 1976 var o = new api.Seriesmembership();
1975 buildCounterSeriesmembership++; 1977 buildCounterSeriesmembership++;
1976 if (buildCounterSeriesmembership < 3) { 1978 if (buildCounterSeriesmembership < 3) {
1977 o.kind = "foo"; 1979 o.kind = "foo";
1978 o.member = buildUnnamed1156(); 1980 o.member = buildUnnamed1416();
1979 o.nextPageToken = "foo"; 1981 o.nextPageToken = "foo";
1980 } 1982 }
1981 buildCounterSeriesmembership--; 1983 buildCounterSeriesmembership--;
1982 return o; 1984 return o;
1983 } 1985 }
1984 1986
1985 checkSeriesmembership(api.Seriesmembership o) { 1987 checkSeriesmembership(api.Seriesmembership o) {
1986 buildCounterSeriesmembership++; 1988 buildCounterSeriesmembership++;
1987 if (buildCounterSeriesmembership < 3) { 1989 if (buildCounterSeriesmembership < 3) {
1988 unittest.expect(o.kind, unittest.equals('foo')); 1990 unittest.expect(o.kind, unittest.equals('foo'));
1989 checkUnnamed1156(o.member); 1991 checkUnnamed1416(o.member);
1990 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1992 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1991 } 1993 }
1992 buildCounterSeriesmembership--; 1994 buildCounterSeriesmembership--;
1993 } 1995 }
1994 1996
1995 core.int buildCounterUsersettingsNotesExport = 0; 1997 core.int buildCounterUsersettingsNotesExport = 0;
1996 buildUsersettingsNotesExport() { 1998 buildUsersettingsNotesExport() {
1997 var o = new api.UsersettingsNotesExport(); 1999 var o = new api.UsersettingsNotesExport();
1998 buildCounterUsersettingsNotesExport++; 2000 buildCounterUsersettingsNotesExport++;
1999 if (buildCounterUsersettingsNotesExport < 3) { 2001 if (buildCounterUsersettingsNotesExport < 3) {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
2179 2181
2180 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) { 2182 checkVolumeLayerInfoLayers(api.VolumeLayerInfoLayers o) {
2181 buildCounterVolumeLayerInfoLayers++; 2183 buildCounterVolumeLayerInfoLayers++;
2182 if (buildCounterVolumeLayerInfoLayers < 3) { 2184 if (buildCounterVolumeLayerInfoLayers < 3) {
2183 unittest.expect(o.layerId, unittest.equals('foo')); 2185 unittest.expect(o.layerId, unittest.equals('foo'));
2184 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo')); 2186 unittest.expect(o.volumeAnnotationsVersion, unittest.equals('foo'));
2185 } 2187 }
2186 buildCounterVolumeLayerInfoLayers--; 2188 buildCounterVolumeLayerInfoLayers--;
2187 } 2189 }
2188 2190
2189 buildUnnamed1157() { 2191 buildUnnamed1417() {
2190 var o = new core.List<api.VolumeLayerInfoLayers>(); 2192 var o = new core.List<api.VolumeLayerInfoLayers>();
2191 o.add(buildVolumeLayerInfoLayers()); 2193 o.add(buildVolumeLayerInfoLayers());
2192 o.add(buildVolumeLayerInfoLayers()); 2194 o.add(buildVolumeLayerInfoLayers());
2193 return o; 2195 return o;
2194 } 2196 }
2195 2197
2196 checkUnnamed1157(core.List<api.VolumeLayerInfoLayers> o) { 2198 checkUnnamed1417(core.List<api.VolumeLayerInfoLayers> o) {
2197 unittest.expect(o, unittest.hasLength(2)); 2199 unittest.expect(o, unittest.hasLength(2));
2198 checkVolumeLayerInfoLayers(o[0]); 2200 checkVolumeLayerInfoLayers(o[0]);
2199 checkVolumeLayerInfoLayers(o[1]); 2201 checkVolumeLayerInfoLayers(o[1]);
2200 } 2202 }
2201 2203
2202 core.int buildCounterVolumeLayerInfo = 0; 2204 core.int buildCounterVolumeLayerInfo = 0;
2203 buildVolumeLayerInfo() { 2205 buildVolumeLayerInfo() {
2204 var o = new api.VolumeLayerInfo(); 2206 var o = new api.VolumeLayerInfo();
2205 buildCounterVolumeLayerInfo++; 2207 buildCounterVolumeLayerInfo++;
2206 if (buildCounterVolumeLayerInfo < 3) { 2208 if (buildCounterVolumeLayerInfo < 3) {
2207 o.layers = buildUnnamed1157(); 2209 o.layers = buildUnnamed1417();
2208 } 2210 }
2209 buildCounterVolumeLayerInfo--; 2211 buildCounterVolumeLayerInfo--;
2210 return o; 2212 return o;
2211 } 2213 }
2212 2214
2213 checkVolumeLayerInfo(api.VolumeLayerInfo o) { 2215 checkVolumeLayerInfo(api.VolumeLayerInfo o) {
2214 buildCounterVolumeLayerInfo++; 2216 buildCounterVolumeLayerInfo++;
2215 if (buildCounterVolumeLayerInfo < 3) { 2217 if (buildCounterVolumeLayerInfo < 3) {
2216 checkUnnamed1157(o.layers); 2218 checkUnnamed1417(o.layers);
2217 } 2219 }
2218 buildCounterVolumeLayerInfo--; 2220 buildCounterVolumeLayerInfo--;
2219 } 2221 }
2220 2222
2221 core.int buildCounterVolumeRecommendedInfo = 0; 2223 core.int buildCounterVolumeRecommendedInfo = 0;
2222 buildVolumeRecommendedInfo() { 2224 buildVolumeRecommendedInfo() {
2223 var o = new api.VolumeRecommendedInfo(); 2225 var o = new api.VolumeRecommendedInfo();
2224 buildCounterVolumeRecommendedInfo++; 2226 buildCounterVolumeRecommendedInfo++;
2225 if (buildCounterVolumeRecommendedInfo < 3) { 2227 if (buildCounterVolumeRecommendedInfo < 3) {
2226 o.explanation = "foo"; 2228 o.explanation = "foo";
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
2339 buildCounterVolumeSaleInfoOffers++; 2341 buildCounterVolumeSaleInfoOffers++;
2340 if (buildCounterVolumeSaleInfoOffers < 3) { 2342 if (buildCounterVolumeSaleInfoOffers < 3) {
2341 unittest.expect(o.finskyOfferType, unittest.equals(42)); 2343 unittest.expect(o.finskyOfferType, unittest.equals(42));
2342 checkVolumeSaleInfoOffersListPrice(o.listPrice); 2344 checkVolumeSaleInfoOffersListPrice(o.listPrice);
2343 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration); 2345 checkVolumeSaleInfoOffersRentalDuration(o.rentalDuration);
2344 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice); 2346 checkVolumeSaleInfoOffersRetailPrice(o.retailPrice);
2345 } 2347 }
2346 buildCounterVolumeSaleInfoOffers--; 2348 buildCounterVolumeSaleInfoOffers--;
2347 } 2349 }
2348 2350
2349 buildUnnamed1158() { 2351 buildUnnamed1418() {
2350 var o = new core.List<api.VolumeSaleInfoOffers>(); 2352 var o = new core.List<api.VolumeSaleInfoOffers>();
2351 o.add(buildVolumeSaleInfoOffers()); 2353 o.add(buildVolumeSaleInfoOffers());
2352 o.add(buildVolumeSaleInfoOffers()); 2354 o.add(buildVolumeSaleInfoOffers());
2353 return o; 2355 return o;
2354 } 2356 }
2355 2357
2356 checkUnnamed1158(core.List<api.VolumeSaleInfoOffers> o) { 2358 checkUnnamed1418(core.List<api.VolumeSaleInfoOffers> o) {
2357 unittest.expect(o, unittest.hasLength(2)); 2359 unittest.expect(o, unittest.hasLength(2));
2358 checkVolumeSaleInfoOffers(o[0]); 2360 checkVolumeSaleInfoOffers(o[0]);
2359 checkVolumeSaleInfoOffers(o[1]); 2361 checkVolumeSaleInfoOffers(o[1]);
2360 } 2362 }
2361 2363
2362 core.int buildCounterVolumeSaleInfoRetailPrice = 0; 2364 core.int buildCounterVolumeSaleInfoRetailPrice = 0;
2363 buildVolumeSaleInfoRetailPrice() { 2365 buildVolumeSaleInfoRetailPrice() {
2364 var o = new api.VolumeSaleInfoRetailPrice(); 2366 var o = new api.VolumeSaleInfoRetailPrice();
2365 buildCounterVolumeSaleInfoRetailPrice++; 2367 buildCounterVolumeSaleInfoRetailPrice++;
2366 if (buildCounterVolumeSaleInfoRetailPrice < 3) { 2368 if (buildCounterVolumeSaleInfoRetailPrice < 3) {
(...skipping 15 matching lines...) Expand all
2382 2384
2383 core.int buildCounterVolumeSaleInfo = 0; 2385 core.int buildCounterVolumeSaleInfo = 0;
2384 buildVolumeSaleInfo() { 2386 buildVolumeSaleInfo() {
2385 var o = new api.VolumeSaleInfo(); 2387 var o = new api.VolumeSaleInfo();
2386 buildCounterVolumeSaleInfo++; 2388 buildCounterVolumeSaleInfo++;
2387 if (buildCounterVolumeSaleInfo < 3) { 2389 if (buildCounterVolumeSaleInfo < 3) {
2388 o.buyLink = "foo"; 2390 o.buyLink = "foo";
2389 o.country = "foo"; 2391 o.country = "foo";
2390 o.isEbook = true; 2392 o.isEbook = true;
2391 o.listPrice = buildVolumeSaleInfoListPrice(); 2393 o.listPrice = buildVolumeSaleInfoListPrice();
2392 o.offers = buildUnnamed1158(); 2394 o.offers = buildUnnamed1418();
2393 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02"); 2395 o.onSaleDate = core.DateTime.parse("2002-02-27T14:01:02");
2394 o.retailPrice = buildVolumeSaleInfoRetailPrice(); 2396 o.retailPrice = buildVolumeSaleInfoRetailPrice();
2395 o.saleability = "foo"; 2397 o.saleability = "foo";
2396 } 2398 }
2397 buildCounterVolumeSaleInfo--; 2399 buildCounterVolumeSaleInfo--;
2398 return o; 2400 return o;
2399 } 2401 }
2400 2402
2401 checkVolumeSaleInfo(api.VolumeSaleInfo o) { 2403 checkVolumeSaleInfo(api.VolumeSaleInfo o) {
2402 buildCounterVolumeSaleInfo++; 2404 buildCounterVolumeSaleInfo++;
2403 if (buildCounterVolumeSaleInfo < 3) { 2405 if (buildCounterVolumeSaleInfo < 3) {
2404 unittest.expect(o.buyLink, unittest.equals('foo')); 2406 unittest.expect(o.buyLink, unittest.equals('foo'));
2405 unittest.expect(o.country, unittest.equals('foo')); 2407 unittest.expect(o.country, unittest.equals('foo'));
2406 unittest.expect(o.isEbook, unittest.isTrue); 2408 unittest.expect(o.isEbook, unittest.isTrue);
2407 checkVolumeSaleInfoListPrice(o.listPrice); 2409 checkVolumeSaleInfoListPrice(o.listPrice);
2408 checkUnnamed1158(o.offers); 2410 checkUnnamed1418(o.offers);
2409 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2 7T14:01:02"))); 2411 unittest.expect(o.onSaleDate, unittest.equals(core.DateTime.parse("2002-02-2 7T14:01:02")));
2410 checkVolumeSaleInfoRetailPrice(o.retailPrice); 2412 checkVolumeSaleInfoRetailPrice(o.retailPrice);
2411 unittest.expect(o.saleability, unittest.equals('foo')); 2413 unittest.expect(o.saleability, unittest.equals('foo'));
2412 } 2414 }
2413 buildCounterVolumeSaleInfo--; 2415 buildCounterVolumeSaleInfo--;
2414 } 2416 }
2415 2417
2416 core.int buildCounterVolumeSearchInfo = 0; 2418 core.int buildCounterVolumeSearchInfo = 0;
2417 buildVolumeSearchInfo() { 2419 buildVolumeSearchInfo() {
2418 var o = new api.VolumeSearchInfo(); 2420 var o = new api.VolumeSearchInfo();
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
2541 checkReadingPosition(o.readingPosition); 2543 checkReadingPosition(o.readingPosition);
2542 checkVolumeUserInfoRentalPeriod(o.rentalPeriod); 2544 checkVolumeUserInfoRentalPeriod(o.rentalPeriod);
2543 unittest.expect(o.rentalState, unittest.equals('foo')); 2545 unittest.expect(o.rentalState, unittest.equals('foo'));
2544 checkReview(o.review); 2546 checkReview(o.review);
2545 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 2547 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
2546 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo); 2548 checkVolumeUserInfoUserUploadedVolumeInfo(o.userUploadedVolumeInfo);
2547 } 2549 }
2548 buildCounterVolumeUserInfo--; 2550 buildCounterVolumeUserInfo--;
2549 } 2551 }
2550 2552
2551 buildUnnamed1159() { 2553 buildUnnamed1419() {
2552 var o = new core.List<core.String>(); 2554 var o = new core.List<core.String>();
2553 o.add("foo"); 2555 o.add("foo");
2554 o.add("foo"); 2556 o.add("foo");
2555 return o; 2557 return o;
2556 } 2558 }
2557 2559
2558 checkUnnamed1159(core.List<core.String> o) { 2560 checkUnnamed1419(core.List<core.String> o) {
2559 unittest.expect(o, unittest.hasLength(2)); 2561 unittest.expect(o, unittest.hasLength(2));
2560 unittest.expect(o[0], unittest.equals('foo')); 2562 unittest.expect(o[0], unittest.equals('foo'));
2561 unittest.expect(o[1], unittest.equals('foo')); 2563 unittest.expect(o[1], unittest.equals('foo'));
2562 } 2564 }
2563 2565
2564 buildUnnamed1160() { 2566 buildUnnamed1420() {
2565 var o = new core.List<core.String>(); 2567 var o = new core.List<core.String>();
2566 o.add("foo"); 2568 o.add("foo");
2567 o.add("foo"); 2569 o.add("foo");
2568 return o; 2570 return o;
2569 } 2571 }
2570 2572
2571 checkUnnamed1160(core.List<core.String> o) { 2573 checkUnnamed1420(core.List<core.String> o) {
2572 unittest.expect(o, unittest.hasLength(2)); 2574 unittest.expect(o, unittest.hasLength(2));
2573 unittest.expect(o[0], unittest.equals('foo')); 2575 unittest.expect(o[0], unittest.equals('foo'));
2574 unittest.expect(o[1], unittest.equals('foo')); 2576 unittest.expect(o[1], unittest.equals('foo'));
2575 } 2577 }
2576 2578
2577 core.int buildCounterVolumeVolumeInfoDimensions = 0; 2579 core.int buildCounterVolumeVolumeInfoDimensions = 0;
2578 buildVolumeVolumeInfoDimensions() { 2580 buildVolumeVolumeInfoDimensions() {
2579 var o = new api.VolumeVolumeInfoDimensions(); 2581 var o = new api.VolumeVolumeInfoDimensions();
2580 buildCounterVolumeVolumeInfoDimensions++; 2582 buildCounterVolumeVolumeInfoDimensions++;
2581 if (buildCounterVolumeVolumeInfoDimensions < 3) { 2583 if (buildCounterVolumeVolumeInfoDimensions < 3) {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
2640 2642
2641 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers o) { 2643 checkVolumeVolumeInfoIndustryIdentifiers(api.VolumeVolumeInfoIndustryIdentifiers o) {
2642 buildCounterVolumeVolumeInfoIndustryIdentifiers++; 2644 buildCounterVolumeVolumeInfoIndustryIdentifiers++;
2643 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) { 2645 if (buildCounterVolumeVolumeInfoIndustryIdentifiers < 3) {
2644 unittest.expect(o.identifier, unittest.equals('foo')); 2646 unittest.expect(o.identifier, unittest.equals('foo'));
2645 unittest.expect(o.type, unittest.equals('foo')); 2647 unittest.expect(o.type, unittest.equals('foo'));
2646 } 2648 }
2647 buildCounterVolumeVolumeInfoIndustryIdentifiers--; 2649 buildCounterVolumeVolumeInfoIndustryIdentifiers--;
2648 } 2650 }
2649 2651
2650 buildUnnamed1161() { 2652 buildUnnamed1421() {
2651 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>(); 2653 var o = new core.List<api.VolumeVolumeInfoIndustryIdentifiers>();
2652 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); 2654 o.add(buildVolumeVolumeInfoIndustryIdentifiers());
2653 o.add(buildVolumeVolumeInfoIndustryIdentifiers()); 2655 o.add(buildVolumeVolumeInfoIndustryIdentifiers());
2654 return o; 2656 return o;
2655 } 2657 }
2656 2658
2657 checkUnnamed1161(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) { 2659 checkUnnamed1421(core.List<api.VolumeVolumeInfoIndustryIdentifiers> o) {
2658 unittest.expect(o, unittest.hasLength(2)); 2660 unittest.expect(o, unittest.hasLength(2));
2659 checkVolumeVolumeInfoIndustryIdentifiers(o[0]); 2661 checkVolumeVolumeInfoIndustryIdentifiers(o[0]);
2660 checkVolumeVolumeInfoIndustryIdentifiers(o[1]); 2662 checkVolumeVolumeInfoIndustryIdentifiers(o[1]);
2661 } 2663 }
2662 2664
2663 core.int buildCounterVolumeVolumeInfo = 0; 2665 core.int buildCounterVolumeVolumeInfo = 0;
2664 buildVolumeVolumeInfo() { 2666 buildVolumeVolumeInfo() {
2665 var o = new api.VolumeVolumeInfo(); 2667 var o = new api.VolumeVolumeInfo();
2666 buildCounterVolumeVolumeInfo++; 2668 buildCounterVolumeVolumeInfo++;
2667 if (buildCounterVolumeVolumeInfo < 3) { 2669 if (buildCounterVolumeVolumeInfo < 3) {
2668 o.allowAnonLogging = true; 2670 o.allowAnonLogging = true;
2669 o.authors = buildUnnamed1159(); 2671 o.authors = buildUnnamed1419();
2670 o.averageRating = 42.0; 2672 o.averageRating = 42.0;
2671 o.canonicalVolumeLink = "foo"; 2673 o.canonicalVolumeLink = "foo";
2672 o.categories = buildUnnamed1160(); 2674 o.categories = buildUnnamed1420();
2673 o.contentVersion = "foo"; 2675 o.contentVersion = "foo";
2674 o.description = "foo"; 2676 o.description = "foo";
2675 o.dimensions = buildVolumeVolumeInfoDimensions(); 2677 o.dimensions = buildVolumeVolumeInfoDimensions();
2676 o.imageLinks = buildVolumeVolumeInfoImageLinks(); 2678 o.imageLinks = buildVolumeVolumeInfoImageLinks();
2677 o.industryIdentifiers = buildUnnamed1161(); 2679 o.industryIdentifiers = buildUnnamed1421();
2678 o.infoLink = "foo"; 2680 o.infoLink = "foo";
2679 o.language = "foo"; 2681 o.language = "foo";
2680 o.mainCategory = "foo"; 2682 o.mainCategory = "foo";
2681 o.maturityRating = "foo"; 2683 o.maturityRating = "foo";
2682 o.pageCount = 42; 2684 o.pageCount = 42;
2683 o.previewLink = "foo"; 2685 o.previewLink = "foo";
2684 o.printType = "foo"; 2686 o.printType = "foo";
2685 o.printedPageCount = 42; 2687 o.printedPageCount = 42;
2686 o.publishedDate = "foo"; 2688 o.publishedDate = "foo";
2687 o.publisher = "foo"; 2689 o.publisher = "foo";
2688 o.ratingsCount = 42; 2690 o.ratingsCount = 42;
2689 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 2691 o.readingModes = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
2690 o.samplePageCount = 42; 2692 o.samplePageCount = 42;
2691 o.seriesInfo = buildVolumeseriesinfo(); 2693 o.seriesInfo = buildVolumeseriesinfo();
2692 o.subtitle = "foo"; 2694 o.subtitle = "foo";
2693 o.title = "foo"; 2695 o.title = "foo";
2694 } 2696 }
2695 buildCounterVolumeVolumeInfo--; 2697 buildCounterVolumeVolumeInfo--;
2696 return o; 2698 return o;
2697 } 2699 }
2698 2700
2699 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) { 2701 checkVolumeVolumeInfo(api.VolumeVolumeInfo o) {
2700 buildCounterVolumeVolumeInfo++; 2702 buildCounterVolumeVolumeInfo++;
2701 if (buildCounterVolumeVolumeInfo < 3) { 2703 if (buildCounterVolumeVolumeInfo < 3) {
2702 unittest.expect(o.allowAnonLogging, unittest.isTrue); 2704 unittest.expect(o.allowAnonLogging, unittest.isTrue);
2703 checkUnnamed1159(o.authors); 2705 checkUnnamed1419(o.authors);
2704 unittest.expect(o.averageRating, unittest.equals(42.0)); 2706 unittest.expect(o.averageRating, unittest.equals(42.0));
2705 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo')); 2707 unittest.expect(o.canonicalVolumeLink, unittest.equals('foo'));
2706 checkUnnamed1160(o.categories); 2708 checkUnnamed1420(o.categories);
2707 unittest.expect(o.contentVersion, unittest.equals('foo')); 2709 unittest.expect(o.contentVersion, unittest.equals('foo'));
2708 unittest.expect(o.description, unittest.equals('foo')); 2710 unittest.expect(o.description, unittest.equals('foo'));
2709 checkVolumeVolumeInfoDimensions(o.dimensions); 2711 checkVolumeVolumeInfoDimensions(o.dimensions);
2710 checkVolumeVolumeInfoImageLinks(o.imageLinks); 2712 checkVolumeVolumeInfoImageLinks(o.imageLinks);
2711 checkUnnamed1161(o.industryIdentifiers); 2713 checkUnnamed1421(o.industryIdentifiers);
2712 unittest.expect(o.infoLink, unittest.equals('foo')); 2714 unittest.expect(o.infoLink, unittest.equals('foo'));
2713 unittest.expect(o.language, unittest.equals('foo')); 2715 unittest.expect(o.language, unittest.equals('foo'));
2714 unittest.expect(o.mainCategory, unittest.equals('foo')); 2716 unittest.expect(o.mainCategory, unittest.equals('foo'));
2715 unittest.expect(o.maturityRating, unittest.equals('foo')); 2717 unittest.expect(o.maturityRating, unittest.equals('foo'));
2716 unittest.expect(o.pageCount, unittest.equals(42)); 2718 unittest.expect(o.pageCount, unittest.equals(42));
2717 unittest.expect(o.previewLink, unittest.equals('foo')); 2719 unittest.expect(o.previewLink, unittest.equals('foo'));
2718 unittest.expect(o.printType, unittest.equals('foo')); 2720 unittest.expect(o.printType, unittest.equals('foo'));
2719 unittest.expect(o.printedPageCount, unittest.equals(42)); 2721 unittest.expect(o.printedPageCount, unittest.equals(42));
2720 unittest.expect(o.publishedDate, unittest.equals('foo')); 2722 unittest.expect(o.publishedDate, unittest.equals('foo'));
2721 unittest.expect(o.publisher, unittest.equals('foo')); 2723 unittest.expect(o.publisher, unittest.equals('foo'));
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
2761 checkVolumeRecommendedInfo(o.recommendedInfo); 2763 checkVolumeRecommendedInfo(o.recommendedInfo);
2762 checkVolumeSaleInfo(o.saleInfo); 2764 checkVolumeSaleInfo(o.saleInfo);
2763 checkVolumeSearchInfo(o.searchInfo); 2765 checkVolumeSearchInfo(o.searchInfo);
2764 unittest.expect(o.selfLink, unittest.equals('foo')); 2766 unittest.expect(o.selfLink, unittest.equals('foo'));
2765 checkVolumeUserInfo(o.userInfo); 2767 checkVolumeUserInfo(o.userInfo);
2766 checkVolumeVolumeInfo(o.volumeInfo); 2768 checkVolumeVolumeInfo(o.volumeInfo);
2767 } 2769 }
2768 buildCounterVolume--; 2770 buildCounterVolume--;
2769 } 2771 }
2770 2772
2771 buildUnnamed1162() { 2773 buildUnnamed1422() {
2772 var o = new core.List<api.Volume>(); 2774 var o = new core.List<api.Volume>();
2773 o.add(buildVolume()); 2775 o.add(buildVolume());
2774 o.add(buildVolume()); 2776 o.add(buildVolume());
2775 return o; 2777 return o;
2776 } 2778 }
2777 2779
2778 checkUnnamed1162(core.List<api.Volume> o) { 2780 checkUnnamed1422(core.List<api.Volume> o) {
2779 unittest.expect(o, unittest.hasLength(2)); 2781 unittest.expect(o, unittest.hasLength(2));
2780 checkVolume(o[0]); 2782 checkVolume(o[0]);
2781 checkVolume(o[1]); 2783 checkVolume(o[1]);
2782 } 2784 }
2783 2785
2784 core.int buildCounterVolume2 = 0; 2786 core.int buildCounterVolume2 = 0;
2785 buildVolume2() { 2787 buildVolume2() {
2786 var o = new api.Volume2(); 2788 var o = new api.Volume2();
2787 buildCounterVolume2++; 2789 buildCounterVolume2++;
2788 if (buildCounterVolume2 < 3) { 2790 if (buildCounterVolume2 < 3) {
2789 o.items = buildUnnamed1162(); 2791 o.items = buildUnnamed1422();
2790 o.kind = "foo"; 2792 o.kind = "foo";
2791 o.nextPageToken = "foo"; 2793 o.nextPageToken = "foo";
2792 } 2794 }
2793 buildCounterVolume2--; 2795 buildCounterVolume2--;
2794 return o; 2796 return o;
2795 } 2797 }
2796 2798
2797 checkVolume2(api.Volume2 o) { 2799 checkVolume2(api.Volume2 o) {
2798 buildCounterVolume2++; 2800 buildCounterVolume2++;
2799 if (buildCounterVolume2 < 3) { 2801 if (buildCounterVolume2 < 3) {
2800 checkUnnamed1162(o.items); 2802 checkUnnamed1422(o.items);
2801 unittest.expect(o.kind, unittest.equals('foo')); 2803 unittest.expect(o.kind, unittest.equals('foo'));
2802 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2804 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2803 } 2805 }
2804 buildCounterVolume2--; 2806 buildCounterVolume2--;
2805 } 2807 }
2806 2808
2807 core.int buildCounterVolumeannotationContentRanges = 0; 2809 core.int buildCounterVolumeannotationContentRanges = 0;
2808 buildVolumeannotationContentRanges() { 2810 buildVolumeannotationContentRanges() {
2809 var o = new api.VolumeannotationContentRanges(); 2811 var o = new api.VolumeannotationContentRanges();
2810 buildCounterVolumeannotationContentRanges++; 2812 buildCounterVolumeannotationContentRanges++;
(...skipping 11 matching lines...) Expand all
2822 buildCounterVolumeannotationContentRanges++; 2824 buildCounterVolumeannotationContentRanges++;
2823 if (buildCounterVolumeannotationContentRanges < 3) { 2825 if (buildCounterVolumeannotationContentRanges < 3) {
2824 checkBooksAnnotationsRange(o.cfiRange); 2826 checkBooksAnnotationsRange(o.cfiRange);
2825 unittest.expect(o.contentVersion, unittest.equals('foo')); 2827 unittest.expect(o.contentVersion, unittest.equals('foo'));
2826 checkBooksAnnotationsRange(o.gbImageRange); 2828 checkBooksAnnotationsRange(o.gbImageRange);
2827 checkBooksAnnotationsRange(o.gbTextRange); 2829 checkBooksAnnotationsRange(o.gbTextRange);
2828 } 2830 }
2829 buildCounterVolumeannotationContentRanges--; 2831 buildCounterVolumeannotationContentRanges--;
2830 } 2832 }
2831 2833
2832 buildUnnamed1163() { 2834 buildUnnamed1423() {
2833 var o = new core.List<core.String>(); 2835 var o = new core.List<core.String>();
2834 o.add("foo"); 2836 o.add("foo");
2835 o.add("foo"); 2837 o.add("foo");
2836 return o; 2838 return o;
2837 } 2839 }
2838 2840
2839 checkUnnamed1163(core.List<core.String> o) { 2841 checkUnnamed1423(core.List<core.String> o) {
2840 unittest.expect(o, unittest.hasLength(2)); 2842 unittest.expect(o, unittest.hasLength(2));
2841 unittest.expect(o[0], unittest.equals('foo')); 2843 unittest.expect(o[0], unittest.equals('foo'));
2842 unittest.expect(o[1], unittest.equals('foo')); 2844 unittest.expect(o[1], unittest.equals('foo'));
2843 } 2845 }
2844 2846
2845 core.int buildCounterVolumeannotation = 0; 2847 core.int buildCounterVolumeannotation = 0;
2846 buildVolumeannotation() { 2848 buildVolumeannotation() {
2847 var o = new api.Volumeannotation(); 2849 var o = new api.Volumeannotation();
2848 buildCounterVolumeannotation++; 2850 buildCounterVolumeannotation++;
2849 if (buildCounterVolumeannotation < 3) { 2851 if (buildCounterVolumeannotation < 3) {
2850 o.annotationDataId = "foo"; 2852 o.annotationDataId = "foo";
2851 o.annotationDataLink = "foo"; 2853 o.annotationDataLink = "foo";
2852 o.annotationType = "foo"; 2854 o.annotationType = "foo";
2853 o.contentRanges = buildVolumeannotationContentRanges(); 2855 o.contentRanges = buildVolumeannotationContentRanges();
2854 o.data = "foo"; 2856 o.data = "foo";
2855 o.deleted = true; 2857 o.deleted = true;
2856 o.id = "foo"; 2858 o.id = "foo";
2857 o.kind = "foo"; 2859 o.kind = "foo";
2858 o.layerId = "foo"; 2860 o.layerId = "foo";
2859 o.pageIds = buildUnnamed1163(); 2861 o.pageIds = buildUnnamed1423();
2860 o.selectedText = "foo"; 2862 o.selectedText = "foo";
2861 o.selfLink = "foo"; 2863 o.selfLink = "foo";
2862 o.updated = core.DateTime.parse("2002-02-27T14:01:02"); 2864 o.updated = core.DateTime.parse("2002-02-27T14:01:02");
2863 o.volumeId = "foo"; 2865 o.volumeId = "foo";
2864 } 2866 }
2865 buildCounterVolumeannotation--; 2867 buildCounterVolumeannotation--;
2866 return o; 2868 return o;
2867 } 2869 }
2868 2870
2869 checkVolumeannotation(api.Volumeannotation o) { 2871 checkVolumeannotation(api.Volumeannotation o) {
2870 buildCounterVolumeannotation++; 2872 buildCounterVolumeannotation++;
2871 if (buildCounterVolumeannotation < 3) { 2873 if (buildCounterVolumeannotation < 3) {
2872 unittest.expect(o.annotationDataId, unittest.equals('foo')); 2874 unittest.expect(o.annotationDataId, unittest.equals('foo'));
2873 unittest.expect(o.annotationDataLink, unittest.equals('foo')); 2875 unittest.expect(o.annotationDataLink, unittest.equals('foo'));
2874 unittest.expect(o.annotationType, unittest.equals('foo')); 2876 unittest.expect(o.annotationType, unittest.equals('foo'));
2875 checkVolumeannotationContentRanges(o.contentRanges); 2877 checkVolumeannotationContentRanges(o.contentRanges);
2876 unittest.expect(o.data, unittest.equals('foo')); 2878 unittest.expect(o.data, unittest.equals('foo'));
2877 unittest.expect(o.deleted, unittest.isTrue); 2879 unittest.expect(o.deleted, unittest.isTrue);
2878 unittest.expect(o.id, unittest.equals('foo')); 2880 unittest.expect(o.id, unittest.equals('foo'));
2879 unittest.expect(o.kind, unittest.equals('foo')); 2881 unittest.expect(o.kind, unittest.equals('foo'));
2880 unittest.expect(o.layerId, unittest.equals('foo')); 2882 unittest.expect(o.layerId, unittest.equals('foo'));
2881 checkUnnamed1163(o.pageIds); 2883 checkUnnamed1423(o.pageIds);
2882 unittest.expect(o.selectedText, unittest.equals('foo')); 2884 unittest.expect(o.selectedText, unittest.equals('foo'));
2883 unittest.expect(o.selfLink, unittest.equals('foo')); 2885 unittest.expect(o.selfLink, unittest.equals('foo'));
2884 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02"))); 2886 unittest.expect(o.updated, unittest.equals(core.DateTime.parse("2002-02-27T1 4:01:02")));
2885 unittest.expect(o.volumeId, unittest.equals('foo')); 2887 unittest.expect(o.volumeId, unittest.equals('foo'));
2886 } 2888 }
2887 buildCounterVolumeannotation--; 2889 buildCounterVolumeannotation--;
2888 } 2890 }
2889 2891
2890 buildUnnamed1164() { 2892 buildUnnamed1424() {
2891 var o = new core.List<api.Volumeannotation>(); 2893 var o = new core.List<api.Volumeannotation>();
2892 o.add(buildVolumeannotation()); 2894 o.add(buildVolumeannotation());
2893 o.add(buildVolumeannotation()); 2895 o.add(buildVolumeannotation());
2894 return o; 2896 return o;
2895 } 2897 }
2896 2898
2897 checkUnnamed1164(core.List<api.Volumeannotation> o) { 2899 checkUnnamed1424(core.List<api.Volumeannotation> o) {
2898 unittest.expect(o, unittest.hasLength(2)); 2900 unittest.expect(o, unittest.hasLength(2));
2899 checkVolumeannotation(o[0]); 2901 checkVolumeannotation(o[0]);
2900 checkVolumeannotation(o[1]); 2902 checkVolumeannotation(o[1]);
2901 } 2903 }
2902 2904
2903 core.int buildCounterVolumeannotations = 0; 2905 core.int buildCounterVolumeannotations = 0;
2904 buildVolumeannotations() { 2906 buildVolumeannotations() {
2905 var o = new api.Volumeannotations(); 2907 var o = new api.Volumeannotations();
2906 buildCounterVolumeannotations++; 2908 buildCounterVolumeannotations++;
2907 if (buildCounterVolumeannotations < 3) { 2909 if (buildCounterVolumeannotations < 3) {
2908 o.items = buildUnnamed1164(); 2910 o.items = buildUnnamed1424();
2909 o.kind = "foo"; 2911 o.kind = "foo";
2910 o.nextPageToken = "foo"; 2912 o.nextPageToken = "foo";
2911 o.totalItems = 42; 2913 o.totalItems = 42;
2912 o.version = "foo"; 2914 o.version = "foo";
2913 } 2915 }
2914 buildCounterVolumeannotations--; 2916 buildCounterVolumeannotations--;
2915 return o; 2917 return o;
2916 } 2918 }
2917 2919
2918 checkVolumeannotations(api.Volumeannotations o) { 2920 checkVolumeannotations(api.Volumeannotations o) {
2919 buildCounterVolumeannotations++; 2921 buildCounterVolumeannotations++;
2920 if (buildCounterVolumeannotations < 3) { 2922 if (buildCounterVolumeannotations < 3) {
2921 checkUnnamed1164(o.items); 2923 checkUnnamed1424(o.items);
2922 unittest.expect(o.kind, unittest.equals('foo')); 2924 unittest.expect(o.kind, unittest.equals('foo'));
2923 unittest.expect(o.nextPageToken, unittest.equals('foo')); 2925 unittest.expect(o.nextPageToken, unittest.equals('foo'));
2924 unittest.expect(o.totalItems, unittest.equals(42)); 2926 unittest.expect(o.totalItems, unittest.equals(42));
2925 unittest.expect(o.version, unittest.equals('foo')); 2927 unittest.expect(o.version, unittest.equals('foo'));
2926 } 2928 }
2927 buildCounterVolumeannotations--; 2929 buildCounterVolumeannotations--;
2928 } 2930 }
2929 2931
2930 buildUnnamed1165() { 2932 buildUnnamed1425() {
2931 var o = new core.List<api.Volume>(); 2933 var o = new core.List<api.Volume>();
2932 o.add(buildVolume()); 2934 o.add(buildVolume());
2933 o.add(buildVolume()); 2935 o.add(buildVolume());
2934 return o; 2936 return o;
2935 } 2937 }
2936 2938
2937 checkUnnamed1165(core.List<api.Volume> o) { 2939 checkUnnamed1425(core.List<api.Volume> o) {
2938 unittest.expect(o, unittest.hasLength(2)); 2940 unittest.expect(o, unittest.hasLength(2));
2939 checkVolume(o[0]); 2941 checkVolume(o[0]);
2940 checkVolume(o[1]); 2942 checkVolume(o[1]);
2941 } 2943 }
2942 2944
2943 core.int buildCounterVolumes = 0; 2945 core.int buildCounterVolumes = 0;
2944 buildVolumes() { 2946 buildVolumes() {
2945 var o = new api.Volumes(); 2947 var o = new api.Volumes();
2946 buildCounterVolumes++; 2948 buildCounterVolumes++;
2947 if (buildCounterVolumes < 3) { 2949 if (buildCounterVolumes < 3) {
2948 o.items = buildUnnamed1165(); 2950 o.items = buildUnnamed1425();
2949 o.kind = "foo"; 2951 o.kind = "foo";
2950 o.totalItems = 42; 2952 o.totalItems = 42;
2951 } 2953 }
2952 buildCounterVolumes--; 2954 buildCounterVolumes--;
2953 return o; 2955 return o;
2954 } 2956 }
2955 2957
2956 checkVolumes(api.Volumes o) { 2958 checkVolumes(api.Volumes o) {
2957 buildCounterVolumes++; 2959 buildCounterVolumes++;
2958 if (buildCounterVolumes < 3) { 2960 if (buildCounterVolumes < 3) {
2959 checkUnnamed1165(o.items); 2961 checkUnnamed1425(o.items);
2960 unittest.expect(o.kind, unittest.equals('foo')); 2962 unittest.expect(o.kind, unittest.equals('foo'));
2961 unittest.expect(o.totalItems, unittest.equals(42)); 2963 unittest.expect(o.totalItems, unittest.equals(42));
2962 } 2964 }
2963 buildCounterVolumes--; 2965 buildCounterVolumes--;
2964 } 2966 }
2965 2967
2966 core.int buildCounterVolumeseriesinfoVolumeSeriesIssue = 0; 2968 core.int buildCounterVolumeseriesinfoVolumeSeriesIssue = 0;
2967 buildVolumeseriesinfoVolumeSeriesIssue() { 2969 buildVolumeseriesinfoVolumeSeriesIssue() {
2968 var o = new api.VolumeseriesinfoVolumeSeriesIssue(); 2970 var o = new api.VolumeseriesinfoVolumeSeriesIssue();
2969 buildCounterVolumeseriesinfoVolumeSeriesIssue++; 2971 buildCounterVolumeseriesinfoVolumeSeriesIssue++;
2970 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { 2972 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) {
2971 o.issueDisplayNumber = "foo"; 2973 o.issueDisplayNumber = "foo";
2972 o.issueOrderNumber = 42; 2974 o.issueOrderNumber = 42;
2973 } 2975 }
2974 buildCounterVolumeseriesinfoVolumeSeriesIssue--; 2976 buildCounterVolumeseriesinfoVolumeSeriesIssue--;
2975 return o; 2977 return o;
2976 } 2978 }
2977 2979
2978 checkVolumeseriesinfoVolumeSeriesIssue(api.VolumeseriesinfoVolumeSeriesIssue o) { 2980 checkVolumeseriesinfoVolumeSeriesIssue(api.VolumeseriesinfoVolumeSeriesIssue o) {
2979 buildCounterVolumeseriesinfoVolumeSeriesIssue++; 2981 buildCounterVolumeseriesinfoVolumeSeriesIssue++;
2980 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) { 2982 if (buildCounterVolumeseriesinfoVolumeSeriesIssue < 3) {
2981 unittest.expect(o.issueDisplayNumber, unittest.equals('foo')); 2983 unittest.expect(o.issueDisplayNumber, unittest.equals('foo'));
2982 unittest.expect(o.issueOrderNumber, unittest.equals(42)); 2984 unittest.expect(o.issueOrderNumber, unittest.equals(42));
2983 } 2985 }
2984 buildCounterVolumeseriesinfoVolumeSeriesIssue--; 2986 buildCounterVolumeseriesinfoVolumeSeriesIssue--;
2985 } 2987 }
2986 2988
2987 buildUnnamed1166() { 2989 buildUnnamed1426() {
2988 var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>(); 2990 var o = new core.List<api.VolumeseriesinfoVolumeSeriesIssue>();
2989 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); 2991 o.add(buildVolumeseriesinfoVolumeSeriesIssue());
2990 o.add(buildVolumeseriesinfoVolumeSeriesIssue()); 2992 o.add(buildVolumeseriesinfoVolumeSeriesIssue());
2991 return o; 2993 return o;
2992 } 2994 }
2993 2995
2994 checkUnnamed1166(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) { 2996 checkUnnamed1426(core.List<api.VolumeseriesinfoVolumeSeriesIssue> o) {
2995 unittest.expect(o, unittest.hasLength(2)); 2997 unittest.expect(o, unittest.hasLength(2));
2996 checkVolumeseriesinfoVolumeSeriesIssue(o[0]); 2998 checkVolumeseriesinfoVolumeSeriesIssue(o[0]);
2997 checkVolumeseriesinfoVolumeSeriesIssue(o[1]); 2999 checkVolumeseriesinfoVolumeSeriesIssue(o[1]);
2998 } 3000 }
2999 3001
3000 core.int buildCounterVolumeseriesinfoVolumeSeries = 0; 3002 core.int buildCounterVolumeseriesinfoVolumeSeries = 0;
3001 buildVolumeseriesinfoVolumeSeries() { 3003 buildVolumeseriesinfoVolumeSeries() {
3002 var o = new api.VolumeseriesinfoVolumeSeries(); 3004 var o = new api.VolumeseriesinfoVolumeSeries();
3003 buildCounterVolumeseriesinfoVolumeSeries++; 3005 buildCounterVolumeseriesinfoVolumeSeries++;
3004 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { 3006 if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
3005 o.issue = buildUnnamed1166(); 3007 o.issue = buildUnnamed1426();
3006 o.orderNumber = 42; 3008 o.orderNumber = 42;
3007 o.seriesBookType = "foo"; 3009 o.seriesBookType = "foo";
3008 o.seriesId = "foo"; 3010 o.seriesId = "foo";
3009 } 3011 }
3010 buildCounterVolumeseriesinfoVolumeSeries--; 3012 buildCounterVolumeseriesinfoVolumeSeries--;
3011 return o; 3013 return o;
3012 } 3014 }
3013 3015
3014 checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) { 3016 checkVolumeseriesinfoVolumeSeries(api.VolumeseriesinfoVolumeSeries o) {
3015 buildCounterVolumeseriesinfoVolumeSeries++; 3017 buildCounterVolumeseriesinfoVolumeSeries++;
3016 if (buildCounterVolumeseriesinfoVolumeSeries < 3) { 3018 if (buildCounterVolumeseriesinfoVolumeSeries < 3) {
3017 checkUnnamed1166(o.issue); 3019 checkUnnamed1426(o.issue);
3018 unittest.expect(o.orderNumber, unittest.equals(42)); 3020 unittest.expect(o.orderNumber, unittest.equals(42));
3019 unittest.expect(o.seriesBookType, unittest.equals('foo')); 3021 unittest.expect(o.seriesBookType, unittest.equals('foo'));
3020 unittest.expect(o.seriesId, unittest.equals('foo')); 3022 unittest.expect(o.seriesId, unittest.equals('foo'));
3021 } 3023 }
3022 buildCounterVolumeseriesinfoVolumeSeries--; 3024 buildCounterVolumeseriesinfoVolumeSeries--;
3023 } 3025 }
3024 3026
3025 buildUnnamed1167() { 3027 buildUnnamed1427() {
3026 var o = new core.List<api.VolumeseriesinfoVolumeSeries>(); 3028 var o = new core.List<api.VolumeseriesinfoVolumeSeries>();
3027 o.add(buildVolumeseriesinfoVolumeSeries()); 3029 o.add(buildVolumeseriesinfoVolumeSeries());
3028 o.add(buildVolumeseriesinfoVolumeSeries()); 3030 o.add(buildVolumeseriesinfoVolumeSeries());
3029 return o; 3031 return o;
3030 } 3032 }
3031 3033
3032 checkUnnamed1167(core.List<api.VolumeseriesinfoVolumeSeries> o) { 3034 checkUnnamed1427(core.List<api.VolumeseriesinfoVolumeSeries> o) {
3033 unittest.expect(o, unittest.hasLength(2)); 3035 unittest.expect(o, unittest.hasLength(2));
3034 checkVolumeseriesinfoVolumeSeries(o[0]); 3036 checkVolumeseriesinfoVolumeSeries(o[0]);
3035 checkVolumeseriesinfoVolumeSeries(o[1]); 3037 checkVolumeseriesinfoVolumeSeries(o[1]);
3036 } 3038 }
3037 3039
3038 core.int buildCounterVolumeseriesinfo = 0; 3040 core.int buildCounterVolumeseriesinfo = 0;
3039 buildVolumeseriesinfo() { 3041 buildVolumeseriesinfo() {
3040 var o = new api.Volumeseriesinfo(); 3042 var o = new api.Volumeseriesinfo();
3041 buildCounterVolumeseriesinfo++; 3043 buildCounterVolumeseriesinfo++;
3042 if (buildCounterVolumeseriesinfo < 3) { 3044 if (buildCounterVolumeseriesinfo < 3) {
3043 o.bookDisplayNumber = "foo"; 3045 o.bookDisplayNumber = "foo";
3044 o.kind = "foo"; 3046 o.kind = "foo";
3045 o.shortSeriesBookTitle = "foo"; 3047 o.shortSeriesBookTitle = "foo";
3046 o.volumeSeries = buildUnnamed1167(); 3048 o.volumeSeries = buildUnnamed1427();
3047 } 3049 }
3048 buildCounterVolumeseriesinfo--; 3050 buildCounterVolumeseriesinfo--;
3049 return o; 3051 return o;
3050 } 3052 }
3051 3053
3052 checkVolumeseriesinfo(api.Volumeseriesinfo o) { 3054 checkVolumeseriesinfo(api.Volumeseriesinfo o) {
3053 buildCounterVolumeseriesinfo++; 3055 buildCounterVolumeseriesinfo++;
3054 if (buildCounterVolumeseriesinfo < 3) { 3056 if (buildCounterVolumeseriesinfo < 3) {
3055 unittest.expect(o.bookDisplayNumber, unittest.equals('foo')); 3057 unittest.expect(o.bookDisplayNumber, unittest.equals('foo'));
3056 unittest.expect(o.kind, unittest.equals('foo')); 3058 unittest.expect(o.kind, unittest.equals('foo'));
3057 unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo')); 3059 unittest.expect(o.shortSeriesBookTitle, unittest.equals('foo'));
3058 checkUnnamed1167(o.volumeSeries); 3060 checkUnnamed1427(o.volumeSeries);
3059 } 3061 }
3060 buildCounterVolumeseriesinfo--; 3062 buildCounterVolumeseriesinfo--;
3061 } 3063 }
3062 3064
3063 buildUnnamed1168() { 3065 buildUnnamed1428() {
3064 var o = new core.List<core.String>(); 3066 var o = new core.List<core.String>();
3065 o.add("foo"); 3067 o.add("foo");
3066 o.add("foo"); 3068 o.add("foo");
3067 return o; 3069 return o;
3068 } 3070 }
3069 3071
3070 checkUnnamed1168(core.List<core.String> o) { 3072 checkUnnamed1428(core.List<core.String> o) {
3071 unittest.expect(o, unittest.hasLength(2)); 3073 unittest.expect(o, unittest.hasLength(2));
3072 unittest.expect(o[0], unittest.equals('foo')); 3074 unittest.expect(o[0], unittest.equals('foo'));
3073 unittest.expect(o[1], unittest.equals('foo')); 3075 unittest.expect(o[1], unittest.equals('foo'));
3074 } 3076 }
3075 3077
3076 buildUnnamed1169() { 3078 buildUnnamed1429() {
3077 var o = new core.List<core.String>(); 3079 var o = new core.List<core.String>();
3078 o.add("foo"); 3080 o.add("foo");
3079 o.add("foo"); 3081 o.add("foo");
3080 return o; 3082 return o;
3081 } 3083 }
3082 3084
3083 checkUnnamed1169(core.List<core.String> o) { 3085 checkUnnamed1429(core.List<core.String> o) {
3084 unittest.expect(o, unittest.hasLength(2)); 3086 unittest.expect(o, unittest.hasLength(2));
3085 unittest.expect(o[0], unittest.equals('foo')); 3087 unittest.expect(o[0], unittest.equals('foo'));
3086 unittest.expect(o[1], unittest.equals('foo')); 3088 unittest.expect(o[1], unittest.equals('foo'));
3087 } 3089 }
3088 3090
3089 buildUnnamed1170() { 3091 buildUnnamed1430() {
3090 var o = new core.List<core.String>(); 3092 var o = new core.List<core.String>();
3091 o.add("foo"); 3093 o.add("foo");
3092 o.add("foo"); 3094 o.add("foo");
3093 return o; 3095 return o;
3094 } 3096 }
3095 3097
3096 checkUnnamed1170(core.List<core.String> o) { 3098 checkUnnamed1430(core.List<core.String> o) {
3097 unittest.expect(o, unittest.hasLength(2)); 3099 unittest.expect(o, unittest.hasLength(2));
3098 unittest.expect(o[0], unittest.equals('foo')); 3100 unittest.expect(o[0], unittest.equals('foo'));
3099 unittest.expect(o[1], unittest.equals('foo')); 3101 unittest.expect(o[1], unittest.equals('foo'));
3100 } 3102 }
3101 3103
3102 buildUnnamed1171() { 3104 buildUnnamed1431() {
3103 var o = new core.List<core.String>(); 3105 var o = new core.List<core.String>();
3104 o.add("foo"); 3106 o.add("foo");
3105 o.add("foo"); 3107 o.add("foo");
3106 return o; 3108 return o;
3107 } 3109 }
3108 3110
3109 checkUnnamed1171(core.List<core.String> o) { 3111 checkUnnamed1431(core.List<core.String> o) {
3110 unittest.expect(o, unittest.hasLength(2)); 3112 unittest.expect(o, unittest.hasLength(2));
3111 unittest.expect(o[0], unittest.equals('foo')); 3113 unittest.expect(o[0], unittest.equals('foo'));
3112 unittest.expect(o[1], unittest.equals('foo')); 3114 unittest.expect(o[1], unittest.equals('foo'));
3113 } 3115 }
3114 3116
3115 buildUnnamed1172() { 3117 buildUnnamed1432() {
3116 var o = new core.List<core.String>(); 3118 var o = new core.List<core.String>();
3117 o.add("foo"); 3119 o.add("foo");
3118 o.add("foo"); 3120 o.add("foo");
3119 return o; 3121 return o;
3120 } 3122 }
3121 3123
3122 checkUnnamed1172(core.List<core.String> o) { 3124 checkUnnamed1432(core.List<core.String> o) {
3123 unittest.expect(o, unittest.hasLength(2)); 3125 unittest.expect(o, unittest.hasLength(2));
3124 unittest.expect(o[0], unittest.equals('foo')); 3126 unittest.expect(o[0], unittest.equals('foo'));
3125 unittest.expect(o[1], unittest.equals('foo')); 3127 unittest.expect(o[1], unittest.equals('foo'));
3126 } 3128 }
3127 3129
3128 buildUnnamed1173() { 3130 buildUnnamed1433() {
3129 var o = new core.List<core.String>(); 3131 var o = new core.List<core.String>();
3130 o.add("foo"); 3132 o.add("foo");
3131 o.add("foo"); 3133 o.add("foo");
3132 return o; 3134 return o;
3133 } 3135 }
3134 3136
3135 checkUnnamed1173(core.List<core.String> o) { 3137 checkUnnamed1433(core.List<core.String> o) {
3136 unittest.expect(o, unittest.hasLength(2)); 3138 unittest.expect(o, unittest.hasLength(2));
3137 unittest.expect(o[0], unittest.equals('foo')); 3139 unittest.expect(o[0], unittest.equals('foo'));
3138 unittest.expect(o[1], unittest.equals('foo')); 3140 unittest.expect(o[1], unittest.equals('foo'));
3139 } 3141 }
3140 3142
3141 buildUnnamed1174() { 3143 buildUnnamed1434() {
3142 var o = new core.List<core.String>(); 3144 var o = new core.List<core.String>();
3143 o.add("foo"); 3145 o.add("foo");
3144 o.add("foo"); 3146 o.add("foo");
3145 return o; 3147 return o;
3146 } 3148 }
3147 3149
3148 checkUnnamed1174(core.List<core.String> o) { 3150 checkUnnamed1434(core.List<core.String> o) {
3149 unittest.expect(o, unittest.hasLength(2)); 3151 unittest.expect(o, unittest.hasLength(2));
3150 unittest.expect(o[0], unittest.equals('foo')); 3152 unittest.expect(o[0], unittest.equals('foo'));
3151 unittest.expect(o[1], unittest.equals('foo')); 3153 unittest.expect(o[1], unittest.equals('foo'));
3152 } 3154 }
3153 3155
3154 buildUnnamed1175() { 3156 buildUnnamed1435() {
3155 var o = new core.List<core.String>(); 3157 var o = new core.List<core.String>();
3156 o.add("foo"); 3158 o.add("foo");
3157 o.add("foo"); 3159 o.add("foo");
3158 return o; 3160 return o;
3159 } 3161 }
3160 3162
3161 checkUnnamed1175(core.List<core.String> o) { 3163 checkUnnamed1435(core.List<core.String> o) {
3162 unittest.expect(o, unittest.hasLength(2)); 3164 unittest.expect(o, unittest.hasLength(2));
3163 unittest.expect(o[0], unittest.equals('foo')); 3165 unittest.expect(o[0], unittest.equals('foo'));
3164 unittest.expect(o[1], unittest.equals('foo')); 3166 unittest.expect(o[1], unittest.equals('foo'));
3165 } 3167 }
3166 3168
3167 buildUnnamed1176() { 3169 buildUnnamed1436() {
3168 var o = new core.List<core.String>(); 3170 var o = new core.List<core.String>();
3169 o.add("foo"); 3171 o.add("foo");
3170 o.add("foo"); 3172 o.add("foo");
3171 return o; 3173 return o;
3172 } 3174 }
3173 3175
3174 checkUnnamed1176(core.List<core.String> o) { 3176 checkUnnamed1436(core.List<core.String> o) {
3175 unittest.expect(o, unittest.hasLength(2)); 3177 unittest.expect(o, unittest.hasLength(2));
3176 unittest.expect(o[0], unittest.equals('foo')); 3178 unittest.expect(o[0], unittest.equals('foo'));
3177 unittest.expect(o[1], unittest.equals('foo')); 3179 unittest.expect(o[1], unittest.equals('foo'));
3178 } 3180 }
3179 3181
3180 buildUnnamed1177() { 3182 buildUnnamed1437() {
3181 var o = new core.List<core.String>(); 3183 var o = new core.List<core.String>();
3182 o.add("foo"); 3184 o.add("foo");
3183 o.add("foo"); 3185 o.add("foo");
3184 return o; 3186 return o;
3185 } 3187 }
3186 3188
3187 checkUnnamed1177(core.List<core.String> o) { 3189 checkUnnamed1437(core.List<core.String> o) {
3188 unittest.expect(o, unittest.hasLength(2)); 3190 unittest.expect(o, unittest.hasLength(2));
3189 unittest.expect(o[0], unittest.equals('foo')); 3191 unittest.expect(o[0], unittest.equals('foo'));
3190 unittest.expect(o[1], unittest.equals('foo')); 3192 unittest.expect(o[1], unittest.equals('foo'));
3191 } 3193 }
3192 3194
3193 buildUnnamed1178() { 3195 buildUnnamed1438() {
3194 var o = new core.List<core.String>(); 3196 var o = new core.List<core.String>();
3195 o.add("foo"); 3197 o.add("foo");
3196 o.add("foo"); 3198 o.add("foo");
3197 return o; 3199 return o;
3198 } 3200 }
3199 3201
3200 checkUnnamed1178(core.List<core.String> o) { 3202 checkUnnamed1438(core.List<core.String> o) {
3201 unittest.expect(o, unittest.hasLength(2)); 3203 unittest.expect(o, unittest.hasLength(2));
3202 unittest.expect(o[0], unittest.equals('foo')); 3204 unittest.expect(o[0], unittest.equals('foo'));
3203 unittest.expect(o[1], unittest.equals('foo')); 3205 unittest.expect(o[1], unittest.equals('foo'));
3204 } 3206 }
3205 3207
3206 buildUnnamed1179() { 3208 buildUnnamed1439() {
3207 var o = new core.List<core.String>(); 3209 var o = new core.List<core.String>();
3208 o.add("foo"); 3210 o.add("foo");
3209 o.add("foo"); 3211 o.add("foo");
3210 return o; 3212 return o;
3211 } 3213 }
3212 3214
3213 checkUnnamed1179(core.List<core.String> o) { 3215 checkUnnamed1439(core.List<core.String> o) {
3214 unittest.expect(o, unittest.hasLength(2)); 3216 unittest.expect(o, unittest.hasLength(2));
3215 unittest.expect(o[0], unittest.equals('foo')); 3217 unittest.expect(o[0], unittest.equals('foo'));
3216 unittest.expect(o[1], unittest.equals('foo')); 3218 unittest.expect(o[1], unittest.equals('foo'));
3217 }
3218
3219 buildUnnamed1180() {
3220 var o = new core.List<core.String>();
3221 o.add("foo");
3222 o.add("foo");
3223 return o;
3224 }
3225
3226 checkUnnamed1180(core.List<core.String> o) {
3227 unittest.expect(o, unittest.hasLength(2));
3228 unittest.expect(o[0], unittest.equals('foo'));
3229 unittest.expect(o[1], unittest.equals('foo'));
3230 }
3231
3232 buildUnnamed1181() {
3233 var o = new core.List<core.String>();
3234 o.add("foo");
3235 o.add("foo");
3236 return o;
3237 }
3238
3239 checkUnnamed1181(core.List<core.String> o) {
3240 unittest.expect(o, unittest.hasLength(2));
3241 unittest.expect(o[0], unittest.equals('foo'));
3242 unittest.expect(o[1], unittest.equals('foo'));
3243 }
3244
3245 buildUnnamed1182() {
3246 var o = new core.List<core.String>();
3247 o.add("foo");
3248 o.add("foo");
3249 return o;
3250 }
3251
3252 checkUnnamed1182(core.List<core.String> o) {
3253 unittest.expect(o, unittest.hasLength(2));
3254 unittest.expect(o[0], unittest.equals('foo'));
3255 unittest.expect(o[1], unittest.equals('foo'));
3256 } 3219 }
3257 3220
3258 3221
3259 main() { 3222 main() {
3260 unittest.group("obj-schema-AnnotationClientVersionRanges", () { 3223 unittest.group("obj-schema-AnnotationClientVersionRanges", () {
3261 unittest.test("to-json--from-json", () { 3224 unittest.test("to-json--from-json", () {
3262 var o = buildAnnotationClientVersionRanges(); 3225 var o = buildAnnotationClientVersionRanges();
3263 var od = new api.AnnotationClientVersionRanges.fromJson(o.toJson()); 3226 var od = new api.AnnotationClientVersionRanges.fromJson(o.toJson());
3264 checkAnnotationClientVersionRanges(od); 3227 checkAnnotationClientVersionRanges(od);
3265 }); 3228 });
(...skipping 1472 matching lines...) Expand 10 before | Expand all | Expand 10 after
4738 }))); 4701 })));
4739 }); 4702 });
4740 4703
4741 unittest.test("method--list", () { 4704 unittest.test("method--list", () {
4742 4705
4743 var mock = new HttpServerMock(); 4706 var mock = new HttpServerMock();
4744 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an notationData; 4707 api.LayersAnnotationDataResourceApi res = new api.BooksApi(mock).layers.an notationData;
4745 var arg_volumeId = "foo"; 4708 var arg_volumeId = "foo";
4746 var arg_layerId = "foo"; 4709 var arg_layerId = "foo";
4747 var arg_contentVersion = "foo"; 4710 var arg_contentVersion = "foo";
4748 var arg_annotationDataId = buildUnnamed1168(); 4711 var arg_annotationDataId = buildUnnamed1428();
4749 var arg_h = 42; 4712 var arg_h = 42;
4750 var arg_locale = "foo"; 4713 var arg_locale = "foo";
4751 var arg_maxResults = 42; 4714 var arg_maxResults = 42;
4752 var arg_pageToken = "foo"; 4715 var arg_pageToken = "foo";
4753 var arg_scale = 42; 4716 var arg_scale = 42;
4754 var arg_source = "foo"; 4717 var arg_source = "foo";
4755 var arg_updatedMax = "foo"; 4718 var arg_updatedMax = "foo";
4756 var arg_updatedMin = "foo"; 4719 var arg_updatedMin = "foo";
4757 var arg_w = 42; 4720 var arg_w = 42;
4758 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4721 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
5023 }), true); 4986 }), true);
5024 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons e) { 4987 res.getUserSettings().then(unittest.expectAsync(((api.Usersettings respons e) {
5025 checkUsersettings(response); 4988 checkUsersettings(response);
5026 }))); 4989 })));
5027 }); 4990 });
5028 4991
5029 unittest.test("method--releaseDownloadAccess", () { 4992 unittest.test("method--releaseDownloadAccess", () {
5030 4993
5031 var mock = new HttpServerMock(); 4994 var mock = new HttpServerMock();
5032 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; 4995 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
5033 var arg_volumeIds = buildUnnamed1169(); 4996 var arg_volumeIds = buildUnnamed1429();
5034 var arg_cpksver = "foo"; 4997 var arg_cpksver = "foo";
5035 var arg_locale = "foo"; 4998 var arg_locale = "foo";
5036 var arg_source = "foo"; 4999 var arg_source = "foo";
5037 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5000 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5038 var path = (req.url).path; 5001 var path = (req.url).path;
5039 var pathOffset = 0; 5002 var pathOffset = 0;
5040 var index; 5003 var index;
5041 var subPart; 5004 var subPart;
5042 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5005 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5043 pathOffset += 1; 5006 pathOffset += 1;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
5136 }))); 5099 })));
5137 }); 5100 });
5138 5101
5139 unittest.test("method--syncVolumeLicenses", () { 5102 unittest.test("method--syncVolumeLicenses", () {
5140 5103
5141 var mock = new HttpServerMock(); 5104 var mock = new HttpServerMock();
5142 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig; 5105 api.MyconfigResourceApi res = new api.BooksApi(mock).myconfig;
5143 var arg_source = "foo"; 5106 var arg_source = "foo";
5144 var arg_nonce = "foo"; 5107 var arg_nonce = "foo";
5145 var arg_cpksver = "foo"; 5108 var arg_cpksver = "foo";
5146 var arg_features = buildUnnamed1170(); 5109 var arg_features = buildUnnamed1430();
5147 var arg_includeNonComicsSeries = true; 5110 var arg_includeNonComicsSeries = true;
5148 var arg_locale = "foo"; 5111 var arg_locale = "foo";
5149 var arg_showPreorders = true; 5112 var arg_showPreorders = true;
5150 var arg_volumeIds = buildUnnamed1171(); 5113 var arg_volumeIds = buildUnnamed1431();
5151 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5114 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5152 var path = (req.url).path; 5115 var path = (req.url).path;
5153 var pathOffset = 0; 5116 var pathOffset = 0;
5154 var index; 5117 var index;
5155 var subPart; 5118 var subPart;
5156 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5119 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5157 pathOffset += 1; 5120 pathOffset += 1;
5158 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 5121 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
5159 pathOffset += 9; 5122 pathOffset += 9;
5160 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq uals("myconfig/syncVolumeLicenses")); 5123 unittest.expect(path.substring(pathOffset, pathOffset + 27), unittest.eq uals("myconfig/syncVolumeLicenses"));
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
5353 checkAnnotation(response); 5316 checkAnnotation(response);
5354 }))); 5317 })));
5355 }); 5318 });
5356 5319
5357 unittest.test("method--list", () { 5320 unittest.test("method--list", () {
5358 5321
5359 var mock = new HttpServerMock(); 5322 var mock = new HttpServerMock();
5360 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary .annotations; 5323 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary .annotations;
5361 var arg_contentVersion = "foo"; 5324 var arg_contentVersion = "foo";
5362 var arg_layerId = "foo"; 5325 var arg_layerId = "foo";
5363 var arg_layerIds = buildUnnamed1172(); 5326 var arg_layerIds = buildUnnamed1432();
5364 var arg_maxResults = 42; 5327 var arg_maxResults = 42;
5365 var arg_pageToken = "foo"; 5328 var arg_pageToken = "foo";
5366 var arg_showDeleted = true; 5329 var arg_showDeleted = true;
5367 var arg_source = "foo"; 5330 var arg_source = "foo";
5368 var arg_updatedMax = "foo"; 5331 var arg_updatedMax = "foo";
5369 var arg_updatedMin = "foo"; 5332 var arg_updatedMin = "foo";
5370 var arg_volumeId = "foo"; 5333 var arg_volumeId = "foo";
5371 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5334 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5372 var path = (req.url).path; 5335 var path = (req.url).path;
5373 var pathOffset = 0; 5336 var pathOffset = 0;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
5416 }), true); 5379 }), true);
5417 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) { 5380 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) {
5418 checkAnnotations(response); 5381 checkAnnotations(response);
5419 }))); 5382 })));
5420 }); 5383 });
5421 5384
5422 unittest.test("method--summary", () { 5385 unittest.test("method--summary", () {
5423 5386
5424 var mock = new HttpServerMock(); 5387 var mock = new HttpServerMock();
5425 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary .annotations; 5388 api.MylibraryAnnotationsResourceApi res = new api.BooksApi(mock).mylibrary .annotations;
5426 var arg_layerIds = buildUnnamed1173(); 5389 var arg_layerIds = buildUnnamed1433();
5427 var arg_volumeId = "foo"; 5390 var arg_volumeId = "foo";
5428 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 5391 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
5429 var path = (req.url).path; 5392 var path = (req.url).path;
5430 var pathOffset = 0; 5393 var pathOffset = 0;
5431 var index; 5394 var index;
5432 var subPart; 5395 var subPart;
5433 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 5396 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
5434 pathOffset += 1; 5397 pathOffset += 1;
5435 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 5398 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
5436 pathOffset += 9; 5399 pathOffset += 9;
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
6044 6007
6045 6008
6046 unittest.group("resource-NotificationResourceApi", () { 6009 unittest.group("resource-NotificationResourceApi", () {
6047 unittest.test("method--get", () { 6010 unittest.test("method--get", () {
6048 6011
6049 var mock = new HttpServerMock(); 6012 var mock = new HttpServerMock();
6050 api.NotificationResourceApi res = new api.BooksApi(mock).notification; 6013 api.NotificationResourceApi res = new api.BooksApi(mock).notification;
6051 var arg_notificationId = "foo"; 6014 var arg_notificationId = "foo";
6052 var arg_locale = "foo"; 6015 var arg_locale = "foo";
6053 var arg_source = "foo"; 6016 var arg_source = "foo";
6054 var arg_targetIds = buildUnnamed1174();
6055 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6017 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6056 var path = (req.url).path; 6018 var path = (req.url).path;
6057 var pathOffset = 0; 6019 var pathOffset = 0;
6058 var index; 6020 var index;
6059 var subPart; 6021 var subPart;
6060 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6022 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6061 pathOffset += 1; 6023 pathOffset += 1;
6062 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 6024 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
6063 pathOffset += 9; 6025 pathOffset += 9;
6064 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq uals("notification/get")); 6026 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq uals("notification/get"));
(...skipping 11 matching lines...) Expand all
6076 } 6038 }
6077 if (query.length > 0) { 6039 if (query.length > 0) {
6078 for (var part in query.split("&")) { 6040 for (var part in query.split("&")) {
6079 var keyvalue = part.split("="); 6041 var keyvalue = part.split("=");
6080 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6042 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6081 } 6043 }
6082 } 6044 }
6083 unittest.expect(queryMap["notification_id"].first, unittest.equals(arg_n otificationId)); 6045 unittest.expect(queryMap["notification_id"].first, unittest.equals(arg_n otificationId));
6084 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale)); 6046 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
6085 unittest.expect(queryMap["source"].first, unittest.equals(arg_source)); 6047 unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
6086 unittest.expect(queryMap["targetIds"], unittest.equals(arg_targetIds));
6087 6048
6088 6049
6089 var h = { 6050 var h = {
6090 "content-type" : "application/json; charset=utf-8", 6051 "content-type" : "application/json; charset=utf-8",
6091 }; 6052 };
6092 var resp = convert.JSON.encode(buildNotification()); 6053 var resp = convert.JSON.encode(buildNotification());
6093 return new async.Future.value(stringResponse(200, h, resp)); 6054 return new async.Future.value(stringResponse(200, h, resp));
6094 }), true); 6055 }), true);
6095 res.get(arg_notificationId, locale: arg_locale, source: arg_source, target Ids: arg_targetIds).then(unittest.expectAsync(((api.Notification response) { 6056 res.get(arg_notificationId, locale: arg_locale, source: arg_source).then(u nittest.expectAsync(((api.Notification response) {
6096 checkNotification(response); 6057 checkNotification(response);
6097 }))); 6058 })));
6098 }); 6059 });
6099 6060
6100 }); 6061 });
6101 6062
6102 6063
6103 unittest.group("resource-OnboardingResourceApi", () { 6064 unittest.group("resource-OnboardingResourceApi", () {
6104 unittest.test("method--listCategories", () { 6065 unittest.test("method--listCategories", () {
6105 6066
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
6145 }), true); 6106 }), true);
6146 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat egory response) { 6107 res.listCategories(locale: arg_locale).then(unittest.expectAsync(((api.Cat egory response) {
6147 checkCategory(response); 6108 checkCategory(response);
6148 }))); 6109 })));
6149 }); 6110 });
6150 6111
6151 unittest.test("method--listCategoryVolumes", () { 6112 unittest.test("method--listCategoryVolumes", () {
6152 6113
6153 var mock = new HttpServerMock(); 6114 var mock = new HttpServerMock();
6154 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding; 6115 api.OnboardingResourceApi res = new api.BooksApi(mock).onboarding;
6155 var arg_categoryId = buildUnnamed1175(); 6116 var arg_categoryId = buildUnnamed1434();
6156 var arg_locale = "foo"; 6117 var arg_locale = "foo";
6157 var arg_maxAllowedMaturityRating = "foo"; 6118 var arg_maxAllowedMaturityRating = "foo";
6158 var arg_pageSize = 42; 6119 var arg_pageSize = 42;
6159 var arg_pageToken = "foo"; 6120 var arg_pageToken = "foo";
6160 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6121 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6161 var path = (req.url).path; 6122 var path = (req.url).path;
6162 var pathOffset = 0; 6123 var pathOffset = 0;
6163 var index; 6124 var index;
6164 var subPart; 6125 var subPart;
6165 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6126 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
6207 6168
6208 6169
6209 unittest.group("resource-PersonalizedstreamResourceApi", () { 6170 unittest.group("resource-PersonalizedstreamResourceApi", () {
6210 unittest.test("method--get", () { 6171 unittest.test("method--get", () {
6211 6172
6212 var mock = new HttpServerMock(); 6173 var mock = new HttpServerMock();
6213 api.PersonalizedstreamResourceApi res = new api.BooksApi(mock).personalize dstream; 6174 api.PersonalizedstreamResourceApi res = new api.BooksApi(mock).personalize dstream;
6214 var arg_locale = "foo"; 6175 var arg_locale = "foo";
6215 var arg_maxAllowedMaturityRating = "foo"; 6176 var arg_maxAllowedMaturityRating = "foo";
6216 var arg_source = "foo"; 6177 var arg_source = "foo";
6217 var arg_targetIds = buildUnnamed1176();
6218 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6178 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6219 var path = (req.url).path; 6179 var path = (req.url).path;
6220 var pathOffset = 0; 6180 var pathOffset = 0;
6221 var index; 6181 var index;
6222 var subPart; 6182 var subPart;
6223 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6183 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6224 pathOffset += 1; 6184 pathOffset += 1;
6225 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 6185 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
6226 pathOffset += 9; 6186 pathOffset += 9;
6227 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq uals("personalizedstream/get")); 6187 unittest.expect(path.substring(pathOffset, pathOffset + 22), unittest.eq uals("personalizedstream/get"));
(...skipping 11 matching lines...) Expand all
6239 } 6199 }
6240 if (query.length > 0) { 6200 if (query.length > 0) {
6241 for (var part in query.split("&")) { 6201 for (var part in query.split("&")) {
6242 var keyvalue = part.split("="); 6202 var keyvalue = part.split("=");
6243 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6203 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6244 } 6204 }
6245 } 6205 }
6246 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale)); 6206 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
6247 unittest.expect(queryMap["maxAllowedMaturityRating"].first, unittest.equ als(arg_maxAllowedMaturityRating)); 6207 unittest.expect(queryMap["maxAllowedMaturityRating"].first, unittest.equ als(arg_maxAllowedMaturityRating));
6248 unittest.expect(queryMap["source"].first, unittest.equals(arg_source)); 6208 unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
6249 unittest.expect(queryMap["targetIds"], unittest.equals(arg_targetIds));
6250 6209
6251 6210
6252 var h = { 6211 var h = {
6253 "content-type" : "application/json; charset=utf-8", 6212 "content-type" : "application/json; charset=utf-8",
6254 }; 6213 };
6255 var resp = convert.JSON.encode(buildDiscoveryclusters()); 6214 var resp = convert.JSON.encode(buildDiscoveryclusters());
6256 return new async.Future.value(stringResponse(200, h, resp)); 6215 return new async.Future.value(stringResponse(200, h, resp));
6257 }), true); 6216 }), true);
6258 res.get(locale: arg_locale, maxAllowedMaturityRating: arg_maxAllowedMaturi tyRating, source: arg_source, targetIds: arg_targetIds).then(unittest.expectAsyn c(((api.Discoveryclusters response) { 6217 res.get(locale: arg_locale, maxAllowedMaturityRating: arg_maxAllowedMaturi tyRating, source: arg_source).then(unittest.expectAsync(((api.Discoveryclusters response) {
6259 checkDiscoveryclusters(response); 6218 checkDiscoveryclusters(response);
6260 }))); 6219 })));
6261 }); 6220 });
6262 6221
6263 }); 6222 });
6264 6223
6265 6224
6266 unittest.group("resource-PromoofferResourceApi", () { 6225 unittest.group("resource-PromoofferResourceApi", () {
6267 unittest.test("method--accept", () { 6226 unittest.test("method--accept", () {
6268 6227
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
6438 }); 6397 });
6439 6398
6440 }); 6399 });
6441 6400
6442 6401
6443 unittest.group("resource-SeriesResourceApi", () { 6402 unittest.group("resource-SeriesResourceApi", () {
6444 unittest.test("method--get", () { 6403 unittest.test("method--get", () {
6445 6404
6446 var mock = new HttpServerMock(); 6405 var mock = new HttpServerMock();
6447 api.SeriesResourceApi res = new api.BooksApi(mock).series; 6406 api.SeriesResourceApi res = new api.BooksApi(mock).series;
6448 var arg_seriesId = buildUnnamed1177(); 6407 var arg_seriesId = buildUnnamed1435();
6449 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6408 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6450 var path = (req.url).path; 6409 var path = (req.url).path;
6451 var pathOffset = 0; 6410 var pathOffset = 0;
6452 var index; 6411 var index;
6453 var subPart; 6412 var subPart;
6454 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6413 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6455 pathOffset += 1; 6414 pathOffset += 1;
6456 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 6415 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
6457 pathOffset += 9; 6416 pathOffset += 9;
6458 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq uals("series/get")); 6417 unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.eq uals("series/get"));
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
6745 }); 6704 });
6746 6705
6747 }); 6706 });
6748 6707
6749 6708
6750 unittest.group("resource-VolumesMybooksResourceApi", () { 6709 unittest.group("resource-VolumesMybooksResourceApi", () {
6751 unittest.test("method--list", () { 6710 unittest.test("method--list", () {
6752 6711
6753 var mock = new HttpServerMock(); 6712 var mock = new HttpServerMock();
6754 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks ; 6713 api.VolumesMybooksResourceApi res = new api.BooksApi(mock).volumes.mybooks ;
6755 var arg_acquireMethod = buildUnnamed1178(); 6714 var arg_acquireMethod = buildUnnamed1436();
6715 var arg_country = "foo";
6756 var arg_locale = "foo"; 6716 var arg_locale = "foo";
6757 var arg_maxResults = 42; 6717 var arg_maxResults = 42;
6758 var arg_processingState = buildUnnamed1179(); 6718 var arg_processingState = buildUnnamed1437();
6759 var arg_source = "foo"; 6719 var arg_source = "foo";
6760 var arg_startIndex = 42; 6720 var arg_startIndex = 42;
6761 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6721 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6762 var path = (req.url).path; 6722 var path = (req.url).path;
6763 var pathOffset = 0; 6723 var pathOffset = 0;
6764 var index; 6724 var index;
6765 var subPart; 6725 var subPart;
6766 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6726 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6767 pathOffset += 1; 6727 pathOffset += 1;
6768 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 6728 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
(...skipping 11 matching lines...) Expand all
6780 if (n == null) return null; 6740 if (n == null) return null;
6781 throw new core.ArgumentError("Invalid boolean: $n"); 6741 throw new core.ArgumentError("Invalid boolean: $n");
6782 } 6742 }
6783 if (query.length > 0) { 6743 if (query.length > 0) {
6784 for (var part in query.split("&")) { 6744 for (var part in query.split("&")) {
6785 var keyvalue = part.split("="); 6745 var keyvalue = part.split("=");
6786 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6746 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6787 } 6747 }
6788 } 6748 }
6789 unittest.expect(queryMap["acquireMethod"], unittest.equals(arg_acquireMe thod)); 6749 unittest.expect(queryMap["acquireMethod"], unittest.equals(arg_acquireMe thod));
6750 unittest.expect(queryMap["country"].first, unittest.equals(arg_country)) ;
6790 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale)); 6751 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
6791 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e quals(arg_maxResults)); 6752 unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.e quals(arg_maxResults));
6792 unittest.expect(queryMap["processingState"], unittest.equals(arg_process ingState)); 6753 unittest.expect(queryMap["processingState"], unittest.equals(arg_process ingState));
6793 unittest.expect(queryMap["source"].first, unittest.equals(arg_source)); 6754 unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
6794 unittest.expect(core.int.parse(queryMap["startIndex"].first), unittest.e quals(arg_startIndex)); 6755 unittest.expect(core.int.parse(queryMap["startIndex"].first), unittest.e quals(arg_startIndex));
6795 6756
6796 6757
6797 var h = { 6758 var h = {
6798 "content-type" : "application/json; charset=utf-8", 6759 "content-type" : "application/json; charset=utf-8",
6799 }; 6760 };
6800 var resp = convert.JSON.encode(buildVolumes()); 6761 var resp = convert.JSON.encode(buildVolumes());
6801 return new async.Future.value(stringResponse(200, h, resp)); 6762 return new async.Future.value(stringResponse(200, h, resp));
6802 }), true); 6763 }), true);
6803 res.list(acquireMethod: arg_acquireMethod, locale: arg_locale, maxResults: arg_maxResults, processingState: arg_processingState, source: arg_source, start Index: arg_startIndex).then(unittest.expectAsync(((api.Volumes response) { 6764 res.list(acquireMethod: arg_acquireMethod, country: arg_country, locale: a rg_locale, maxResults: arg_maxResults, processingState: arg_processingState, sou rce: arg_source, startIndex: arg_startIndex).then(unittest.expectAsync(((api.Vol umes response) {
6804 checkVolumes(response); 6765 checkVolumes(response);
6805 }))); 6766 })));
6806 }); 6767 });
6807 6768
6808 }); 6769 });
6809 6770
6810 6771
6811 unittest.group("resource-VolumesRecommendedResourceApi", () { 6772 unittest.group("resource-VolumesRecommendedResourceApi", () {
6812 unittest.test("method--list", () { 6773 unittest.test("method--list", () {
6813 6774
6814 var mock = new HttpServerMock(); 6775 var mock = new HttpServerMock();
6815 api.VolumesRecommendedResourceApi res = new api.BooksApi(mock).volumes.rec ommended; 6776 api.VolumesRecommendedResourceApi res = new api.BooksApi(mock).volumes.rec ommended;
6816 var arg_locale = "foo"; 6777 var arg_locale = "foo";
6817 var arg_maxAllowedMaturityRating = "foo"; 6778 var arg_maxAllowedMaturityRating = "foo";
6818 var arg_source = "foo"; 6779 var arg_source = "foo";
6819 var arg_targetIds = buildUnnamed1180();
6820 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6780 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6821 var path = (req.url).path; 6781 var path = (req.url).path;
6822 var pathOffset = 0; 6782 var pathOffset = 0;
6823 var index; 6783 var index;
6824 var subPart; 6784 var subPart;
6825 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6785 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6826 pathOffset += 1; 6786 pathOffset += 1;
6827 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 6787 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
6828 pathOffset += 9; 6788 pathOffset += 9;
6829 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq uals("volumes/recommended")); 6789 unittest.expect(path.substring(pathOffset, pathOffset + 19), unittest.eq uals("volumes/recommended"));
(...skipping 11 matching lines...) Expand all
6841 } 6801 }
6842 if (query.length > 0) { 6802 if (query.length > 0) {
6843 for (var part in query.split("&")) { 6803 for (var part in query.split("&")) {
6844 var keyvalue = part.split("="); 6804 var keyvalue = part.split("=");
6845 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 6805 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
6846 } 6806 }
6847 } 6807 }
6848 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale)); 6808 unittest.expect(queryMap["locale"].first, unittest.equals(arg_locale));
6849 unittest.expect(queryMap["maxAllowedMaturityRating"].first, unittest.equ als(arg_maxAllowedMaturityRating)); 6809 unittest.expect(queryMap["maxAllowedMaturityRating"].first, unittest.equ als(arg_maxAllowedMaturityRating));
6850 unittest.expect(queryMap["source"].first, unittest.equals(arg_source)); 6810 unittest.expect(queryMap["source"].first, unittest.equals(arg_source));
6851 unittest.expect(queryMap["targetIds"], unittest.equals(arg_targetIds));
6852 6811
6853 6812
6854 var h = { 6813 var h = {
6855 "content-type" : "application/json; charset=utf-8", 6814 "content-type" : "application/json; charset=utf-8",
6856 }; 6815 };
6857 var resp = convert.JSON.encode(buildVolumes()); 6816 var resp = convert.JSON.encode(buildVolumes());
6858 return new async.Future.value(stringResponse(200, h, resp)); 6817 return new async.Future.value(stringResponse(200, h, resp));
6859 }), true); 6818 }), true);
6860 res.list(locale: arg_locale, maxAllowedMaturityRating: arg_maxAllowedMatur ityRating, source: arg_source, targetIds: arg_targetIds).then(unittest.expectAsy nc(((api.Volumes response) { 6819 res.list(locale: arg_locale, maxAllowedMaturityRating: arg_maxAllowedMatur ityRating, source: arg_source).then(unittest.expectAsync(((api.Volumes response) {
6861 checkVolumes(response); 6820 checkVolumes(response);
6862 }))); 6821 })));
6863 }); 6822 });
6864 6823
6865 unittest.test("method--rate", () { 6824 unittest.test("method--rate", () {
6866 6825
6867 var mock = new HttpServerMock(); 6826 var mock = new HttpServerMock();
6868 api.VolumesRecommendedResourceApi res = new api.BooksApi(mock).volumes.rec ommended; 6827 api.VolumesRecommendedResourceApi res = new api.BooksApi(mock).volumes.rec ommended;
6869 var arg_rating = "foo"; 6828 var arg_rating = "foo";
6870 var arg_volumeId = "foo"; 6829 var arg_volumeId = "foo";
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
6918 }); 6877 });
6919 6878
6920 6879
6921 unittest.group("resource-VolumesUseruploadedResourceApi", () { 6880 unittest.group("resource-VolumesUseruploadedResourceApi", () {
6922 unittest.test("method--list", () { 6881 unittest.test("method--list", () {
6923 6882
6924 var mock = new HttpServerMock(); 6883 var mock = new HttpServerMock();
6925 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us eruploaded; 6884 api.VolumesUseruploadedResourceApi res = new api.BooksApi(mock).volumes.us eruploaded;
6926 var arg_locale = "foo"; 6885 var arg_locale = "foo";
6927 var arg_maxResults = 42; 6886 var arg_maxResults = 42;
6928 var arg_processingState = buildUnnamed1181(); 6887 var arg_processingState = buildUnnamed1438();
6929 var arg_source = "foo"; 6888 var arg_source = "foo";
6930 var arg_startIndex = 42; 6889 var arg_startIndex = 42;
6931 var arg_volumeId = buildUnnamed1182(); 6890 var arg_volumeId = buildUnnamed1439();
6932 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 6891 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
6933 var path = (req.url).path; 6892 var path = (req.url).path;
6934 var pathOffset = 0; 6893 var pathOffset = 0;
6935 var index; 6894 var index;
6936 var subPart; 6895 var subPart;
6937 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 6896 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
6938 pathOffset += 1; 6897 pathOffset += 1;
6939 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/")); 6898 unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equ als("books/v1/"));
6940 pathOffset += 9; 6899 pathOffset += 9;
6941 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq uals("volumes/useruploaded")); 6900 unittest.expect(path.substring(pathOffset, pathOffset + 20), unittest.eq uals("volumes/useruploaded"));
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
6974 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) { 6933 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) {
6975 checkVolumes(response); 6934 checkVolumes(response);
6976 }))); 6935 })));
6977 }); 6936 });
6978 6937
6979 }); 6938 });
6980 6939
6981 6940
6982 } 6941 }
6983 6942
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