OLD | NEW |
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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 } | 293 } |
294 | 294 |
295 checkAddSheetResponse(api.AddSheetResponse o) { | 295 checkAddSheetResponse(api.AddSheetResponse o) { |
296 buildCounterAddSheetResponse++; | 296 buildCounterAddSheetResponse++; |
297 if (buildCounterAddSheetResponse < 3) { | 297 if (buildCounterAddSheetResponse < 3) { |
298 checkSheetProperties(o.properties); | 298 checkSheetProperties(o.properties); |
299 } | 299 } |
300 buildCounterAddSheetResponse--; | 300 buildCounterAddSheetResponse--; |
301 } | 301 } |
302 | 302 |
303 buildUnnamed379() { | 303 buildUnnamed365() { |
304 var o = new core.List<api.RowData>(); | 304 var o = new core.List<api.RowData>(); |
305 o.add(buildRowData()); | 305 o.add(buildRowData()); |
306 o.add(buildRowData()); | 306 o.add(buildRowData()); |
307 return o; | 307 return o; |
308 } | 308 } |
309 | 309 |
310 checkUnnamed379(core.List<api.RowData> o) { | 310 checkUnnamed365(core.List<api.RowData> o) { |
311 unittest.expect(o, unittest.hasLength(2)); | 311 unittest.expect(o, unittest.hasLength(2)); |
312 checkRowData(o[0]); | 312 checkRowData(o[0]); |
313 checkRowData(o[1]); | 313 checkRowData(o[1]); |
314 } | 314 } |
315 | 315 |
316 core.int buildCounterAppendCellsRequest = 0; | 316 core.int buildCounterAppendCellsRequest = 0; |
317 buildAppendCellsRequest() { | 317 buildAppendCellsRequest() { |
318 var o = new api.AppendCellsRequest(); | 318 var o = new api.AppendCellsRequest(); |
319 buildCounterAppendCellsRequest++; | 319 buildCounterAppendCellsRequest++; |
320 if (buildCounterAppendCellsRequest < 3) { | 320 if (buildCounterAppendCellsRequest < 3) { |
321 o.fields = "foo"; | 321 o.fields = "foo"; |
322 o.rows = buildUnnamed379(); | 322 o.rows = buildUnnamed365(); |
323 o.sheetId = 42; | 323 o.sheetId = 42; |
324 } | 324 } |
325 buildCounterAppendCellsRequest--; | 325 buildCounterAppendCellsRequest--; |
326 return o; | 326 return o; |
327 } | 327 } |
328 | 328 |
329 checkAppendCellsRequest(api.AppendCellsRequest o) { | 329 checkAppendCellsRequest(api.AppendCellsRequest o) { |
330 buildCounterAppendCellsRequest++; | 330 buildCounterAppendCellsRequest++; |
331 if (buildCounterAppendCellsRequest < 3) { | 331 if (buildCounterAppendCellsRequest < 3) { |
332 unittest.expect(o.fields, unittest.equals('foo')); | 332 unittest.expect(o.fields, unittest.equals('foo')); |
333 checkUnnamed379(o.rows); | 333 checkUnnamed365(o.rows); |
334 unittest.expect(o.sheetId, unittest.equals(42)); | 334 unittest.expect(o.sheetId, unittest.equals(42)); |
335 } | 335 } |
336 buildCounterAppendCellsRequest--; | 336 buildCounterAppendCellsRequest--; |
337 } | 337 } |
338 | 338 |
339 core.int buildCounterAppendDimensionRequest = 0; | 339 core.int buildCounterAppendDimensionRequest = 0; |
340 buildAppendDimensionRequest() { | 340 buildAppendDimensionRequest() { |
341 var o = new api.AppendDimensionRequest(); | 341 var o = new api.AppendDimensionRequest(); |
342 buildCounterAppendDimensionRequest++; | 342 buildCounterAppendDimensionRequest++; |
343 if (buildCounterAppendDimensionRequest < 3) { | 343 if (buildCounterAppendDimensionRequest < 3) { |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 checkBasicChartSeries(api.BasicChartSeries o) { | 532 checkBasicChartSeries(api.BasicChartSeries o) { |
533 buildCounterBasicChartSeries++; | 533 buildCounterBasicChartSeries++; |
534 if (buildCounterBasicChartSeries < 3) { | 534 if (buildCounterBasicChartSeries < 3) { |
535 checkChartData(o.series); | 535 checkChartData(o.series); |
536 unittest.expect(o.targetAxis, unittest.equals('foo')); | 536 unittest.expect(o.targetAxis, unittest.equals('foo')); |
537 unittest.expect(o.type, unittest.equals('foo')); | 537 unittest.expect(o.type, unittest.equals('foo')); |
538 } | 538 } |
539 buildCounterBasicChartSeries--; | 539 buildCounterBasicChartSeries--; |
540 } | 540 } |
541 | 541 |
542 buildUnnamed380() { | 542 buildUnnamed366() { |
543 var o = new core.List<api.BasicChartAxis>(); | 543 var o = new core.List<api.BasicChartAxis>(); |
544 o.add(buildBasicChartAxis()); | 544 o.add(buildBasicChartAxis()); |
545 o.add(buildBasicChartAxis()); | 545 o.add(buildBasicChartAxis()); |
546 return o; | 546 return o; |
547 } | 547 } |
548 | 548 |
549 checkUnnamed380(core.List<api.BasicChartAxis> o) { | 549 checkUnnamed366(core.List<api.BasicChartAxis> o) { |
550 unittest.expect(o, unittest.hasLength(2)); | 550 unittest.expect(o, unittest.hasLength(2)); |
551 checkBasicChartAxis(o[0]); | 551 checkBasicChartAxis(o[0]); |
552 checkBasicChartAxis(o[1]); | 552 checkBasicChartAxis(o[1]); |
553 } | 553 } |
554 | 554 |
555 buildUnnamed381() { | 555 buildUnnamed367() { |
556 var o = new core.List<api.BasicChartDomain>(); | 556 var o = new core.List<api.BasicChartDomain>(); |
557 o.add(buildBasicChartDomain()); | 557 o.add(buildBasicChartDomain()); |
558 o.add(buildBasicChartDomain()); | 558 o.add(buildBasicChartDomain()); |
559 return o; | 559 return o; |
560 } | 560 } |
561 | 561 |
562 checkUnnamed381(core.List<api.BasicChartDomain> o) { | 562 checkUnnamed367(core.List<api.BasicChartDomain> o) { |
563 unittest.expect(o, unittest.hasLength(2)); | 563 unittest.expect(o, unittest.hasLength(2)); |
564 checkBasicChartDomain(o[0]); | 564 checkBasicChartDomain(o[0]); |
565 checkBasicChartDomain(o[1]); | 565 checkBasicChartDomain(o[1]); |
566 } | 566 } |
567 | 567 |
568 buildUnnamed382() { | 568 buildUnnamed368() { |
569 var o = new core.List<api.BasicChartSeries>(); | 569 var o = new core.List<api.BasicChartSeries>(); |
570 o.add(buildBasicChartSeries()); | 570 o.add(buildBasicChartSeries()); |
571 o.add(buildBasicChartSeries()); | 571 o.add(buildBasicChartSeries()); |
572 return o; | 572 return o; |
573 } | 573 } |
574 | 574 |
575 checkUnnamed382(core.List<api.BasicChartSeries> o) { | 575 checkUnnamed368(core.List<api.BasicChartSeries> o) { |
576 unittest.expect(o, unittest.hasLength(2)); | 576 unittest.expect(o, unittest.hasLength(2)); |
577 checkBasicChartSeries(o[0]); | 577 checkBasicChartSeries(o[0]); |
578 checkBasicChartSeries(o[1]); | 578 checkBasicChartSeries(o[1]); |
579 } | 579 } |
580 | 580 |
581 core.int buildCounterBasicChartSpec = 0; | 581 core.int buildCounterBasicChartSpec = 0; |
582 buildBasicChartSpec() { | 582 buildBasicChartSpec() { |
583 var o = new api.BasicChartSpec(); | 583 var o = new api.BasicChartSpec(); |
584 buildCounterBasicChartSpec++; | 584 buildCounterBasicChartSpec++; |
585 if (buildCounterBasicChartSpec < 3) { | 585 if (buildCounterBasicChartSpec < 3) { |
586 o.axis = buildUnnamed380(); | 586 o.axis = buildUnnamed366(); |
587 o.chartType = "foo"; | 587 o.chartType = "foo"; |
588 o.domains = buildUnnamed381(); | 588 o.domains = buildUnnamed367(); |
589 o.headerCount = 42; | 589 o.headerCount = 42; |
590 o.legendPosition = "foo"; | 590 o.legendPosition = "foo"; |
591 o.series = buildUnnamed382(); | 591 o.series = buildUnnamed368(); |
592 } | 592 } |
593 buildCounterBasicChartSpec--; | 593 buildCounterBasicChartSpec--; |
594 return o; | 594 return o; |
595 } | 595 } |
596 | 596 |
597 checkBasicChartSpec(api.BasicChartSpec o) { | 597 checkBasicChartSpec(api.BasicChartSpec o) { |
598 buildCounterBasicChartSpec++; | 598 buildCounterBasicChartSpec++; |
599 if (buildCounterBasicChartSpec < 3) { | 599 if (buildCounterBasicChartSpec < 3) { |
600 checkUnnamed380(o.axis); | 600 checkUnnamed366(o.axis); |
601 unittest.expect(o.chartType, unittest.equals('foo')); | 601 unittest.expect(o.chartType, unittest.equals('foo')); |
602 checkUnnamed381(o.domains); | 602 checkUnnamed367(o.domains); |
603 unittest.expect(o.headerCount, unittest.equals(42)); | 603 unittest.expect(o.headerCount, unittest.equals(42)); |
604 unittest.expect(o.legendPosition, unittest.equals('foo')); | 604 unittest.expect(o.legendPosition, unittest.equals('foo')); |
605 checkUnnamed382(o.series); | 605 checkUnnamed368(o.series); |
606 } | 606 } |
607 buildCounterBasicChartSpec--; | 607 buildCounterBasicChartSpec--; |
608 } | 608 } |
609 | 609 |
610 buildUnnamed383() { | 610 buildUnnamed369() { |
611 var o = new core.Map<core.String, api.FilterCriteria>(); | 611 var o = new core.Map<core.String, api.FilterCriteria>(); |
612 o["x"] = buildFilterCriteria(); | 612 o["x"] = buildFilterCriteria(); |
613 o["y"] = buildFilterCriteria(); | 613 o["y"] = buildFilterCriteria(); |
614 return o; | 614 return o; |
615 } | 615 } |
616 | 616 |
617 checkUnnamed383(core.Map<core.String, api.FilterCriteria> o) { | 617 checkUnnamed369(core.Map<core.String, api.FilterCriteria> o) { |
618 unittest.expect(o, unittest.hasLength(2)); | 618 unittest.expect(o, unittest.hasLength(2)); |
619 checkFilterCriteria(o["x"]); | 619 checkFilterCriteria(o["x"]); |
620 checkFilterCriteria(o["y"]); | 620 checkFilterCriteria(o["y"]); |
621 } | 621 } |
622 | 622 |
623 buildUnnamed384() { | 623 buildUnnamed370() { |
624 var o = new core.List<api.SortSpec>(); | 624 var o = new core.List<api.SortSpec>(); |
625 o.add(buildSortSpec()); | 625 o.add(buildSortSpec()); |
626 o.add(buildSortSpec()); | 626 o.add(buildSortSpec()); |
627 return o; | 627 return o; |
628 } | 628 } |
629 | 629 |
630 checkUnnamed384(core.List<api.SortSpec> o) { | 630 checkUnnamed370(core.List<api.SortSpec> o) { |
631 unittest.expect(o, unittest.hasLength(2)); | 631 unittest.expect(o, unittest.hasLength(2)); |
632 checkSortSpec(o[0]); | 632 checkSortSpec(o[0]); |
633 checkSortSpec(o[1]); | 633 checkSortSpec(o[1]); |
634 } | 634 } |
635 | 635 |
636 core.int buildCounterBasicFilter = 0; | 636 core.int buildCounterBasicFilter = 0; |
637 buildBasicFilter() { | 637 buildBasicFilter() { |
638 var o = new api.BasicFilter(); | 638 var o = new api.BasicFilter(); |
639 buildCounterBasicFilter++; | 639 buildCounterBasicFilter++; |
640 if (buildCounterBasicFilter < 3) { | 640 if (buildCounterBasicFilter < 3) { |
641 o.criteria = buildUnnamed383(); | 641 o.criteria = buildUnnamed369(); |
642 o.range = buildGridRange(); | 642 o.range = buildGridRange(); |
643 o.sortSpecs = buildUnnamed384(); | 643 o.sortSpecs = buildUnnamed370(); |
644 } | 644 } |
645 buildCounterBasicFilter--; | 645 buildCounterBasicFilter--; |
646 return o; | 646 return o; |
647 } | 647 } |
648 | 648 |
649 checkBasicFilter(api.BasicFilter o) { | 649 checkBasicFilter(api.BasicFilter o) { |
650 buildCounterBasicFilter++; | 650 buildCounterBasicFilter++; |
651 if (buildCounterBasicFilter < 3) { | 651 if (buildCounterBasicFilter < 3) { |
652 checkUnnamed383(o.criteria); | 652 checkUnnamed369(o.criteria); |
653 checkGridRange(o.range); | 653 checkGridRange(o.range); |
654 checkUnnamed384(o.sortSpecs); | 654 checkUnnamed370(o.sortSpecs); |
655 } | 655 } |
656 buildCounterBasicFilter--; | 656 buildCounterBasicFilter--; |
657 } | 657 } |
658 | 658 |
659 buildUnnamed385() { | 659 buildUnnamed371() { |
660 var o = new core.List<core.String>(); | 660 var o = new core.List<core.String>(); |
661 o.add("foo"); | 661 o.add("foo"); |
662 o.add("foo"); | 662 o.add("foo"); |
663 return o; | 663 return o; |
664 } | 664 } |
665 | 665 |
666 checkUnnamed385(core.List<core.String> o) { | 666 checkUnnamed371(core.List<core.String> o) { |
667 unittest.expect(o, unittest.hasLength(2)); | 667 unittest.expect(o, unittest.hasLength(2)); |
668 unittest.expect(o[0], unittest.equals('foo')); | 668 unittest.expect(o[0], unittest.equals('foo')); |
669 unittest.expect(o[1], unittest.equals('foo')); | 669 unittest.expect(o[1], unittest.equals('foo')); |
670 } | 670 } |
671 | 671 |
672 core.int buildCounterBatchClearValuesRequest = 0; | 672 core.int buildCounterBatchClearValuesRequest = 0; |
673 buildBatchClearValuesRequest() { | 673 buildBatchClearValuesRequest() { |
674 var o = new api.BatchClearValuesRequest(); | 674 var o = new api.BatchClearValuesRequest(); |
675 buildCounterBatchClearValuesRequest++; | 675 buildCounterBatchClearValuesRequest++; |
676 if (buildCounterBatchClearValuesRequest < 3) { | 676 if (buildCounterBatchClearValuesRequest < 3) { |
677 o.ranges = buildUnnamed385(); | 677 o.ranges = buildUnnamed371(); |
678 } | 678 } |
679 buildCounterBatchClearValuesRequest--; | 679 buildCounterBatchClearValuesRequest--; |
680 return o; | 680 return o; |
681 } | 681 } |
682 | 682 |
683 checkBatchClearValuesRequest(api.BatchClearValuesRequest o) { | 683 checkBatchClearValuesRequest(api.BatchClearValuesRequest o) { |
684 buildCounterBatchClearValuesRequest++; | 684 buildCounterBatchClearValuesRequest++; |
685 if (buildCounterBatchClearValuesRequest < 3) { | 685 if (buildCounterBatchClearValuesRequest < 3) { |
686 checkUnnamed385(o.ranges); | 686 checkUnnamed371(o.ranges); |
687 } | 687 } |
688 buildCounterBatchClearValuesRequest--; | 688 buildCounterBatchClearValuesRequest--; |
689 } | 689 } |
690 | 690 |
691 buildUnnamed386() { | 691 buildUnnamed372() { |
692 var o = new core.List<core.String>(); | 692 var o = new core.List<core.String>(); |
693 o.add("foo"); | 693 o.add("foo"); |
694 o.add("foo"); | 694 o.add("foo"); |
695 return o; | 695 return o; |
696 } | 696 } |
697 | 697 |
698 checkUnnamed386(core.List<core.String> o) { | 698 checkUnnamed372(core.List<core.String> o) { |
699 unittest.expect(o, unittest.hasLength(2)); | 699 unittest.expect(o, unittest.hasLength(2)); |
700 unittest.expect(o[0], unittest.equals('foo')); | 700 unittest.expect(o[0], unittest.equals('foo')); |
701 unittest.expect(o[1], unittest.equals('foo')); | 701 unittest.expect(o[1], unittest.equals('foo')); |
702 } | 702 } |
703 | 703 |
704 core.int buildCounterBatchClearValuesResponse = 0; | 704 core.int buildCounterBatchClearValuesResponse = 0; |
705 buildBatchClearValuesResponse() { | 705 buildBatchClearValuesResponse() { |
706 var o = new api.BatchClearValuesResponse(); | 706 var o = new api.BatchClearValuesResponse(); |
707 buildCounterBatchClearValuesResponse++; | 707 buildCounterBatchClearValuesResponse++; |
708 if (buildCounterBatchClearValuesResponse < 3) { | 708 if (buildCounterBatchClearValuesResponse < 3) { |
709 o.clearedRanges = buildUnnamed386(); | 709 o.clearedRanges = buildUnnamed372(); |
710 o.spreadsheetId = "foo"; | 710 o.spreadsheetId = "foo"; |
711 } | 711 } |
712 buildCounterBatchClearValuesResponse--; | 712 buildCounterBatchClearValuesResponse--; |
713 return o; | 713 return o; |
714 } | 714 } |
715 | 715 |
716 checkBatchClearValuesResponse(api.BatchClearValuesResponse o) { | 716 checkBatchClearValuesResponse(api.BatchClearValuesResponse o) { |
717 buildCounterBatchClearValuesResponse++; | 717 buildCounterBatchClearValuesResponse++; |
718 if (buildCounterBatchClearValuesResponse < 3) { | 718 if (buildCounterBatchClearValuesResponse < 3) { |
719 checkUnnamed386(o.clearedRanges); | 719 checkUnnamed372(o.clearedRanges); |
720 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 720 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
721 } | 721 } |
722 buildCounterBatchClearValuesResponse--; | 722 buildCounterBatchClearValuesResponse--; |
723 } | 723 } |
724 | 724 |
725 buildUnnamed387() { | 725 buildUnnamed373() { |
726 var o = new core.List<api.ValueRange>(); | 726 var o = new core.List<api.ValueRange>(); |
727 o.add(buildValueRange()); | 727 o.add(buildValueRange()); |
728 o.add(buildValueRange()); | 728 o.add(buildValueRange()); |
729 return o; | 729 return o; |
730 } | 730 } |
731 | 731 |
732 checkUnnamed387(core.List<api.ValueRange> o) { | 732 checkUnnamed373(core.List<api.ValueRange> o) { |
733 unittest.expect(o, unittest.hasLength(2)); | 733 unittest.expect(o, unittest.hasLength(2)); |
734 checkValueRange(o[0]); | 734 checkValueRange(o[0]); |
735 checkValueRange(o[1]); | 735 checkValueRange(o[1]); |
736 } | 736 } |
737 | 737 |
738 core.int buildCounterBatchGetValuesResponse = 0; | 738 core.int buildCounterBatchGetValuesResponse = 0; |
739 buildBatchGetValuesResponse() { | 739 buildBatchGetValuesResponse() { |
740 var o = new api.BatchGetValuesResponse(); | 740 var o = new api.BatchGetValuesResponse(); |
741 buildCounterBatchGetValuesResponse++; | 741 buildCounterBatchGetValuesResponse++; |
742 if (buildCounterBatchGetValuesResponse < 3) { | 742 if (buildCounterBatchGetValuesResponse < 3) { |
743 o.spreadsheetId = "foo"; | 743 o.spreadsheetId = "foo"; |
744 o.valueRanges = buildUnnamed387(); | 744 o.valueRanges = buildUnnamed373(); |
745 } | 745 } |
746 buildCounterBatchGetValuesResponse--; | 746 buildCounterBatchGetValuesResponse--; |
747 return o; | 747 return o; |
748 } | 748 } |
749 | 749 |
750 checkBatchGetValuesResponse(api.BatchGetValuesResponse o) { | 750 checkBatchGetValuesResponse(api.BatchGetValuesResponse o) { |
751 buildCounterBatchGetValuesResponse++; | 751 buildCounterBatchGetValuesResponse++; |
752 if (buildCounterBatchGetValuesResponse < 3) { | 752 if (buildCounterBatchGetValuesResponse < 3) { |
753 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 753 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
754 checkUnnamed387(o.valueRanges); | 754 checkUnnamed373(o.valueRanges); |
755 } | 755 } |
756 buildCounterBatchGetValuesResponse--; | 756 buildCounterBatchGetValuesResponse--; |
757 } | 757 } |
758 | 758 |
759 buildUnnamed388() { | 759 buildUnnamed374() { |
760 var o = new core.List<api.Request>(); | 760 var o = new core.List<api.Request>(); |
761 o.add(buildRequest()); | 761 o.add(buildRequest()); |
762 o.add(buildRequest()); | 762 o.add(buildRequest()); |
763 return o; | 763 return o; |
764 } | 764 } |
765 | 765 |
766 checkUnnamed388(core.List<api.Request> o) { | 766 checkUnnamed374(core.List<api.Request> o) { |
767 unittest.expect(o, unittest.hasLength(2)); | 767 unittest.expect(o, unittest.hasLength(2)); |
768 checkRequest(o[0]); | 768 checkRequest(o[0]); |
769 checkRequest(o[1]); | 769 checkRequest(o[1]); |
770 } | 770 } |
771 | 771 |
772 buildUnnamed389() { | 772 buildUnnamed375() { |
773 var o = new core.List<core.String>(); | 773 var o = new core.List<core.String>(); |
774 o.add("foo"); | 774 o.add("foo"); |
775 o.add("foo"); | 775 o.add("foo"); |
776 return o; | 776 return o; |
777 } | 777 } |
778 | 778 |
779 checkUnnamed389(core.List<core.String> o) { | 779 checkUnnamed375(core.List<core.String> o) { |
780 unittest.expect(o, unittest.hasLength(2)); | 780 unittest.expect(o, unittest.hasLength(2)); |
781 unittest.expect(o[0], unittest.equals('foo')); | 781 unittest.expect(o[0], unittest.equals('foo')); |
782 unittest.expect(o[1], unittest.equals('foo')); | 782 unittest.expect(o[1], unittest.equals('foo')); |
783 } | 783 } |
784 | 784 |
785 core.int buildCounterBatchUpdateSpreadsheetRequest = 0; | 785 core.int buildCounterBatchUpdateSpreadsheetRequest = 0; |
786 buildBatchUpdateSpreadsheetRequest() { | 786 buildBatchUpdateSpreadsheetRequest() { |
787 var o = new api.BatchUpdateSpreadsheetRequest(); | 787 var o = new api.BatchUpdateSpreadsheetRequest(); |
788 buildCounterBatchUpdateSpreadsheetRequest++; | 788 buildCounterBatchUpdateSpreadsheetRequest++; |
789 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { | 789 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { |
790 o.includeSpreadsheetInResponse = true; | 790 o.includeSpreadsheetInResponse = true; |
791 o.requests = buildUnnamed388(); | 791 o.requests = buildUnnamed374(); |
792 o.responseIncludeGridData = true; | 792 o.responseIncludeGridData = true; |
793 o.responseRanges = buildUnnamed389(); | 793 o.responseRanges = buildUnnamed375(); |
794 } | 794 } |
795 buildCounterBatchUpdateSpreadsheetRequest--; | 795 buildCounterBatchUpdateSpreadsheetRequest--; |
796 return o; | 796 return o; |
797 } | 797 } |
798 | 798 |
799 checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) { | 799 checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) { |
800 buildCounterBatchUpdateSpreadsheetRequest++; | 800 buildCounterBatchUpdateSpreadsheetRequest++; |
801 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { | 801 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { |
802 unittest.expect(o.includeSpreadsheetInResponse, unittest.isTrue); | 802 unittest.expect(o.includeSpreadsheetInResponse, unittest.isTrue); |
803 checkUnnamed388(o.requests); | 803 checkUnnamed374(o.requests); |
804 unittest.expect(o.responseIncludeGridData, unittest.isTrue); | 804 unittest.expect(o.responseIncludeGridData, unittest.isTrue); |
805 checkUnnamed389(o.responseRanges); | 805 checkUnnamed375(o.responseRanges); |
806 } | 806 } |
807 buildCounterBatchUpdateSpreadsheetRequest--; | 807 buildCounterBatchUpdateSpreadsheetRequest--; |
808 } | 808 } |
809 | 809 |
810 buildUnnamed390() { | 810 buildUnnamed376() { |
811 var o = new core.List<api.Response>(); | 811 var o = new core.List<api.Response>(); |
812 o.add(buildResponse()); | 812 o.add(buildResponse()); |
813 o.add(buildResponse()); | 813 o.add(buildResponse()); |
814 return o; | 814 return o; |
815 } | 815 } |
816 | 816 |
817 checkUnnamed390(core.List<api.Response> o) { | 817 checkUnnamed376(core.List<api.Response> o) { |
818 unittest.expect(o, unittest.hasLength(2)); | 818 unittest.expect(o, unittest.hasLength(2)); |
819 checkResponse(o[0]); | 819 checkResponse(o[0]); |
820 checkResponse(o[1]); | 820 checkResponse(o[1]); |
821 } | 821 } |
822 | 822 |
823 core.int buildCounterBatchUpdateSpreadsheetResponse = 0; | 823 core.int buildCounterBatchUpdateSpreadsheetResponse = 0; |
824 buildBatchUpdateSpreadsheetResponse() { | 824 buildBatchUpdateSpreadsheetResponse() { |
825 var o = new api.BatchUpdateSpreadsheetResponse(); | 825 var o = new api.BatchUpdateSpreadsheetResponse(); |
826 buildCounterBatchUpdateSpreadsheetResponse++; | 826 buildCounterBatchUpdateSpreadsheetResponse++; |
827 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { | 827 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { |
828 o.replies = buildUnnamed390(); | 828 o.replies = buildUnnamed376(); |
829 o.spreadsheetId = "foo"; | 829 o.spreadsheetId = "foo"; |
830 o.updatedSpreadsheet = buildSpreadsheet(); | 830 o.updatedSpreadsheet = buildSpreadsheet(); |
831 } | 831 } |
832 buildCounterBatchUpdateSpreadsheetResponse--; | 832 buildCounterBatchUpdateSpreadsheetResponse--; |
833 return o; | 833 return o; |
834 } | 834 } |
835 | 835 |
836 checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) { | 836 checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) { |
837 buildCounterBatchUpdateSpreadsheetResponse++; | 837 buildCounterBatchUpdateSpreadsheetResponse++; |
838 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { | 838 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { |
839 checkUnnamed390(o.replies); | 839 checkUnnamed376(o.replies); |
840 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 840 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
841 checkSpreadsheet(o.updatedSpreadsheet); | 841 checkSpreadsheet(o.updatedSpreadsheet); |
842 } | 842 } |
843 buildCounterBatchUpdateSpreadsheetResponse--; | 843 buildCounterBatchUpdateSpreadsheetResponse--; |
844 } | 844 } |
845 | 845 |
846 buildUnnamed391() { | 846 buildUnnamed377() { |
847 var o = new core.List<api.ValueRange>(); | 847 var o = new core.List<api.ValueRange>(); |
848 o.add(buildValueRange()); | 848 o.add(buildValueRange()); |
849 o.add(buildValueRange()); | 849 o.add(buildValueRange()); |
850 return o; | 850 return o; |
851 } | 851 } |
852 | 852 |
853 checkUnnamed391(core.List<api.ValueRange> o) { | 853 checkUnnamed377(core.List<api.ValueRange> o) { |
854 unittest.expect(o, unittest.hasLength(2)); | 854 unittest.expect(o, unittest.hasLength(2)); |
855 checkValueRange(o[0]); | 855 checkValueRange(o[0]); |
856 checkValueRange(o[1]); | 856 checkValueRange(o[1]); |
857 } | 857 } |
858 | 858 |
859 core.int buildCounterBatchUpdateValuesRequest = 0; | 859 core.int buildCounterBatchUpdateValuesRequest = 0; |
860 buildBatchUpdateValuesRequest() { | 860 buildBatchUpdateValuesRequest() { |
861 var o = new api.BatchUpdateValuesRequest(); | 861 var o = new api.BatchUpdateValuesRequest(); |
862 buildCounterBatchUpdateValuesRequest++; | 862 buildCounterBatchUpdateValuesRequest++; |
863 if (buildCounterBatchUpdateValuesRequest < 3) { | 863 if (buildCounterBatchUpdateValuesRequest < 3) { |
864 o.data = buildUnnamed391(); | 864 o.data = buildUnnamed377(); |
865 o.includeValuesInResponse = true; | 865 o.includeValuesInResponse = true; |
866 o.responseDateTimeRenderOption = "foo"; | 866 o.responseDateTimeRenderOption = "foo"; |
867 o.responseValueRenderOption = "foo"; | 867 o.responseValueRenderOption = "foo"; |
868 o.valueInputOption = "foo"; | 868 o.valueInputOption = "foo"; |
869 } | 869 } |
870 buildCounterBatchUpdateValuesRequest--; | 870 buildCounterBatchUpdateValuesRequest--; |
871 return o; | 871 return o; |
872 } | 872 } |
873 | 873 |
874 checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) { | 874 checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) { |
875 buildCounterBatchUpdateValuesRequest++; | 875 buildCounterBatchUpdateValuesRequest++; |
876 if (buildCounterBatchUpdateValuesRequest < 3) { | 876 if (buildCounterBatchUpdateValuesRequest < 3) { |
877 checkUnnamed391(o.data); | 877 checkUnnamed377(o.data); |
878 unittest.expect(o.includeValuesInResponse, unittest.isTrue); | 878 unittest.expect(o.includeValuesInResponse, unittest.isTrue); |
879 unittest.expect(o.responseDateTimeRenderOption, unittest.equals('foo')); | 879 unittest.expect(o.responseDateTimeRenderOption, unittest.equals('foo')); |
880 unittest.expect(o.responseValueRenderOption, unittest.equals('foo')); | 880 unittest.expect(o.responseValueRenderOption, unittest.equals('foo')); |
881 unittest.expect(o.valueInputOption, unittest.equals('foo')); | 881 unittest.expect(o.valueInputOption, unittest.equals('foo')); |
882 } | 882 } |
883 buildCounterBatchUpdateValuesRequest--; | 883 buildCounterBatchUpdateValuesRequest--; |
884 } | 884 } |
885 | 885 |
886 buildUnnamed392() { | 886 buildUnnamed378() { |
887 var o = new core.List<api.UpdateValuesResponse>(); | 887 var o = new core.List<api.UpdateValuesResponse>(); |
888 o.add(buildUpdateValuesResponse()); | 888 o.add(buildUpdateValuesResponse()); |
889 o.add(buildUpdateValuesResponse()); | 889 o.add(buildUpdateValuesResponse()); |
890 return o; | 890 return o; |
891 } | 891 } |
892 | 892 |
893 checkUnnamed392(core.List<api.UpdateValuesResponse> o) { | 893 checkUnnamed378(core.List<api.UpdateValuesResponse> o) { |
894 unittest.expect(o, unittest.hasLength(2)); | 894 unittest.expect(o, unittest.hasLength(2)); |
895 checkUpdateValuesResponse(o[0]); | 895 checkUpdateValuesResponse(o[0]); |
896 checkUpdateValuesResponse(o[1]); | 896 checkUpdateValuesResponse(o[1]); |
897 } | 897 } |
898 | 898 |
899 core.int buildCounterBatchUpdateValuesResponse = 0; | 899 core.int buildCounterBatchUpdateValuesResponse = 0; |
900 buildBatchUpdateValuesResponse() { | 900 buildBatchUpdateValuesResponse() { |
901 var o = new api.BatchUpdateValuesResponse(); | 901 var o = new api.BatchUpdateValuesResponse(); |
902 buildCounterBatchUpdateValuesResponse++; | 902 buildCounterBatchUpdateValuesResponse++; |
903 if (buildCounterBatchUpdateValuesResponse < 3) { | 903 if (buildCounterBatchUpdateValuesResponse < 3) { |
904 o.responses = buildUnnamed392(); | 904 o.responses = buildUnnamed378(); |
905 o.spreadsheetId = "foo"; | 905 o.spreadsheetId = "foo"; |
906 o.totalUpdatedCells = 42; | 906 o.totalUpdatedCells = 42; |
907 o.totalUpdatedColumns = 42; | 907 o.totalUpdatedColumns = 42; |
908 o.totalUpdatedRows = 42; | 908 o.totalUpdatedRows = 42; |
909 o.totalUpdatedSheets = 42; | 909 o.totalUpdatedSheets = 42; |
910 } | 910 } |
911 buildCounterBatchUpdateValuesResponse--; | 911 buildCounterBatchUpdateValuesResponse--; |
912 return o; | 912 return o; |
913 } | 913 } |
914 | 914 |
915 checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) { | 915 checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) { |
916 buildCounterBatchUpdateValuesResponse++; | 916 buildCounterBatchUpdateValuesResponse++; |
917 if (buildCounterBatchUpdateValuesResponse < 3) { | 917 if (buildCounterBatchUpdateValuesResponse < 3) { |
918 checkUnnamed392(o.responses); | 918 checkUnnamed378(o.responses); |
919 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 919 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
920 unittest.expect(o.totalUpdatedCells, unittest.equals(42)); | 920 unittest.expect(o.totalUpdatedCells, unittest.equals(42)); |
921 unittest.expect(o.totalUpdatedColumns, unittest.equals(42)); | 921 unittest.expect(o.totalUpdatedColumns, unittest.equals(42)); |
922 unittest.expect(o.totalUpdatedRows, unittest.equals(42)); | 922 unittest.expect(o.totalUpdatedRows, unittest.equals(42)); |
923 unittest.expect(o.totalUpdatedSheets, unittest.equals(42)); | 923 unittest.expect(o.totalUpdatedSheets, unittest.equals(42)); |
924 } | 924 } |
925 buildCounterBatchUpdateValuesResponse--; | 925 buildCounterBatchUpdateValuesResponse--; |
926 } | 926 } |
927 | 927 |
928 buildUnnamed393() { | 928 buildUnnamed379() { |
929 var o = new core.List<api.ConditionValue>(); | 929 var o = new core.List<api.ConditionValue>(); |
930 o.add(buildConditionValue()); | 930 o.add(buildConditionValue()); |
931 o.add(buildConditionValue()); | 931 o.add(buildConditionValue()); |
932 return o; | 932 return o; |
933 } | 933 } |
934 | 934 |
935 checkUnnamed393(core.List<api.ConditionValue> o) { | 935 checkUnnamed379(core.List<api.ConditionValue> o) { |
936 unittest.expect(o, unittest.hasLength(2)); | 936 unittest.expect(o, unittest.hasLength(2)); |
937 checkConditionValue(o[0]); | 937 checkConditionValue(o[0]); |
938 checkConditionValue(o[1]); | 938 checkConditionValue(o[1]); |
939 } | 939 } |
940 | 940 |
941 core.int buildCounterBooleanCondition = 0; | 941 core.int buildCounterBooleanCondition = 0; |
942 buildBooleanCondition() { | 942 buildBooleanCondition() { |
943 var o = new api.BooleanCondition(); | 943 var o = new api.BooleanCondition(); |
944 buildCounterBooleanCondition++; | 944 buildCounterBooleanCondition++; |
945 if (buildCounterBooleanCondition < 3) { | 945 if (buildCounterBooleanCondition < 3) { |
946 o.type = "foo"; | 946 o.type = "foo"; |
947 o.values = buildUnnamed393(); | 947 o.values = buildUnnamed379(); |
948 } | 948 } |
949 buildCounterBooleanCondition--; | 949 buildCounterBooleanCondition--; |
950 return o; | 950 return o; |
951 } | 951 } |
952 | 952 |
953 checkBooleanCondition(api.BooleanCondition o) { | 953 checkBooleanCondition(api.BooleanCondition o) { |
954 buildCounterBooleanCondition++; | 954 buildCounterBooleanCondition++; |
955 if (buildCounterBooleanCondition < 3) { | 955 if (buildCounterBooleanCondition < 3) { |
956 unittest.expect(o.type, unittest.equals('foo')); | 956 unittest.expect(o.type, unittest.equals('foo')); |
957 checkUnnamed393(o.values); | 957 checkUnnamed379(o.values); |
958 } | 958 } |
959 buildCounterBooleanCondition--; | 959 buildCounterBooleanCondition--; |
960 } | 960 } |
961 | 961 |
962 core.int buildCounterBooleanRule = 0; | 962 core.int buildCounterBooleanRule = 0; |
963 buildBooleanRule() { | 963 buildBooleanRule() { |
964 var o = new api.BooleanRule(); | 964 var o = new api.BooleanRule(); |
965 buildCounterBooleanRule++; | 965 buildCounterBooleanRule++; |
966 if (buildCounterBooleanRule < 3) { | 966 if (buildCounterBooleanRule < 3) { |
967 o.condition = buildBooleanCondition(); | 967 o.condition = buildBooleanCondition(); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 buildCounterBorders++; | 1021 buildCounterBorders++; |
1022 if (buildCounterBorders < 3) { | 1022 if (buildCounterBorders < 3) { |
1023 checkBorder(o.bottom); | 1023 checkBorder(o.bottom); |
1024 checkBorder(o.left); | 1024 checkBorder(o.left); |
1025 checkBorder(o.right); | 1025 checkBorder(o.right); |
1026 checkBorder(o.top); | 1026 checkBorder(o.top); |
1027 } | 1027 } |
1028 buildCounterBorders--; | 1028 buildCounterBorders--; |
1029 } | 1029 } |
1030 | 1030 |
1031 buildUnnamed394() { | 1031 buildUnnamed380() { |
1032 var o = new core.List<api.TextFormatRun>(); | 1032 var o = new core.List<api.TextFormatRun>(); |
1033 o.add(buildTextFormatRun()); | 1033 o.add(buildTextFormatRun()); |
1034 o.add(buildTextFormatRun()); | 1034 o.add(buildTextFormatRun()); |
1035 return o; | 1035 return o; |
1036 } | 1036 } |
1037 | 1037 |
1038 checkUnnamed394(core.List<api.TextFormatRun> o) { | 1038 checkUnnamed380(core.List<api.TextFormatRun> o) { |
1039 unittest.expect(o, unittest.hasLength(2)); | 1039 unittest.expect(o, unittest.hasLength(2)); |
1040 checkTextFormatRun(o[0]); | 1040 checkTextFormatRun(o[0]); |
1041 checkTextFormatRun(o[1]); | 1041 checkTextFormatRun(o[1]); |
1042 } | 1042 } |
1043 | 1043 |
1044 core.int buildCounterCellData = 0; | 1044 core.int buildCounterCellData = 0; |
1045 buildCellData() { | 1045 buildCellData() { |
1046 var o = new api.CellData(); | 1046 var o = new api.CellData(); |
1047 buildCounterCellData++; | 1047 buildCounterCellData++; |
1048 if (buildCounterCellData < 3) { | 1048 if (buildCounterCellData < 3) { |
1049 o.dataValidation = buildDataValidationRule(); | 1049 o.dataValidation = buildDataValidationRule(); |
1050 o.effectiveFormat = buildCellFormat(); | 1050 o.effectiveFormat = buildCellFormat(); |
1051 o.effectiveValue = buildExtendedValue(); | 1051 o.effectiveValue = buildExtendedValue(); |
1052 o.formattedValue = "foo"; | 1052 o.formattedValue = "foo"; |
1053 o.hyperlink = "foo"; | 1053 o.hyperlink = "foo"; |
1054 o.note = "foo"; | 1054 o.note = "foo"; |
1055 o.pivotTable = buildPivotTable(); | 1055 o.pivotTable = buildPivotTable(); |
1056 o.textFormatRuns = buildUnnamed394(); | 1056 o.textFormatRuns = buildUnnamed380(); |
1057 o.userEnteredFormat = buildCellFormat(); | 1057 o.userEnteredFormat = buildCellFormat(); |
1058 o.userEnteredValue = buildExtendedValue(); | 1058 o.userEnteredValue = buildExtendedValue(); |
1059 } | 1059 } |
1060 buildCounterCellData--; | 1060 buildCounterCellData--; |
1061 return o; | 1061 return o; |
1062 } | 1062 } |
1063 | 1063 |
1064 checkCellData(api.CellData o) { | 1064 checkCellData(api.CellData o) { |
1065 buildCounterCellData++; | 1065 buildCounterCellData++; |
1066 if (buildCounterCellData < 3) { | 1066 if (buildCounterCellData < 3) { |
1067 checkDataValidationRule(o.dataValidation); | 1067 checkDataValidationRule(o.dataValidation); |
1068 checkCellFormat(o.effectiveFormat); | 1068 checkCellFormat(o.effectiveFormat); |
1069 checkExtendedValue(o.effectiveValue); | 1069 checkExtendedValue(o.effectiveValue); |
1070 unittest.expect(o.formattedValue, unittest.equals('foo')); | 1070 unittest.expect(o.formattedValue, unittest.equals('foo')); |
1071 unittest.expect(o.hyperlink, unittest.equals('foo')); | 1071 unittest.expect(o.hyperlink, unittest.equals('foo')); |
1072 unittest.expect(o.note, unittest.equals('foo')); | 1072 unittest.expect(o.note, unittest.equals('foo')); |
1073 checkPivotTable(o.pivotTable); | 1073 checkPivotTable(o.pivotTable); |
1074 checkUnnamed394(o.textFormatRuns); | 1074 checkUnnamed380(o.textFormatRuns); |
1075 checkCellFormat(o.userEnteredFormat); | 1075 checkCellFormat(o.userEnteredFormat); |
1076 checkExtendedValue(o.userEnteredValue); | 1076 checkExtendedValue(o.userEnteredValue); |
1077 } | 1077 } |
1078 buildCounterCellData--; | 1078 buildCounterCellData--; |
1079 } | 1079 } |
1080 | 1080 |
1081 core.int buildCounterCellFormat = 0; | 1081 core.int buildCounterCellFormat = 0; |
1082 buildCellFormat() { | 1082 buildCellFormat() { |
1083 var o = new api.CellFormat(); | 1083 var o = new api.CellFormat(); |
1084 buildCounterCellFormat++; | 1084 buildCounterCellFormat++; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1129 } | 1129 } |
1130 | 1130 |
1131 checkChartData(api.ChartData o) { | 1131 checkChartData(api.ChartData o) { |
1132 buildCounterChartData++; | 1132 buildCounterChartData++; |
1133 if (buildCounterChartData < 3) { | 1133 if (buildCounterChartData < 3) { |
1134 checkChartSourceRange(o.sourceRange); | 1134 checkChartSourceRange(o.sourceRange); |
1135 } | 1135 } |
1136 buildCounterChartData--; | 1136 buildCounterChartData--; |
1137 } | 1137 } |
1138 | 1138 |
1139 buildUnnamed395() { | 1139 buildUnnamed381() { |
1140 var o = new core.List<api.GridRange>(); | 1140 var o = new core.List<api.GridRange>(); |
1141 o.add(buildGridRange()); | 1141 o.add(buildGridRange()); |
1142 o.add(buildGridRange()); | 1142 o.add(buildGridRange()); |
1143 return o; | 1143 return o; |
1144 } | 1144 } |
1145 | 1145 |
1146 checkUnnamed395(core.List<api.GridRange> o) { | 1146 checkUnnamed381(core.List<api.GridRange> o) { |
1147 unittest.expect(o, unittest.hasLength(2)); | 1147 unittest.expect(o, unittest.hasLength(2)); |
1148 checkGridRange(o[0]); | 1148 checkGridRange(o[0]); |
1149 checkGridRange(o[1]); | 1149 checkGridRange(o[1]); |
1150 } | 1150 } |
1151 | 1151 |
1152 core.int buildCounterChartSourceRange = 0; | 1152 core.int buildCounterChartSourceRange = 0; |
1153 buildChartSourceRange() { | 1153 buildChartSourceRange() { |
1154 var o = new api.ChartSourceRange(); | 1154 var o = new api.ChartSourceRange(); |
1155 buildCounterChartSourceRange++; | 1155 buildCounterChartSourceRange++; |
1156 if (buildCounterChartSourceRange < 3) { | 1156 if (buildCounterChartSourceRange < 3) { |
1157 o.sources = buildUnnamed395(); | 1157 o.sources = buildUnnamed381(); |
1158 } | 1158 } |
1159 buildCounterChartSourceRange--; | 1159 buildCounterChartSourceRange--; |
1160 return o; | 1160 return o; |
1161 } | 1161 } |
1162 | 1162 |
1163 checkChartSourceRange(api.ChartSourceRange o) { | 1163 checkChartSourceRange(api.ChartSourceRange o) { |
1164 buildCounterChartSourceRange++; | 1164 buildCounterChartSourceRange++; |
1165 if (buildCounterChartSourceRange < 3) { | 1165 if (buildCounterChartSourceRange < 3) { |
1166 checkUnnamed395(o.sources); | 1166 checkUnnamed381(o.sources); |
1167 } | 1167 } |
1168 buildCounterChartSourceRange--; | 1168 buildCounterChartSourceRange--; |
1169 } | 1169 } |
1170 | 1170 |
1171 core.int buildCounterChartSpec = 0; | 1171 core.int buildCounterChartSpec = 0; |
1172 buildChartSpec() { | 1172 buildChartSpec() { |
1173 var o = new api.ChartSpec(); | 1173 var o = new api.ChartSpec(); |
1174 buildCounterChartSpec++; | 1174 buildCounterChartSpec++; |
1175 if (buildCounterChartSpec < 3) { | 1175 if (buildCounterChartSpec < 3) { |
1176 o.basicChart = buildBasicChartSpec(); | 1176 o.basicChart = buildBasicChartSpec(); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 | 1289 |
1290 checkConditionValue(api.ConditionValue o) { | 1290 checkConditionValue(api.ConditionValue o) { |
1291 buildCounterConditionValue++; | 1291 buildCounterConditionValue++; |
1292 if (buildCounterConditionValue < 3) { | 1292 if (buildCounterConditionValue < 3) { |
1293 unittest.expect(o.relativeDate, unittest.equals('foo')); | 1293 unittest.expect(o.relativeDate, unittest.equals('foo')); |
1294 unittest.expect(o.userEnteredValue, unittest.equals('foo')); | 1294 unittest.expect(o.userEnteredValue, unittest.equals('foo')); |
1295 } | 1295 } |
1296 buildCounterConditionValue--; | 1296 buildCounterConditionValue--; |
1297 } | 1297 } |
1298 | 1298 |
1299 buildUnnamed396() { | 1299 buildUnnamed382() { |
1300 var o = new core.List<api.GridRange>(); | 1300 var o = new core.List<api.GridRange>(); |
1301 o.add(buildGridRange()); | 1301 o.add(buildGridRange()); |
1302 o.add(buildGridRange()); | 1302 o.add(buildGridRange()); |
1303 return o; | 1303 return o; |
1304 } | 1304 } |
1305 | 1305 |
1306 checkUnnamed396(core.List<api.GridRange> o) { | 1306 checkUnnamed382(core.List<api.GridRange> o) { |
1307 unittest.expect(o, unittest.hasLength(2)); | 1307 unittest.expect(o, unittest.hasLength(2)); |
1308 checkGridRange(o[0]); | 1308 checkGridRange(o[0]); |
1309 checkGridRange(o[1]); | 1309 checkGridRange(o[1]); |
1310 } | 1310 } |
1311 | 1311 |
1312 core.int buildCounterConditionalFormatRule = 0; | 1312 core.int buildCounterConditionalFormatRule = 0; |
1313 buildConditionalFormatRule() { | 1313 buildConditionalFormatRule() { |
1314 var o = new api.ConditionalFormatRule(); | 1314 var o = new api.ConditionalFormatRule(); |
1315 buildCounterConditionalFormatRule++; | 1315 buildCounterConditionalFormatRule++; |
1316 if (buildCounterConditionalFormatRule < 3) { | 1316 if (buildCounterConditionalFormatRule < 3) { |
1317 o.booleanRule = buildBooleanRule(); | 1317 o.booleanRule = buildBooleanRule(); |
1318 o.gradientRule = buildGradientRule(); | 1318 o.gradientRule = buildGradientRule(); |
1319 o.ranges = buildUnnamed396(); | 1319 o.ranges = buildUnnamed382(); |
1320 } | 1320 } |
1321 buildCounterConditionalFormatRule--; | 1321 buildCounterConditionalFormatRule--; |
1322 return o; | 1322 return o; |
1323 } | 1323 } |
1324 | 1324 |
1325 checkConditionalFormatRule(api.ConditionalFormatRule o) { | 1325 checkConditionalFormatRule(api.ConditionalFormatRule o) { |
1326 buildCounterConditionalFormatRule++; | 1326 buildCounterConditionalFormatRule++; |
1327 if (buildCounterConditionalFormatRule < 3) { | 1327 if (buildCounterConditionalFormatRule < 3) { |
1328 checkBooleanRule(o.booleanRule); | 1328 checkBooleanRule(o.booleanRule); |
1329 checkGradientRule(o.gradientRule); | 1329 checkGradientRule(o.gradientRule); |
1330 checkUnnamed396(o.ranges); | 1330 checkUnnamed382(o.ranges); |
1331 } | 1331 } |
1332 buildCounterConditionalFormatRule--; | 1332 buildCounterConditionalFormatRule--; |
1333 } | 1333 } |
1334 | 1334 |
1335 core.int buildCounterCopyPasteRequest = 0; | 1335 core.int buildCounterCopyPasteRequest = 0; |
1336 buildCopyPasteRequest() { | 1336 buildCopyPasteRequest() { |
1337 var o = new api.CopyPasteRequest(); | 1337 var o = new api.CopyPasteRequest(); |
1338 buildCounterCopyPasteRequest++; | 1338 buildCounterCopyPasteRequest++; |
1339 if (buildCounterCopyPasteRequest < 3) { | 1339 if (buildCounterCopyPasteRequest < 3) { |
1340 o.destination = buildGridRange(); | 1340 o.destination = buildGridRange(); |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1741 } | 1741 } |
1742 | 1742 |
1743 checkDuplicateSheetResponse(api.DuplicateSheetResponse o) { | 1743 checkDuplicateSheetResponse(api.DuplicateSheetResponse o) { |
1744 buildCounterDuplicateSheetResponse++; | 1744 buildCounterDuplicateSheetResponse++; |
1745 if (buildCounterDuplicateSheetResponse < 3) { | 1745 if (buildCounterDuplicateSheetResponse < 3) { |
1746 checkSheetProperties(o.properties); | 1746 checkSheetProperties(o.properties); |
1747 } | 1747 } |
1748 buildCounterDuplicateSheetResponse--; | 1748 buildCounterDuplicateSheetResponse--; |
1749 } | 1749 } |
1750 | 1750 |
1751 buildUnnamed397() { | 1751 buildUnnamed383() { |
1752 var o = new core.List<core.String>(); | 1752 var o = new core.List<core.String>(); |
1753 o.add("foo"); | 1753 o.add("foo"); |
1754 o.add("foo"); | 1754 o.add("foo"); |
1755 return o; | 1755 return o; |
1756 } | 1756 } |
1757 | 1757 |
1758 checkUnnamed397(core.List<core.String> o) { | 1758 checkUnnamed383(core.List<core.String> o) { |
1759 unittest.expect(o, unittest.hasLength(2)); | 1759 unittest.expect(o, unittest.hasLength(2)); |
1760 unittest.expect(o[0], unittest.equals('foo')); | 1760 unittest.expect(o[0], unittest.equals('foo')); |
1761 unittest.expect(o[1], unittest.equals('foo')); | 1761 unittest.expect(o[1], unittest.equals('foo')); |
1762 } | 1762 } |
1763 | 1763 |
1764 buildUnnamed398() { | 1764 buildUnnamed384() { |
1765 var o = new core.List<core.String>(); | 1765 var o = new core.List<core.String>(); |
1766 o.add("foo"); | 1766 o.add("foo"); |
1767 o.add("foo"); | 1767 o.add("foo"); |
1768 return o; | 1768 return o; |
1769 } | 1769 } |
1770 | 1770 |
1771 checkUnnamed398(core.List<core.String> o) { | 1771 checkUnnamed384(core.List<core.String> o) { |
1772 unittest.expect(o, unittest.hasLength(2)); | 1772 unittest.expect(o, unittest.hasLength(2)); |
1773 unittest.expect(o[0], unittest.equals('foo')); | 1773 unittest.expect(o[0], unittest.equals('foo')); |
1774 unittest.expect(o[1], unittest.equals('foo')); | 1774 unittest.expect(o[1], unittest.equals('foo')); |
1775 } | 1775 } |
1776 | 1776 |
1777 core.int buildCounterEditors = 0; | 1777 core.int buildCounterEditors = 0; |
1778 buildEditors() { | 1778 buildEditors() { |
1779 var o = new api.Editors(); | 1779 var o = new api.Editors(); |
1780 buildCounterEditors++; | 1780 buildCounterEditors++; |
1781 if (buildCounterEditors < 3) { | 1781 if (buildCounterEditors < 3) { |
1782 o.domainUsersCanEdit = true; | 1782 o.domainUsersCanEdit = true; |
1783 o.groups = buildUnnamed397(); | 1783 o.groups = buildUnnamed383(); |
1784 o.users = buildUnnamed398(); | 1784 o.users = buildUnnamed384(); |
1785 } | 1785 } |
1786 buildCounterEditors--; | 1786 buildCounterEditors--; |
1787 return o; | 1787 return o; |
1788 } | 1788 } |
1789 | 1789 |
1790 checkEditors(api.Editors o) { | 1790 checkEditors(api.Editors o) { |
1791 buildCounterEditors++; | 1791 buildCounterEditors++; |
1792 if (buildCounterEditors < 3) { | 1792 if (buildCounterEditors < 3) { |
1793 unittest.expect(o.domainUsersCanEdit, unittest.isTrue); | 1793 unittest.expect(o.domainUsersCanEdit, unittest.isTrue); |
1794 checkUnnamed397(o.groups); | 1794 checkUnnamed383(o.groups); |
1795 checkUnnamed398(o.users); | 1795 checkUnnamed384(o.users); |
1796 } | 1796 } |
1797 buildCounterEditors--; | 1797 buildCounterEditors--; |
1798 } | 1798 } |
1799 | 1799 |
1800 core.int buildCounterEmbeddedChart = 0; | 1800 core.int buildCounterEmbeddedChart = 0; |
1801 buildEmbeddedChart() { | 1801 buildEmbeddedChart() { |
1802 var o = new api.EmbeddedChart(); | 1802 var o = new api.EmbeddedChart(); |
1803 buildCounterEmbeddedChart++; | 1803 buildCounterEmbeddedChart++; |
1804 if (buildCounterEmbeddedChart < 3) { | 1804 if (buildCounterEmbeddedChart < 3) { |
1805 o.chartId = 42; | 1805 o.chartId = 42; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1884 if (buildCounterExtendedValue < 3) { | 1884 if (buildCounterExtendedValue < 3) { |
1885 unittest.expect(o.boolValue, unittest.isTrue); | 1885 unittest.expect(o.boolValue, unittest.isTrue); |
1886 checkErrorValue(o.errorValue); | 1886 checkErrorValue(o.errorValue); |
1887 unittest.expect(o.formulaValue, unittest.equals('foo')); | 1887 unittest.expect(o.formulaValue, unittest.equals('foo')); |
1888 unittest.expect(o.numberValue, unittest.equals(42.0)); | 1888 unittest.expect(o.numberValue, unittest.equals(42.0)); |
1889 unittest.expect(o.stringValue, unittest.equals('foo')); | 1889 unittest.expect(o.stringValue, unittest.equals('foo')); |
1890 } | 1890 } |
1891 buildCounterExtendedValue--; | 1891 buildCounterExtendedValue--; |
1892 } | 1892 } |
1893 | 1893 |
1894 buildUnnamed399() { | 1894 buildUnnamed385() { |
1895 var o = new core.List<core.String>(); | 1895 var o = new core.List<core.String>(); |
1896 o.add("foo"); | 1896 o.add("foo"); |
1897 o.add("foo"); | 1897 o.add("foo"); |
1898 return o; | 1898 return o; |
1899 } | 1899 } |
1900 | 1900 |
1901 checkUnnamed399(core.List<core.String> o) { | 1901 checkUnnamed385(core.List<core.String> o) { |
1902 unittest.expect(o, unittest.hasLength(2)); | 1902 unittest.expect(o, unittest.hasLength(2)); |
1903 unittest.expect(o[0], unittest.equals('foo')); | 1903 unittest.expect(o[0], unittest.equals('foo')); |
1904 unittest.expect(o[1], unittest.equals('foo')); | 1904 unittest.expect(o[1], unittest.equals('foo')); |
1905 } | 1905 } |
1906 | 1906 |
1907 core.int buildCounterFilterCriteria = 0; | 1907 core.int buildCounterFilterCriteria = 0; |
1908 buildFilterCriteria() { | 1908 buildFilterCriteria() { |
1909 var o = new api.FilterCriteria(); | 1909 var o = new api.FilterCriteria(); |
1910 buildCounterFilterCriteria++; | 1910 buildCounterFilterCriteria++; |
1911 if (buildCounterFilterCriteria < 3) { | 1911 if (buildCounterFilterCriteria < 3) { |
1912 o.condition = buildBooleanCondition(); | 1912 o.condition = buildBooleanCondition(); |
1913 o.hiddenValues = buildUnnamed399(); | 1913 o.hiddenValues = buildUnnamed385(); |
1914 } | 1914 } |
1915 buildCounterFilterCriteria--; | 1915 buildCounterFilterCriteria--; |
1916 return o; | 1916 return o; |
1917 } | 1917 } |
1918 | 1918 |
1919 checkFilterCriteria(api.FilterCriteria o) { | 1919 checkFilterCriteria(api.FilterCriteria o) { |
1920 buildCounterFilterCriteria++; | 1920 buildCounterFilterCriteria++; |
1921 if (buildCounterFilterCriteria < 3) { | 1921 if (buildCounterFilterCriteria < 3) { |
1922 checkBooleanCondition(o.condition); | 1922 checkBooleanCondition(o.condition); |
1923 checkUnnamed399(o.hiddenValues); | 1923 checkUnnamed385(o.hiddenValues); |
1924 } | 1924 } |
1925 buildCounterFilterCriteria--; | 1925 buildCounterFilterCriteria--; |
1926 } | 1926 } |
1927 | 1927 |
1928 buildUnnamed400() { | 1928 buildUnnamed386() { |
1929 var o = new core.Map<core.String, api.FilterCriteria>(); | 1929 var o = new core.Map<core.String, api.FilterCriteria>(); |
1930 o["x"] = buildFilterCriteria(); | 1930 o["x"] = buildFilterCriteria(); |
1931 o["y"] = buildFilterCriteria(); | 1931 o["y"] = buildFilterCriteria(); |
1932 return o; | 1932 return o; |
1933 } | 1933 } |
1934 | 1934 |
1935 checkUnnamed400(core.Map<core.String, api.FilterCriteria> o) { | 1935 checkUnnamed386(core.Map<core.String, api.FilterCriteria> o) { |
1936 unittest.expect(o, unittest.hasLength(2)); | 1936 unittest.expect(o, unittest.hasLength(2)); |
1937 checkFilterCriteria(o["x"]); | 1937 checkFilterCriteria(o["x"]); |
1938 checkFilterCriteria(o["y"]); | 1938 checkFilterCriteria(o["y"]); |
1939 } | 1939 } |
1940 | 1940 |
1941 buildUnnamed401() { | 1941 buildUnnamed387() { |
1942 var o = new core.List<api.SortSpec>(); | 1942 var o = new core.List<api.SortSpec>(); |
1943 o.add(buildSortSpec()); | 1943 o.add(buildSortSpec()); |
1944 o.add(buildSortSpec()); | 1944 o.add(buildSortSpec()); |
1945 return o; | 1945 return o; |
1946 } | 1946 } |
1947 | 1947 |
1948 checkUnnamed401(core.List<api.SortSpec> o) { | 1948 checkUnnamed387(core.List<api.SortSpec> o) { |
1949 unittest.expect(o, unittest.hasLength(2)); | 1949 unittest.expect(o, unittest.hasLength(2)); |
1950 checkSortSpec(o[0]); | 1950 checkSortSpec(o[0]); |
1951 checkSortSpec(o[1]); | 1951 checkSortSpec(o[1]); |
1952 } | 1952 } |
1953 | 1953 |
1954 core.int buildCounterFilterView = 0; | 1954 core.int buildCounterFilterView = 0; |
1955 buildFilterView() { | 1955 buildFilterView() { |
1956 var o = new api.FilterView(); | 1956 var o = new api.FilterView(); |
1957 buildCounterFilterView++; | 1957 buildCounterFilterView++; |
1958 if (buildCounterFilterView < 3) { | 1958 if (buildCounterFilterView < 3) { |
1959 o.criteria = buildUnnamed400(); | 1959 o.criteria = buildUnnamed386(); |
1960 o.filterViewId = 42; | 1960 o.filterViewId = 42; |
1961 o.namedRangeId = "foo"; | 1961 o.namedRangeId = "foo"; |
1962 o.range = buildGridRange(); | 1962 o.range = buildGridRange(); |
1963 o.sortSpecs = buildUnnamed401(); | 1963 o.sortSpecs = buildUnnamed387(); |
1964 o.title = "foo"; | 1964 o.title = "foo"; |
1965 } | 1965 } |
1966 buildCounterFilterView--; | 1966 buildCounterFilterView--; |
1967 return o; | 1967 return o; |
1968 } | 1968 } |
1969 | 1969 |
1970 checkFilterView(api.FilterView o) { | 1970 checkFilterView(api.FilterView o) { |
1971 buildCounterFilterView++; | 1971 buildCounterFilterView++; |
1972 if (buildCounterFilterView < 3) { | 1972 if (buildCounterFilterView < 3) { |
1973 checkUnnamed400(o.criteria); | 1973 checkUnnamed386(o.criteria); |
1974 unittest.expect(o.filterViewId, unittest.equals(42)); | 1974 unittest.expect(o.filterViewId, unittest.equals(42)); |
1975 unittest.expect(o.namedRangeId, unittest.equals('foo')); | 1975 unittest.expect(o.namedRangeId, unittest.equals('foo')); |
1976 checkGridRange(o.range); | 1976 checkGridRange(o.range); |
1977 checkUnnamed401(o.sortSpecs); | 1977 checkUnnamed387(o.sortSpecs); |
1978 unittest.expect(o.title, unittest.equals('foo')); | 1978 unittest.expect(o.title, unittest.equals('foo')); |
1979 } | 1979 } |
1980 buildCounterFilterView--; | 1980 buildCounterFilterView--; |
1981 } | 1981 } |
1982 | 1982 |
1983 core.int buildCounterFindReplaceRequest = 0; | 1983 core.int buildCounterFindReplaceRequest = 0; |
1984 buildFindReplaceRequest() { | 1984 buildFindReplaceRequest() { |
1985 var o = new api.FindReplaceRequest(); | 1985 var o = new api.FindReplaceRequest(); |
1986 buildCounterFindReplaceRequest++; | 1986 buildCounterFindReplaceRequest++; |
1987 if (buildCounterFindReplaceRequest < 3) { | 1987 if (buildCounterFindReplaceRequest < 3) { |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2081 checkGridCoordinate(api.GridCoordinate o) { | 2081 checkGridCoordinate(api.GridCoordinate o) { |
2082 buildCounterGridCoordinate++; | 2082 buildCounterGridCoordinate++; |
2083 if (buildCounterGridCoordinate < 3) { | 2083 if (buildCounterGridCoordinate < 3) { |
2084 unittest.expect(o.columnIndex, unittest.equals(42)); | 2084 unittest.expect(o.columnIndex, unittest.equals(42)); |
2085 unittest.expect(o.rowIndex, unittest.equals(42)); | 2085 unittest.expect(o.rowIndex, unittest.equals(42)); |
2086 unittest.expect(o.sheetId, unittest.equals(42)); | 2086 unittest.expect(o.sheetId, unittest.equals(42)); |
2087 } | 2087 } |
2088 buildCounterGridCoordinate--; | 2088 buildCounterGridCoordinate--; |
2089 } | 2089 } |
2090 | 2090 |
2091 buildUnnamed402() { | 2091 buildUnnamed388() { |
2092 var o = new core.List<api.DimensionProperties>(); | 2092 var o = new core.List<api.DimensionProperties>(); |
2093 o.add(buildDimensionProperties()); | 2093 o.add(buildDimensionProperties()); |
2094 o.add(buildDimensionProperties()); | 2094 o.add(buildDimensionProperties()); |
2095 return o; | 2095 return o; |
2096 } | 2096 } |
2097 | 2097 |
2098 checkUnnamed402(core.List<api.DimensionProperties> o) { | 2098 checkUnnamed388(core.List<api.DimensionProperties> o) { |
2099 unittest.expect(o, unittest.hasLength(2)); | 2099 unittest.expect(o, unittest.hasLength(2)); |
2100 checkDimensionProperties(o[0]); | 2100 checkDimensionProperties(o[0]); |
2101 checkDimensionProperties(o[1]); | 2101 checkDimensionProperties(o[1]); |
2102 } | 2102 } |
2103 | 2103 |
2104 buildUnnamed403() { | 2104 buildUnnamed389() { |
2105 var o = new core.List<api.RowData>(); | 2105 var o = new core.List<api.RowData>(); |
2106 o.add(buildRowData()); | 2106 o.add(buildRowData()); |
2107 o.add(buildRowData()); | 2107 o.add(buildRowData()); |
2108 return o; | 2108 return o; |
2109 } | 2109 } |
2110 | 2110 |
2111 checkUnnamed403(core.List<api.RowData> o) { | 2111 checkUnnamed389(core.List<api.RowData> o) { |
2112 unittest.expect(o, unittest.hasLength(2)); | 2112 unittest.expect(o, unittest.hasLength(2)); |
2113 checkRowData(o[0]); | 2113 checkRowData(o[0]); |
2114 checkRowData(o[1]); | 2114 checkRowData(o[1]); |
2115 } | 2115 } |
2116 | 2116 |
2117 buildUnnamed404() { | 2117 buildUnnamed390() { |
2118 var o = new core.List<api.DimensionProperties>(); | 2118 var o = new core.List<api.DimensionProperties>(); |
2119 o.add(buildDimensionProperties()); | 2119 o.add(buildDimensionProperties()); |
2120 o.add(buildDimensionProperties()); | 2120 o.add(buildDimensionProperties()); |
2121 return o; | 2121 return o; |
2122 } | 2122 } |
2123 | 2123 |
2124 checkUnnamed404(core.List<api.DimensionProperties> o) { | 2124 checkUnnamed390(core.List<api.DimensionProperties> o) { |
2125 unittest.expect(o, unittest.hasLength(2)); | 2125 unittest.expect(o, unittest.hasLength(2)); |
2126 checkDimensionProperties(o[0]); | 2126 checkDimensionProperties(o[0]); |
2127 checkDimensionProperties(o[1]); | 2127 checkDimensionProperties(o[1]); |
2128 } | 2128 } |
2129 | 2129 |
2130 core.int buildCounterGridData = 0; | 2130 core.int buildCounterGridData = 0; |
2131 buildGridData() { | 2131 buildGridData() { |
2132 var o = new api.GridData(); | 2132 var o = new api.GridData(); |
2133 buildCounterGridData++; | 2133 buildCounterGridData++; |
2134 if (buildCounterGridData < 3) { | 2134 if (buildCounterGridData < 3) { |
2135 o.columnMetadata = buildUnnamed402(); | 2135 o.columnMetadata = buildUnnamed388(); |
2136 o.rowData = buildUnnamed403(); | 2136 o.rowData = buildUnnamed389(); |
2137 o.rowMetadata = buildUnnamed404(); | 2137 o.rowMetadata = buildUnnamed390(); |
2138 o.startColumn = 42; | 2138 o.startColumn = 42; |
2139 o.startRow = 42; | 2139 o.startRow = 42; |
2140 } | 2140 } |
2141 buildCounterGridData--; | 2141 buildCounterGridData--; |
2142 return o; | 2142 return o; |
2143 } | 2143 } |
2144 | 2144 |
2145 checkGridData(api.GridData o) { | 2145 checkGridData(api.GridData o) { |
2146 buildCounterGridData++; | 2146 buildCounterGridData++; |
2147 if (buildCounterGridData < 3) { | 2147 if (buildCounterGridData < 3) { |
2148 checkUnnamed402(o.columnMetadata); | 2148 checkUnnamed388(o.columnMetadata); |
2149 checkUnnamed403(o.rowData); | 2149 checkUnnamed389(o.rowData); |
2150 checkUnnamed404(o.rowMetadata); | 2150 checkUnnamed390(o.rowMetadata); |
2151 unittest.expect(o.startColumn, unittest.equals(42)); | 2151 unittest.expect(o.startColumn, unittest.equals(42)); |
2152 unittest.expect(o.startRow, unittest.equals(42)); | 2152 unittest.expect(o.startRow, unittest.equals(42)); |
2153 } | 2153 } |
2154 buildCounterGridData--; | 2154 buildCounterGridData--; |
2155 } | 2155 } |
2156 | 2156 |
2157 core.int buildCounterGridProperties = 0; | 2157 core.int buildCounterGridProperties = 0; |
2158 buildGridProperties() { | 2158 buildGridProperties() { |
2159 var o = new api.GridProperties(); | 2159 var o = new api.GridProperties(); |
2160 buildCounterGridProperties++; | 2160 buildCounterGridProperties++; |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2479 if (buildCounterPieChartSpec < 3) { | 2479 if (buildCounterPieChartSpec < 3) { |
2480 checkChartData(o.domain); | 2480 checkChartData(o.domain); |
2481 unittest.expect(o.legendPosition, unittest.equals('foo')); | 2481 unittest.expect(o.legendPosition, unittest.equals('foo')); |
2482 unittest.expect(o.pieHole, unittest.equals(42.0)); | 2482 unittest.expect(o.pieHole, unittest.equals(42.0)); |
2483 checkChartData(o.series); | 2483 checkChartData(o.series); |
2484 unittest.expect(o.threeDimensional, unittest.isTrue); | 2484 unittest.expect(o.threeDimensional, unittest.isTrue); |
2485 } | 2485 } |
2486 buildCounterPieChartSpec--; | 2486 buildCounterPieChartSpec--; |
2487 } | 2487 } |
2488 | 2488 |
2489 buildUnnamed405() { | 2489 buildUnnamed391() { |
2490 var o = new core.List<core.String>(); | 2490 var o = new core.List<core.String>(); |
2491 o.add("foo"); | 2491 o.add("foo"); |
2492 o.add("foo"); | 2492 o.add("foo"); |
2493 return o; | 2493 return o; |
2494 } | 2494 } |
2495 | 2495 |
2496 checkUnnamed405(core.List<core.String> o) { | 2496 checkUnnamed391(core.List<core.String> o) { |
2497 unittest.expect(o, unittest.hasLength(2)); | 2497 unittest.expect(o, unittest.hasLength(2)); |
2498 unittest.expect(o[0], unittest.equals('foo')); | 2498 unittest.expect(o[0], unittest.equals('foo')); |
2499 unittest.expect(o[1], unittest.equals('foo')); | 2499 unittest.expect(o[1], unittest.equals('foo')); |
2500 } | 2500 } |
2501 | 2501 |
2502 core.int buildCounterPivotFilterCriteria = 0; | 2502 core.int buildCounterPivotFilterCriteria = 0; |
2503 buildPivotFilterCriteria() { | 2503 buildPivotFilterCriteria() { |
2504 var o = new api.PivotFilterCriteria(); | 2504 var o = new api.PivotFilterCriteria(); |
2505 buildCounterPivotFilterCriteria++; | 2505 buildCounterPivotFilterCriteria++; |
2506 if (buildCounterPivotFilterCriteria < 3) { | 2506 if (buildCounterPivotFilterCriteria < 3) { |
2507 o.visibleValues = buildUnnamed405(); | 2507 o.visibleValues = buildUnnamed391(); |
2508 } | 2508 } |
2509 buildCounterPivotFilterCriteria--; | 2509 buildCounterPivotFilterCriteria--; |
2510 return o; | 2510 return o; |
2511 } | 2511 } |
2512 | 2512 |
2513 checkPivotFilterCriteria(api.PivotFilterCriteria o) { | 2513 checkPivotFilterCriteria(api.PivotFilterCriteria o) { |
2514 buildCounterPivotFilterCriteria++; | 2514 buildCounterPivotFilterCriteria++; |
2515 if (buildCounterPivotFilterCriteria < 3) { | 2515 if (buildCounterPivotFilterCriteria < 3) { |
2516 checkUnnamed405(o.visibleValues); | 2516 checkUnnamed391(o.visibleValues); |
2517 } | 2517 } |
2518 buildCounterPivotFilterCriteria--; | 2518 buildCounterPivotFilterCriteria--; |
2519 } | 2519 } |
2520 | 2520 |
2521 buildUnnamed406() { | 2521 buildUnnamed392() { |
2522 var o = new core.List<api.PivotGroupValueMetadata>(); | 2522 var o = new core.List<api.PivotGroupValueMetadata>(); |
2523 o.add(buildPivotGroupValueMetadata()); | 2523 o.add(buildPivotGroupValueMetadata()); |
2524 o.add(buildPivotGroupValueMetadata()); | 2524 o.add(buildPivotGroupValueMetadata()); |
2525 return o; | 2525 return o; |
2526 } | 2526 } |
2527 | 2527 |
2528 checkUnnamed406(core.List<api.PivotGroupValueMetadata> o) { | 2528 checkUnnamed392(core.List<api.PivotGroupValueMetadata> o) { |
2529 unittest.expect(o, unittest.hasLength(2)); | 2529 unittest.expect(o, unittest.hasLength(2)); |
2530 checkPivotGroupValueMetadata(o[0]); | 2530 checkPivotGroupValueMetadata(o[0]); |
2531 checkPivotGroupValueMetadata(o[1]); | 2531 checkPivotGroupValueMetadata(o[1]); |
2532 } | 2532 } |
2533 | 2533 |
2534 core.int buildCounterPivotGroup = 0; | 2534 core.int buildCounterPivotGroup = 0; |
2535 buildPivotGroup() { | 2535 buildPivotGroup() { |
2536 var o = new api.PivotGroup(); | 2536 var o = new api.PivotGroup(); |
2537 buildCounterPivotGroup++; | 2537 buildCounterPivotGroup++; |
2538 if (buildCounterPivotGroup < 3) { | 2538 if (buildCounterPivotGroup < 3) { |
2539 o.showTotals = true; | 2539 o.showTotals = true; |
2540 o.sortOrder = "foo"; | 2540 o.sortOrder = "foo"; |
2541 o.sourceColumnOffset = 42; | 2541 o.sourceColumnOffset = 42; |
2542 o.valueBucket = buildPivotGroupSortValueBucket(); | 2542 o.valueBucket = buildPivotGroupSortValueBucket(); |
2543 o.valueMetadata = buildUnnamed406(); | 2543 o.valueMetadata = buildUnnamed392(); |
2544 } | 2544 } |
2545 buildCounterPivotGroup--; | 2545 buildCounterPivotGroup--; |
2546 return o; | 2546 return o; |
2547 } | 2547 } |
2548 | 2548 |
2549 checkPivotGroup(api.PivotGroup o) { | 2549 checkPivotGroup(api.PivotGroup o) { |
2550 buildCounterPivotGroup++; | 2550 buildCounterPivotGroup++; |
2551 if (buildCounterPivotGroup < 3) { | 2551 if (buildCounterPivotGroup < 3) { |
2552 unittest.expect(o.showTotals, unittest.isTrue); | 2552 unittest.expect(o.showTotals, unittest.isTrue); |
2553 unittest.expect(o.sortOrder, unittest.equals('foo')); | 2553 unittest.expect(o.sortOrder, unittest.equals('foo')); |
2554 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); | 2554 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); |
2555 checkPivotGroupSortValueBucket(o.valueBucket); | 2555 checkPivotGroupSortValueBucket(o.valueBucket); |
2556 checkUnnamed406(o.valueMetadata); | 2556 checkUnnamed392(o.valueMetadata); |
2557 } | 2557 } |
2558 buildCounterPivotGroup--; | 2558 buildCounterPivotGroup--; |
2559 } | 2559 } |
2560 | 2560 |
2561 buildUnnamed407() { | 2561 buildUnnamed393() { |
2562 var o = new core.List<api.ExtendedValue>(); | 2562 var o = new core.List<api.ExtendedValue>(); |
2563 o.add(buildExtendedValue()); | 2563 o.add(buildExtendedValue()); |
2564 o.add(buildExtendedValue()); | 2564 o.add(buildExtendedValue()); |
2565 return o; | 2565 return o; |
2566 } | 2566 } |
2567 | 2567 |
2568 checkUnnamed407(core.List<api.ExtendedValue> o) { | 2568 checkUnnamed393(core.List<api.ExtendedValue> o) { |
2569 unittest.expect(o, unittest.hasLength(2)); | 2569 unittest.expect(o, unittest.hasLength(2)); |
2570 checkExtendedValue(o[0]); | 2570 checkExtendedValue(o[0]); |
2571 checkExtendedValue(o[1]); | 2571 checkExtendedValue(o[1]); |
2572 } | 2572 } |
2573 | 2573 |
2574 core.int buildCounterPivotGroupSortValueBucket = 0; | 2574 core.int buildCounterPivotGroupSortValueBucket = 0; |
2575 buildPivotGroupSortValueBucket() { | 2575 buildPivotGroupSortValueBucket() { |
2576 var o = new api.PivotGroupSortValueBucket(); | 2576 var o = new api.PivotGroupSortValueBucket(); |
2577 buildCounterPivotGroupSortValueBucket++; | 2577 buildCounterPivotGroupSortValueBucket++; |
2578 if (buildCounterPivotGroupSortValueBucket < 3) { | 2578 if (buildCounterPivotGroupSortValueBucket < 3) { |
2579 o.buckets = buildUnnamed407(); | 2579 o.buckets = buildUnnamed393(); |
2580 o.valuesIndex = 42; | 2580 o.valuesIndex = 42; |
2581 } | 2581 } |
2582 buildCounterPivotGroupSortValueBucket--; | 2582 buildCounterPivotGroupSortValueBucket--; |
2583 return o; | 2583 return o; |
2584 } | 2584 } |
2585 | 2585 |
2586 checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) { | 2586 checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) { |
2587 buildCounterPivotGroupSortValueBucket++; | 2587 buildCounterPivotGroupSortValueBucket++; |
2588 if (buildCounterPivotGroupSortValueBucket < 3) { | 2588 if (buildCounterPivotGroupSortValueBucket < 3) { |
2589 checkUnnamed407(o.buckets); | 2589 checkUnnamed393(o.buckets); |
2590 unittest.expect(o.valuesIndex, unittest.equals(42)); | 2590 unittest.expect(o.valuesIndex, unittest.equals(42)); |
2591 } | 2591 } |
2592 buildCounterPivotGroupSortValueBucket--; | 2592 buildCounterPivotGroupSortValueBucket--; |
2593 } | 2593 } |
2594 | 2594 |
2595 core.int buildCounterPivotGroupValueMetadata = 0; | 2595 core.int buildCounterPivotGroupValueMetadata = 0; |
2596 buildPivotGroupValueMetadata() { | 2596 buildPivotGroupValueMetadata() { |
2597 var o = new api.PivotGroupValueMetadata(); | 2597 var o = new api.PivotGroupValueMetadata(); |
2598 buildCounterPivotGroupValueMetadata++; | 2598 buildCounterPivotGroupValueMetadata++; |
2599 if (buildCounterPivotGroupValueMetadata < 3) { | 2599 if (buildCounterPivotGroupValueMetadata < 3) { |
2600 o.collapsed = true; | 2600 o.collapsed = true; |
2601 o.value = buildExtendedValue(); | 2601 o.value = buildExtendedValue(); |
2602 } | 2602 } |
2603 buildCounterPivotGroupValueMetadata--; | 2603 buildCounterPivotGroupValueMetadata--; |
2604 return o; | 2604 return o; |
2605 } | 2605 } |
2606 | 2606 |
2607 checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) { | 2607 checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) { |
2608 buildCounterPivotGroupValueMetadata++; | 2608 buildCounterPivotGroupValueMetadata++; |
2609 if (buildCounterPivotGroupValueMetadata < 3) { | 2609 if (buildCounterPivotGroupValueMetadata < 3) { |
2610 unittest.expect(o.collapsed, unittest.isTrue); | 2610 unittest.expect(o.collapsed, unittest.isTrue); |
2611 checkExtendedValue(o.value); | 2611 checkExtendedValue(o.value); |
2612 } | 2612 } |
2613 buildCounterPivotGroupValueMetadata--; | 2613 buildCounterPivotGroupValueMetadata--; |
2614 } | 2614 } |
2615 | 2615 |
2616 buildUnnamed408() { | 2616 buildUnnamed394() { |
2617 var o = new core.List<api.PivotGroup>(); | 2617 var o = new core.List<api.PivotGroup>(); |
2618 o.add(buildPivotGroup()); | 2618 o.add(buildPivotGroup()); |
2619 o.add(buildPivotGroup()); | 2619 o.add(buildPivotGroup()); |
2620 return o; | 2620 return o; |
2621 } | 2621 } |
2622 | 2622 |
2623 checkUnnamed408(core.List<api.PivotGroup> o) { | 2623 checkUnnamed394(core.List<api.PivotGroup> o) { |
2624 unittest.expect(o, unittest.hasLength(2)); | 2624 unittest.expect(o, unittest.hasLength(2)); |
2625 checkPivotGroup(o[0]); | 2625 checkPivotGroup(o[0]); |
2626 checkPivotGroup(o[1]); | 2626 checkPivotGroup(o[1]); |
2627 } | 2627 } |
2628 | 2628 |
2629 buildUnnamed409() { | 2629 buildUnnamed395() { |
2630 var o = new core.Map<core.String, api.PivotFilterCriteria>(); | 2630 var o = new core.Map<core.String, api.PivotFilterCriteria>(); |
2631 o["x"] = buildPivotFilterCriteria(); | 2631 o["x"] = buildPivotFilterCriteria(); |
2632 o["y"] = buildPivotFilterCriteria(); | 2632 o["y"] = buildPivotFilterCriteria(); |
2633 return o; | 2633 return o; |
2634 } | 2634 } |
2635 | 2635 |
2636 checkUnnamed409(core.Map<core.String, api.PivotFilterCriteria> o) { | 2636 checkUnnamed395(core.Map<core.String, api.PivotFilterCriteria> o) { |
2637 unittest.expect(o, unittest.hasLength(2)); | 2637 unittest.expect(o, unittest.hasLength(2)); |
2638 checkPivotFilterCriteria(o["x"]); | 2638 checkPivotFilterCriteria(o["x"]); |
2639 checkPivotFilterCriteria(o["y"]); | 2639 checkPivotFilterCriteria(o["y"]); |
2640 } | 2640 } |
2641 | 2641 |
2642 buildUnnamed410() { | 2642 buildUnnamed396() { |
2643 var o = new core.List<api.PivotGroup>(); | 2643 var o = new core.List<api.PivotGroup>(); |
2644 o.add(buildPivotGroup()); | 2644 o.add(buildPivotGroup()); |
2645 o.add(buildPivotGroup()); | 2645 o.add(buildPivotGroup()); |
2646 return o; | 2646 return o; |
2647 } | 2647 } |
2648 | 2648 |
2649 checkUnnamed410(core.List<api.PivotGroup> o) { | 2649 checkUnnamed396(core.List<api.PivotGroup> o) { |
2650 unittest.expect(o, unittest.hasLength(2)); | 2650 unittest.expect(o, unittest.hasLength(2)); |
2651 checkPivotGroup(o[0]); | 2651 checkPivotGroup(o[0]); |
2652 checkPivotGroup(o[1]); | 2652 checkPivotGroup(o[1]); |
2653 } | 2653 } |
2654 | 2654 |
2655 buildUnnamed411() { | 2655 buildUnnamed397() { |
2656 var o = new core.List<api.PivotValue>(); | 2656 var o = new core.List<api.PivotValue>(); |
2657 o.add(buildPivotValue()); | 2657 o.add(buildPivotValue()); |
2658 o.add(buildPivotValue()); | 2658 o.add(buildPivotValue()); |
2659 return o; | 2659 return o; |
2660 } | 2660 } |
2661 | 2661 |
2662 checkUnnamed411(core.List<api.PivotValue> o) { | 2662 checkUnnamed397(core.List<api.PivotValue> o) { |
2663 unittest.expect(o, unittest.hasLength(2)); | 2663 unittest.expect(o, unittest.hasLength(2)); |
2664 checkPivotValue(o[0]); | 2664 checkPivotValue(o[0]); |
2665 checkPivotValue(o[1]); | 2665 checkPivotValue(o[1]); |
2666 } | 2666 } |
2667 | 2667 |
2668 core.int buildCounterPivotTable = 0; | 2668 core.int buildCounterPivotTable = 0; |
2669 buildPivotTable() { | 2669 buildPivotTable() { |
2670 var o = new api.PivotTable(); | 2670 var o = new api.PivotTable(); |
2671 buildCounterPivotTable++; | 2671 buildCounterPivotTable++; |
2672 if (buildCounterPivotTable < 3) { | 2672 if (buildCounterPivotTable < 3) { |
2673 o.columns = buildUnnamed408(); | 2673 o.columns = buildUnnamed394(); |
2674 o.criteria = buildUnnamed409(); | 2674 o.criteria = buildUnnamed395(); |
2675 o.rows = buildUnnamed410(); | 2675 o.rows = buildUnnamed396(); |
2676 o.source = buildGridRange(); | 2676 o.source = buildGridRange(); |
2677 o.valueLayout = "foo"; | 2677 o.valueLayout = "foo"; |
2678 o.values = buildUnnamed411(); | 2678 o.values = buildUnnamed397(); |
2679 } | 2679 } |
2680 buildCounterPivotTable--; | 2680 buildCounterPivotTable--; |
2681 return o; | 2681 return o; |
2682 } | 2682 } |
2683 | 2683 |
2684 checkPivotTable(api.PivotTable o) { | 2684 checkPivotTable(api.PivotTable o) { |
2685 buildCounterPivotTable++; | 2685 buildCounterPivotTable++; |
2686 if (buildCounterPivotTable < 3) { | 2686 if (buildCounterPivotTable < 3) { |
2687 checkUnnamed408(o.columns); | 2687 checkUnnamed394(o.columns); |
2688 checkUnnamed409(o.criteria); | 2688 checkUnnamed395(o.criteria); |
2689 checkUnnamed410(o.rows); | 2689 checkUnnamed396(o.rows); |
2690 checkGridRange(o.source); | 2690 checkGridRange(o.source); |
2691 unittest.expect(o.valueLayout, unittest.equals('foo')); | 2691 unittest.expect(o.valueLayout, unittest.equals('foo')); |
2692 checkUnnamed411(o.values); | 2692 checkUnnamed397(o.values); |
2693 } | 2693 } |
2694 buildCounterPivotTable--; | 2694 buildCounterPivotTable--; |
2695 } | 2695 } |
2696 | 2696 |
2697 core.int buildCounterPivotValue = 0; | 2697 core.int buildCounterPivotValue = 0; |
2698 buildPivotValue() { | 2698 buildPivotValue() { |
2699 var o = new api.PivotValue(); | 2699 var o = new api.PivotValue(); |
2700 buildCounterPivotValue++; | 2700 buildCounterPivotValue++; |
2701 if (buildCounterPivotValue < 3) { | 2701 if (buildCounterPivotValue < 3) { |
2702 o.formula = "foo"; | 2702 o.formula = "foo"; |
2703 o.name = "foo"; | 2703 o.name = "foo"; |
2704 o.sourceColumnOffset = 42; | 2704 o.sourceColumnOffset = 42; |
2705 o.summarizeFunction = "foo"; | 2705 o.summarizeFunction = "foo"; |
2706 } | 2706 } |
2707 buildCounterPivotValue--; | 2707 buildCounterPivotValue--; |
2708 return o; | 2708 return o; |
2709 } | 2709 } |
2710 | 2710 |
2711 checkPivotValue(api.PivotValue o) { | 2711 checkPivotValue(api.PivotValue o) { |
2712 buildCounterPivotValue++; | 2712 buildCounterPivotValue++; |
2713 if (buildCounterPivotValue < 3) { | 2713 if (buildCounterPivotValue < 3) { |
2714 unittest.expect(o.formula, unittest.equals('foo')); | 2714 unittest.expect(o.formula, unittest.equals('foo')); |
2715 unittest.expect(o.name, unittest.equals('foo')); | 2715 unittest.expect(o.name, unittest.equals('foo')); |
2716 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); | 2716 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); |
2717 unittest.expect(o.summarizeFunction, unittest.equals('foo')); | 2717 unittest.expect(o.summarizeFunction, unittest.equals('foo')); |
2718 } | 2718 } |
2719 buildCounterPivotValue--; | 2719 buildCounterPivotValue--; |
2720 } | 2720 } |
2721 | 2721 |
2722 buildUnnamed412() { | 2722 buildUnnamed398() { |
2723 var o = new core.List<api.GridRange>(); | 2723 var o = new core.List<api.GridRange>(); |
2724 o.add(buildGridRange()); | 2724 o.add(buildGridRange()); |
2725 o.add(buildGridRange()); | 2725 o.add(buildGridRange()); |
2726 return o; | 2726 return o; |
2727 } | 2727 } |
2728 | 2728 |
2729 checkUnnamed412(core.List<api.GridRange> o) { | 2729 checkUnnamed398(core.List<api.GridRange> o) { |
2730 unittest.expect(o, unittest.hasLength(2)); | 2730 unittest.expect(o, unittest.hasLength(2)); |
2731 checkGridRange(o[0]); | 2731 checkGridRange(o[0]); |
2732 checkGridRange(o[1]); | 2732 checkGridRange(o[1]); |
2733 } | 2733 } |
2734 | 2734 |
2735 core.int buildCounterProtectedRange = 0; | 2735 core.int buildCounterProtectedRange = 0; |
2736 buildProtectedRange() { | 2736 buildProtectedRange() { |
2737 var o = new api.ProtectedRange(); | 2737 var o = new api.ProtectedRange(); |
2738 buildCounterProtectedRange++; | 2738 buildCounterProtectedRange++; |
2739 if (buildCounterProtectedRange < 3) { | 2739 if (buildCounterProtectedRange < 3) { |
2740 o.description = "foo"; | 2740 o.description = "foo"; |
2741 o.editors = buildEditors(); | 2741 o.editors = buildEditors(); |
2742 o.namedRangeId = "foo"; | 2742 o.namedRangeId = "foo"; |
2743 o.protectedRangeId = 42; | 2743 o.protectedRangeId = 42; |
2744 o.range = buildGridRange(); | 2744 o.range = buildGridRange(); |
2745 o.requestingUserCanEdit = true; | 2745 o.requestingUserCanEdit = true; |
2746 o.unprotectedRanges = buildUnnamed412(); | 2746 o.unprotectedRanges = buildUnnamed398(); |
2747 o.warningOnly = true; | 2747 o.warningOnly = true; |
2748 } | 2748 } |
2749 buildCounterProtectedRange--; | 2749 buildCounterProtectedRange--; |
2750 return o; | 2750 return o; |
2751 } | 2751 } |
2752 | 2752 |
2753 checkProtectedRange(api.ProtectedRange o) { | 2753 checkProtectedRange(api.ProtectedRange o) { |
2754 buildCounterProtectedRange++; | 2754 buildCounterProtectedRange++; |
2755 if (buildCounterProtectedRange < 3) { | 2755 if (buildCounterProtectedRange < 3) { |
2756 unittest.expect(o.description, unittest.equals('foo')); | 2756 unittest.expect(o.description, unittest.equals('foo')); |
2757 checkEditors(o.editors); | 2757 checkEditors(o.editors); |
2758 unittest.expect(o.namedRangeId, unittest.equals('foo')); | 2758 unittest.expect(o.namedRangeId, unittest.equals('foo')); |
2759 unittest.expect(o.protectedRangeId, unittest.equals(42)); | 2759 unittest.expect(o.protectedRangeId, unittest.equals(42)); |
2760 checkGridRange(o.range); | 2760 checkGridRange(o.range); |
2761 unittest.expect(o.requestingUserCanEdit, unittest.isTrue); | 2761 unittest.expect(o.requestingUserCanEdit, unittest.isTrue); |
2762 checkUnnamed412(o.unprotectedRanges); | 2762 checkUnnamed398(o.unprotectedRanges); |
2763 unittest.expect(o.warningOnly, unittest.isTrue); | 2763 unittest.expect(o.warningOnly, unittest.isTrue); |
2764 } | 2764 } |
2765 buildCounterProtectedRange--; | 2765 buildCounterProtectedRange--; |
2766 } | 2766 } |
2767 | 2767 |
2768 core.int buildCounterRepeatCellRequest = 0; | 2768 core.int buildCounterRepeatCellRequest = 0; |
2769 buildRepeatCellRequest() { | 2769 buildRepeatCellRequest() { |
2770 var o = new api.RepeatCellRequest(); | 2770 var o = new api.RepeatCellRequest(); |
2771 buildCounterRepeatCellRequest++; | 2771 buildCounterRepeatCellRequest++; |
2772 if (buildCounterRepeatCellRequest < 3) { | 2772 if (buildCounterRepeatCellRequest < 3) { |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2937 checkDeleteConditionalFormatRuleResponse(o.deleteConditionalFormatRule); | 2937 checkDeleteConditionalFormatRuleResponse(o.deleteConditionalFormatRule); |
2938 checkDuplicateFilterViewResponse(o.duplicateFilterView); | 2938 checkDuplicateFilterViewResponse(o.duplicateFilterView); |
2939 checkDuplicateSheetResponse(o.duplicateSheet); | 2939 checkDuplicateSheetResponse(o.duplicateSheet); |
2940 checkFindReplaceResponse(o.findReplace); | 2940 checkFindReplaceResponse(o.findReplace); |
2941 checkUpdateConditionalFormatRuleResponse(o.updateConditionalFormatRule); | 2941 checkUpdateConditionalFormatRuleResponse(o.updateConditionalFormatRule); |
2942 checkUpdateEmbeddedObjectPositionResponse(o.updateEmbeddedObjectPosition); | 2942 checkUpdateEmbeddedObjectPositionResponse(o.updateEmbeddedObjectPosition); |
2943 } | 2943 } |
2944 buildCounterResponse--; | 2944 buildCounterResponse--; |
2945 } | 2945 } |
2946 | 2946 |
2947 buildUnnamed413() { | 2947 buildUnnamed399() { |
2948 var o = new core.List<api.CellData>(); | 2948 var o = new core.List<api.CellData>(); |
2949 o.add(buildCellData()); | 2949 o.add(buildCellData()); |
2950 o.add(buildCellData()); | 2950 o.add(buildCellData()); |
2951 return o; | 2951 return o; |
2952 } | 2952 } |
2953 | 2953 |
2954 checkUnnamed413(core.List<api.CellData> o) { | 2954 checkUnnamed399(core.List<api.CellData> o) { |
2955 unittest.expect(o, unittest.hasLength(2)); | 2955 unittest.expect(o, unittest.hasLength(2)); |
2956 checkCellData(o[0]); | 2956 checkCellData(o[0]); |
2957 checkCellData(o[1]); | 2957 checkCellData(o[1]); |
2958 } | 2958 } |
2959 | 2959 |
2960 core.int buildCounterRowData = 0; | 2960 core.int buildCounterRowData = 0; |
2961 buildRowData() { | 2961 buildRowData() { |
2962 var o = new api.RowData(); | 2962 var o = new api.RowData(); |
2963 buildCounterRowData++; | 2963 buildCounterRowData++; |
2964 if (buildCounterRowData < 3) { | 2964 if (buildCounterRowData < 3) { |
2965 o.values = buildUnnamed413(); | 2965 o.values = buildUnnamed399(); |
2966 } | 2966 } |
2967 buildCounterRowData--; | 2967 buildCounterRowData--; |
2968 return o; | 2968 return o; |
2969 } | 2969 } |
2970 | 2970 |
2971 checkRowData(api.RowData o) { | 2971 checkRowData(api.RowData o) { |
2972 buildCounterRowData++; | 2972 buildCounterRowData++; |
2973 if (buildCounterRowData < 3) { | 2973 if (buildCounterRowData < 3) { |
2974 checkUnnamed413(o.values); | 2974 checkUnnamed399(o.values); |
2975 } | 2975 } |
2976 buildCounterRowData--; | 2976 buildCounterRowData--; |
2977 } | 2977 } |
2978 | 2978 |
2979 core.int buildCounterSetBasicFilterRequest = 0; | 2979 core.int buildCounterSetBasicFilterRequest = 0; |
2980 buildSetBasicFilterRequest() { | 2980 buildSetBasicFilterRequest() { |
2981 var o = new api.SetBasicFilterRequest(); | 2981 var o = new api.SetBasicFilterRequest(); |
2982 buildCounterSetBasicFilterRequest++; | 2982 buildCounterSetBasicFilterRequest++; |
2983 if (buildCounterSetBasicFilterRequest < 3) { | 2983 if (buildCounterSetBasicFilterRequest < 3) { |
2984 o.filter = buildBasicFilter(); | 2984 o.filter = buildBasicFilter(); |
(...skipping 24 matching lines...) Expand all Loading... |
3009 | 3009 |
3010 checkSetDataValidationRequest(api.SetDataValidationRequest o) { | 3010 checkSetDataValidationRequest(api.SetDataValidationRequest o) { |
3011 buildCounterSetDataValidationRequest++; | 3011 buildCounterSetDataValidationRequest++; |
3012 if (buildCounterSetDataValidationRequest < 3) { | 3012 if (buildCounterSetDataValidationRequest < 3) { |
3013 checkGridRange(o.range); | 3013 checkGridRange(o.range); |
3014 checkDataValidationRule(o.rule); | 3014 checkDataValidationRule(o.rule); |
3015 } | 3015 } |
3016 buildCounterSetDataValidationRequest--; | 3016 buildCounterSetDataValidationRequest--; |
3017 } | 3017 } |
3018 | 3018 |
3019 buildUnnamed414() { | 3019 buildUnnamed400() { |
3020 var o = new core.List<api.BandedRange>(); | 3020 var o = new core.List<api.BandedRange>(); |
3021 o.add(buildBandedRange()); | 3021 o.add(buildBandedRange()); |
3022 o.add(buildBandedRange()); | 3022 o.add(buildBandedRange()); |
3023 return o; | 3023 return o; |
3024 } | 3024 } |
3025 | 3025 |
3026 checkUnnamed414(core.List<api.BandedRange> o) { | 3026 checkUnnamed400(core.List<api.BandedRange> o) { |
3027 unittest.expect(o, unittest.hasLength(2)); | 3027 unittest.expect(o, unittest.hasLength(2)); |
3028 checkBandedRange(o[0]); | 3028 checkBandedRange(o[0]); |
3029 checkBandedRange(o[1]); | 3029 checkBandedRange(o[1]); |
3030 } | 3030 } |
3031 | 3031 |
3032 buildUnnamed415() { | 3032 buildUnnamed401() { |
3033 var o = new core.List<api.EmbeddedChart>(); | 3033 var o = new core.List<api.EmbeddedChart>(); |
3034 o.add(buildEmbeddedChart()); | 3034 o.add(buildEmbeddedChart()); |
3035 o.add(buildEmbeddedChart()); | 3035 o.add(buildEmbeddedChart()); |
3036 return o; | 3036 return o; |
3037 } | 3037 } |
3038 | 3038 |
3039 checkUnnamed415(core.List<api.EmbeddedChart> o) { | 3039 checkUnnamed401(core.List<api.EmbeddedChart> o) { |
3040 unittest.expect(o, unittest.hasLength(2)); | 3040 unittest.expect(o, unittest.hasLength(2)); |
3041 checkEmbeddedChart(o[0]); | 3041 checkEmbeddedChart(o[0]); |
3042 checkEmbeddedChart(o[1]); | 3042 checkEmbeddedChart(o[1]); |
3043 } | 3043 } |
3044 | 3044 |
3045 buildUnnamed416() { | 3045 buildUnnamed402() { |
3046 var o = new core.List<api.ConditionalFormatRule>(); | 3046 var o = new core.List<api.ConditionalFormatRule>(); |
3047 o.add(buildConditionalFormatRule()); | 3047 o.add(buildConditionalFormatRule()); |
3048 o.add(buildConditionalFormatRule()); | 3048 o.add(buildConditionalFormatRule()); |
3049 return o; | 3049 return o; |
3050 } | 3050 } |
3051 | 3051 |
3052 checkUnnamed416(core.List<api.ConditionalFormatRule> o) { | 3052 checkUnnamed402(core.List<api.ConditionalFormatRule> o) { |
3053 unittest.expect(o, unittest.hasLength(2)); | 3053 unittest.expect(o, unittest.hasLength(2)); |
3054 checkConditionalFormatRule(o[0]); | 3054 checkConditionalFormatRule(o[0]); |
3055 checkConditionalFormatRule(o[1]); | 3055 checkConditionalFormatRule(o[1]); |
3056 } | 3056 } |
3057 | 3057 |
3058 buildUnnamed417() { | 3058 buildUnnamed403() { |
3059 var o = new core.List<api.GridData>(); | 3059 var o = new core.List<api.GridData>(); |
3060 o.add(buildGridData()); | 3060 o.add(buildGridData()); |
3061 o.add(buildGridData()); | 3061 o.add(buildGridData()); |
3062 return o; | 3062 return o; |
3063 } | 3063 } |
3064 | 3064 |
3065 checkUnnamed417(core.List<api.GridData> o) { | 3065 checkUnnamed403(core.List<api.GridData> o) { |
3066 unittest.expect(o, unittest.hasLength(2)); | 3066 unittest.expect(o, unittest.hasLength(2)); |
3067 checkGridData(o[0]); | 3067 checkGridData(o[0]); |
3068 checkGridData(o[1]); | 3068 checkGridData(o[1]); |
3069 } | 3069 } |
3070 | 3070 |
3071 buildUnnamed418() { | 3071 buildUnnamed404() { |
3072 var o = new core.List<api.FilterView>(); | 3072 var o = new core.List<api.FilterView>(); |
3073 o.add(buildFilterView()); | 3073 o.add(buildFilterView()); |
3074 o.add(buildFilterView()); | 3074 o.add(buildFilterView()); |
3075 return o; | 3075 return o; |
3076 } | 3076 } |
3077 | 3077 |
3078 checkUnnamed418(core.List<api.FilterView> o) { | 3078 checkUnnamed404(core.List<api.FilterView> o) { |
3079 unittest.expect(o, unittest.hasLength(2)); | 3079 unittest.expect(o, unittest.hasLength(2)); |
3080 checkFilterView(o[0]); | 3080 checkFilterView(o[0]); |
3081 checkFilterView(o[1]); | 3081 checkFilterView(o[1]); |
3082 } | 3082 } |
3083 | 3083 |
3084 buildUnnamed419() { | 3084 buildUnnamed405() { |
3085 var o = new core.List<api.GridRange>(); | 3085 var o = new core.List<api.GridRange>(); |
3086 o.add(buildGridRange()); | 3086 o.add(buildGridRange()); |
3087 o.add(buildGridRange()); | 3087 o.add(buildGridRange()); |
3088 return o; | 3088 return o; |
3089 } | 3089 } |
3090 | 3090 |
3091 checkUnnamed419(core.List<api.GridRange> o) { | 3091 checkUnnamed405(core.List<api.GridRange> o) { |
3092 unittest.expect(o, unittest.hasLength(2)); | 3092 unittest.expect(o, unittest.hasLength(2)); |
3093 checkGridRange(o[0]); | 3093 checkGridRange(o[0]); |
3094 checkGridRange(o[1]); | 3094 checkGridRange(o[1]); |
3095 } | 3095 } |
3096 | 3096 |
3097 buildUnnamed420() { | 3097 buildUnnamed406() { |
3098 var o = new core.List<api.ProtectedRange>(); | 3098 var o = new core.List<api.ProtectedRange>(); |
3099 o.add(buildProtectedRange()); | 3099 o.add(buildProtectedRange()); |
3100 o.add(buildProtectedRange()); | 3100 o.add(buildProtectedRange()); |
3101 return o; | 3101 return o; |
3102 } | 3102 } |
3103 | 3103 |
3104 checkUnnamed420(core.List<api.ProtectedRange> o) { | 3104 checkUnnamed406(core.List<api.ProtectedRange> o) { |
3105 unittest.expect(o, unittest.hasLength(2)); | 3105 unittest.expect(o, unittest.hasLength(2)); |
3106 checkProtectedRange(o[0]); | 3106 checkProtectedRange(o[0]); |
3107 checkProtectedRange(o[1]); | 3107 checkProtectedRange(o[1]); |
3108 } | 3108 } |
3109 | 3109 |
3110 core.int buildCounterSheet = 0; | 3110 core.int buildCounterSheet = 0; |
3111 buildSheet() { | 3111 buildSheet() { |
3112 var o = new api.Sheet(); | 3112 var o = new api.Sheet(); |
3113 buildCounterSheet++; | 3113 buildCounterSheet++; |
3114 if (buildCounterSheet < 3) { | 3114 if (buildCounterSheet < 3) { |
3115 o.bandedRanges = buildUnnamed414(); | 3115 o.bandedRanges = buildUnnamed400(); |
3116 o.basicFilter = buildBasicFilter(); | 3116 o.basicFilter = buildBasicFilter(); |
3117 o.charts = buildUnnamed415(); | 3117 o.charts = buildUnnamed401(); |
3118 o.conditionalFormats = buildUnnamed416(); | 3118 o.conditionalFormats = buildUnnamed402(); |
3119 o.data = buildUnnamed417(); | 3119 o.data = buildUnnamed403(); |
3120 o.filterViews = buildUnnamed418(); | 3120 o.filterViews = buildUnnamed404(); |
3121 o.merges = buildUnnamed419(); | 3121 o.merges = buildUnnamed405(); |
3122 o.properties = buildSheetProperties(); | 3122 o.properties = buildSheetProperties(); |
3123 o.protectedRanges = buildUnnamed420(); | 3123 o.protectedRanges = buildUnnamed406(); |
3124 } | 3124 } |
3125 buildCounterSheet--; | 3125 buildCounterSheet--; |
3126 return o; | 3126 return o; |
3127 } | 3127 } |
3128 | 3128 |
3129 checkSheet(api.Sheet o) { | 3129 checkSheet(api.Sheet o) { |
3130 buildCounterSheet++; | 3130 buildCounterSheet++; |
3131 if (buildCounterSheet < 3) { | 3131 if (buildCounterSheet < 3) { |
3132 checkUnnamed414(o.bandedRanges); | 3132 checkUnnamed400(o.bandedRanges); |
3133 checkBasicFilter(o.basicFilter); | 3133 checkBasicFilter(o.basicFilter); |
3134 checkUnnamed415(o.charts); | 3134 checkUnnamed401(o.charts); |
3135 checkUnnamed416(o.conditionalFormats); | 3135 checkUnnamed402(o.conditionalFormats); |
3136 checkUnnamed417(o.data); | 3136 checkUnnamed403(o.data); |
3137 checkUnnamed418(o.filterViews); | 3137 checkUnnamed404(o.filterViews); |
3138 checkUnnamed419(o.merges); | 3138 checkUnnamed405(o.merges); |
3139 checkSheetProperties(o.properties); | 3139 checkSheetProperties(o.properties); |
3140 checkUnnamed420(o.protectedRanges); | 3140 checkUnnamed406(o.protectedRanges); |
3141 } | 3141 } |
3142 buildCounterSheet--; | 3142 buildCounterSheet--; |
3143 } | 3143 } |
3144 | 3144 |
3145 core.int buildCounterSheetProperties = 0; | 3145 core.int buildCounterSheetProperties = 0; |
3146 buildSheetProperties() { | 3146 buildSheetProperties() { |
3147 var o = new api.SheetProperties(); | 3147 var o = new api.SheetProperties(); |
3148 buildCounterSheetProperties++; | 3148 buildCounterSheetProperties++; |
3149 if (buildCounterSheetProperties < 3) { | 3149 if (buildCounterSheetProperties < 3) { |
3150 o.gridProperties = buildGridProperties(); | 3150 o.gridProperties = buildGridProperties(); |
(...skipping 17 matching lines...) Expand all Loading... |
3168 unittest.expect(o.index, unittest.equals(42)); | 3168 unittest.expect(o.index, unittest.equals(42)); |
3169 unittest.expect(o.rightToLeft, unittest.isTrue); | 3169 unittest.expect(o.rightToLeft, unittest.isTrue); |
3170 unittest.expect(o.sheetId, unittest.equals(42)); | 3170 unittest.expect(o.sheetId, unittest.equals(42)); |
3171 unittest.expect(o.sheetType, unittest.equals('foo')); | 3171 unittest.expect(o.sheetType, unittest.equals('foo')); |
3172 checkColor(o.tabColor); | 3172 checkColor(o.tabColor); |
3173 unittest.expect(o.title, unittest.equals('foo')); | 3173 unittest.expect(o.title, unittest.equals('foo')); |
3174 } | 3174 } |
3175 buildCounterSheetProperties--; | 3175 buildCounterSheetProperties--; |
3176 } | 3176 } |
3177 | 3177 |
3178 buildUnnamed421() { | 3178 buildUnnamed407() { |
3179 var o = new core.List<api.SortSpec>(); | 3179 var o = new core.List<api.SortSpec>(); |
3180 o.add(buildSortSpec()); | 3180 o.add(buildSortSpec()); |
3181 o.add(buildSortSpec()); | 3181 o.add(buildSortSpec()); |
3182 return o; | 3182 return o; |
3183 } | 3183 } |
3184 | 3184 |
3185 checkUnnamed421(core.List<api.SortSpec> o) { | 3185 checkUnnamed407(core.List<api.SortSpec> o) { |
3186 unittest.expect(o, unittest.hasLength(2)); | 3186 unittest.expect(o, unittest.hasLength(2)); |
3187 checkSortSpec(o[0]); | 3187 checkSortSpec(o[0]); |
3188 checkSortSpec(o[1]); | 3188 checkSortSpec(o[1]); |
3189 } | 3189 } |
3190 | 3190 |
3191 core.int buildCounterSortRangeRequest = 0; | 3191 core.int buildCounterSortRangeRequest = 0; |
3192 buildSortRangeRequest() { | 3192 buildSortRangeRequest() { |
3193 var o = new api.SortRangeRequest(); | 3193 var o = new api.SortRangeRequest(); |
3194 buildCounterSortRangeRequest++; | 3194 buildCounterSortRangeRequest++; |
3195 if (buildCounterSortRangeRequest < 3) { | 3195 if (buildCounterSortRangeRequest < 3) { |
3196 o.range = buildGridRange(); | 3196 o.range = buildGridRange(); |
3197 o.sortSpecs = buildUnnamed421(); | 3197 o.sortSpecs = buildUnnamed407(); |
3198 } | 3198 } |
3199 buildCounterSortRangeRequest--; | 3199 buildCounterSortRangeRequest--; |
3200 return o; | 3200 return o; |
3201 } | 3201 } |
3202 | 3202 |
3203 checkSortRangeRequest(api.SortRangeRequest o) { | 3203 checkSortRangeRequest(api.SortRangeRequest o) { |
3204 buildCounterSortRangeRequest++; | 3204 buildCounterSortRangeRequest++; |
3205 if (buildCounterSortRangeRequest < 3) { | 3205 if (buildCounterSortRangeRequest < 3) { |
3206 checkGridRange(o.range); | 3206 checkGridRange(o.range); |
3207 checkUnnamed421(o.sortSpecs); | 3207 checkUnnamed407(o.sortSpecs); |
3208 } | 3208 } |
3209 buildCounterSortRangeRequest--; | 3209 buildCounterSortRangeRequest--; |
3210 } | 3210 } |
3211 | 3211 |
3212 core.int buildCounterSortSpec = 0; | 3212 core.int buildCounterSortSpec = 0; |
3213 buildSortSpec() { | 3213 buildSortSpec() { |
3214 var o = new api.SortSpec(); | 3214 var o = new api.SortSpec(); |
3215 buildCounterSortSpec++; | 3215 buildCounterSortSpec++; |
3216 if (buildCounterSortSpec < 3) { | 3216 if (buildCounterSortSpec < 3) { |
3217 o.dimensionIndex = 42; | 3217 o.dimensionIndex = 42; |
(...skipping 28 matching lines...) Expand all Loading... |
3246 checkSourceAndDestination(api.SourceAndDestination o) { | 3246 checkSourceAndDestination(api.SourceAndDestination o) { |
3247 buildCounterSourceAndDestination++; | 3247 buildCounterSourceAndDestination++; |
3248 if (buildCounterSourceAndDestination < 3) { | 3248 if (buildCounterSourceAndDestination < 3) { |
3249 unittest.expect(o.dimension, unittest.equals('foo')); | 3249 unittest.expect(o.dimension, unittest.equals('foo')); |
3250 unittest.expect(o.fillLength, unittest.equals(42)); | 3250 unittest.expect(o.fillLength, unittest.equals(42)); |
3251 checkGridRange(o.source); | 3251 checkGridRange(o.source); |
3252 } | 3252 } |
3253 buildCounterSourceAndDestination--; | 3253 buildCounterSourceAndDestination--; |
3254 } | 3254 } |
3255 | 3255 |
3256 buildUnnamed422() { | 3256 buildUnnamed408() { |
3257 var o = new core.List<api.NamedRange>(); | 3257 var o = new core.List<api.NamedRange>(); |
3258 o.add(buildNamedRange()); | 3258 o.add(buildNamedRange()); |
3259 o.add(buildNamedRange()); | 3259 o.add(buildNamedRange()); |
3260 return o; | 3260 return o; |
3261 } | 3261 } |
3262 | 3262 |
3263 checkUnnamed422(core.List<api.NamedRange> o) { | 3263 checkUnnamed408(core.List<api.NamedRange> o) { |
3264 unittest.expect(o, unittest.hasLength(2)); | 3264 unittest.expect(o, unittest.hasLength(2)); |
3265 checkNamedRange(o[0]); | 3265 checkNamedRange(o[0]); |
3266 checkNamedRange(o[1]); | 3266 checkNamedRange(o[1]); |
3267 } | 3267 } |
3268 | 3268 |
3269 buildUnnamed423() { | 3269 buildUnnamed409() { |
3270 var o = new core.List<api.Sheet>(); | 3270 var o = new core.List<api.Sheet>(); |
3271 o.add(buildSheet()); | 3271 o.add(buildSheet()); |
3272 o.add(buildSheet()); | 3272 o.add(buildSheet()); |
3273 return o; | 3273 return o; |
3274 } | 3274 } |
3275 | 3275 |
3276 checkUnnamed423(core.List<api.Sheet> o) { | 3276 checkUnnamed409(core.List<api.Sheet> o) { |
3277 unittest.expect(o, unittest.hasLength(2)); | 3277 unittest.expect(o, unittest.hasLength(2)); |
3278 checkSheet(o[0]); | 3278 checkSheet(o[0]); |
3279 checkSheet(o[1]); | 3279 checkSheet(o[1]); |
3280 } | 3280 } |
3281 | 3281 |
3282 core.int buildCounterSpreadsheet = 0; | 3282 core.int buildCounterSpreadsheet = 0; |
3283 buildSpreadsheet() { | 3283 buildSpreadsheet() { |
3284 var o = new api.Spreadsheet(); | 3284 var o = new api.Spreadsheet(); |
3285 buildCounterSpreadsheet++; | 3285 buildCounterSpreadsheet++; |
3286 if (buildCounterSpreadsheet < 3) { | 3286 if (buildCounterSpreadsheet < 3) { |
3287 o.namedRanges = buildUnnamed422(); | 3287 o.namedRanges = buildUnnamed408(); |
3288 o.properties = buildSpreadsheetProperties(); | 3288 o.properties = buildSpreadsheetProperties(); |
3289 o.sheets = buildUnnamed423(); | 3289 o.sheets = buildUnnamed409(); |
3290 o.spreadsheetId = "foo"; | 3290 o.spreadsheetId = "foo"; |
3291 o.spreadsheetUrl = "foo"; | 3291 o.spreadsheetUrl = "foo"; |
3292 } | 3292 } |
3293 buildCounterSpreadsheet--; | 3293 buildCounterSpreadsheet--; |
3294 return o; | 3294 return o; |
3295 } | 3295 } |
3296 | 3296 |
3297 checkSpreadsheet(api.Spreadsheet o) { | 3297 checkSpreadsheet(api.Spreadsheet o) { |
3298 buildCounterSpreadsheet++; | 3298 buildCounterSpreadsheet++; |
3299 if (buildCounterSpreadsheet < 3) { | 3299 if (buildCounterSpreadsheet < 3) { |
3300 checkUnnamed422(o.namedRanges); | 3300 checkUnnamed408(o.namedRanges); |
3301 checkSpreadsheetProperties(o.properties); | 3301 checkSpreadsheetProperties(o.properties); |
3302 checkUnnamed423(o.sheets); | 3302 checkUnnamed409(o.sheets); |
3303 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 3303 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
3304 unittest.expect(o.spreadsheetUrl, unittest.equals('foo')); | 3304 unittest.expect(o.spreadsheetUrl, unittest.equals('foo')); |
3305 } | 3305 } |
3306 buildCounterSpreadsheet--; | 3306 buildCounterSpreadsheet--; |
3307 } | 3307 } |
3308 | 3308 |
3309 core.int buildCounterSpreadsheetProperties = 0; | 3309 core.int buildCounterSpreadsheetProperties = 0; |
3310 buildSpreadsheetProperties() { | 3310 buildSpreadsheetProperties() { |
3311 var o = new api.SpreadsheetProperties(); | 3311 var o = new api.SpreadsheetProperties(); |
3312 buildCounterSpreadsheetProperties++; | 3312 buildCounterSpreadsheetProperties++; |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3495 checkBorder(o.innerHorizontal); | 3495 checkBorder(o.innerHorizontal); |
3496 checkBorder(o.innerVertical); | 3496 checkBorder(o.innerVertical); |
3497 checkBorder(o.left); | 3497 checkBorder(o.left); |
3498 checkGridRange(o.range); | 3498 checkGridRange(o.range); |
3499 checkBorder(o.right); | 3499 checkBorder(o.right); |
3500 checkBorder(o.top); | 3500 checkBorder(o.top); |
3501 } | 3501 } |
3502 buildCounterUpdateBordersRequest--; | 3502 buildCounterUpdateBordersRequest--; |
3503 } | 3503 } |
3504 | 3504 |
3505 buildUnnamed424() { | 3505 buildUnnamed410() { |
3506 var o = new core.List<api.RowData>(); | 3506 var o = new core.List<api.RowData>(); |
3507 o.add(buildRowData()); | 3507 o.add(buildRowData()); |
3508 o.add(buildRowData()); | 3508 o.add(buildRowData()); |
3509 return o; | 3509 return o; |
3510 } | 3510 } |
3511 | 3511 |
3512 checkUnnamed424(core.List<api.RowData> o) { | 3512 checkUnnamed410(core.List<api.RowData> o) { |
3513 unittest.expect(o, unittest.hasLength(2)); | 3513 unittest.expect(o, unittest.hasLength(2)); |
3514 checkRowData(o[0]); | 3514 checkRowData(o[0]); |
3515 checkRowData(o[1]); | 3515 checkRowData(o[1]); |
3516 } | 3516 } |
3517 | 3517 |
3518 core.int buildCounterUpdateCellsRequest = 0; | 3518 core.int buildCounterUpdateCellsRequest = 0; |
3519 buildUpdateCellsRequest() { | 3519 buildUpdateCellsRequest() { |
3520 var o = new api.UpdateCellsRequest(); | 3520 var o = new api.UpdateCellsRequest(); |
3521 buildCounterUpdateCellsRequest++; | 3521 buildCounterUpdateCellsRequest++; |
3522 if (buildCounterUpdateCellsRequest < 3) { | 3522 if (buildCounterUpdateCellsRequest < 3) { |
3523 o.fields = "foo"; | 3523 o.fields = "foo"; |
3524 o.range = buildGridRange(); | 3524 o.range = buildGridRange(); |
3525 o.rows = buildUnnamed424(); | 3525 o.rows = buildUnnamed410(); |
3526 o.start = buildGridCoordinate(); | 3526 o.start = buildGridCoordinate(); |
3527 } | 3527 } |
3528 buildCounterUpdateCellsRequest--; | 3528 buildCounterUpdateCellsRequest--; |
3529 return o; | 3529 return o; |
3530 } | 3530 } |
3531 | 3531 |
3532 checkUpdateCellsRequest(api.UpdateCellsRequest o) { | 3532 checkUpdateCellsRequest(api.UpdateCellsRequest o) { |
3533 buildCounterUpdateCellsRequest++; | 3533 buildCounterUpdateCellsRequest++; |
3534 if (buildCounterUpdateCellsRequest < 3) { | 3534 if (buildCounterUpdateCellsRequest < 3) { |
3535 unittest.expect(o.fields, unittest.equals('foo')); | 3535 unittest.expect(o.fields, unittest.equals('foo')); |
3536 checkGridRange(o.range); | 3536 checkGridRange(o.range); |
3537 checkUnnamed424(o.rows); | 3537 checkUnnamed410(o.rows); |
3538 checkGridCoordinate(o.start); | 3538 checkGridCoordinate(o.start); |
3539 } | 3539 } |
3540 buildCounterUpdateCellsRequest--; | 3540 buildCounterUpdateCellsRequest--; |
3541 } | 3541 } |
3542 | 3542 |
3543 core.int buildCounterUpdateChartSpecRequest = 0; | 3543 core.int buildCounterUpdateChartSpecRequest = 0; |
3544 buildUpdateChartSpecRequest() { | 3544 buildUpdateChartSpecRequest() { |
3545 var o = new api.UpdateChartSpecRequest(); | 3545 var o = new api.UpdateChartSpecRequest(); |
3546 buildCounterUpdateChartSpecRequest++; | 3546 buildCounterUpdateChartSpecRequest++; |
3547 if (buildCounterUpdateChartSpecRequest < 3) { | 3547 if (buildCounterUpdateChartSpecRequest < 3) { |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3803 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 3803 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
3804 unittest.expect(o.updatedCells, unittest.equals(42)); | 3804 unittest.expect(o.updatedCells, unittest.equals(42)); |
3805 unittest.expect(o.updatedColumns, unittest.equals(42)); | 3805 unittest.expect(o.updatedColumns, unittest.equals(42)); |
3806 checkValueRange(o.updatedData); | 3806 checkValueRange(o.updatedData); |
3807 unittest.expect(o.updatedRange, unittest.equals('foo')); | 3807 unittest.expect(o.updatedRange, unittest.equals('foo')); |
3808 unittest.expect(o.updatedRows, unittest.equals(42)); | 3808 unittest.expect(o.updatedRows, unittest.equals(42)); |
3809 } | 3809 } |
3810 buildCounterUpdateValuesResponse--; | 3810 buildCounterUpdateValuesResponse--; |
3811 } | 3811 } |
3812 | 3812 |
3813 buildUnnamed425() { | 3813 buildUnnamed411() { |
3814 var o = new core.List<core.Object>(); | 3814 var o = new core.List<core.Object>(); |
3815 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3815 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
3816 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3816 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
3817 return o; | 3817 return o; |
3818 } | 3818 } |
3819 | 3819 |
3820 checkUnnamed425(core.List<core.Object> o) { | 3820 checkUnnamed411(core.List<core.Object> o) { |
3821 unittest.expect(o, unittest.hasLength(2)); | 3821 unittest.expect(o, unittest.hasLength(2)); |
3822 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')); | 3822 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')); |
3823 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')); | 3823 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')); |
3824 } | 3824 } |
3825 | 3825 |
3826 buildUnnamed426() { | 3826 buildUnnamed412() { |
3827 var o = new core.List<core.List<core.Object>>(); | 3827 var o = new core.List<core.List<core.Object>>(); |
3828 o.add(buildUnnamed425()); | 3828 o.add(buildUnnamed411()); |
3829 o.add(buildUnnamed425()); | 3829 o.add(buildUnnamed411()); |
3830 return o; | 3830 return o; |
3831 } | 3831 } |
3832 | 3832 |
3833 checkUnnamed426(core.List<core.List<core.Object>> o) { | 3833 checkUnnamed412(core.List<core.List<core.Object>> o) { |
3834 unittest.expect(o, unittest.hasLength(2)); | 3834 unittest.expect(o, unittest.hasLength(2)); |
3835 checkUnnamed425(o[0]); | 3835 checkUnnamed411(o[0]); |
3836 checkUnnamed425(o[1]); | 3836 checkUnnamed411(o[1]); |
3837 } | 3837 } |
3838 | 3838 |
3839 core.int buildCounterValueRange = 0; | 3839 core.int buildCounterValueRange = 0; |
3840 buildValueRange() { | 3840 buildValueRange() { |
3841 var o = new api.ValueRange(); | 3841 var o = new api.ValueRange(); |
3842 buildCounterValueRange++; | 3842 buildCounterValueRange++; |
3843 if (buildCounterValueRange < 3) { | 3843 if (buildCounterValueRange < 3) { |
3844 o.majorDimension = "foo"; | 3844 o.majorDimension = "foo"; |
3845 o.range = "foo"; | 3845 o.range = "foo"; |
3846 o.values = buildUnnamed426(); | 3846 o.values = buildUnnamed412(); |
3847 } | 3847 } |
3848 buildCounterValueRange--; | 3848 buildCounterValueRange--; |
3849 return o; | 3849 return o; |
3850 } | 3850 } |
3851 | 3851 |
3852 checkValueRange(api.ValueRange o) { | 3852 checkValueRange(api.ValueRange o) { |
3853 buildCounterValueRange++; | 3853 buildCounterValueRange++; |
3854 if (buildCounterValueRange < 3) { | 3854 if (buildCounterValueRange < 3) { |
3855 unittest.expect(o.majorDimension, unittest.equals('foo')); | 3855 unittest.expect(o.majorDimension, unittest.equals('foo')); |
3856 unittest.expect(o.range, unittest.equals('foo')); | 3856 unittest.expect(o.range, unittest.equals('foo')); |
3857 checkUnnamed426(o.values); | 3857 checkUnnamed412(o.values); |
3858 } | 3858 } |
3859 buildCounterValueRange--; | 3859 buildCounterValueRange--; |
3860 } | 3860 } |
3861 | 3861 |
3862 buildUnnamed427() { | 3862 buildUnnamed413() { |
3863 var o = new core.List<core.String>(); | 3863 var o = new core.List<core.String>(); |
3864 o.add("foo"); | 3864 o.add("foo"); |
3865 o.add("foo"); | 3865 o.add("foo"); |
3866 return o; | 3866 return o; |
3867 } | 3867 } |
3868 | 3868 |
3869 checkUnnamed427(core.List<core.String> o) { | 3869 checkUnnamed413(core.List<core.String> o) { |
3870 unittest.expect(o, unittest.hasLength(2)); | 3870 unittest.expect(o, unittest.hasLength(2)); |
3871 unittest.expect(o[0], unittest.equals('foo')); | 3871 unittest.expect(o[0], unittest.equals('foo')); |
3872 unittest.expect(o[1], unittest.equals('foo')); | 3872 unittest.expect(o[1], unittest.equals('foo')); |
3873 } | 3873 } |
3874 | 3874 |
3875 buildUnnamed428() { | 3875 buildUnnamed414() { |
3876 var o = new core.List<core.String>(); | 3876 var o = new core.List<core.String>(); |
3877 o.add("foo"); | 3877 o.add("foo"); |
3878 o.add("foo"); | 3878 o.add("foo"); |
3879 return o; | 3879 return o; |
3880 } | 3880 } |
3881 | 3881 |
3882 checkUnnamed428(core.List<core.String> o) { | 3882 checkUnnamed414(core.List<core.String> o) { |
3883 unittest.expect(o, unittest.hasLength(2)); | 3883 unittest.expect(o, unittest.hasLength(2)); |
3884 unittest.expect(o[0], unittest.equals('foo')); | 3884 unittest.expect(o[0], unittest.equals('foo')); |
3885 unittest.expect(o[1], unittest.equals('foo')); | 3885 unittest.expect(o[1], unittest.equals('foo')); |
3886 } | 3886 } |
3887 | 3887 |
3888 | 3888 |
3889 main() { | 3889 main() { |
3890 unittest.group("obj-schema-AddBandingRequest", () { | 3890 unittest.group("obj-schema-AddBandingRequest", () { |
3891 unittest.test("to-json--from-json", () { | 3891 unittest.test("to-json--from-json", () { |
3892 var o = buildAddBandingRequest(); | 3892 var o = buildAddBandingRequest(); |
(...skipping 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5194 res.create(arg_request).then(unittest.expectAsync(((api.Spreadsheet respon
se) { | 5194 res.create(arg_request).then(unittest.expectAsync(((api.Spreadsheet respon
se) { |
5195 checkSpreadsheet(response); | 5195 checkSpreadsheet(response); |
5196 }))); | 5196 }))); |
5197 }); | 5197 }); |
5198 | 5198 |
5199 unittest.test("method--get", () { | 5199 unittest.test("method--get", () { |
5200 | 5200 |
5201 var mock = new HttpServerMock(); | 5201 var mock = new HttpServerMock(); |
5202 api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets; | 5202 api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets; |
5203 var arg_spreadsheetId = "foo"; | 5203 var arg_spreadsheetId = "foo"; |
5204 var arg_ranges = buildUnnamed427(); | 5204 var arg_ranges = buildUnnamed413(); |
5205 var arg_includeGridData = true; | 5205 var arg_includeGridData = true; |
5206 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5206 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5207 var path = (req.url).path; | 5207 var path = (req.url).path; |
5208 var pathOffset = 0; | 5208 var pathOffset = 0; |
5209 var index; | 5209 var index; |
5210 var subPart; | 5210 var subPart; |
5211 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5211 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5212 pathOffset += 1; | 5212 pathOffset += 1; |
5213 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); | 5213 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); |
5214 pathOffset += 16; | 5214 pathOffset += 16; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5318 | 5318 |
5319 | 5319 |
5320 unittest.group("resource-SpreadsheetsValuesResourceApi", () { | 5320 unittest.group("resource-SpreadsheetsValuesResourceApi", () { |
5321 unittest.test("method--append", () { | 5321 unittest.test("method--append", () { |
5322 | 5322 |
5323 var mock = new HttpServerMock(); | 5323 var mock = new HttpServerMock(); |
5324 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; | 5324 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
5325 var arg_request = buildValueRange(); | 5325 var arg_request = buildValueRange(); |
5326 var arg_spreadsheetId = "foo"; | 5326 var arg_spreadsheetId = "foo"; |
5327 var arg_range = "foo"; | 5327 var arg_range = "foo"; |
| 5328 var arg_responseDateTimeRenderOption = "foo"; |
| 5329 var arg_includeValuesInResponse = true; |
5328 var arg_responseValueRenderOption = "foo"; | 5330 var arg_responseValueRenderOption = "foo"; |
5329 var arg_insertDataOption = "foo"; | 5331 var arg_insertDataOption = "foo"; |
5330 var arg_valueInputOption = "foo"; | 5332 var arg_valueInputOption = "foo"; |
5331 var arg_responseDateTimeRenderOption = "foo"; | |
5332 var arg_includeValuesInResponse = true; | |
5333 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5333 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5334 var obj = new api.ValueRange.fromJson(json); | 5334 var obj = new api.ValueRange.fromJson(json); |
5335 checkValueRange(obj); | 5335 checkValueRange(obj); |
5336 | 5336 |
5337 var path = (req.url).path; | 5337 var path = (req.url).path; |
5338 var pathOffset = 0; | 5338 var pathOffset = 0; |
5339 var index; | 5339 var index; |
5340 var subPart; | 5340 var subPart; |
5341 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5341 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5342 pathOffset += 1; | 5342 pathOffset += 1; |
(...skipping 23 matching lines...) Expand all Loading... |
5366 if (n == "false") return false; | 5366 if (n == "false") return false; |
5367 if (n == null) return null; | 5367 if (n == null) return null; |
5368 throw new core.ArgumentError("Invalid boolean: $n"); | 5368 throw new core.ArgumentError("Invalid boolean: $n"); |
5369 } | 5369 } |
5370 if (query.length > 0) { | 5370 if (query.length > 0) { |
5371 for (var part in query.split("&")) { | 5371 for (var part in query.split("&")) { |
5372 var keyvalue = part.split("="); | 5372 var keyvalue = part.split("="); |
5373 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5373 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
5374 } | 5374 } |
5375 } | 5375 } |
| 5376 unittest.expect(queryMap["responseDateTimeRenderOption"].first, unittest
.equals(arg_responseDateTimeRenderOption)); |
| 5377 unittest.expect(queryMap["includeValuesInResponse"].first, unittest.equa
ls("$arg_includeValuesInResponse")); |
5376 unittest.expect(queryMap["responseValueRenderOption"].first, unittest.eq
uals(arg_responseValueRenderOption)); | 5378 unittest.expect(queryMap["responseValueRenderOption"].first, unittest.eq
uals(arg_responseValueRenderOption)); |
5377 unittest.expect(queryMap["insertDataOption"].first, unittest.equals(arg_
insertDataOption)); | 5379 unittest.expect(queryMap["insertDataOption"].first, unittest.equals(arg_
insertDataOption)); |
5378 unittest.expect(queryMap["valueInputOption"].first, unittest.equals(arg_
valueInputOption)); | 5380 unittest.expect(queryMap["valueInputOption"].first, unittest.equals(arg_
valueInputOption)); |
5379 unittest.expect(queryMap["responseDateTimeRenderOption"].first, unittest
.equals(arg_responseDateTimeRenderOption)); | |
5380 unittest.expect(queryMap["includeValuesInResponse"].first, unittest.equa
ls("$arg_includeValuesInResponse")); | |
5381 | 5381 |
5382 | 5382 |
5383 var h = { | 5383 var h = { |
5384 "content-type" : "application/json; charset=utf-8", | 5384 "content-type" : "application/json; charset=utf-8", |
5385 }; | 5385 }; |
5386 var resp = convert.JSON.encode(buildAppendValuesResponse()); | 5386 var resp = convert.JSON.encode(buildAppendValuesResponse()); |
5387 return new async.Future.value(stringResponse(200, h, resp)); | 5387 return new async.Future.value(stringResponse(200, h, resp)); |
5388 }), true); | 5388 }), true); |
5389 res.append(arg_request, arg_spreadsheetId, arg_range, responseValueRenderO
ption: arg_responseValueRenderOption, insertDataOption: arg_insertDataOption, va
lueInputOption: arg_valueInputOption, responseDateTimeRenderOption: arg_response
DateTimeRenderOption, includeValuesInResponse: arg_includeValuesInResponse).then
(unittest.expectAsync(((api.AppendValuesResponse response) { | 5389 res.append(arg_request, arg_spreadsheetId, arg_range, responseDateTimeRend
erOption: arg_responseDateTimeRenderOption, includeValuesInResponse: arg_include
ValuesInResponse, responseValueRenderOption: arg_responseValueRenderOption, inse
rtDataOption: arg_insertDataOption, valueInputOption: arg_valueInputOption).then
(unittest.expectAsync(((api.AppendValuesResponse response) { |
5390 checkAppendValuesResponse(response); | 5390 checkAppendValuesResponse(response); |
5391 }))); | 5391 }))); |
5392 }); | 5392 }); |
5393 | 5393 |
5394 unittest.test("method--batchClear", () { | 5394 unittest.test("method--batchClear", () { |
5395 | 5395 |
5396 var mock = new HttpServerMock(); | 5396 var mock = new HttpServerMock(); |
5397 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; | 5397 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
5398 var arg_request = buildBatchClearValuesRequest(); | 5398 var arg_request = buildBatchClearValuesRequest(); |
5399 var arg_spreadsheetId = "foo"; | 5399 var arg_spreadsheetId = "foo"; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5446 }))); | 5446 }))); |
5447 }); | 5447 }); |
5448 | 5448 |
5449 unittest.test("method--batchGet", () { | 5449 unittest.test("method--batchGet", () { |
5450 | 5450 |
5451 var mock = new HttpServerMock(); | 5451 var mock = new HttpServerMock(); |
5452 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; | 5452 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
5453 var arg_spreadsheetId = "foo"; | 5453 var arg_spreadsheetId = "foo"; |
5454 var arg_valueRenderOption = "foo"; | 5454 var arg_valueRenderOption = "foo"; |
5455 var arg_dateTimeRenderOption = "foo"; | 5455 var arg_dateTimeRenderOption = "foo"; |
5456 var arg_ranges = buildUnnamed428(); | 5456 var arg_ranges = buildUnnamed414(); |
5457 var arg_majorDimension = "foo"; | 5457 var arg_majorDimension = "foo"; |
5458 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5458 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5459 var path = (req.url).path; | 5459 var path = (req.url).path; |
5460 var pathOffset = 0; | 5460 var pathOffset = 0; |
5461 var index; | 5461 var index; |
5462 var subPart; | 5462 var subPart; |
5463 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5463 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5464 pathOffset += 1; | 5464 pathOffset += 1; |
5465 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); | 5465 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); |
5466 pathOffset += 16; | 5466 pathOffset += 16; |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5749 res.update(arg_request, arg_spreadsheetId, arg_range, responseValueRenderO
ption: arg_responseValueRenderOption, valueInputOption: arg_valueInputOption, re
sponseDateTimeRenderOption: arg_responseDateTimeRenderOption, includeValuesInRes
ponse: arg_includeValuesInResponse).then(unittest.expectAsync(((api.UpdateValues
Response response) { | 5749 res.update(arg_request, arg_spreadsheetId, arg_range, responseValueRenderO
ption: arg_responseValueRenderOption, valueInputOption: arg_valueInputOption, re
sponseDateTimeRenderOption: arg_responseDateTimeRenderOption, includeValuesInRes
ponse: arg_includeValuesInResponse).then(unittest.expectAsync(((api.UpdateValues
Response response) { |
5750 checkUpdateValuesResponse(response); | 5750 checkUpdateValuesResponse(response); |
5751 }))); | 5751 }))); |
5752 }); | 5752 }); |
5753 | 5753 |
5754 }); | 5754 }); |
5755 | 5755 |
5756 | 5756 |
5757 } | 5757 } |
5758 | 5758 |
OLD | NEW |