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

Side by Side Diff: generated/googleapis/test/sheets/v4_test.dart

Issue 2039113004: Api-roll 37: 2016-06-06 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 6 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.sheets.v4.test; 1 library googleapis.sheets.v4.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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 } 255 }
256 256
257 checkAddSheetResponse(api.AddSheetResponse o) { 257 checkAddSheetResponse(api.AddSheetResponse o) {
258 buildCounterAddSheetResponse++; 258 buildCounterAddSheetResponse++;
259 if (buildCounterAddSheetResponse < 3) { 259 if (buildCounterAddSheetResponse < 3) {
260 checkSheetProperties(o.properties); 260 checkSheetProperties(o.properties);
261 } 261 }
262 buildCounterAddSheetResponse--; 262 buildCounterAddSheetResponse--;
263 } 263 }
264 264
265 buildUnnamed2725() { 265 buildUnnamed577() {
266 var o = new core.List<api.RowData>(); 266 var o = new core.List<api.RowData>();
267 o.add(buildRowData()); 267 o.add(buildRowData());
268 o.add(buildRowData()); 268 o.add(buildRowData());
269 return o; 269 return o;
270 } 270 }
271 271
272 checkUnnamed2725(core.List<api.RowData> o) { 272 checkUnnamed577(core.List<api.RowData> o) {
273 unittest.expect(o, unittest.hasLength(2)); 273 unittest.expect(o, unittest.hasLength(2));
274 checkRowData(o[0]); 274 checkRowData(o[0]);
275 checkRowData(o[1]); 275 checkRowData(o[1]);
276 } 276 }
277 277
278 core.int buildCounterAppendCellsRequest = 0; 278 core.int buildCounterAppendCellsRequest = 0;
279 buildAppendCellsRequest() { 279 buildAppendCellsRequest() {
280 var o = new api.AppendCellsRequest(); 280 var o = new api.AppendCellsRequest();
281 buildCounterAppendCellsRequest++; 281 buildCounterAppendCellsRequest++;
282 if (buildCounterAppendCellsRequest < 3) { 282 if (buildCounterAppendCellsRequest < 3) {
283 o.fields = "foo"; 283 o.fields = "foo";
284 o.rows = buildUnnamed2725(); 284 o.rows = buildUnnamed577();
285 o.sheetId = 42; 285 o.sheetId = 42;
286 } 286 }
287 buildCounterAppendCellsRequest--; 287 buildCounterAppendCellsRequest--;
288 return o; 288 return o;
289 } 289 }
290 290
291 checkAppendCellsRequest(api.AppendCellsRequest o) { 291 checkAppendCellsRequest(api.AppendCellsRequest o) {
292 buildCounterAppendCellsRequest++; 292 buildCounterAppendCellsRequest++;
293 if (buildCounterAppendCellsRequest < 3) { 293 if (buildCounterAppendCellsRequest < 3) {
294 unittest.expect(o.fields, unittest.equals('foo')); 294 unittest.expect(o.fields, unittest.equals('foo'));
295 checkUnnamed2725(o.rows); 295 checkUnnamed577(o.rows);
296 unittest.expect(o.sheetId, unittest.equals(42)); 296 unittest.expect(o.sheetId, unittest.equals(42));
297 } 297 }
298 buildCounterAppendCellsRequest--; 298 buildCounterAppendCellsRequest--;
299 } 299 }
300 300
301 core.int buildCounterAppendDimensionRequest = 0; 301 core.int buildCounterAppendDimensionRequest = 0;
302 buildAppendDimensionRequest() { 302 buildAppendDimensionRequest() {
303 var o = new api.AppendDimensionRequest(); 303 var o = new api.AppendDimensionRequest();
304 buildCounterAppendDimensionRequest++; 304 buildCounterAppendDimensionRequest++;
305 if (buildCounterAppendDimensionRequest < 3) { 305 if (buildCounterAppendDimensionRequest < 3) {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 checkBasicChartSeries(api.BasicChartSeries o) { 421 checkBasicChartSeries(api.BasicChartSeries o) {
422 buildCounterBasicChartSeries++; 422 buildCounterBasicChartSeries++;
423 if (buildCounterBasicChartSeries < 3) { 423 if (buildCounterBasicChartSeries < 3) {
424 checkChartData(o.series); 424 checkChartData(o.series);
425 unittest.expect(o.targetAxis, unittest.equals('foo')); 425 unittest.expect(o.targetAxis, unittest.equals('foo'));
426 unittest.expect(o.type, unittest.equals('foo')); 426 unittest.expect(o.type, unittest.equals('foo'));
427 } 427 }
428 buildCounterBasicChartSeries--; 428 buildCounterBasicChartSeries--;
429 } 429 }
430 430
431 buildUnnamed2726() { 431 buildUnnamed578() {
432 var o = new core.List<api.BasicChartAxis>(); 432 var o = new core.List<api.BasicChartAxis>();
433 o.add(buildBasicChartAxis()); 433 o.add(buildBasicChartAxis());
434 o.add(buildBasicChartAxis()); 434 o.add(buildBasicChartAxis());
435 return o; 435 return o;
436 } 436 }
437 437
438 checkUnnamed2726(core.List<api.BasicChartAxis> o) { 438 checkUnnamed578(core.List<api.BasicChartAxis> o) {
439 unittest.expect(o, unittest.hasLength(2)); 439 unittest.expect(o, unittest.hasLength(2));
440 checkBasicChartAxis(o[0]); 440 checkBasicChartAxis(o[0]);
441 checkBasicChartAxis(o[1]); 441 checkBasicChartAxis(o[1]);
442 } 442 }
443 443
444 buildUnnamed2727() { 444 buildUnnamed579() {
445 var o = new core.List<api.BasicChartDomain>(); 445 var o = new core.List<api.BasicChartDomain>();
446 o.add(buildBasicChartDomain()); 446 o.add(buildBasicChartDomain());
447 o.add(buildBasicChartDomain()); 447 o.add(buildBasicChartDomain());
448 return o; 448 return o;
449 } 449 }
450 450
451 checkUnnamed2727(core.List<api.BasicChartDomain> o) { 451 checkUnnamed579(core.List<api.BasicChartDomain> o) {
452 unittest.expect(o, unittest.hasLength(2)); 452 unittest.expect(o, unittest.hasLength(2));
453 checkBasicChartDomain(o[0]); 453 checkBasicChartDomain(o[0]);
454 checkBasicChartDomain(o[1]); 454 checkBasicChartDomain(o[1]);
455 } 455 }
456 456
457 buildUnnamed2728() { 457 buildUnnamed580() {
458 var o = new core.List<api.BasicChartSeries>(); 458 var o = new core.List<api.BasicChartSeries>();
459 o.add(buildBasicChartSeries()); 459 o.add(buildBasicChartSeries());
460 o.add(buildBasicChartSeries()); 460 o.add(buildBasicChartSeries());
461 return o; 461 return o;
462 } 462 }
463 463
464 checkUnnamed2728(core.List<api.BasicChartSeries> o) { 464 checkUnnamed580(core.List<api.BasicChartSeries> o) {
465 unittest.expect(o, unittest.hasLength(2)); 465 unittest.expect(o, unittest.hasLength(2));
466 checkBasicChartSeries(o[0]); 466 checkBasicChartSeries(o[0]);
467 checkBasicChartSeries(o[1]); 467 checkBasicChartSeries(o[1]);
468 } 468 }
469 469
470 core.int buildCounterBasicChartSpec = 0; 470 core.int buildCounterBasicChartSpec = 0;
471 buildBasicChartSpec() { 471 buildBasicChartSpec() {
472 var o = new api.BasicChartSpec(); 472 var o = new api.BasicChartSpec();
473 buildCounterBasicChartSpec++; 473 buildCounterBasicChartSpec++;
474 if (buildCounterBasicChartSpec < 3) { 474 if (buildCounterBasicChartSpec < 3) {
475 o.axis = buildUnnamed2726(); 475 o.axis = buildUnnamed578();
476 o.chartType = "foo"; 476 o.chartType = "foo";
477 o.domains = buildUnnamed2727(); 477 o.domains = buildUnnamed579();
478 o.headerCount = 42; 478 o.headerCount = 42;
479 o.legendPosition = "foo"; 479 o.legendPosition = "foo";
480 o.series = buildUnnamed2728(); 480 o.series = buildUnnamed580();
481 } 481 }
482 buildCounterBasicChartSpec--; 482 buildCounterBasicChartSpec--;
483 return o; 483 return o;
484 } 484 }
485 485
486 checkBasicChartSpec(api.BasicChartSpec o) { 486 checkBasicChartSpec(api.BasicChartSpec o) {
487 buildCounterBasicChartSpec++; 487 buildCounterBasicChartSpec++;
488 if (buildCounterBasicChartSpec < 3) { 488 if (buildCounterBasicChartSpec < 3) {
489 checkUnnamed2726(o.axis); 489 checkUnnamed578(o.axis);
490 unittest.expect(o.chartType, unittest.equals('foo')); 490 unittest.expect(o.chartType, unittest.equals('foo'));
491 checkUnnamed2727(o.domains); 491 checkUnnamed579(o.domains);
492 unittest.expect(o.headerCount, unittest.equals(42)); 492 unittest.expect(o.headerCount, unittest.equals(42));
493 unittest.expect(o.legendPosition, unittest.equals('foo')); 493 unittest.expect(o.legendPosition, unittest.equals('foo'));
494 checkUnnamed2728(o.series); 494 checkUnnamed580(o.series);
495 } 495 }
496 buildCounterBasicChartSpec--; 496 buildCounterBasicChartSpec--;
497 } 497 }
498 498
499 buildUnnamed2729() { 499 buildUnnamed581() {
500 var o = new core.Map<core.String, api.FilterCriteria>(); 500 var o = new core.Map<core.String, api.FilterCriteria>();
501 o["x"] = buildFilterCriteria(); 501 o["x"] = buildFilterCriteria();
502 o["y"] = buildFilterCriteria(); 502 o["y"] = buildFilterCriteria();
503 return o; 503 return o;
504 } 504 }
505 505
506 checkUnnamed2729(core.Map<core.String, api.FilterCriteria> o) { 506 checkUnnamed581(core.Map<core.String, api.FilterCriteria> o) {
507 unittest.expect(o, unittest.hasLength(2)); 507 unittest.expect(o, unittest.hasLength(2));
508 checkFilterCriteria(o["x"]); 508 checkFilterCriteria(o["x"]);
509 checkFilterCriteria(o["y"]); 509 checkFilterCriteria(o["y"]);
510 } 510 }
511 511
512 buildUnnamed2730() { 512 buildUnnamed582() {
513 var o = new core.List<api.SortSpec>(); 513 var o = new core.List<api.SortSpec>();
514 o.add(buildSortSpec()); 514 o.add(buildSortSpec());
515 o.add(buildSortSpec()); 515 o.add(buildSortSpec());
516 return o; 516 return o;
517 } 517 }
518 518
519 checkUnnamed2730(core.List<api.SortSpec> o) { 519 checkUnnamed582(core.List<api.SortSpec> o) {
520 unittest.expect(o, unittest.hasLength(2)); 520 unittest.expect(o, unittest.hasLength(2));
521 checkSortSpec(o[0]); 521 checkSortSpec(o[0]);
522 checkSortSpec(o[1]); 522 checkSortSpec(o[1]);
523 } 523 }
524 524
525 core.int buildCounterBasicFilter = 0; 525 core.int buildCounterBasicFilter = 0;
526 buildBasicFilter() { 526 buildBasicFilter() {
527 var o = new api.BasicFilter(); 527 var o = new api.BasicFilter();
528 buildCounterBasicFilter++; 528 buildCounterBasicFilter++;
529 if (buildCounterBasicFilter < 3) { 529 if (buildCounterBasicFilter < 3) {
530 o.criteria = buildUnnamed2729(); 530 o.criteria = buildUnnamed581();
531 o.range = buildGridRange(); 531 o.range = buildGridRange();
532 o.sortSpecs = buildUnnamed2730(); 532 o.sortSpecs = buildUnnamed582();
533 } 533 }
534 buildCounterBasicFilter--; 534 buildCounterBasicFilter--;
535 return o; 535 return o;
536 } 536 }
537 537
538 checkBasicFilter(api.BasicFilter o) { 538 checkBasicFilter(api.BasicFilter o) {
539 buildCounterBasicFilter++; 539 buildCounterBasicFilter++;
540 if (buildCounterBasicFilter < 3) { 540 if (buildCounterBasicFilter < 3) {
541 checkUnnamed2729(o.criteria); 541 checkUnnamed581(o.criteria);
542 checkGridRange(o.range); 542 checkGridRange(o.range);
543 checkUnnamed2730(o.sortSpecs); 543 checkUnnamed582(o.sortSpecs);
544 } 544 }
545 buildCounterBasicFilter--; 545 buildCounterBasicFilter--;
546 } 546 }
547 547
548 buildUnnamed2731() { 548 buildUnnamed583() {
549 var o = new core.List<api.ValueRange>(); 549 var o = new core.List<api.ValueRange>();
550 o.add(buildValueRange()); 550 o.add(buildValueRange());
551 o.add(buildValueRange()); 551 o.add(buildValueRange());
552 return o; 552 return o;
553 } 553 }
554 554
555 checkUnnamed2731(core.List<api.ValueRange> o) { 555 checkUnnamed583(core.List<api.ValueRange> o) {
556 unittest.expect(o, unittest.hasLength(2)); 556 unittest.expect(o, unittest.hasLength(2));
557 checkValueRange(o[0]); 557 checkValueRange(o[0]);
558 checkValueRange(o[1]); 558 checkValueRange(o[1]);
559 } 559 }
560 560
561 core.int buildCounterBatchGetValuesResponse = 0; 561 core.int buildCounterBatchGetValuesResponse = 0;
562 buildBatchGetValuesResponse() { 562 buildBatchGetValuesResponse() {
563 var o = new api.BatchGetValuesResponse(); 563 var o = new api.BatchGetValuesResponse();
564 buildCounterBatchGetValuesResponse++; 564 buildCounterBatchGetValuesResponse++;
565 if (buildCounterBatchGetValuesResponse < 3) { 565 if (buildCounterBatchGetValuesResponse < 3) {
566 o.spreadsheetId = "foo"; 566 o.spreadsheetId = "foo";
567 o.valueRanges = buildUnnamed2731(); 567 o.valueRanges = buildUnnamed583();
568 } 568 }
569 buildCounterBatchGetValuesResponse--; 569 buildCounterBatchGetValuesResponse--;
570 return o; 570 return o;
571 } 571 }
572 572
573 checkBatchGetValuesResponse(api.BatchGetValuesResponse o) { 573 checkBatchGetValuesResponse(api.BatchGetValuesResponse o) {
574 buildCounterBatchGetValuesResponse++; 574 buildCounterBatchGetValuesResponse++;
575 if (buildCounterBatchGetValuesResponse < 3) { 575 if (buildCounterBatchGetValuesResponse < 3) {
576 unittest.expect(o.spreadsheetId, unittest.equals('foo')); 576 unittest.expect(o.spreadsheetId, unittest.equals('foo'));
577 checkUnnamed2731(o.valueRanges); 577 checkUnnamed583(o.valueRanges);
578 } 578 }
579 buildCounterBatchGetValuesResponse--; 579 buildCounterBatchGetValuesResponse--;
580 } 580 }
581 581
582 buildUnnamed2732() { 582 buildUnnamed584() {
583 var o = new core.List<api.Request>(); 583 var o = new core.List<api.Request>();
584 o.add(buildRequest()); 584 o.add(buildRequest());
585 o.add(buildRequest()); 585 o.add(buildRequest());
586 return o; 586 return o;
587 } 587 }
588 588
589 checkUnnamed2732(core.List<api.Request> o) { 589 checkUnnamed584(core.List<api.Request> o) {
590 unittest.expect(o, unittest.hasLength(2)); 590 unittest.expect(o, unittest.hasLength(2));
591 checkRequest(o[0]); 591 checkRequest(o[0]);
592 checkRequest(o[1]); 592 checkRequest(o[1]);
593 } 593 }
594 594
595 core.int buildCounterBatchUpdateSpreadsheetRequest = 0; 595 core.int buildCounterBatchUpdateSpreadsheetRequest = 0;
596 buildBatchUpdateSpreadsheetRequest() { 596 buildBatchUpdateSpreadsheetRequest() {
597 var o = new api.BatchUpdateSpreadsheetRequest(); 597 var o = new api.BatchUpdateSpreadsheetRequest();
598 buildCounterBatchUpdateSpreadsheetRequest++; 598 buildCounterBatchUpdateSpreadsheetRequest++;
599 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { 599 if (buildCounterBatchUpdateSpreadsheetRequest < 3) {
600 o.requests = buildUnnamed2732(); 600 o.requests = buildUnnamed584();
601 } 601 }
602 buildCounterBatchUpdateSpreadsheetRequest--; 602 buildCounterBatchUpdateSpreadsheetRequest--;
603 return o; 603 return o;
604 } 604 }
605 605
606 checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) { 606 checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) {
607 buildCounterBatchUpdateSpreadsheetRequest++; 607 buildCounterBatchUpdateSpreadsheetRequest++;
608 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { 608 if (buildCounterBatchUpdateSpreadsheetRequest < 3) {
609 checkUnnamed2732(o.requests); 609 checkUnnamed584(o.requests);
610 } 610 }
611 buildCounterBatchUpdateSpreadsheetRequest--; 611 buildCounterBatchUpdateSpreadsheetRequest--;
612 } 612 }
613 613
614 buildUnnamed2733() { 614 buildUnnamed585() {
615 var o = new core.List<api.Response>(); 615 var o = new core.List<api.Response>();
616 o.add(buildResponse()); 616 o.add(buildResponse());
617 o.add(buildResponse()); 617 o.add(buildResponse());
618 return o; 618 return o;
619 } 619 }
620 620
621 checkUnnamed2733(core.List<api.Response> o) { 621 checkUnnamed585(core.List<api.Response> o) {
622 unittest.expect(o, unittest.hasLength(2)); 622 unittest.expect(o, unittest.hasLength(2));
623 checkResponse(o[0]); 623 checkResponse(o[0]);
624 checkResponse(o[1]); 624 checkResponse(o[1]);
625 } 625 }
626 626
627 core.int buildCounterBatchUpdateSpreadsheetResponse = 0; 627 core.int buildCounterBatchUpdateSpreadsheetResponse = 0;
628 buildBatchUpdateSpreadsheetResponse() { 628 buildBatchUpdateSpreadsheetResponse() {
629 var o = new api.BatchUpdateSpreadsheetResponse(); 629 var o = new api.BatchUpdateSpreadsheetResponse();
630 buildCounterBatchUpdateSpreadsheetResponse++; 630 buildCounterBatchUpdateSpreadsheetResponse++;
631 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { 631 if (buildCounterBatchUpdateSpreadsheetResponse < 3) {
632 o.replies = buildUnnamed2733(); 632 o.replies = buildUnnamed585();
633 o.spreadsheetId = "foo"; 633 o.spreadsheetId = "foo";
634 } 634 }
635 buildCounterBatchUpdateSpreadsheetResponse--; 635 buildCounterBatchUpdateSpreadsheetResponse--;
636 return o; 636 return o;
637 } 637 }
638 638
639 checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) { 639 checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) {
640 buildCounterBatchUpdateSpreadsheetResponse++; 640 buildCounterBatchUpdateSpreadsheetResponse++;
641 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { 641 if (buildCounterBatchUpdateSpreadsheetResponse < 3) {
642 checkUnnamed2733(o.replies); 642 checkUnnamed585(o.replies);
643 unittest.expect(o.spreadsheetId, unittest.equals('foo')); 643 unittest.expect(o.spreadsheetId, unittest.equals('foo'));
644 } 644 }
645 buildCounterBatchUpdateSpreadsheetResponse--; 645 buildCounterBatchUpdateSpreadsheetResponse--;
646 } 646 }
647 647
648 buildUnnamed2734() { 648 buildUnnamed586() {
649 var o = new core.List<api.ValueRange>(); 649 var o = new core.List<api.ValueRange>();
650 o.add(buildValueRange()); 650 o.add(buildValueRange());
651 o.add(buildValueRange()); 651 o.add(buildValueRange());
652 return o; 652 return o;
653 } 653 }
654 654
655 checkUnnamed2734(core.List<api.ValueRange> o) { 655 checkUnnamed586(core.List<api.ValueRange> o) {
656 unittest.expect(o, unittest.hasLength(2)); 656 unittest.expect(o, unittest.hasLength(2));
657 checkValueRange(o[0]); 657 checkValueRange(o[0]);
658 checkValueRange(o[1]); 658 checkValueRange(o[1]);
659 } 659 }
660 660
661 core.int buildCounterBatchUpdateValuesRequest = 0; 661 core.int buildCounterBatchUpdateValuesRequest = 0;
662 buildBatchUpdateValuesRequest() { 662 buildBatchUpdateValuesRequest() {
663 var o = new api.BatchUpdateValuesRequest(); 663 var o = new api.BatchUpdateValuesRequest();
664 buildCounterBatchUpdateValuesRequest++; 664 buildCounterBatchUpdateValuesRequest++;
665 if (buildCounterBatchUpdateValuesRequest < 3) { 665 if (buildCounterBatchUpdateValuesRequest < 3) {
666 o.data = buildUnnamed2734(); 666 o.data = buildUnnamed586();
667 o.valueInputOption = "foo"; 667 o.valueInputOption = "foo";
668 } 668 }
669 buildCounterBatchUpdateValuesRequest--; 669 buildCounterBatchUpdateValuesRequest--;
670 return o; 670 return o;
671 } 671 }
672 672
673 checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) { 673 checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) {
674 buildCounterBatchUpdateValuesRequest++; 674 buildCounterBatchUpdateValuesRequest++;
675 if (buildCounterBatchUpdateValuesRequest < 3) { 675 if (buildCounterBatchUpdateValuesRequest < 3) {
676 checkUnnamed2734(o.data); 676 checkUnnamed586(o.data);
677 unittest.expect(o.valueInputOption, unittest.equals('foo')); 677 unittest.expect(o.valueInputOption, unittest.equals('foo'));
678 } 678 }
679 buildCounterBatchUpdateValuesRequest--; 679 buildCounterBatchUpdateValuesRequest--;
680 } 680 }
681 681
682 buildUnnamed2735() { 682 buildUnnamed587() {
683 var o = new core.List<api.UpdateValuesResponse>(); 683 var o = new core.List<api.UpdateValuesResponse>();
684 o.add(buildUpdateValuesResponse()); 684 o.add(buildUpdateValuesResponse());
685 o.add(buildUpdateValuesResponse()); 685 o.add(buildUpdateValuesResponse());
686 return o; 686 return o;
687 } 687 }
688 688
689 checkUnnamed2735(core.List<api.UpdateValuesResponse> o) { 689 checkUnnamed587(core.List<api.UpdateValuesResponse> o) {
690 unittest.expect(o, unittest.hasLength(2)); 690 unittest.expect(o, unittest.hasLength(2));
691 checkUpdateValuesResponse(o[0]); 691 checkUpdateValuesResponse(o[0]);
692 checkUpdateValuesResponse(o[1]); 692 checkUpdateValuesResponse(o[1]);
693 } 693 }
694 694
695 core.int buildCounterBatchUpdateValuesResponse = 0; 695 core.int buildCounterBatchUpdateValuesResponse = 0;
696 buildBatchUpdateValuesResponse() { 696 buildBatchUpdateValuesResponse() {
697 var o = new api.BatchUpdateValuesResponse(); 697 var o = new api.BatchUpdateValuesResponse();
698 buildCounterBatchUpdateValuesResponse++; 698 buildCounterBatchUpdateValuesResponse++;
699 if (buildCounterBatchUpdateValuesResponse < 3) { 699 if (buildCounterBatchUpdateValuesResponse < 3) {
700 o.responses = buildUnnamed2735(); 700 o.responses = buildUnnamed587();
701 o.spreadsheetId = "foo"; 701 o.spreadsheetId = "foo";
702 o.totalUpdatedCells = 42; 702 o.totalUpdatedCells = 42;
703 o.totalUpdatedColumns = 42; 703 o.totalUpdatedColumns = 42;
704 o.totalUpdatedRows = 42; 704 o.totalUpdatedRows = 42;
705 o.totalUpdatedSheets = 42; 705 o.totalUpdatedSheets = 42;
706 } 706 }
707 buildCounterBatchUpdateValuesResponse--; 707 buildCounterBatchUpdateValuesResponse--;
708 return o; 708 return o;
709 } 709 }
710 710
711 checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) { 711 checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) {
712 buildCounterBatchUpdateValuesResponse++; 712 buildCounterBatchUpdateValuesResponse++;
713 if (buildCounterBatchUpdateValuesResponse < 3) { 713 if (buildCounterBatchUpdateValuesResponse < 3) {
714 checkUnnamed2735(o.responses); 714 checkUnnamed587(o.responses);
715 unittest.expect(o.spreadsheetId, unittest.equals('foo')); 715 unittest.expect(o.spreadsheetId, unittest.equals('foo'));
716 unittest.expect(o.totalUpdatedCells, unittest.equals(42)); 716 unittest.expect(o.totalUpdatedCells, unittest.equals(42));
717 unittest.expect(o.totalUpdatedColumns, unittest.equals(42)); 717 unittest.expect(o.totalUpdatedColumns, unittest.equals(42));
718 unittest.expect(o.totalUpdatedRows, unittest.equals(42)); 718 unittest.expect(o.totalUpdatedRows, unittest.equals(42));
719 unittest.expect(o.totalUpdatedSheets, unittest.equals(42)); 719 unittest.expect(o.totalUpdatedSheets, unittest.equals(42));
720 } 720 }
721 buildCounterBatchUpdateValuesResponse--; 721 buildCounterBatchUpdateValuesResponse--;
722 } 722 }
723 723
724 buildUnnamed2736() { 724 buildUnnamed588() {
725 var o = new core.List<api.ConditionValue>(); 725 var o = new core.List<api.ConditionValue>();
726 o.add(buildConditionValue()); 726 o.add(buildConditionValue());
727 o.add(buildConditionValue()); 727 o.add(buildConditionValue());
728 return o; 728 return o;
729 } 729 }
730 730
731 checkUnnamed2736(core.List<api.ConditionValue> o) { 731 checkUnnamed588(core.List<api.ConditionValue> o) {
732 unittest.expect(o, unittest.hasLength(2)); 732 unittest.expect(o, unittest.hasLength(2));
733 checkConditionValue(o[0]); 733 checkConditionValue(o[0]);
734 checkConditionValue(o[1]); 734 checkConditionValue(o[1]);
735 } 735 }
736 736
737 core.int buildCounterBooleanCondition = 0; 737 core.int buildCounterBooleanCondition = 0;
738 buildBooleanCondition() { 738 buildBooleanCondition() {
739 var o = new api.BooleanCondition(); 739 var o = new api.BooleanCondition();
740 buildCounterBooleanCondition++; 740 buildCounterBooleanCondition++;
741 if (buildCounterBooleanCondition < 3) { 741 if (buildCounterBooleanCondition < 3) {
742 o.type = "foo"; 742 o.type = "foo";
743 o.values = buildUnnamed2736(); 743 o.values = buildUnnamed588();
744 } 744 }
745 buildCounterBooleanCondition--; 745 buildCounterBooleanCondition--;
746 return o; 746 return o;
747 } 747 }
748 748
749 checkBooleanCondition(api.BooleanCondition o) { 749 checkBooleanCondition(api.BooleanCondition o) {
750 buildCounterBooleanCondition++; 750 buildCounterBooleanCondition++;
751 if (buildCounterBooleanCondition < 3) { 751 if (buildCounterBooleanCondition < 3) {
752 unittest.expect(o.type, unittest.equals('foo')); 752 unittest.expect(o.type, unittest.equals('foo'));
753 checkUnnamed2736(o.values); 753 checkUnnamed588(o.values);
754 } 754 }
755 buildCounterBooleanCondition--; 755 buildCounterBooleanCondition--;
756 } 756 }
757 757
758 core.int buildCounterBooleanRule = 0; 758 core.int buildCounterBooleanRule = 0;
759 buildBooleanRule() { 759 buildBooleanRule() {
760 var o = new api.BooleanRule(); 760 var o = new api.BooleanRule();
761 buildCounterBooleanRule++; 761 buildCounterBooleanRule++;
762 if (buildCounterBooleanRule < 3) { 762 if (buildCounterBooleanRule < 3) {
763 o.condition = buildBooleanCondition(); 763 o.condition = buildBooleanCondition();
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 buildCounterBorders++; 817 buildCounterBorders++;
818 if (buildCounterBorders < 3) { 818 if (buildCounterBorders < 3) {
819 checkBorder(o.bottom); 819 checkBorder(o.bottom);
820 checkBorder(o.left); 820 checkBorder(o.left);
821 checkBorder(o.right); 821 checkBorder(o.right);
822 checkBorder(o.top); 822 checkBorder(o.top);
823 } 823 }
824 buildCounterBorders--; 824 buildCounterBorders--;
825 } 825 }
826 826
827 buildUnnamed2737() { 827 buildUnnamed589() {
828 var o = new core.List<api.TextFormatRun>(); 828 var o = new core.List<api.TextFormatRun>();
829 o.add(buildTextFormatRun()); 829 o.add(buildTextFormatRun());
830 o.add(buildTextFormatRun()); 830 o.add(buildTextFormatRun());
831 return o; 831 return o;
832 } 832 }
833 833
834 checkUnnamed2737(core.List<api.TextFormatRun> o) { 834 checkUnnamed589(core.List<api.TextFormatRun> o) {
835 unittest.expect(o, unittest.hasLength(2)); 835 unittest.expect(o, unittest.hasLength(2));
836 checkTextFormatRun(o[0]); 836 checkTextFormatRun(o[0]);
837 checkTextFormatRun(o[1]); 837 checkTextFormatRun(o[1]);
838 } 838 }
839 839
840 core.int buildCounterCellData = 0; 840 core.int buildCounterCellData = 0;
841 buildCellData() { 841 buildCellData() {
842 var o = new api.CellData(); 842 var o = new api.CellData();
843 buildCounterCellData++; 843 buildCounterCellData++;
844 if (buildCounterCellData < 3) { 844 if (buildCounterCellData < 3) {
845 o.dataValidation = buildDataValidationRule(); 845 o.dataValidation = buildDataValidationRule();
846 o.effectiveFormat = buildCellFormat(); 846 o.effectiveFormat = buildCellFormat();
847 o.effectiveValue = buildExtendedValue(); 847 o.effectiveValue = buildExtendedValue();
848 o.formattedValue = "foo"; 848 o.formattedValue = "foo";
849 o.hyperlink = "foo"; 849 o.hyperlink = "foo";
850 o.note = "foo"; 850 o.note = "foo";
851 o.pivotTable = buildPivotTable(); 851 o.pivotTable = buildPivotTable();
852 o.textFormatRuns = buildUnnamed2737(); 852 o.textFormatRuns = buildUnnamed589();
853 o.userEnteredFormat = buildCellFormat(); 853 o.userEnteredFormat = buildCellFormat();
854 o.userEnteredValue = buildExtendedValue(); 854 o.userEnteredValue = buildExtendedValue();
855 } 855 }
856 buildCounterCellData--; 856 buildCounterCellData--;
857 return o; 857 return o;
858 } 858 }
859 859
860 checkCellData(api.CellData o) { 860 checkCellData(api.CellData o) {
861 buildCounterCellData++; 861 buildCounterCellData++;
862 if (buildCounterCellData < 3) { 862 if (buildCounterCellData < 3) {
863 checkDataValidationRule(o.dataValidation); 863 checkDataValidationRule(o.dataValidation);
864 checkCellFormat(o.effectiveFormat); 864 checkCellFormat(o.effectiveFormat);
865 checkExtendedValue(o.effectiveValue); 865 checkExtendedValue(o.effectiveValue);
866 unittest.expect(o.formattedValue, unittest.equals('foo')); 866 unittest.expect(o.formattedValue, unittest.equals('foo'));
867 unittest.expect(o.hyperlink, unittest.equals('foo')); 867 unittest.expect(o.hyperlink, unittest.equals('foo'));
868 unittest.expect(o.note, unittest.equals('foo')); 868 unittest.expect(o.note, unittest.equals('foo'));
869 checkPivotTable(o.pivotTable); 869 checkPivotTable(o.pivotTable);
870 checkUnnamed2737(o.textFormatRuns); 870 checkUnnamed589(o.textFormatRuns);
871 checkCellFormat(o.userEnteredFormat); 871 checkCellFormat(o.userEnteredFormat);
872 checkExtendedValue(o.userEnteredValue); 872 checkExtendedValue(o.userEnteredValue);
873 } 873 }
874 buildCounterCellData--; 874 buildCounterCellData--;
875 } 875 }
876 876
877 core.int buildCounterCellFormat = 0; 877 core.int buildCounterCellFormat = 0;
878 buildCellFormat() { 878 buildCellFormat() {
879 var o = new api.CellFormat(); 879 var o = new api.CellFormat();
880 buildCounterCellFormat++; 880 buildCounterCellFormat++;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
923 } 923 }
924 924
925 checkChartData(api.ChartData o) { 925 checkChartData(api.ChartData o) {
926 buildCounterChartData++; 926 buildCounterChartData++;
927 if (buildCounterChartData < 3) { 927 if (buildCounterChartData < 3) {
928 checkChartSourceRange(o.sourceRange); 928 checkChartSourceRange(o.sourceRange);
929 } 929 }
930 buildCounterChartData--; 930 buildCounterChartData--;
931 } 931 }
932 932
933 buildUnnamed2738() { 933 buildUnnamed590() {
934 var o = new core.List<api.GridRange>(); 934 var o = new core.List<api.GridRange>();
935 o.add(buildGridRange()); 935 o.add(buildGridRange());
936 o.add(buildGridRange()); 936 o.add(buildGridRange());
937 return o; 937 return o;
938 } 938 }
939 939
940 checkUnnamed2738(core.List<api.GridRange> o) { 940 checkUnnamed590(core.List<api.GridRange> o) {
941 unittest.expect(o, unittest.hasLength(2)); 941 unittest.expect(o, unittest.hasLength(2));
942 checkGridRange(o[0]); 942 checkGridRange(o[0]);
943 checkGridRange(o[1]); 943 checkGridRange(o[1]);
944 } 944 }
945 945
946 core.int buildCounterChartSourceRange = 0; 946 core.int buildCounterChartSourceRange = 0;
947 buildChartSourceRange() { 947 buildChartSourceRange() {
948 var o = new api.ChartSourceRange(); 948 var o = new api.ChartSourceRange();
949 buildCounterChartSourceRange++; 949 buildCounterChartSourceRange++;
950 if (buildCounterChartSourceRange < 3) { 950 if (buildCounterChartSourceRange < 3) {
951 o.sources = buildUnnamed2738(); 951 o.sources = buildUnnamed590();
952 } 952 }
953 buildCounterChartSourceRange--; 953 buildCounterChartSourceRange--;
954 return o; 954 return o;
955 } 955 }
956 956
957 checkChartSourceRange(api.ChartSourceRange o) { 957 checkChartSourceRange(api.ChartSourceRange o) {
958 buildCounterChartSourceRange++; 958 buildCounterChartSourceRange++;
959 if (buildCounterChartSourceRange < 3) { 959 if (buildCounterChartSourceRange < 3) {
960 checkUnnamed2738(o.sources); 960 checkUnnamed590(o.sources);
961 } 961 }
962 buildCounterChartSourceRange--; 962 buildCounterChartSourceRange--;
963 } 963 }
964 964
965 core.int buildCounterChartSpec = 0; 965 core.int buildCounterChartSpec = 0;
966 buildChartSpec() { 966 buildChartSpec() {
967 var o = new api.ChartSpec(); 967 var o = new api.ChartSpec();
968 buildCounterChartSpec++; 968 buildCounterChartSpec++;
969 if (buildCounterChartSpec < 3) { 969 if (buildCounterChartSpec < 3) {
970 o.basicChart = buildBasicChartSpec(); 970 o.basicChart = buildBasicChartSpec();
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 1045
1046 checkConditionValue(api.ConditionValue o) { 1046 checkConditionValue(api.ConditionValue o) {
1047 buildCounterConditionValue++; 1047 buildCounterConditionValue++;
1048 if (buildCounterConditionValue < 3) { 1048 if (buildCounterConditionValue < 3) {
1049 unittest.expect(o.relativeDate, unittest.equals('foo')); 1049 unittest.expect(o.relativeDate, unittest.equals('foo'));
1050 unittest.expect(o.userEnteredValue, unittest.equals('foo')); 1050 unittest.expect(o.userEnteredValue, unittest.equals('foo'));
1051 } 1051 }
1052 buildCounterConditionValue--; 1052 buildCounterConditionValue--;
1053 } 1053 }
1054 1054
1055 buildUnnamed2739() { 1055 buildUnnamed591() {
1056 var o = new core.List<api.GridRange>(); 1056 var o = new core.List<api.GridRange>();
1057 o.add(buildGridRange()); 1057 o.add(buildGridRange());
1058 o.add(buildGridRange()); 1058 o.add(buildGridRange());
1059 return o; 1059 return o;
1060 } 1060 }
1061 1061
1062 checkUnnamed2739(core.List<api.GridRange> o) { 1062 checkUnnamed591(core.List<api.GridRange> o) {
1063 unittest.expect(o, unittest.hasLength(2)); 1063 unittest.expect(o, unittest.hasLength(2));
1064 checkGridRange(o[0]); 1064 checkGridRange(o[0]);
1065 checkGridRange(o[1]); 1065 checkGridRange(o[1]);
1066 } 1066 }
1067 1067
1068 core.int buildCounterConditionalFormatRule = 0; 1068 core.int buildCounterConditionalFormatRule = 0;
1069 buildConditionalFormatRule() { 1069 buildConditionalFormatRule() {
1070 var o = new api.ConditionalFormatRule(); 1070 var o = new api.ConditionalFormatRule();
1071 buildCounterConditionalFormatRule++; 1071 buildCounterConditionalFormatRule++;
1072 if (buildCounterConditionalFormatRule < 3) { 1072 if (buildCounterConditionalFormatRule < 3) {
1073 o.booleanRule = buildBooleanRule(); 1073 o.booleanRule = buildBooleanRule();
1074 o.gradientRule = buildGradientRule(); 1074 o.gradientRule = buildGradientRule();
1075 o.ranges = buildUnnamed2739(); 1075 o.ranges = buildUnnamed591();
1076 } 1076 }
1077 buildCounterConditionalFormatRule--; 1077 buildCounterConditionalFormatRule--;
1078 return o; 1078 return o;
1079 } 1079 }
1080 1080
1081 checkConditionalFormatRule(api.ConditionalFormatRule o) { 1081 checkConditionalFormatRule(api.ConditionalFormatRule o) {
1082 buildCounterConditionalFormatRule++; 1082 buildCounterConditionalFormatRule++;
1083 if (buildCounterConditionalFormatRule < 3) { 1083 if (buildCounterConditionalFormatRule < 3) {
1084 checkBooleanRule(o.booleanRule); 1084 checkBooleanRule(o.booleanRule);
1085 checkGradientRule(o.gradientRule); 1085 checkGradientRule(o.gradientRule);
1086 checkUnnamed2739(o.ranges); 1086 checkUnnamed591(o.ranges);
1087 } 1087 }
1088 buildCounterConditionalFormatRule--; 1088 buildCounterConditionalFormatRule--;
1089 } 1089 }
1090 1090
1091 core.int buildCounterCopyPasteRequest = 0; 1091 core.int buildCounterCopyPasteRequest = 0;
1092 buildCopyPasteRequest() { 1092 buildCopyPasteRequest() {
1093 var o = new api.CopyPasteRequest(); 1093 var o = new api.CopyPasteRequest();
1094 buildCounterCopyPasteRequest++; 1094 buildCounterCopyPasteRequest++;
1095 if (buildCounterCopyPasteRequest < 3) { 1095 if (buildCounterCopyPasteRequest < 3) {
1096 o.destination = buildGridRange(); 1096 o.destination = buildGridRange();
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1457 } 1457 }
1458 1458
1459 checkDuplicateSheetResponse(api.DuplicateSheetResponse o) { 1459 checkDuplicateSheetResponse(api.DuplicateSheetResponse o) {
1460 buildCounterDuplicateSheetResponse++; 1460 buildCounterDuplicateSheetResponse++;
1461 if (buildCounterDuplicateSheetResponse < 3) { 1461 if (buildCounterDuplicateSheetResponse < 3) {
1462 checkSheetProperties(o.properties); 1462 checkSheetProperties(o.properties);
1463 } 1463 }
1464 buildCounterDuplicateSheetResponse--; 1464 buildCounterDuplicateSheetResponse--;
1465 } 1465 }
1466 1466
1467 buildUnnamed2740() { 1467 buildUnnamed592() {
1468 var o = new core.List<core.String>(); 1468 var o = new core.List<core.String>();
1469 o.add("foo"); 1469 o.add("foo");
1470 o.add("foo"); 1470 o.add("foo");
1471 return o; 1471 return o;
1472 } 1472 }
1473 1473
1474 checkUnnamed2740(core.List<core.String> o) { 1474 checkUnnamed592(core.List<core.String> o) {
1475 unittest.expect(o, unittest.hasLength(2)); 1475 unittest.expect(o, unittest.hasLength(2));
1476 unittest.expect(o[0], unittest.equals('foo')); 1476 unittest.expect(o[0], unittest.equals('foo'));
1477 unittest.expect(o[1], unittest.equals('foo')); 1477 unittest.expect(o[1], unittest.equals('foo'));
1478 } 1478 }
1479 1479
1480 buildUnnamed2741() { 1480 buildUnnamed593() {
1481 var o = new core.List<core.String>(); 1481 var o = new core.List<core.String>();
1482 o.add("foo"); 1482 o.add("foo");
1483 o.add("foo"); 1483 o.add("foo");
1484 return o; 1484 return o;
1485 } 1485 }
1486 1486
1487 checkUnnamed2741(core.List<core.String> o) { 1487 checkUnnamed593(core.List<core.String> o) {
1488 unittest.expect(o, unittest.hasLength(2)); 1488 unittest.expect(o, unittest.hasLength(2));
1489 unittest.expect(o[0], unittest.equals('foo')); 1489 unittest.expect(o[0], unittest.equals('foo'));
1490 unittest.expect(o[1], unittest.equals('foo')); 1490 unittest.expect(o[1], unittest.equals('foo'));
1491 } 1491 }
1492 1492
1493 core.int buildCounterEditors = 0; 1493 core.int buildCounterEditors = 0;
1494 buildEditors() { 1494 buildEditors() {
1495 var o = new api.Editors(); 1495 var o = new api.Editors();
1496 buildCounterEditors++; 1496 buildCounterEditors++;
1497 if (buildCounterEditors < 3) { 1497 if (buildCounterEditors < 3) {
1498 o.domainUsersCanEdit = true; 1498 o.domainUsersCanEdit = true;
1499 o.groups = buildUnnamed2740(); 1499 o.groups = buildUnnamed592();
1500 o.users = buildUnnamed2741(); 1500 o.users = buildUnnamed593();
1501 } 1501 }
1502 buildCounterEditors--; 1502 buildCounterEditors--;
1503 return o; 1503 return o;
1504 } 1504 }
1505 1505
1506 checkEditors(api.Editors o) { 1506 checkEditors(api.Editors o) {
1507 buildCounterEditors++; 1507 buildCounterEditors++;
1508 if (buildCounterEditors < 3) { 1508 if (buildCounterEditors < 3) {
1509 unittest.expect(o.domainUsersCanEdit, unittest.isTrue); 1509 unittest.expect(o.domainUsersCanEdit, unittest.isTrue);
1510 checkUnnamed2740(o.groups); 1510 checkUnnamed592(o.groups);
1511 checkUnnamed2741(o.users); 1511 checkUnnamed593(o.users);
1512 } 1512 }
1513 buildCounterEditors--; 1513 buildCounterEditors--;
1514 } 1514 }
1515 1515
1516 core.int buildCounterEmbeddedChart = 0; 1516 core.int buildCounterEmbeddedChart = 0;
1517 buildEmbeddedChart() { 1517 buildEmbeddedChart() {
1518 var o = new api.EmbeddedChart(); 1518 var o = new api.EmbeddedChart();
1519 buildCounterEmbeddedChart++; 1519 buildCounterEmbeddedChart++;
1520 if (buildCounterEmbeddedChart < 3) { 1520 if (buildCounterEmbeddedChart < 3) {
1521 o.chartId = 42; 1521 o.chartId = 42;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
1600 if (buildCounterExtendedValue < 3) { 1600 if (buildCounterExtendedValue < 3) {
1601 unittest.expect(o.boolValue, unittest.isTrue); 1601 unittest.expect(o.boolValue, unittest.isTrue);
1602 checkErrorValue(o.errorValue); 1602 checkErrorValue(o.errorValue);
1603 unittest.expect(o.formulaValue, unittest.equals('foo')); 1603 unittest.expect(o.formulaValue, unittest.equals('foo'));
1604 unittest.expect(o.numberValue, unittest.equals(42.0)); 1604 unittest.expect(o.numberValue, unittest.equals(42.0));
1605 unittest.expect(o.stringValue, unittest.equals('foo')); 1605 unittest.expect(o.stringValue, unittest.equals('foo'));
1606 } 1606 }
1607 buildCounterExtendedValue--; 1607 buildCounterExtendedValue--;
1608 } 1608 }
1609 1609
1610 buildUnnamed2742() { 1610 buildUnnamed594() {
1611 var o = new core.List<core.String>(); 1611 var o = new core.List<core.String>();
1612 o.add("foo"); 1612 o.add("foo");
1613 o.add("foo"); 1613 o.add("foo");
1614 return o; 1614 return o;
1615 } 1615 }
1616 1616
1617 checkUnnamed2742(core.List<core.String> o) { 1617 checkUnnamed594(core.List<core.String> o) {
1618 unittest.expect(o, unittest.hasLength(2)); 1618 unittest.expect(o, unittest.hasLength(2));
1619 unittest.expect(o[0], unittest.equals('foo')); 1619 unittest.expect(o[0], unittest.equals('foo'));
1620 unittest.expect(o[1], unittest.equals('foo')); 1620 unittest.expect(o[1], unittest.equals('foo'));
1621 } 1621 }
1622 1622
1623 core.int buildCounterFilterCriteria = 0; 1623 core.int buildCounterFilterCriteria = 0;
1624 buildFilterCriteria() { 1624 buildFilterCriteria() {
1625 var o = new api.FilterCriteria(); 1625 var o = new api.FilterCriteria();
1626 buildCounterFilterCriteria++; 1626 buildCounterFilterCriteria++;
1627 if (buildCounterFilterCriteria < 3) { 1627 if (buildCounterFilterCriteria < 3) {
1628 o.condition = buildBooleanCondition(); 1628 o.condition = buildBooleanCondition();
1629 o.hiddenValues = buildUnnamed2742(); 1629 o.hiddenValues = buildUnnamed594();
1630 } 1630 }
1631 buildCounterFilterCriteria--; 1631 buildCounterFilterCriteria--;
1632 return o; 1632 return o;
1633 } 1633 }
1634 1634
1635 checkFilterCriteria(api.FilterCriteria o) { 1635 checkFilterCriteria(api.FilterCriteria o) {
1636 buildCounterFilterCriteria++; 1636 buildCounterFilterCriteria++;
1637 if (buildCounterFilterCriteria < 3) { 1637 if (buildCounterFilterCriteria < 3) {
1638 checkBooleanCondition(o.condition); 1638 checkBooleanCondition(o.condition);
1639 checkUnnamed2742(o.hiddenValues); 1639 checkUnnamed594(o.hiddenValues);
1640 } 1640 }
1641 buildCounterFilterCriteria--; 1641 buildCounterFilterCriteria--;
1642 } 1642 }
1643 1643
1644 buildUnnamed2743() { 1644 buildUnnamed595() {
1645 var o = new core.Map<core.String, api.FilterCriteria>(); 1645 var o = new core.Map<core.String, api.FilterCriteria>();
1646 o["x"] = buildFilterCriteria(); 1646 o["x"] = buildFilterCriteria();
1647 o["y"] = buildFilterCriteria(); 1647 o["y"] = buildFilterCriteria();
1648 return o; 1648 return o;
1649 } 1649 }
1650 1650
1651 checkUnnamed2743(core.Map<core.String, api.FilterCriteria> o) { 1651 checkUnnamed595(core.Map<core.String, api.FilterCriteria> o) {
1652 unittest.expect(o, unittest.hasLength(2)); 1652 unittest.expect(o, unittest.hasLength(2));
1653 checkFilterCriteria(o["x"]); 1653 checkFilterCriteria(o["x"]);
1654 checkFilterCriteria(o["y"]); 1654 checkFilterCriteria(o["y"]);
1655 } 1655 }
1656 1656
1657 buildUnnamed2744() { 1657 buildUnnamed596() {
1658 var o = new core.List<api.SortSpec>(); 1658 var o = new core.List<api.SortSpec>();
1659 o.add(buildSortSpec()); 1659 o.add(buildSortSpec());
1660 o.add(buildSortSpec()); 1660 o.add(buildSortSpec());
1661 return o; 1661 return o;
1662 } 1662 }
1663 1663
1664 checkUnnamed2744(core.List<api.SortSpec> o) { 1664 checkUnnamed596(core.List<api.SortSpec> o) {
1665 unittest.expect(o, unittest.hasLength(2)); 1665 unittest.expect(o, unittest.hasLength(2));
1666 checkSortSpec(o[0]); 1666 checkSortSpec(o[0]);
1667 checkSortSpec(o[1]); 1667 checkSortSpec(o[1]);
1668 } 1668 }
1669 1669
1670 core.int buildCounterFilterView = 0; 1670 core.int buildCounterFilterView = 0;
1671 buildFilterView() { 1671 buildFilterView() {
1672 var o = new api.FilterView(); 1672 var o = new api.FilterView();
1673 buildCounterFilterView++; 1673 buildCounterFilterView++;
1674 if (buildCounterFilterView < 3) { 1674 if (buildCounterFilterView < 3) {
1675 o.criteria = buildUnnamed2743(); 1675 o.criteria = buildUnnamed595();
1676 o.filterViewId = 42; 1676 o.filterViewId = 42;
1677 o.namedRangeId = "foo"; 1677 o.namedRangeId = "foo";
1678 o.range = buildGridRange(); 1678 o.range = buildGridRange();
1679 o.sortSpecs = buildUnnamed2744(); 1679 o.sortSpecs = buildUnnamed596();
1680 o.title = "foo"; 1680 o.title = "foo";
1681 } 1681 }
1682 buildCounterFilterView--; 1682 buildCounterFilterView--;
1683 return o; 1683 return o;
1684 } 1684 }
1685 1685
1686 checkFilterView(api.FilterView o) { 1686 checkFilterView(api.FilterView o) {
1687 buildCounterFilterView++; 1687 buildCounterFilterView++;
1688 if (buildCounterFilterView < 3) { 1688 if (buildCounterFilterView < 3) {
1689 checkUnnamed2743(o.criteria); 1689 checkUnnamed595(o.criteria);
1690 unittest.expect(o.filterViewId, unittest.equals(42)); 1690 unittest.expect(o.filterViewId, unittest.equals(42));
1691 unittest.expect(o.namedRangeId, unittest.equals('foo')); 1691 unittest.expect(o.namedRangeId, unittest.equals('foo'));
1692 checkGridRange(o.range); 1692 checkGridRange(o.range);
1693 checkUnnamed2744(o.sortSpecs); 1693 checkUnnamed596(o.sortSpecs);
1694 unittest.expect(o.title, unittest.equals('foo')); 1694 unittest.expect(o.title, unittest.equals('foo'));
1695 } 1695 }
1696 buildCounterFilterView--; 1696 buildCounterFilterView--;
1697 } 1697 }
1698 1698
1699 core.int buildCounterFindReplaceRequest = 0; 1699 core.int buildCounterFindReplaceRequest = 0;
1700 buildFindReplaceRequest() { 1700 buildFindReplaceRequest() {
1701 var o = new api.FindReplaceRequest(); 1701 var o = new api.FindReplaceRequest();
1702 buildCounterFindReplaceRequest++; 1702 buildCounterFindReplaceRequest++;
1703 if (buildCounterFindReplaceRequest < 3) { 1703 if (buildCounterFindReplaceRequest < 3) {
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
1797 checkGridCoordinate(api.GridCoordinate o) { 1797 checkGridCoordinate(api.GridCoordinate o) {
1798 buildCounterGridCoordinate++; 1798 buildCounterGridCoordinate++;
1799 if (buildCounterGridCoordinate < 3) { 1799 if (buildCounterGridCoordinate < 3) {
1800 unittest.expect(o.columnIndex, unittest.equals(42)); 1800 unittest.expect(o.columnIndex, unittest.equals(42));
1801 unittest.expect(o.rowIndex, unittest.equals(42)); 1801 unittest.expect(o.rowIndex, unittest.equals(42));
1802 unittest.expect(o.sheetId, unittest.equals(42)); 1802 unittest.expect(o.sheetId, unittest.equals(42));
1803 } 1803 }
1804 buildCounterGridCoordinate--; 1804 buildCounterGridCoordinate--;
1805 } 1805 }
1806 1806
1807 buildUnnamed2745() { 1807 buildUnnamed597() {
1808 var o = new core.List<api.DimensionProperties>(); 1808 var o = new core.List<api.DimensionProperties>();
1809 o.add(buildDimensionProperties()); 1809 o.add(buildDimensionProperties());
1810 o.add(buildDimensionProperties()); 1810 o.add(buildDimensionProperties());
1811 return o; 1811 return o;
1812 } 1812 }
1813 1813
1814 checkUnnamed2745(core.List<api.DimensionProperties> o) { 1814 checkUnnamed597(core.List<api.DimensionProperties> o) {
1815 unittest.expect(o, unittest.hasLength(2)); 1815 unittest.expect(o, unittest.hasLength(2));
1816 checkDimensionProperties(o[0]); 1816 checkDimensionProperties(o[0]);
1817 checkDimensionProperties(o[1]); 1817 checkDimensionProperties(o[1]);
1818 } 1818 }
1819 1819
1820 buildUnnamed2746() { 1820 buildUnnamed598() {
1821 var o = new core.List<api.RowData>(); 1821 var o = new core.List<api.RowData>();
1822 o.add(buildRowData()); 1822 o.add(buildRowData());
1823 o.add(buildRowData()); 1823 o.add(buildRowData());
1824 return o; 1824 return o;
1825 } 1825 }
1826 1826
1827 checkUnnamed2746(core.List<api.RowData> o) { 1827 checkUnnamed598(core.List<api.RowData> o) {
1828 unittest.expect(o, unittest.hasLength(2)); 1828 unittest.expect(o, unittest.hasLength(2));
1829 checkRowData(o[0]); 1829 checkRowData(o[0]);
1830 checkRowData(o[1]); 1830 checkRowData(o[1]);
1831 } 1831 }
1832 1832
1833 buildUnnamed2747() { 1833 buildUnnamed599() {
1834 var o = new core.List<api.DimensionProperties>(); 1834 var o = new core.List<api.DimensionProperties>();
1835 o.add(buildDimensionProperties()); 1835 o.add(buildDimensionProperties());
1836 o.add(buildDimensionProperties()); 1836 o.add(buildDimensionProperties());
1837 return o; 1837 return o;
1838 } 1838 }
1839 1839
1840 checkUnnamed2747(core.List<api.DimensionProperties> o) { 1840 checkUnnamed599(core.List<api.DimensionProperties> o) {
1841 unittest.expect(o, unittest.hasLength(2)); 1841 unittest.expect(o, unittest.hasLength(2));
1842 checkDimensionProperties(o[0]); 1842 checkDimensionProperties(o[0]);
1843 checkDimensionProperties(o[1]); 1843 checkDimensionProperties(o[1]);
1844 } 1844 }
1845 1845
1846 core.int buildCounterGridData = 0; 1846 core.int buildCounterGridData = 0;
1847 buildGridData() { 1847 buildGridData() {
1848 var o = new api.GridData(); 1848 var o = new api.GridData();
1849 buildCounterGridData++; 1849 buildCounterGridData++;
1850 if (buildCounterGridData < 3) { 1850 if (buildCounterGridData < 3) {
1851 o.columnMetadata = buildUnnamed2745(); 1851 o.columnMetadata = buildUnnamed597();
1852 o.rowData = buildUnnamed2746(); 1852 o.rowData = buildUnnamed598();
1853 o.rowMetadata = buildUnnamed2747(); 1853 o.rowMetadata = buildUnnamed599();
1854 o.startColumn = 42; 1854 o.startColumn = 42;
1855 o.startRow = 42; 1855 o.startRow = 42;
1856 } 1856 }
1857 buildCounterGridData--; 1857 buildCounterGridData--;
1858 return o; 1858 return o;
1859 } 1859 }
1860 1860
1861 checkGridData(api.GridData o) { 1861 checkGridData(api.GridData o) {
1862 buildCounterGridData++; 1862 buildCounterGridData++;
1863 if (buildCounterGridData < 3) { 1863 if (buildCounterGridData < 3) {
1864 checkUnnamed2745(o.columnMetadata); 1864 checkUnnamed597(o.columnMetadata);
1865 checkUnnamed2746(o.rowData); 1865 checkUnnamed598(o.rowData);
1866 checkUnnamed2747(o.rowMetadata); 1866 checkUnnamed599(o.rowMetadata);
1867 unittest.expect(o.startColumn, unittest.equals(42)); 1867 unittest.expect(o.startColumn, unittest.equals(42));
1868 unittest.expect(o.startRow, unittest.equals(42)); 1868 unittest.expect(o.startRow, unittest.equals(42));
1869 } 1869 }
1870 buildCounterGridData--; 1870 buildCounterGridData--;
1871 } 1871 }
1872 1872
1873 core.int buildCounterGridProperties = 0; 1873 core.int buildCounterGridProperties = 0;
1874 buildGridProperties() { 1874 buildGridProperties() {
1875 var o = new api.GridProperties(); 1875 var o = new api.GridProperties();
1876 buildCounterGridProperties++; 1876 buildCounterGridProperties++;
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
2153 if (buildCounterPieChartSpec < 3) { 2153 if (buildCounterPieChartSpec < 3) {
2154 checkChartData(o.domain); 2154 checkChartData(o.domain);
2155 unittest.expect(o.legendPosition, unittest.equals('foo')); 2155 unittest.expect(o.legendPosition, unittest.equals('foo'));
2156 unittest.expect(o.pieHole, unittest.equals(42.0)); 2156 unittest.expect(o.pieHole, unittest.equals(42.0));
2157 checkChartData(o.series); 2157 checkChartData(o.series);
2158 unittest.expect(o.threeDimensional, unittest.isTrue); 2158 unittest.expect(o.threeDimensional, unittest.isTrue);
2159 } 2159 }
2160 buildCounterPieChartSpec--; 2160 buildCounterPieChartSpec--;
2161 } 2161 }
2162 2162
2163 buildUnnamed2748() { 2163 buildUnnamed600() {
2164 var o = new core.List<core.String>(); 2164 var o = new core.List<core.String>();
2165 o.add("foo"); 2165 o.add("foo");
2166 o.add("foo"); 2166 o.add("foo");
2167 return o; 2167 return o;
2168 } 2168 }
2169 2169
2170 checkUnnamed2748(core.List<core.String> o) { 2170 checkUnnamed600(core.List<core.String> o) {
2171 unittest.expect(o, unittest.hasLength(2)); 2171 unittest.expect(o, unittest.hasLength(2));
2172 unittest.expect(o[0], unittest.equals('foo')); 2172 unittest.expect(o[0], unittest.equals('foo'));
2173 unittest.expect(o[1], unittest.equals('foo')); 2173 unittest.expect(o[1], unittest.equals('foo'));
2174 } 2174 }
2175 2175
2176 core.int buildCounterPivotFilterCriteria = 0; 2176 core.int buildCounterPivotFilterCriteria = 0;
2177 buildPivotFilterCriteria() { 2177 buildPivotFilterCriteria() {
2178 var o = new api.PivotFilterCriteria(); 2178 var o = new api.PivotFilterCriteria();
2179 buildCounterPivotFilterCriteria++; 2179 buildCounterPivotFilterCriteria++;
2180 if (buildCounterPivotFilterCriteria < 3) { 2180 if (buildCounterPivotFilterCriteria < 3) {
2181 o.visibleValues = buildUnnamed2748(); 2181 o.visibleValues = buildUnnamed600();
2182 } 2182 }
2183 buildCounterPivotFilterCriteria--; 2183 buildCounterPivotFilterCriteria--;
2184 return o; 2184 return o;
2185 } 2185 }
2186 2186
2187 checkPivotFilterCriteria(api.PivotFilterCriteria o) { 2187 checkPivotFilterCriteria(api.PivotFilterCriteria o) {
2188 buildCounterPivotFilterCriteria++; 2188 buildCounterPivotFilterCriteria++;
2189 if (buildCounterPivotFilterCriteria < 3) { 2189 if (buildCounterPivotFilterCriteria < 3) {
2190 checkUnnamed2748(o.visibleValues); 2190 checkUnnamed600(o.visibleValues);
2191 } 2191 }
2192 buildCounterPivotFilterCriteria--; 2192 buildCounterPivotFilterCriteria--;
2193 } 2193 }
2194 2194
2195 buildUnnamed2749() { 2195 buildUnnamed601() {
2196 var o = new core.List<api.PivotGroupValueMetadata>(); 2196 var o = new core.List<api.PivotGroupValueMetadata>();
2197 o.add(buildPivotGroupValueMetadata()); 2197 o.add(buildPivotGroupValueMetadata());
2198 o.add(buildPivotGroupValueMetadata()); 2198 o.add(buildPivotGroupValueMetadata());
2199 return o; 2199 return o;
2200 } 2200 }
2201 2201
2202 checkUnnamed2749(core.List<api.PivotGroupValueMetadata> o) { 2202 checkUnnamed601(core.List<api.PivotGroupValueMetadata> o) {
2203 unittest.expect(o, unittest.hasLength(2)); 2203 unittest.expect(o, unittest.hasLength(2));
2204 checkPivotGroupValueMetadata(o[0]); 2204 checkPivotGroupValueMetadata(o[0]);
2205 checkPivotGroupValueMetadata(o[1]); 2205 checkPivotGroupValueMetadata(o[1]);
2206 } 2206 }
2207 2207
2208 core.int buildCounterPivotGroup = 0; 2208 core.int buildCounterPivotGroup = 0;
2209 buildPivotGroup() { 2209 buildPivotGroup() {
2210 var o = new api.PivotGroup(); 2210 var o = new api.PivotGroup();
2211 buildCounterPivotGroup++; 2211 buildCounterPivotGroup++;
2212 if (buildCounterPivotGroup < 3) { 2212 if (buildCounterPivotGroup < 3) {
2213 o.showTotals = true; 2213 o.showTotals = true;
2214 o.sortOrder = "foo"; 2214 o.sortOrder = "foo";
2215 o.sourceColumnOffset = 42; 2215 o.sourceColumnOffset = 42;
2216 o.valueBucket = buildPivotGroupSortValueBucket(); 2216 o.valueBucket = buildPivotGroupSortValueBucket();
2217 o.valueMetadata = buildUnnamed2749(); 2217 o.valueMetadata = buildUnnamed601();
2218 } 2218 }
2219 buildCounterPivotGroup--; 2219 buildCounterPivotGroup--;
2220 return o; 2220 return o;
2221 } 2221 }
2222 2222
2223 checkPivotGroup(api.PivotGroup o) { 2223 checkPivotGroup(api.PivotGroup o) {
2224 buildCounterPivotGroup++; 2224 buildCounterPivotGroup++;
2225 if (buildCounterPivotGroup < 3) { 2225 if (buildCounterPivotGroup < 3) {
2226 unittest.expect(o.showTotals, unittest.isTrue); 2226 unittest.expect(o.showTotals, unittest.isTrue);
2227 unittest.expect(o.sortOrder, unittest.equals('foo')); 2227 unittest.expect(o.sortOrder, unittest.equals('foo'));
2228 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); 2228 unittest.expect(o.sourceColumnOffset, unittest.equals(42));
2229 checkPivotGroupSortValueBucket(o.valueBucket); 2229 checkPivotGroupSortValueBucket(o.valueBucket);
2230 checkUnnamed2749(o.valueMetadata); 2230 checkUnnamed601(o.valueMetadata);
2231 } 2231 }
2232 buildCounterPivotGroup--; 2232 buildCounterPivotGroup--;
2233 } 2233 }
2234 2234
2235 buildUnnamed2750() { 2235 buildUnnamed602() {
2236 var o = new core.List<api.ExtendedValue>(); 2236 var o = new core.List<api.ExtendedValue>();
2237 o.add(buildExtendedValue()); 2237 o.add(buildExtendedValue());
2238 o.add(buildExtendedValue()); 2238 o.add(buildExtendedValue());
2239 return o; 2239 return o;
2240 } 2240 }
2241 2241
2242 checkUnnamed2750(core.List<api.ExtendedValue> o) { 2242 checkUnnamed602(core.List<api.ExtendedValue> o) {
2243 unittest.expect(o, unittest.hasLength(2)); 2243 unittest.expect(o, unittest.hasLength(2));
2244 checkExtendedValue(o[0]); 2244 checkExtendedValue(o[0]);
2245 checkExtendedValue(o[1]); 2245 checkExtendedValue(o[1]);
2246 } 2246 }
2247 2247
2248 core.int buildCounterPivotGroupSortValueBucket = 0; 2248 core.int buildCounterPivotGroupSortValueBucket = 0;
2249 buildPivotGroupSortValueBucket() { 2249 buildPivotGroupSortValueBucket() {
2250 var o = new api.PivotGroupSortValueBucket(); 2250 var o = new api.PivotGroupSortValueBucket();
2251 buildCounterPivotGroupSortValueBucket++; 2251 buildCounterPivotGroupSortValueBucket++;
2252 if (buildCounterPivotGroupSortValueBucket < 3) { 2252 if (buildCounterPivotGroupSortValueBucket < 3) {
2253 o.buckets = buildUnnamed2750(); 2253 o.buckets = buildUnnamed602();
2254 o.valuesIndex = 42; 2254 o.valuesIndex = 42;
2255 } 2255 }
2256 buildCounterPivotGroupSortValueBucket--; 2256 buildCounterPivotGroupSortValueBucket--;
2257 return o; 2257 return o;
2258 } 2258 }
2259 2259
2260 checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) { 2260 checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) {
2261 buildCounterPivotGroupSortValueBucket++; 2261 buildCounterPivotGroupSortValueBucket++;
2262 if (buildCounterPivotGroupSortValueBucket < 3) { 2262 if (buildCounterPivotGroupSortValueBucket < 3) {
2263 checkUnnamed2750(o.buckets); 2263 checkUnnamed602(o.buckets);
2264 unittest.expect(o.valuesIndex, unittest.equals(42)); 2264 unittest.expect(o.valuesIndex, unittest.equals(42));
2265 } 2265 }
2266 buildCounterPivotGroupSortValueBucket--; 2266 buildCounterPivotGroupSortValueBucket--;
2267 } 2267 }
2268 2268
2269 core.int buildCounterPivotGroupValueMetadata = 0; 2269 core.int buildCounterPivotGroupValueMetadata = 0;
2270 buildPivotGroupValueMetadata() { 2270 buildPivotGroupValueMetadata() {
2271 var o = new api.PivotGroupValueMetadata(); 2271 var o = new api.PivotGroupValueMetadata();
2272 buildCounterPivotGroupValueMetadata++; 2272 buildCounterPivotGroupValueMetadata++;
2273 if (buildCounterPivotGroupValueMetadata < 3) { 2273 if (buildCounterPivotGroupValueMetadata < 3) {
2274 o.collapsed = true; 2274 o.collapsed = true;
2275 o.value = buildExtendedValue(); 2275 o.value = buildExtendedValue();
2276 } 2276 }
2277 buildCounterPivotGroupValueMetadata--; 2277 buildCounterPivotGroupValueMetadata--;
2278 return o; 2278 return o;
2279 } 2279 }
2280 2280
2281 checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) { 2281 checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) {
2282 buildCounterPivotGroupValueMetadata++; 2282 buildCounterPivotGroupValueMetadata++;
2283 if (buildCounterPivotGroupValueMetadata < 3) { 2283 if (buildCounterPivotGroupValueMetadata < 3) {
2284 unittest.expect(o.collapsed, unittest.isTrue); 2284 unittest.expect(o.collapsed, unittest.isTrue);
2285 checkExtendedValue(o.value); 2285 checkExtendedValue(o.value);
2286 } 2286 }
2287 buildCounterPivotGroupValueMetadata--; 2287 buildCounterPivotGroupValueMetadata--;
2288 } 2288 }
2289 2289
2290 buildUnnamed2751() { 2290 buildUnnamed603() {
2291 var o = new core.List<api.PivotGroup>(); 2291 var o = new core.List<api.PivotGroup>();
2292 o.add(buildPivotGroup()); 2292 o.add(buildPivotGroup());
2293 o.add(buildPivotGroup()); 2293 o.add(buildPivotGroup());
2294 return o; 2294 return o;
2295 } 2295 }
2296 2296
2297 checkUnnamed2751(core.List<api.PivotGroup> o) { 2297 checkUnnamed603(core.List<api.PivotGroup> o) {
2298 unittest.expect(o, unittest.hasLength(2)); 2298 unittest.expect(o, unittest.hasLength(2));
2299 checkPivotGroup(o[0]); 2299 checkPivotGroup(o[0]);
2300 checkPivotGroup(o[1]); 2300 checkPivotGroup(o[1]);
2301 } 2301 }
2302 2302
2303 buildUnnamed2752() { 2303 buildUnnamed604() {
2304 var o = new core.Map<core.String, api.PivotFilterCriteria>(); 2304 var o = new core.Map<core.String, api.PivotFilterCriteria>();
2305 o["x"] = buildPivotFilterCriteria(); 2305 o["x"] = buildPivotFilterCriteria();
2306 o["y"] = buildPivotFilterCriteria(); 2306 o["y"] = buildPivotFilterCriteria();
2307 return o; 2307 return o;
2308 } 2308 }
2309 2309
2310 checkUnnamed2752(core.Map<core.String, api.PivotFilterCriteria> o) { 2310 checkUnnamed604(core.Map<core.String, api.PivotFilterCriteria> o) {
2311 unittest.expect(o, unittest.hasLength(2)); 2311 unittest.expect(o, unittest.hasLength(2));
2312 checkPivotFilterCriteria(o["x"]); 2312 checkPivotFilterCriteria(o["x"]);
2313 checkPivotFilterCriteria(o["y"]); 2313 checkPivotFilterCriteria(o["y"]);
2314 } 2314 }
2315 2315
2316 buildUnnamed2753() { 2316 buildUnnamed605() {
2317 var o = new core.List<api.PivotGroup>(); 2317 var o = new core.List<api.PivotGroup>();
2318 o.add(buildPivotGroup()); 2318 o.add(buildPivotGroup());
2319 o.add(buildPivotGroup()); 2319 o.add(buildPivotGroup());
2320 return o; 2320 return o;
2321 } 2321 }
2322 2322
2323 checkUnnamed2753(core.List<api.PivotGroup> o) { 2323 checkUnnamed605(core.List<api.PivotGroup> o) {
2324 unittest.expect(o, unittest.hasLength(2)); 2324 unittest.expect(o, unittest.hasLength(2));
2325 checkPivotGroup(o[0]); 2325 checkPivotGroup(o[0]);
2326 checkPivotGroup(o[1]); 2326 checkPivotGroup(o[1]);
2327 } 2327 }
2328 2328
2329 buildUnnamed2754() { 2329 buildUnnamed606() {
2330 var o = new core.List<api.PivotValue>(); 2330 var o = new core.List<api.PivotValue>();
2331 o.add(buildPivotValue()); 2331 o.add(buildPivotValue());
2332 o.add(buildPivotValue()); 2332 o.add(buildPivotValue());
2333 return o; 2333 return o;
2334 } 2334 }
2335 2335
2336 checkUnnamed2754(core.List<api.PivotValue> o) { 2336 checkUnnamed606(core.List<api.PivotValue> o) {
2337 unittest.expect(o, unittest.hasLength(2)); 2337 unittest.expect(o, unittest.hasLength(2));
2338 checkPivotValue(o[0]); 2338 checkPivotValue(o[0]);
2339 checkPivotValue(o[1]); 2339 checkPivotValue(o[1]);
2340 } 2340 }
2341 2341
2342 core.int buildCounterPivotTable = 0; 2342 core.int buildCounterPivotTable = 0;
2343 buildPivotTable() { 2343 buildPivotTable() {
2344 var o = new api.PivotTable(); 2344 var o = new api.PivotTable();
2345 buildCounterPivotTable++; 2345 buildCounterPivotTable++;
2346 if (buildCounterPivotTable < 3) { 2346 if (buildCounterPivotTable < 3) {
2347 o.columns = buildUnnamed2751(); 2347 o.columns = buildUnnamed603();
2348 o.criteria = buildUnnamed2752(); 2348 o.criteria = buildUnnamed604();
2349 o.rows = buildUnnamed2753(); 2349 o.rows = buildUnnamed605();
2350 o.source = buildGridRange(); 2350 o.source = buildGridRange();
2351 o.valueLayout = "foo"; 2351 o.valueLayout = "foo";
2352 o.values = buildUnnamed2754(); 2352 o.values = buildUnnamed606();
2353 } 2353 }
2354 buildCounterPivotTable--; 2354 buildCounterPivotTable--;
2355 return o; 2355 return o;
2356 } 2356 }
2357 2357
2358 checkPivotTable(api.PivotTable o) { 2358 checkPivotTable(api.PivotTable o) {
2359 buildCounterPivotTable++; 2359 buildCounterPivotTable++;
2360 if (buildCounterPivotTable < 3) { 2360 if (buildCounterPivotTable < 3) {
2361 checkUnnamed2751(o.columns); 2361 checkUnnamed603(o.columns);
2362 checkUnnamed2752(o.criteria); 2362 checkUnnamed604(o.criteria);
2363 checkUnnamed2753(o.rows); 2363 checkUnnamed605(o.rows);
2364 checkGridRange(o.source); 2364 checkGridRange(o.source);
2365 unittest.expect(o.valueLayout, unittest.equals('foo')); 2365 unittest.expect(o.valueLayout, unittest.equals('foo'));
2366 checkUnnamed2754(o.values); 2366 checkUnnamed606(o.values);
2367 } 2367 }
2368 buildCounterPivotTable--; 2368 buildCounterPivotTable--;
2369 } 2369 }
2370 2370
2371 core.int buildCounterPivotValue = 0; 2371 core.int buildCounterPivotValue = 0;
2372 buildPivotValue() { 2372 buildPivotValue() {
2373 var o = new api.PivotValue(); 2373 var o = new api.PivotValue();
2374 buildCounterPivotValue++; 2374 buildCounterPivotValue++;
2375 if (buildCounterPivotValue < 3) { 2375 if (buildCounterPivotValue < 3) {
2376 o.formula = "foo"; 2376 o.formula = "foo";
2377 o.name = "foo"; 2377 o.name = "foo";
2378 o.sourceColumnOffset = 42; 2378 o.sourceColumnOffset = 42;
2379 o.summarizeFunction = "foo"; 2379 o.summarizeFunction = "foo";
2380 } 2380 }
2381 buildCounterPivotValue--; 2381 buildCounterPivotValue--;
2382 return o; 2382 return o;
2383 } 2383 }
2384 2384
2385 checkPivotValue(api.PivotValue o) { 2385 checkPivotValue(api.PivotValue o) {
2386 buildCounterPivotValue++; 2386 buildCounterPivotValue++;
2387 if (buildCounterPivotValue < 3) { 2387 if (buildCounterPivotValue < 3) {
2388 unittest.expect(o.formula, unittest.equals('foo')); 2388 unittest.expect(o.formula, unittest.equals('foo'));
2389 unittest.expect(o.name, unittest.equals('foo')); 2389 unittest.expect(o.name, unittest.equals('foo'));
2390 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); 2390 unittest.expect(o.sourceColumnOffset, unittest.equals(42));
2391 unittest.expect(o.summarizeFunction, unittest.equals('foo')); 2391 unittest.expect(o.summarizeFunction, unittest.equals('foo'));
2392 } 2392 }
2393 buildCounterPivotValue--; 2393 buildCounterPivotValue--;
2394 } 2394 }
2395 2395
2396 buildUnnamed2755() { 2396 buildUnnamed607() {
2397 var o = new core.List<api.GridRange>(); 2397 var o = new core.List<api.GridRange>();
2398 o.add(buildGridRange()); 2398 o.add(buildGridRange());
2399 o.add(buildGridRange()); 2399 o.add(buildGridRange());
2400 return o; 2400 return o;
2401 } 2401 }
2402 2402
2403 checkUnnamed2755(core.List<api.GridRange> o) { 2403 checkUnnamed607(core.List<api.GridRange> o) {
2404 unittest.expect(o, unittest.hasLength(2)); 2404 unittest.expect(o, unittest.hasLength(2));
2405 checkGridRange(o[0]); 2405 checkGridRange(o[0]);
2406 checkGridRange(o[1]); 2406 checkGridRange(o[1]);
2407 } 2407 }
2408 2408
2409 core.int buildCounterProtectedRange = 0; 2409 core.int buildCounterProtectedRange = 0;
2410 buildProtectedRange() { 2410 buildProtectedRange() {
2411 var o = new api.ProtectedRange(); 2411 var o = new api.ProtectedRange();
2412 buildCounterProtectedRange++; 2412 buildCounterProtectedRange++;
2413 if (buildCounterProtectedRange < 3) { 2413 if (buildCounterProtectedRange < 3) {
2414 o.description = "foo"; 2414 o.description = "foo";
2415 o.editors = buildEditors(); 2415 o.editors = buildEditors();
2416 o.namedRangeId = "foo"; 2416 o.namedRangeId = "foo";
2417 o.protectedRangeId = 42; 2417 o.protectedRangeId = 42;
2418 o.range = buildGridRange(); 2418 o.range = buildGridRange();
2419 o.requestingUserCanEdit = true; 2419 o.requestingUserCanEdit = true;
2420 o.unprotectedRanges = buildUnnamed2755(); 2420 o.unprotectedRanges = buildUnnamed607();
2421 o.warningOnly = true; 2421 o.warningOnly = true;
2422 } 2422 }
2423 buildCounterProtectedRange--; 2423 buildCounterProtectedRange--;
2424 return o; 2424 return o;
2425 } 2425 }
2426 2426
2427 checkProtectedRange(api.ProtectedRange o) { 2427 checkProtectedRange(api.ProtectedRange o) {
2428 buildCounterProtectedRange++; 2428 buildCounterProtectedRange++;
2429 if (buildCounterProtectedRange < 3) { 2429 if (buildCounterProtectedRange < 3) {
2430 unittest.expect(o.description, unittest.equals('foo')); 2430 unittest.expect(o.description, unittest.equals('foo'));
2431 checkEditors(o.editors); 2431 checkEditors(o.editors);
2432 unittest.expect(o.namedRangeId, unittest.equals('foo')); 2432 unittest.expect(o.namedRangeId, unittest.equals('foo'));
2433 unittest.expect(o.protectedRangeId, unittest.equals(42)); 2433 unittest.expect(o.protectedRangeId, unittest.equals(42));
2434 checkGridRange(o.range); 2434 checkGridRange(o.range);
2435 unittest.expect(o.requestingUserCanEdit, unittest.isTrue); 2435 unittest.expect(o.requestingUserCanEdit, unittest.isTrue);
2436 checkUnnamed2755(o.unprotectedRanges); 2436 checkUnnamed607(o.unprotectedRanges);
2437 unittest.expect(o.warningOnly, unittest.isTrue); 2437 unittest.expect(o.warningOnly, unittest.isTrue);
2438 } 2438 }
2439 buildCounterProtectedRange--; 2439 buildCounterProtectedRange--;
2440 } 2440 }
2441 2441
2442 core.int buildCounterRepeatCellRequest = 0; 2442 core.int buildCounterRepeatCellRequest = 0;
2443 buildRepeatCellRequest() { 2443 buildRepeatCellRequest() {
2444 var o = new api.RepeatCellRequest(); 2444 var o = new api.RepeatCellRequest();
2445 buildCounterRepeatCellRequest++; 2445 buildCounterRepeatCellRequest++;
2446 if (buildCounterRepeatCellRequest < 3) { 2446 if (buildCounterRepeatCellRequest < 3) {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
2599 checkDeleteConditionalFormatRuleResponse(o.deleteConditionalFormatRule); 2599 checkDeleteConditionalFormatRuleResponse(o.deleteConditionalFormatRule);
2600 checkDuplicateFilterViewResponse(o.duplicateFilterView); 2600 checkDuplicateFilterViewResponse(o.duplicateFilterView);
2601 checkDuplicateSheetResponse(o.duplicateSheet); 2601 checkDuplicateSheetResponse(o.duplicateSheet);
2602 checkFindReplaceResponse(o.findReplace); 2602 checkFindReplaceResponse(o.findReplace);
2603 checkUpdateConditionalFormatRuleResponse(o.updateConditionalFormatRule); 2603 checkUpdateConditionalFormatRuleResponse(o.updateConditionalFormatRule);
2604 checkUpdateEmbeddedObjectPositionResponse(o.updateEmbeddedObjectPosition); 2604 checkUpdateEmbeddedObjectPositionResponse(o.updateEmbeddedObjectPosition);
2605 } 2605 }
2606 buildCounterResponse--; 2606 buildCounterResponse--;
2607 } 2607 }
2608 2608
2609 buildUnnamed2756() { 2609 buildUnnamed608() {
2610 var o = new core.List<api.CellData>(); 2610 var o = new core.List<api.CellData>();
2611 o.add(buildCellData()); 2611 o.add(buildCellData());
2612 o.add(buildCellData()); 2612 o.add(buildCellData());
2613 return o; 2613 return o;
2614 } 2614 }
2615 2615
2616 checkUnnamed2756(core.List<api.CellData> o) { 2616 checkUnnamed608(core.List<api.CellData> o) {
2617 unittest.expect(o, unittest.hasLength(2)); 2617 unittest.expect(o, unittest.hasLength(2));
2618 checkCellData(o[0]); 2618 checkCellData(o[0]);
2619 checkCellData(o[1]); 2619 checkCellData(o[1]);
2620 } 2620 }
2621 2621
2622 core.int buildCounterRowData = 0; 2622 core.int buildCounterRowData = 0;
2623 buildRowData() { 2623 buildRowData() {
2624 var o = new api.RowData(); 2624 var o = new api.RowData();
2625 buildCounterRowData++; 2625 buildCounterRowData++;
2626 if (buildCounterRowData < 3) { 2626 if (buildCounterRowData < 3) {
2627 o.values = buildUnnamed2756(); 2627 o.values = buildUnnamed608();
2628 } 2628 }
2629 buildCounterRowData--; 2629 buildCounterRowData--;
2630 return o; 2630 return o;
2631 } 2631 }
2632 2632
2633 checkRowData(api.RowData o) { 2633 checkRowData(api.RowData o) {
2634 buildCounterRowData++; 2634 buildCounterRowData++;
2635 if (buildCounterRowData < 3) { 2635 if (buildCounterRowData < 3) {
2636 checkUnnamed2756(o.values); 2636 checkUnnamed608(o.values);
2637 } 2637 }
2638 buildCounterRowData--; 2638 buildCounterRowData--;
2639 } 2639 }
2640 2640
2641 core.int buildCounterSetBasicFilterRequest = 0; 2641 core.int buildCounterSetBasicFilterRequest = 0;
2642 buildSetBasicFilterRequest() { 2642 buildSetBasicFilterRequest() {
2643 var o = new api.SetBasicFilterRequest(); 2643 var o = new api.SetBasicFilterRequest();
2644 buildCounterSetBasicFilterRequest++; 2644 buildCounterSetBasicFilterRequest++;
2645 if (buildCounterSetBasicFilterRequest < 3) { 2645 if (buildCounterSetBasicFilterRequest < 3) {
2646 o.filter = buildBasicFilter(); 2646 o.filter = buildBasicFilter();
(...skipping 24 matching lines...) Expand all
2671 2671
2672 checkSetDataValidationRequest(api.SetDataValidationRequest o) { 2672 checkSetDataValidationRequest(api.SetDataValidationRequest o) {
2673 buildCounterSetDataValidationRequest++; 2673 buildCounterSetDataValidationRequest++;
2674 if (buildCounterSetDataValidationRequest < 3) { 2674 if (buildCounterSetDataValidationRequest < 3) {
2675 checkGridRange(o.range); 2675 checkGridRange(o.range);
2676 checkDataValidationRule(o.rule); 2676 checkDataValidationRule(o.rule);
2677 } 2677 }
2678 buildCounterSetDataValidationRequest--; 2678 buildCounterSetDataValidationRequest--;
2679 } 2679 }
2680 2680
2681 buildUnnamed2757() { 2681 buildUnnamed609() {
2682 var o = new core.List<api.EmbeddedChart>(); 2682 var o = new core.List<api.EmbeddedChart>();
2683 o.add(buildEmbeddedChart()); 2683 o.add(buildEmbeddedChart());
2684 o.add(buildEmbeddedChart()); 2684 o.add(buildEmbeddedChart());
2685 return o; 2685 return o;
2686 } 2686 }
2687 2687
2688 checkUnnamed2757(core.List<api.EmbeddedChart> o) { 2688 checkUnnamed609(core.List<api.EmbeddedChart> o) {
2689 unittest.expect(o, unittest.hasLength(2)); 2689 unittest.expect(o, unittest.hasLength(2));
2690 checkEmbeddedChart(o[0]); 2690 checkEmbeddedChart(o[0]);
2691 checkEmbeddedChart(o[1]); 2691 checkEmbeddedChart(o[1]);
2692 } 2692 }
2693 2693
2694 buildUnnamed2758() { 2694 buildUnnamed610() {
2695 var o = new core.List<api.ConditionalFormatRule>(); 2695 var o = new core.List<api.ConditionalFormatRule>();
2696 o.add(buildConditionalFormatRule()); 2696 o.add(buildConditionalFormatRule());
2697 o.add(buildConditionalFormatRule()); 2697 o.add(buildConditionalFormatRule());
2698 return o; 2698 return o;
2699 } 2699 }
2700 2700
2701 checkUnnamed2758(core.List<api.ConditionalFormatRule> o) { 2701 checkUnnamed610(core.List<api.ConditionalFormatRule> o) {
2702 unittest.expect(o, unittest.hasLength(2)); 2702 unittest.expect(o, unittest.hasLength(2));
2703 checkConditionalFormatRule(o[0]); 2703 checkConditionalFormatRule(o[0]);
2704 checkConditionalFormatRule(o[1]); 2704 checkConditionalFormatRule(o[1]);
2705 } 2705 }
2706 2706
2707 buildUnnamed2759() { 2707 buildUnnamed611() {
2708 var o = new core.List<api.GridData>(); 2708 var o = new core.List<api.GridData>();
2709 o.add(buildGridData()); 2709 o.add(buildGridData());
2710 o.add(buildGridData()); 2710 o.add(buildGridData());
2711 return o; 2711 return o;
2712 } 2712 }
2713 2713
2714 checkUnnamed2759(core.List<api.GridData> o) { 2714 checkUnnamed611(core.List<api.GridData> o) {
2715 unittest.expect(o, unittest.hasLength(2)); 2715 unittest.expect(o, unittest.hasLength(2));
2716 checkGridData(o[0]); 2716 checkGridData(o[0]);
2717 checkGridData(o[1]); 2717 checkGridData(o[1]);
2718 } 2718 }
2719 2719
2720 buildUnnamed2760() { 2720 buildUnnamed612() {
2721 var o = new core.List<api.FilterView>(); 2721 var o = new core.List<api.FilterView>();
2722 o.add(buildFilterView()); 2722 o.add(buildFilterView());
2723 o.add(buildFilterView()); 2723 o.add(buildFilterView());
2724 return o; 2724 return o;
2725 } 2725 }
2726 2726
2727 checkUnnamed2760(core.List<api.FilterView> o) { 2727 checkUnnamed612(core.List<api.FilterView> o) {
2728 unittest.expect(o, unittest.hasLength(2)); 2728 unittest.expect(o, unittest.hasLength(2));
2729 checkFilterView(o[0]); 2729 checkFilterView(o[0]);
2730 checkFilterView(o[1]); 2730 checkFilterView(o[1]);
2731 } 2731 }
2732 2732
2733 buildUnnamed2761() { 2733 buildUnnamed613() {
2734 var o = new core.List<api.GridRange>(); 2734 var o = new core.List<api.GridRange>();
2735 o.add(buildGridRange()); 2735 o.add(buildGridRange());
2736 o.add(buildGridRange()); 2736 o.add(buildGridRange());
2737 return o; 2737 return o;
2738 } 2738 }
2739 2739
2740 checkUnnamed2761(core.List<api.GridRange> o) { 2740 checkUnnamed613(core.List<api.GridRange> o) {
2741 unittest.expect(o, unittest.hasLength(2)); 2741 unittest.expect(o, unittest.hasLength(2));
2742 checkGridRange(o[0]); 2742 checkGridRange(o[0]);
2743 checkGridRange(o[1]); 2743 checkGridRange(o[1]);
2744 } 2744 }
2745 2745
2746 buildUnnamed2762() { 2746 buildUnnamed614() {
2747 var o = new core.List<api.ProtectedRange>(); 2747 var o = new core.List<api.ProtectedRange>();
2748 o.add(buildProtectedRange()); 2748 o.add(buildProtectedRange());
2749 o.add(buildProtectedRange()); 2749 o.add(buildProtectedRange());
2750 return o; 2750 return o;
2751 } 2751 }
2752 2752
2753 checkUnnamed2762(core.List<api.ProtectedRange> o) { 2753 checkUnnamed614(core.List<api.ProtectedRange> o) {
2754 unittest.expect(o, unittest.hasLength(2)); 2754 unittest.expect(o, unittest.hasLength(2));
2755 checkProtectedRange(o[0]); 2755 checkProtectedRange(o[0]);
2756 checkProtectedRange(o[1]); 2756 checkProtectedRange(o[1]);
2757 } 2757 }
2758 2758
2759 core.int buildCounterSheet = 0; 2759 core.int buildCounterSheet = 0;
2760 buildSheet() { 2760 buildSheet() {
2761 var o = new api.Sheet(); 2761 var o = new api.Sheet();
2762 buildCounterSheet++; 2762 buildCounterSheet++;
2763 if (buildCounterSheet < 3) { 2763 if (buildCounterSheet < 3) {
2764 o.basicFilter = buildBasicFilter(); 2764 o.basicFilter = buildBasicFilter();
2765 o.charts = buildUnnamed2757(); 2765 o.charts = buildUnnamed609();
2766 o.conditionalFormats = buildUnnamed2758(); 2766 o.conditionalFormats = buildUnnamed610();
2767 o.data = buildUnnamed2759(); 2767 o.data = buildUnnamed611();
2768 o.filterViews = buildUnnamed2760(); 2768 o.filterViews = buildUnnamed612();
2769 o.merges = buildUnnamed2761(); 2769 o.merges = buildUnnamed613();
2770 o.properties = buildSheetProperties(); 2770 o.properties = buildSheetProperties();
2771 o.protectedRanges = buildUnnamed2762(); 2771 o.protectedRanges = buildUnnamed614();
2772 } 2772 }
2773 buildCounterSheet--; 2773 buildCounterSheet--;
2774 return o; 2774 return o;
2775 } 2775 }
2776 2776
2777 checkSheet(api.Sheet o) { 2777 checkSheet(api.Sheet o) {
2778 buildCounterSheet++; 2778 buildCounterSheet++;
2779 if (buildCounterSheet < 3) { 2779 if (buildCounterSheet < 3) {
2780 checkBasicFilter(o.basicFilter); 2780 checkBasicFilter(o.basicFilter);
2781 checkUnnamed2757(o.charts); 2781 checkUnnamed609(o.charts);
2782 checkUnnamed2758(o.conditionalFormats); 2782 checkUnnamed610(o.conditionalFormats);
2783 checkUnnamed2759(o.data); 2783 checkUnnamed611(o.data);
2784 checkUnnamed2760(o.filterViews); 2784 checkUnnamed612(o.filterViews);
2785 checkUnnamed2761(o.merges); 2785 checkUnnamed613(o.merges);
2786 checkSheetProperties(o.properties); 2786 checkSheetProperties(o.properties);
2787 checkUnnamed2762(o.protectedRanges); 2787 checkUnnamed614(o.protectedRanges);
2788 } 2788 }
2789 buildCounterSheet--; 2789 buildCounterSheet--;
2790 } 2790 }
2791 2791
2792 core.int buildCounterSheetProperties = 0; 2792 core.int buildCounterSheetProperties = 0;
2793 buildSheetProperties() { 2793 buildSheetProperties() {
2794 var o = new api.SheetProperties(); 2794 var o = new api.SheetProperties();
2795 buildCounterSheetProperties++; 2795 buildCounterSheetProperties++;
2796 if (buildCounterSheetProperties < 3) { 2796 if (buildCounterSheetProperties < 3) {
2797 o.gridProperties = buildGridProperties(); 2797 o.gridProperties = buildGridProperties();
(...skipping 17 matching lines...) Expand all
2815 unittest.expect(o.index, unittest.equals(42)); 2815 unittest.expect(o.index, unittest.equals(42));
2816 unittest.expect(o.rightToLeft, unittest.isTrue); 2816 unittest.expect(o.rightToLeft, unittest.isTrue);
2817 unittest.expect(o.sheetId, unittest.equals(42)); 2817 unittest.expect(o.sheetId, unittest.equals(42));
2818 unittest.expect(o.sheetType, unittest.equals('foo')); 2818 unittest.expect(o.sheetType, unittest.equals('foo'));
2819 checkColor(o.tabColor); 2819 checkColor(o.tabColor);
2820 unittest.expect(o.title, unittest.equals('foo')); 2820 unittest.expect(o.title, unittest.equals('foo'));
2821 } 2821 }
2822 buildCounterSheetProperties--; 2822 buildCounterSheetProperties--;
2823 } 2823 }
2824 2824
2825 buildUnnamed2763() { 2825 buildUnnamed615() {
2826 var o = new core.List<api.SortSpec>(); 2826 var o = new core.List<api.SortSpec>();
2827 o.add(buildSortSpec()); 2827 o.add(buildSortSpec());
2828 o.add(buildSortSpec()); 2828 o.add(buildSortSpec());
2829 return o; 2829 return o;
2830 } 2830 }
2831 2831
2832 checkUnnamed2763(core.List<api.SortSpec> o) { 2832 checkUnnamed615(core.List<api.SortSpec> o) {
2833 unittest.expect(o, unittest.hasLength(2)); 2833 unittest.expect(o, unittest.hasLength(2));
2834 checkSortSpec(o[0]); 2834 checkSortSpec(o[0]);
2835 checkSortSpec(o[1]); 2835 checkSortSpec(o[1]);
2836 } 2836 }
2837 2837
2838 core.int buildCounterSortRangeRequest = 0; 2838 core.int buildCounterSortRangeRequest = 0;
2839 buildSortRangeRequest() { 2839 buildSortRangeRequest() {
2840 var o = new api.SortRangeRequest(); 2840 var o = new api.SortRangeRequest();
2841 buildCounterSortRangeRequest++; 2841 buildCounterSortRangeRequest++;
2842 if (buildCounterSortRangeRequest < 3) { 2842 if (buildCounterSortRangeRequest < 3) {
2843 o.range = buildGridRange(); 2843 o.range = buildGridRange();
2844 o.sortSpecs = buildUnnamed2763(); 2844 o.sortSpecs = buildUnnamed615();
2845 } 2845 }
2846 buildCounterSortRangeRequest--; 2846 buildCounterSortRangeRequest--;
2847 return o; 2847 return o;
2848 } 2848 }
2849 2849
2850 checkSortRangeRequest(api.SortRangeRequest o) { 2850 checkSortRangeRequest(api.SortRangeRequest o) {
2851 buildCounterSortRangeRequest++; 2851 buildCounterSortRangeRequest++;
2852 if (buildCounterSortRangeRequest < 3) { 2852 if (buildCounterSortRangeRequest < 3) {
2853 checkGridRange(o.range); 2853 checkGridRange(o.range);
2854 checkUnnamed2763(o.sortSpecs); 2854 checkUnnamed615(o.sortSpecs);
2855 } 2855 }
2856 buildCounterSortRangeRequest--; 2856 buildCounterSortRangeRequest--;
2857 } 2857 }
2858 2858
2859 core.int buildCounterSortSpec = 0; 2859 core.int buildCounterSortSpec = 0;
2860 buildSortSpec() { 2860 buildSortSpec() {
2861 var o = new api.SortSpec(); 2861 var o = new api.SortSpec();
2862 buildCounterSortSpec++; 2862 buildCounterSortSpec++;
2863 if (buildCounterSortSpec < 3) { 2863 if (buildCounterSortSpec < 3) {
2864 o.dimensionIndex = 42; 2864 o.dimensionIndex = 42;
(...skipping 28 matching lines...) Expand all
2893 checkSourceAndDestination(api.SourceAndDestination o) { 2893 checkSourceAndDestination(api.SourceAndDestination o) {
2894 buildCounterSourceAndDestination++; 2894 buildCounterSourceAndDestination++;
2895 if (buildCounterSourceAndDestination < 3) { 2895 if (buildCounterSourceAndDestination < 3) {
2896 unittest.expect(o.dimension, unittest.equals('foo')); 2896 unittest.expect(o.dimension, unittest.equals('foo'));
2897 unittest.expect(o.fillLength, unittest.equals(42)); 2897 unittest.expect(o.fillLength, unittest.equals(42));
2898 checkGridRange(o.source); 2898 checkGridRange(o.source);
2899 } 2899 }
2900 buildCounterSourceAndDestination--; 2900 buildCounterSourceAndDestination--;
2901 } 2901 }
2902 2902
2903 buildUnnamed2764() { 2903 buildUnnamed616() {
2904 var o = new core.List<api.NamedRange>(); 2904 var o = new core.List<api.NamedRange>();
2905 o.add(buildNamedRange()); 2905 o.add(buildNamedRange());
2906 o.add(buildNamedRange()); 2906 o.add(buildNamedRange());
2907 return o; 2907 return o;
2908 } 2908 }
2909 2909
2910 checkUnnamed2764(core.List<api.NamedRange> o) { 2910 checkUnnamed616(core.List<api.NamedRange> o) {
2911 unittest.expect(o, unittest.hasLength(2)); 2911 unittest.expect(o, unittest.hasLength(2));
2912 checkNamedRange(o[0]); 2912 checkNamedRange(o[0]);
2913 checkNamedRange(o[1]); 2913 checkNamedRange(o[1]);
2914 } 2914 }
2915 2915
2916 buildUnnamed2765() { 2916 buildUnnamed617() {
2917 var o = new core.List<api.Sheet>(); 2917 var o = new core.List<api.Sheet>();
2918 o.add(buildSheet()); 2918 o.add(buildSheet());
2919 o.add(buildSheet()); 2919 o.add(buildSheet());
2920 return o; 2920 return o;
2921 } 2921 }
2922 2922
2923 checkUnnamed2765(core.List<api.Sheet> o) { 2923 checkUnnamed617(core.List<api.Sheet> o) {
2924 unittest.expect(o, unittest.hasLength(2)); 2924 unittest.expect(o, unittest.hasLength(2));
2925 checkSheet(o[0]); 2925 checkSheet(o[0]);
2926 checkSheet(o[1]); 2926 checkSheet(o[1]);
2927 } 2927 }
2928 2928
2929 core.int buildCounterSpreadsheet = 0; 2929 core.int buildCounterSpreadsheet = 0;
2930 buildSpreadsheet() { 2930 buildSpreadsheet() {
2931 var o = new api.Spreadsheet(); 2931 var o = new api.Spreadsheet();
2932 buildCounterSpreadsheet++; 2932 buildCounterSpreadsheet++;
2933 if (buildCounterSpreadsheet < 3) { 2933 if (buildCounterSpreadsheet < 3) {
2934 o.namedRanges = buildUnnamed2764(); 2934 o.namedRanges = buildUnnamed616();
2935 o.properties = buildSpreadsheetProperties(); 2935 o.properties = buildSpreadsheetProperties();
2936 o.sheets = buildUnnamed2765(); 2936 o.sheets = buildUnnamed617();
2937 o.spreadsheetId = "foo"; 2937 o.spreadsheetId = "foo";
2938 } 2938 }
2939 buildCounterSpreadsheet--; 2939 buildCounterSpreadsheet--;
2940 return o; 2940 return o;
2941 } 2941 }
2942 2942
2943 checkSpreadsheet(api.Spreadsheet o) { 2943 checkSpreadsheet(api.Spreadsheet o) {
2944 buildCounterSpreadsheet++; 2944 buildCounterSpreadsheet++;
2945 if (buildCounterSpreadsheet < 3) { 2945 if (buildCounterSpreadsheet < 3) {
2946 checkUnnamed2764(o.namedRanges); 2946 checkUnnamed616(o.namedRanges);
2947 checkSpreadsheetProperties(o.properties); 2947 checkSpreadsheetProperties(o.properties);
2948 checkUnnamed2765(o.sheets); 2948 checkUnnamed617(o.sheets);
2949 unittest.expect(o.spreadsheetId, unittest.equals('foo')); 2949 unittest.expect(o.spreadsheetId, unittest.equals('foo'));
2950 } 2950 }
2951 buildCounterSpreadsheet--; 2951 buildCounterSpreadsheet--;
2952 } 2952 }
2953 2953
2954 core.int buildCounterSpreadsheetProperties = 0; 2954 core.int buildCounterSpreadsheetProperties = 0;
2955 buildSpreadsheetProperties() { 2955 buildSpreadsheetProperties() {
2956 var o = new api.SpreadsheetProperties(); 2956 var o = new api.SpreadsheetProperties();
2957 buildCounterSpreadsheetProperties++; 2957 buildCounterSpreadsheetProperties++;
2958 if (buildCounterSpreadsheetProperties < 3) { 2958 if (buildCounterSpreadsheetProperties < 3) {
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
3096 checkBorder(o.innerHorizontal); 3096 checkBorder(o.innerHorizontal);
3097 checkBorder(o.innerVertical); 3097 checkBorder(o.innerVertical);
3098 checkBorder(o.left); 3098 checkBorder(o.left);
3099 checkGridRange(o.range); 3099 checkGridRange(o.range);
3100 checkBorder(o.right); 3100 checkBorder(o.right);
3101 checkBorder(o.top); 3101 checkBorder(o.top);
3102 } 3102 }
3103 buildCounterUpdateBordersRequest--; 3103 buildCounterUpdateBordersRequest--;
3104 } 3104 }
3105 3105
3106 buildUnnamed2766() { 3106 buildUnnamed618() {
3107 var o = new core.List<api.RowData>(); 3107 var o = new core.List<api.RowData>();
3108 o.add(buildRowData()); 3108 o.add(buildRowData());
3109 o.add(buildRowData()); 3109 o.add(buildRowData());
3110 return o; 3110 return o;
3111 } 3111 }
3112 3112
3113 checkUnnamed2766(core.List<api.RowData> o) { 3113 checkUnnamed618(core.List<api.RowData> o) {
3114 unittest.expect(o, unittest.hasLength(2)); 3114 unittest.expect(o, unittest.hasLength(2));
3115 checkRowData(o[0]); 3115 checkRowData(o[0]);
3116 checkRowData(o[1]); 3116 checkRowData(o[1]);
3117 } 3117 }
3118 3118
3119 core.int buildCounterUpdateCellsRequest = 0; 3119 core.int buildCounterUpdateCellsRequest = 0;
3120 buildUpdateCellsRequest() { 3120 buildUpdateCellsRequest() {
3121 var o = new api.UpdateCellsRequest(); 3121 var o = new api.UpdateCellsRequest();
3122 buildCounterUpdateCellsRequest++; 3122 buildCounterUpdateCellsRequest++;
3123 if (buildCounterUpdateCellsRequest < 3) { 3123 if (buildCounterUpdateCellsRequest < 3) {
3124 o.fields = "foo"; 3124 o.fields = "foo";
3125 o.range = buildGridRange(); 3125 o.range = buildGridRange();
3126 o.rows = buildUnnamed2766(); 3126 o.rows = buildUnnamed618();
3127 o.start = buildGridCoordinate(); 3127 o.start = buildGridCoordinate();
3128 } 3128 }
3129 buildCounterUpdateCellsRequest--; 3129 buildCounterUpdateCellsRequest--;
3130 return o; 3130 return o;
3131 } 3131 }
3132 3132
3133 checkUpdateCellsRequest(api.UpdateCellsRequest o) { 3133 checkUpdateCellsRequest(api.UpdateCellsRequest o) {
3134 buildCounterUpdateCellsRequest++; 3134 buildCounterUpdateCellsRequest++;
3135 if (buildCounterUpdateCellsRequest < 3) { 3135 if (buildCounterUpdateCellsRequest < 3) {
3136 unittest.expect(o.fields, unittest.equals('foo')); 3136 unittest.expect(o.fields, unittest.equals('foo'));
3137 checkGridRange(o.range); 3137 checkGridRange(o.range);
3138 checkUnnamed2766(o.rows); 3138 checkUnnamed618(o.rows);
3139 checkGridCoordinate(o.start); 3139 checkGridCoordinate(o.start);
3140 } 3140 }
3141 buildCounterUpdateCellsRequest--; 3141 buildCounterUpdateCellsRequest--;
3142 } 3142 }
3143 3143
3144 core.int buildCounterUpdateChartSpecRequest = 0; 3144 core.int buildCounterUpdateChartSpecRequest = 0;
3145 buildUpdateChartSpecRequest() { 3145 buildUpdateChartSpecRequest() {
3146 var o = new api.UpdateChartSpecRequest(); 3146 var o = new api.UpdateChartSpecRequest();
3147 buildCounterUpdateChartSpecRequest++; 3147 buildCounterUpdateChartSpecRequest++;
3148 if (buildCounterUpdateChartSpecRequest < 3) { 3148 if (buildCounterUpdateChartSpecRequest < 3) {
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
3402 if (buildCounterUpdateValuesResponse < 3) { 3402 if (buildCounterUpdateValuesResponse < 3) {
3403 unittest.expect(o.spreadsheetId, unittest.equals('foo')); 3403 unittest.expect(o.spreadsheetId, unittest.equals('foo'));
3404 unittest.expect(o.updatedCells, unittest.equals(42)); 3404 unittest.expect(o.updatedCells, unittest.equals(42));
3405 unittest.expect(o.updatedColumns, unittest.equals(42)); 3405 unittest.expect(o.updatedColumns, unittest.equals(42));
3406 unittest.expect(o.updatedRange, unittest.equals('foo')); 3406 unittest.expect(o.updatedRange, unittest.equals('foo'));
3407 unittest.expect(o.updatedRows, unittest.equals(42)); 3407 unittest.expect(o.updatedRows, unittest.equals(42));
3408 } 3408 }
3409 buildCounterUpdateValuesResponse--; 3409 buildCounterUpdateValuesResponse--;
3410 } 3410 }
3411 3411
3412 buildUnnamed2767() { 3412 buildUnnamed619() {
3413 var o = new core.List<core.Object>(); 3413 var o = new core.List<core.Object>();
3414 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 3414 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
3415 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); 3415 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
3416 return o; 3416 return o;
3417 } 3417 }
3418 3418
3419 checkUnnamed2767(core.List<core.Object> o) { 3419 checkUnnamed619(core.List<core.Object> o) {
3420 unittest.expect(o, unittest.hasLength(2)); 3420 unittest.expect(o, unittest.hasLength(2));
3421 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength( 3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u nittest.equals('foo')); 3421 var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength( 3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], u nittest.equals('foo'));
3422 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength( 3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u nittest.equals('foo')); 3422 var casted2 = (o[1]) as core.Map; unittest.expect(casted2, unittest.hasLength( 3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expe ct(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], u nittest.equals('foo'));
3423 } 3423 }
3424 3424
3425 buildUnnamed2768() { 3425 buildUnnamed620() {
3426 var o = new core.List<core.List<core.Object>>(); 3426 var o = new core.List<core.List<core.Object>>();
3427 o.add(buildUnnamed2767()); 3427 o.add(buildUnnamed619());
3428 o.add(buildUnnamed2767()); 3428 o.add(buildUnnamed619());
3429 return o; 3429 return o;
3430 } 3430 }
3431 3431
3432 checkUnnamed2768(core.List<core.List<core.Object>> o) { 3432 checkUnnamed620(core.List<core.List<core.Object>> o) {
3433 unittest.expect(o, unittest.hasLength(2)); 3433 unittest.expect(o, unittest.hasLength(2));
3434 checkUnnamed2767(o[0]); 3434 checkUnnamed619(o[0]);
3435 checkUnnamed2767(o[1]); 3435 checkUnnamed619(o[1]);
3436 } 3436 }
3437 3437
3438 core.int buildCounterValueRange = 0; 3438 core.int buildCounterValueRange = 0;
3439 buildValueRange() { 3439 buildValueRange() {
3440 var o = new api.ValueRange(); 3440 var o = new api.ValueRange();
3441 buildCounterValueRange++; 3441 buildCounterValueRange++;
3442 if (buildCounterValueRange < 3) { 3442 if (buildCounterValueRange < 3) {
3443 o.majorDimension = "foo"; 3443 o.majorDimension = "foo";
3444 o.range = "foo"; 3444 o.range = "foo";
3445 o.values = buildUnnamed2768(); 3445 o.values = buildUnnamed620();
3446 } 3446 }
3447 buildCounterValueRange--; 3447 buildCounterValueRange--;
3448 return o; 3448 return o;
3449 } 3449 }
3450 3450
3451 checkValueRange(api.ValueRange o) { 3451 checkValueRange(api.ValueRange o) {
3452 buildCounterValueRange++; 3452 buildCounterValueRange++;
3453 if (buildCounterValueRange < 3) { 3453 if (buildCounterValueRange < 3) {
3454 unittest.expect(o.majorDimension, unittest.equals('foo')); 3454 unittest.expect(o.majorDimension, unittest.equals('foo'));
3455 unittest.expect(o.range, unittest.equals('foo')); 3455 unittest.expect(o.range, unittest.equals('foo'));
3456 checkUnnamed2768(o.values); 3456 checkUnnamed620(o.values);
3457 } 3457 }
3458 buildCounterValueRange--; 3458 buildCounterValueRange--;
3459 } 3459 }
3460 3460
3461 buildUnnamed2769() { 3461 buildUnnamed621() {
3462 var o = new core.List<core.String>(); 3462 var o = new core.List<core.String>();
3463 o.add("foo"); 3463 o.add("foo");
3464 o.add("foo"); 3464 o.add("foo");
3465 return o; 3465 return o;
3466 } 3466 }
3467 3467
3468 checkUnnamed2769(core.List<core.String> o) { 3468 checkUnnamed621(core.List<core.String> o) {
3469 unittest.expect(o, unittest.hasLength(2)); 3469 unittest.expect(o, unittest.hasLength(2));
3470 unittest.expect(o[0], unittest.equals('foo')); 3470 unittest.expect(o[0], unittest.equals('foo'));
3471 unittest.expect(o[1], unittest.equals('foo')); 3471 unittest.expect(o[1], unittest.equals('foo'));
3472 } 3472 }
3473 3473
3474 buildUnnamed2770() { 3474 buildUnnamed622() {
3475 var o = new core.List<core.String>(); 3475 var o = new core.List<core.String>();
3476 o.add("foo"); 3476 o.add("foo");
3477 o.add("foo"); 3477 o.add("foo");
3478 return o; 3478 return o;
3479 } 3479 }
3480 3480
3481 checkUnnamed2770(core.List<core.String> o) { 3481 checkUnnamed622(core.List<core.String> o) {
3482 unittest.expect(o, unittest.hasLength(2)); 3482 unittest.expect(o, unittest.hasLength(2));
3483 unittest.expect(o[0], unittest.equals('foo')); 3483 unittest.expect(o[0], unittest.equals('foo'));
3484 unittest.expect(o[1], unittest.equals('foo')); 3484 unittest.expect(o[1], unittest.equals('foo'));
3485 } 3485 }
3486 3486
3487 3487
3488 main() { 3488 main() {
3489 unittest.group("obj-schema-AddChartRequest", () { 3489 unittest.group("obj-schema-AddChartRequest", () {
3490 unittest.test("to-json--from-json", () { 3490 unittest.test("to-json--from-json", () {
3491 var o = buildAddChartRequest(); 3491 var o = buildAddChartRequest();
(...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after
4658 res.create(arg_request).then(unittest.expectAsync(((api.Spreadsheet respon se) { 4658 res.create(arg_request).then(unittest.expectAsync(((api.Spreadsheet respon se) {
4659 checkSpreadsheet(response); 4659 checkSpreadsheet(response);
4660 }))); 4660 })));
4661 }); 4661 });
4662 4662
4663 unittest.test("method--get", () { 4663 unittest.test("method--get", () {
4664 4664
4665 var mock = new HttpServerMock(); 4665 var mock = new HttpServerMock();
4666 api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets; 4666 api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets;
4667 var arg_spreadsheetId = "foo"; 4667 var arg_spreadsheetId = "foo";
4668 var arg_ranges = buildUnnamed2769(); 4668 var arg_ranges = buildUnnamed621();
4669 var arg_includeGridData = true; 4669 var arg_includeGridData = true;
4670 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4670 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4671 var path = (req.url).path; 4671 var path = (req.url).path;
4672 var pathOffset = 0; 4672 var pathOffset = 0;
4673 var index; 4673 var index;
4674 var subPart; 4674 var subPart;
4675 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4675 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4676 pathOffset += 1; 4676 pathOffset += 1;
4677 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq uals("v4/spreadsheets/")); 4677 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq uals("v4/spreadsheets/"));
4678 pathOffset += 16; 4678 pathOffset += 16;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
4780 4780
4781 }); 4781 });
4782 4782
4783 4783
4784 unittest.group("resource-SpreadsheetsValuesResourceApi", () { 4784 unittest.group("resource-SpreadsheetsValuesResourceApi", () {
4785 unittest.test("method--batchGet", () { 4785 unittest.test("method--batchGet", () {
4786 4786
4787 var mock = new HttpServerMock(); 4787 var mock = new HttpServerMock();
4788 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee ts.values; 4788 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee ts.values;
4789 var arg_spreadsheetId = "foo"; 4789 var arg_spreadsheetId = "foo";
4790 var arg_ranges = buildUnnamed2770(); 4790 var arg_ranges = buildUnnamed622();
4791 var arg_valueRenderOption = "foo"; 4791 var arg_valueRenderOption = "foo";
4792 var arg_dateTimeRenderOption = "foo"; 4792 var arg_dateTimeRenderOption = "foo";
4793 var arg_majorDimension = "foo"; 4793 var arg_majorDimension = "foo";
4794 mock.register(unittest.expectAsync((http.BaseRequest req, json) { 4794 mock.register(unittest.expectAsync((http.BaseRequest req, json) {
4795 var path = (req.url).path; 4795 var path = (req.url).path;
4796 var pathOffset = 0; 4796 var pathOffset = 0;
4797 var index; 4797 var index;
4798 var subPart; 4798 var subPart;
4799 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4799 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4800 pathOffset += 1; 4800 pathOffset += 1;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
5016 res.update(arg_request, arg_spreadsheetId, arg_range, valueInputOption: ar g_valueInputOption).then(unittest.expectAsync(((api.UpdateValuesResponse respons e) { 5016 res.update(arg_request, arg_spreadsheetId, arg_range, valueInputOption: ar g_valueInputOption).then(unittest.expectAsync(((api.UpdateValuesResponse respons e) {
5017 checkUpdateValuesResponse(response); 5017 checkUpdateValuesResponse(response);
5018 }))); 5018 })));
5019 }); 5019 });
5020 5020
5021 }); 5021 });
5022 5022
5023 5023
5024 } 5024 }
5025 5025
OLDNEW
« no previous file with comments | « generated/googleapis/test/script/v1_test.dart ('k') | generated/googleapis/test/siteverification/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698