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 buildUnnamed617() { | 303 buildUnnamed356() { |
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 checkUnnamed617(core.List<api.RowData> o) { | 310 checkUnnamed356(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 = buildUnnamed617(); | 322 o.rows = buildUnnamed356(); |
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 checkUnnamed617(o.rows); | 333 checkUnnamed356(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 buildUnnamed618() { | 542 buildUnnamed357() { |
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 checkUnnamed618(core.List<api.BasicChartAxis> o) { | 549 checkUnnamed357(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 buildUnnamed619() { | 555 buildUnnamed358() { |
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 checkUnnamed619(core.List<api.BasicChartDomain> o) { | 562 checkUnnamed358(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 buildUnnamed620() { | 568 buildUnnamed359() { |
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 checkUnnamed620(core.List<api.BasicChartSeries> o) { | 575 checkUnnamed359(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 = buildUnnamed618(); | 586 o.axis = buildUnnamed357(); |
587 o.chartType = "foo"; | 587 o.chartType = "foo"; |
588 o.domains = buildUnnamed619(); | 588 o.domains = buildUnnamed358(); |
589 o.headerCount = 42; | 589 o.headerCount = 42; |
590 o.legendPosition = "foo"; | 590 o.legendPosition = "foo"; |
591 o.series = buildUnnamed620(); | 591 o.series = buildUnnamed359(); |
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 checkUnnamed618(o.axis); | 600 checkUnnamed357(o.axis); |
601 unittest.expect(o.chartType, unittest.equals('foo')); | 601 unittest.expect(o.chartType, unittest.equals('foo')); |
602 checkUnnamed619(o.domains); | 602 checkUnnamed358(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 checkUnnamed620(o.series); | 605 checkUnnamed359(o.series); |
606 } | 606 } |
607 buildCounterBasicChartSpec--; | 607 buildCounterBasicChartSpec--; |
608 } | 608 } |
609 | 609 |
610 buildUnnamed621() { | 610 buildUnnamed360() { |
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 checkUnnamed621(core.Map<core.String, api.FilterCriteria> o) { | 617 checkUnnamed360(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 buildUnnamed622() { | 623 buildUnnamed361() { |
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 checkUnnamed622(core.List<api.SortSpec> o) { | 630 checkUnnamed361(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 = buildUnnamed621(); | 641 o.criteria = buildUnnamed360(); |
642 o.range = buildGridRange(); | 642 o.range = buildGridRange(); |
643 o.sortSpecs = buildUnnamed622(); | 643 o.sortSpecs = buildUnnamed361(); |
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 checkUnnamed621(o.criteria); | 652 checkUnnamed360(o.criteria); |
653 checkGridRange(o.range); | 653 checkGridRange(o.range); |
654 checkUnnamed622(o.sortSpecs); | 654 checkUnnamed361(o.sortSpecs); |
655 } | 655 } |
656 buildCounterBasicFilter--; | 656 buildCounterBasicFilter--; |
657 } | 657 } |
658 | 658 |
659 buildUnnamed623() { | 659 buildUnnamed362() { |
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 checkUnnamed623(core.List<core.String> o) { | 666 checkUnnamed362(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 = buildUnnamed623(); | 677 o.ranges = buildUnnamed362(); |
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 checkUnnamed623(o.ranges); | 686 checkUnnamed362(o.ranges); |
687 } | 687 } |
688 buildCounterBatchClearValuesRequest--; | 688 buildCounterBatchClearValuesRequest--; |
689 } | 689 } |
690 | 690 |
691 buildUnnamed624() { | 691 buildUnnamed363() { |
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 checkUnnamed624(core.List<core.String> o) { | 698 checkUnnamed363(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 = buildUnnamed624(); | 709 o.clearedRanges = buildUnnamed363(); |
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 checkUnnamed624(o.clearedRanges); | 719 checkUnnamed363(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 buildUnnamed625() { | 725 buildUnnamed364() { |
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 checkUnnamed625(core.List<api.ValueRange> o) { | 732 checkUnnamed364(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 = buildUnnamed625(); | 744 o.valueRanges = buildUnnamed364(); |
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 checkUnnamed625(o.valueRanges); | 754 checkUnnamed364(o.valueRanges); |
755 } | 755 } |
756 buildCounterBatchGetValuesResponse--; | 756 buildCounterBatchGetValuesResponse--; |
757 } | 757 } |
758 | 758 |
759 buildUnnamed626() { | 759 buildUnnamed365() { |
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 checkUnnamed626(core.List<api.Request> o) { | 766 checkUnnamed365(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 buildUnnamed366() { |
| 773 var o = new core.List<core.String>(); |
| 774 o.add("foo"); |
| 775 o.add("foo"); |
| 776 return o; |
| 777 } |
| 778 |
| 779 checkUnnamed366(core.List<core.String> o) { |
| 780 unittest.expect(o, unittest.hasLength(2)); |
| 781 unittest.expect(o[0], unittest.equals('foo')); |
| 782 unittest.expect(o[1], unittest.equals('foo')); |
| 783 } |
| 784 |
772 core.int buildCounterBatchUpdateSpreadsheetRequest = 0; | 785 core.int buildCounterBatchUpdateSpreadsheetRequest = 0; |
773 buildBatchUpdateSpreadsheetRequest() { | 786 buildBatchUpdateSpreadsheetRequest() { |
774 var o = new api.BatchUpdateSpreadsheetRequest(); | 787 var o = new api.BatchUpdateSpreadsheetRequest(); |
775 buildCounterBatchUpdateSpreadsheetRequest++; | 788 buildCounterBatchUpdateSpreadsheetRequest++; |
776 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { | 789 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { |
777 o.requests = buildUnnamed626(); | 790 o.includeSpreadsheetInResponse = true; |
| 791 o.requests = buildUnnamed365(); |
| 792 o.responseIncludeGridData = true; |
| 793 o.responseRanges = buildUnnamed366(); |
778 } | 794 } |
779 buildCounterBatchUpdateSpreadsheetRequest--; | 795 buildCounterBatchUpdateSpreadsheetRequest--; |
780 return o; | 796 return o; |
781 } | 797 } |
782 | 798 |
783 checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) { | 799 checkBatchUpdateSpreadsheetRequest(api.BatchUpdateSpreadsheetRequest o) { |
784 buildCounterBatchUpdateSpreadsheetRequest++; | 800 buildCounterBatchUpdateSpreadsheetRequest++; |
785 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { | 801 if (buildCounterBatchUpdateSpreadsheetRequest < 3) { |
786 checkUnnamed626(o.requests); | 802 unittest.expect(o.includeSpreadsheetInResponse, unittest.isTrue); |
| 803 checkUnnamed365(o.requests); |
| 804 unittest.expect(o.responseIncludeGridData, unittest.isTrue); |
| 805 checkUnnamed366(o.responseRanges); |
787 } | 806 } |
788 buildCounterBatchUpdateSpreadsheetRequest--; | 807 buildCounterBatchUpdateSpreadsheetRequest--; |
789 } | 808 } |
790 | 809 |
791 buildUnnamed627() { | 810 buildUnnamed367() { |
792 var o = new core.List<api.Response>(); | 811 var o = new core.List<api.Response>(); |
793 o.add(buildResponse()); | 812 o.add(buildResponse()); |
794 o.add(buildResponse()); | 813 o.add(buildResponse()); |
795 return o; | 814 return o; |
796 } | 815 } |
797 | 816 |
798 checkUnnamed627(core.List<api.Response> o) { | 817 checkUnnamed367(core.List<api.Response> o) { |
799 unittest.expect(o, unittest.hasLength(2)); | 818 unittest.expect(o, unittest.hasLength(2)); |
800 checkResponse(o[0]); | 819 checkResponse(o[0]); |
801 checkResponse(o[1]); | 820 checkResponse(o[1]); |
802 } | 821 } |
803 | 822 |
804 core.int buildCounterBatchUpdateSpreadsheetResponse = 0; | 823 core.int buildCounterBatchUpdateSpreadsheetResponse = 0; |
805 buildBatchUpdateSpreadsheetResponse() { | 824 buildBatchUpdateSpreadsheetResponse() { |
806 var o = new api.BatchUpdateSpreadsheetResponse(); | 825 var o = new api.BatchUpdateSpreadsheetResponse(); |
807 buildCounterBatchUpdateSpreadsheetResponse++; | 826 buildCounterBatchUpdateSpreadsheetResponse++; |
808 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { | 827 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { |
809 o.replies = buildUnnamed627(); | 828 o.replies = buildUnnamed367(); |
810 o.spreadsheetId = "foo"; | 829 o.spreadsheetId = "foo"; |
| 830 o.updatedSpreadsheet = buildSpreadsheet(); |
811 } | 831 } |
812 buildCounterBatchUpdateSpreadsheetResponse--; | 832 buildCounterBatchUpdateSpreadsheetResponse--; |
813 return o; | 833 return o; |
814 } | 834 } |
815 | 835 |
816 checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) { | 836 checkBatchUpdateSpreadsheetResponse(api.BatchUpdateSpreadsheetResponse o) { |
817 buildCounterBatchUpdateSpreadsheetResponse++; | 837 buildCounterBatchUpdateSpreadsheetResponse++; |
818 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { | 838 if (buildCounterBatchUpdateSpreadsheetResponse < 3) { |
819 checkUnnamed627(o.replies); | 839 checkUnnamed367(o.replies); |
820 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 840 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 841 checkSpreadsheet(o.updatedSpreadsheet); |
821 } | 842 } |
822 buildCounterBatchUpdateSpreadsheetResponse--; | 843 buildCounterBatchUpdateSpreadsheetResponse--; |
823 } | 844 } |
824 | 845 |
825 buildUnnamed628() { | 846 buildUnnamed368() { |
826 var o = new core.List<api.ValueRange>(); | 847 var o = new core.List<api.ValueRange>(); |
827 o.add(buildValueRange()); | 848 o.add(buildValueRange()); |
828 o.add(buildValueRange()); | 849 o.add(buildValueRange()); |
829 return o; | 850 return o; |
830 } | 851 } |
831 | 852 |
832 checkUnnamed628(core.List<api.ValueRange> o) { | 853 checkUnnamed368(core.List<api.ValueRange> o) { |
833 unittest.expect(o, unittest.hasLength(2)); | 854 unittest.expect(o, unittest.hasLength(2)); |
834 checkValueRange(o[0]); | 855 checkValueRange(o[0]); |
835 checkValueRange(o[1]); | 856 checkValueRange(o[1]); |
836 } | 857 } |
837 | 858 |
838 core.int buildCounterBatchUpdateValuesRequest = 0; | 859 core.int buildCounterBatchUpdateValuesRequest = 0; |
839 buildBatchUpdateValuesRequest() { | 860 buildBatchUpdateValuesRequest() { |
840 var o = new api.BatchUpdateValuesRequest(); | 861 var o = new api.BatchUpdateValuesRequest(); |
841 buildCounterBatchUpdateValuesRequest++; | 862 buildCounterBatchUpdateValuesRequest++; |
842 if (buildCounterBatchUpdateValuesRequest < 3) { | 863 if (buildCounterBatchUpdateValuesRequest < 3) { |
843 o.data = buildUnnamed628(); | 864 o.data = buildUnnamed368(); |
| 865 o.includeValuesInResponse = true; |
| 866 o.responseDateTimeRenderOption = "foo"; |
| 867 o.responseValueRenderOption = "foo"; |
844 o.valueInputOption = "foo"; | 868 o.valueInputOption = "foo"; |
845 } | 869 } |
846 buildCounterBatchUpdateValuesRequest--; | 870 buildCounterBatchUpdateValuesRequest--; |
847 return o; | 871 return o; |
848 } | 872 } |
849 | 873 |
850 checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) { | 874 checkBatchUpdateValuesRequest(api.BatchUpdateValuesRequest o) { |
851 buildCounterBatchUpdateValuesRequest++; | 875 buildCounterBatchUpdateValuesRequest++; |
852 if (buildCounterBatchUpdateValuesRequest < 3) { | 876 if (buildCounterBatchUpdateValuesRequest < 3) { |
853 checkUnnamed628(o.data); | 877 checkUnnamed368(o.data); |
| 878 unittest.expect(o.includeValuesInResponse, unittest.isTrue); |
| 879 unittest.expect(o.responseDateTimeRenderOption, unittest.equals('foo')); |
| 880 unittest.expect(o.responseValueRenderOption, unittest.equals('foo')); |
854 unittest.expect(o.valueInputOption, unittest.equals('foo')); | 881 unittest.expect(o.valueInputOption, unittest.equals('foo')); |
855 } | 882 } |
856 buildCounterBatchUpdateValuesRequest--; | 883 buildCounterBatchUpdateValuesRequest--; |
857 } | 884 } |
858 | 885 |
859 buildUnnamed629() { | 886 buildUnnamed369() { |
860 var o = new core.List<api.UpdateValuesResponse>(); | 887 var o = new core.List<api.UpdateValuesResponse>(); |
861 o.add(buildUpdateValuesResponse()); | 888 o.add(buildUpdateValuesResponse()); |
862 o.add(buildUpdateValuesResponse()); | 889 o.add(buildUpdateValuesResponse()); |
863 return o; | 890 return o; |
864 } | 891 } |
865 | 892 |
866 checkUnnamed629(core.List<api.UpdateValuesResponse> o) { | 893 checkUnnamed369(core.List<api.UpdateValuesResponse> o) { |
867 unittest.expect(o, unittest.hasLength(2)); | 894 unittest.expect(o, unittest.hasLength(2)); |
868 checkUpdateValuesResponse(o[0]); | 895 checkUpdateValuesResponse(o[0]); |
869 checkUpdateValuesResponse(o[1]); | 896 checkUpdateValuesResponse(o[1]); |
870 } | 897 } |
871 | 898 |
872 core.int buildCounterBatchUpdateValuesResponse = 0; | 899 core.int buildCounterBatchUpdateValuesResponse = 0; |
873 buildBatchUpdateValuesResponse() { | 900 buildBatchUpdateValuesResponse() { |
874 var o = new api.BatchUpdateValuesResponse(); | 901 var o = new api.BatchUpdateValuesResponse(); |
875 buildCounterBatchUpdateValuesResponse++; | 902 buildCounterBatchUpdateValuesResponse++; |
876 if (buildCounterBatchUpdateValuesResponse < 3) { | 903 if (buildCounterBatchUpdateValuesResponse < 3) { |
877 o.responses = buildUnnamed629(); | 904 o.responses = buildUnnamed369(); |
878 o.spreadsheetId = "foo"; | 905 o.spreadsheetId = "foo"; |
879 o.totalUpdatedCells = 42; | 906 o.totalUpdatedCells = 42; |
880 o.totalUpdatedColumns = 42; | 907 o.totalUpdatedColumns = 42; |
881 o.totalUpdatedRows = 42; | 908 o.totalUpdatedRows = 42; |
882 o.totalUpdatedSheets = 42; | 909 o.totalUpdatedSheets = 42; |
883 } | 910 } |
884 buildCounterBatchUpdateValuesResponse--; | 911 buildCounterBatchUpdateValuesResponse--; |
885 return o; | 912 return o; |
886 } | 913 } |
887 | 914 |
888 checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) { | 915 checkBatchUpdateValuesResponse(api.BatchUpdateValuesResponse o) { |
889 buildCounterBatchUpdateValuesResponse++; | 916 buildCounterBatchUpdateValuesResponse++; |
890 if (buildCounterBatchUpdateValuesResponse < 3) { | 917 if (buildCounterBatchUpdateValuesResponse < 3) { |
891 checkUnnamed629(o.responses); | 918 checkUnnamed369(o.responses); |
892 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 919 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
893 unittest.expect(o.totalUpdatedCells, unittest.equals(42)); | 920 unittest.expect(o.totalUpdatedCells, unittest.equals(42)); |
894 unittest.expect(o.totalUpdatedColumns, unittest.equals(42)); | 921 unittest.expect(o.totalUpdatedColumns, unittest.equals(42)); |
895 unittest.expect(o.totalUpdatedRows, unittest.equals(42)); | 922 unittest.expect(o.totalUpdatedRows, unittest.equals(42)); |
896 unittest.expect(o.totalUpdatedSheets, unittest.equals(42)); | 923 unittest.expect(o.totalUpdatedSheets, unittest.equals(42)); |
897 } | 924 } |
898 buildCounterBatchUpdateValuesResponse--; | 925 buildCounterBatchUpdateValuesResponse--; |
899 } | 926 } |
900 | 927 |
901 buildUnnamed630() { | 928 buildUnnamed370() { |
902 var o = new core.List<api.ConditionValue>(); | 929 var o = new core.List<api.ConditionValue>(); |
903 o.add(buildConditionValue()); | 930 o.add(buildConditionValue()); |
904 o.add(buildConditionValue()); | 931 o.add(buildConditionValue()); |
905 return o; | 932 return o; |
906 } | 933 } |
907 | 934 |
908 checkUnnamed630(core.List<api.ConditionValue> o) { | 935 checkUnnamed370(core.List<api.ConditionValue> o) { |
909 unittest.expect(o, unittest.hasLength(2)); | 936 unittest.expect(o, unittest.hasLength(2)); |
910 checkConditionValue(o[0]); | 937 checkConditionValue(o[0]); |
911 checkConditionValue(o[1]); | 938 checkConditionValue(o[1]); |
912 } | 939 } |
913 | 940 |
914 core.int buildCounterBooleanCondition = 0; | 941 core.int buildCounterBooleanCondition = 0; |
915 buildBooleanCondition() { | 942 buildBooleanCondition() { |
916 var o = new api.BooleanCondition(); | 943 var o = new api.BooleanCondition(); |
917 buildCounterBooleanCondition++; | 944 buildCounterBooleanCondition++; |
918 if (buildCounterBooleanCondition < 3) { | 945 if (buildCounterBooleanCondition < 3) { |
919 o.type = "foo"; | 946 o.type = "foo"; |
920 o.values = buildUnnamed630(); | 947 o.values = buildUnnamed370(); |
921 } | 948 } |
922 buildCounterBooleanCondition--; | 949 buildCounterBooleanCondition--; |
923 return o; | 950 return o; |
924 } | 951 } |
925 | 952 |
926 checkBooleanCondition(api.BooleanCondition o) { | 953 checkBooleanCondition(api.BooleanCondition o) { |
927 buildCounterBooleanCondition++; | 954 buildCounterBooleanCondition++; |
928 if (buildCounterBooleanCondition < 3) { | 955 if (buildCounterBooleanCondition < 3) { |
929 unittest.expect(o.type, unittest.equals('foo')); | 956 unittest.expect(o.type, unittest.equals('foo')); |
930 checkUnnamed630(o.values); | 957 checkUnnamed370(o.values); |
931 } | 958 } |
932 buildCounterBooleanCondition--; | 959 buildCounterBooleanCondition--; |
933 } | 960 } |
934 | 961 |
935 core.int buildCounterBooleanRule = 0; | 962 core.int buildCounterBooleanRule = 0; |
936 buildBooleanRule() { | 963 buildBooleanRule() { |
937 var o = new api.BooleanRule(); | 964 var o = new api.BooleanRule(); |
938 buildCounterBooleanRule++; | 965 buildCounterBooleanRule++; |
939 if (buildCounterBooleanRule < 3) { | 966 if (buildCounterBooleanRule < 3) { |
940 o.condition = buildBooleanCondition(); | 967 o.condition = buildBooleanCondition(); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
994 buildCounterBorders++; | 1021 buildCounterBorders++; |
995 if (buildCounterBorders < 3) { | 1022 if (buildCounterBorders < 3) { |
996 checkBorder(o.bottom); | 1023 checkBorder(o.bottom); |
997 checkBorder(o.left); | 1024 checkBorder(o.left); |
998 checkBorder(o.right); | 1025 checkBorder(o.right); |
999 checkBorder(o.top); | 1026 checkBorder(o.top); |
1000 } | 1027 } |
1001 buildCounterBorders--; | 1028 buildCounterBorders--; |
1002 } | 1029 } |
1003 | 1030 |
1004 buildUnnamed631() { | 1031 buildUnnamed371() { |
1005 var o = new core.List<api.TextFormatRun>(); | 1032 var o = new core.List<api.TextFormatRun>(); |
1006 o.add(buildTextFormatRun()); | 1033 o.add(buildTextFormatRun()); |
1007 o.add(buildTextFormatRun()); | 1034 o.add(buildTextFormatRun()); |
1008 return o; | 1035 return o; |
1009 } | 1036 } |
1010 | 1037 |
1011 checkUnnamed631(core.List<api.TextFormatRun> o) { | 1038 checkUnnamed371(core.List<api.TextFormatRun> o) { |
1012 unittest.expect(o, unittest.hasLength(2)); | 1039 unittest.expect(o, unittest.hasLength(2)); |
1013 checkTextFormatRun(o[0]); | 1040 checkTextFormatRun(o[0]); |
1014 checkTextFormatRun(o[1]); | 1041 checkTextFormatRun(o[1]); |
1015 } | 1042 } |
1016 | 1043 |
1017 core.int buildCounterCellData = 0; | 1044 core.int buildCounterCellData = 0; |
1018 buildCellData() { | 1045 buildCellData() { |
1019 var o = new api.CellData(); | 1046 var o = new api.CellData(); |
1020 buildCounterCellData++; | 1047 buildCounterCellData++; |
1021 if (buildCounterCellData < 3) { | 1048 if (buildCounterCellData < 3) { |
1022 o.dataValidation = buildDataValidationRule(); | 1049 o.dataValidation = buildDataValidationRule(); |
1023 o.effectiveFormat = buildCellFormat(); | 1050 o.effectiveFormat = buildCellFormat(); |
1024 o.effectiveValue = buildExtendedValue(); | 1051 o.effectiveValue = buildExtendedValue(); |
1025 o.formattedValue = "foo"; | 1052 o.formattedValue = "foo"; |
1026 o.hyperlink = "foo"; | 1053 o.hyperlink = "foo"; |
1027 o.note = "foo"; | 1054 o.note = "foo"; |
1028 o.pivotTable = buildPivotTable(); | 1055 o.pivotTable = buildPivotTable(); |
1029 o.textFormatRuns = buildUnnamed631(); | 1056 o.textFormatRuns = buildUnnamed371(); |
1030 o.userEnteredFormat = buildCellFormat(); | 1057 o.userEnteredFormat = buildCellFormat(); |
1031 o.userEnteredValue = buildExtendedValue(); | 1058 o.userEnteredValue = buildExtendedValue(); |
1032 } | 1059 } |
1033 buildCounterCellData--; | 1060 buildCounterCellData--; |
1034 return o; | 1061 return o; |
1035 } | 1062 } |
1036 | 1063 |
1037 checkCellData(api.CellData o) { | 1064 checkCellData(api.CellData o) { |
1038 buildCounterCellData++; | 1065 buildCounterCellData++; |
1039 if (buildCounterCellData < 3) { | 1066 if (buildCounterCellData < 3) { |
1040 checkDataValidationRule(o.dataValidation); | 1067 checkDataValidationRule(o.dataValidation); |
1041 checkCellFormat(o.effectiveFormat); | 1068 checkCellFormat(o.effectiveFormat); |
1042 checkExtendedValue(o.effectiveValue); | 1069 checkExtendedValue(o.effectiveValue); |
1043 unittest.expect(o.formattedValue, unittest.equals('foo')); | 1070 unittest.expect(o.formattedValue, unittest.equals('foo')); |
1044 unittest.expect(o.hyperlink, unittest.equals('foo')); | 1071 unittest.expect(o.hyperlink, unittest.equals('foo')); |
1045 unittest.expect(o.note, unittest.equals('foo')); | 1072 unittest.expect(o.note, unittest.equals('foo')); |
1046 checkPivotTable(o.pivotTable); | 1073 checkPivotTable(o.pivotTable); |
1047 checkUnnamed631(o.textFormatRuns); | 1074 checkUnnamed371(o.textFormatRuns); |
1048 checkCellFormat(o.userEnteredFormat); | 1075 checkCellFormat(o.userEnteredFormat); |
1049 checkExtendedValue(o.userEnteredValue); | 1076 checkExtendedValue(o.userEnteredValue); |
1050 } | 1077 } |
1051 buildCounterCellData--; | 1078 buildCounterCellData--; |
1052 } | 1079 } |
1053 | 1080 |
1054 core.int buildCounterCellFormat = 0; | 1081 core.int buildCounterCellFormat = 0; |
1055 buildCellFormat() { | 1082 buildCellFormat() { |
1056 var o = new api.CellFormat(); | 1083 var o = new api.CellFormat(); |
1057 buildCounterCellFormat++; | 1084 buildCounterCellFormat++; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1100 } | 1127 } |
1101 | 1128 |
1102 checkChartData(api.ChartData o) { | 1129 checkChartData(api.ChartData o) { |
1103 buildCounterChartData++; | 1130 buildCounterChartData++; |
1104 if (buildCounterChartData < 3) { | 1131 if (buildCounterChartData < 3) { |
1105 checkChartSourceRange(o.sourceRange); | 1132 checkChartSourceRange(o.sourceRange); |
1106 } | 1133 } |
1107 buildCounterChartData--; | 1134 buildCounterChartData--; |
1108 } | 1135 } |
1109 | 1136 |
1110 buildUnnamed632() { | 1137 buildUnnamed372() { |
1111 var o = new core.List<api.GridRange>(); | 1138 var o = new core.List<api.GridRange>(); |
1112 o.add(buildGridRange()); | 1139 o.add(buildGridRange()); |
1113 o.add(buildGridRange()); | 1140 o.add(buildGridRange()); |
1114 return o; | 1141 return o; |
1115 } | 1142 } |
1116 | 1143 |
1117 checkUnnamed632(core.List<api.GridRange> o) { | 1144 checkUnnamed372(core.List<api.GridRange> o) { |
1118 unittest.expect(o, unittest.hasLength(2)); | 1145 unittest.expect(o, unittest.hasLength(2)); |
1119 checkGridRange(o[0]); | 1146 checkGridRange(o[0]); |
1120 checkGridRange(o[1]); | 1147 checkGridRange(o[1]); |
1121 } | 1148 } |
1122 | 1149 |
1123 core.int buildCounterChartSourceRange = 0; | 1150 core.int buildCounterChartSourceRange = 0; |
1124 buildChartSourceRange() { | 1151 buildChartSourceRange() { |
1125 var o = new api.ChartSourceRange(); | 1152 var o = new api.ChartSourceRange(); |
1126 buildCounterChartSourceRange++; | 1153 buildCounterChartSourceRange++; |
1127 if (buildCounterChartSourceRange < 3) { | 1154 if (buildCounterChartSourceRange < 3) { |
1128 o.sources = buildUnnamed632(); | 1155 o.sources = buildUnnamed372(); |
1129 } | 1156 } |
1130 buildCounterChartSourceRange--; | 1157 buildCounterChartSourceRange--; |
1131 return o; | 1158 return o; |
1132 } | 1159 } |
1133 | 1160 |
1134 checkChartSourceRange(api.ChartSourceRange o) { | 1161 checkChartSourceRange(api.ChartSourceRange o) { |
1135 buildCounterChartSourceRange++; | 1162 buildCounterChartSourceRange++; |
1136 if (buildCounterChartSourceRange < 3) { | 1163 if (buildCounterChartSourceRange < 3) { |
1137 checkUnnamed632(o.sources); | 1164 checkUnnamed372(o.sources); |
1138 } | 1165 } |
1139 buildCounterChartSourceRange--; | 1166 buildCounterChartSourceRange--; |
1140 } | 1167 } |
1141 | 1168 |
1142 core.int buildCounterChartSpec = 0; | 1169 core.int buildCounterChartSpec = 0; |
1143 buildChartSpec() { | 1170 buildChartSpec() { |
1144 var o = new api.ChartSpec(); | 1171 var o = new api.ChartSpec(); |
1145 buildCounterChartSpec++; | 1172 buildCounterChartSpec++; |
1146 if (buildCounterChartSpec < 3) { | 1173 if (buildCounterChartSpec < 3) { |
1147 o.basicChart = buildBasicChartSpec(); | 1174 o.basicChart = buildBasicChartSpec(); |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1260 | 1287 |
1261 checkConditionValue(api.ConditionValue o) { | 1288 checkConditionValue(api.ConditionValue o) { |
1262 buildCounterConditionValue++; | 1289 buildCounterConditionValue++; |
1263 if (buildCounterConditionValue < 3) { | 1290 if (buildCounterConditionValue < 3) { |
1264 unittest.expect(o.relativeDate, unittest.equals('foo')); | 1291 unittest.expect(o.relativeDate, unittest.equals('foo')); |
1265 unittest.expect(o.userEnteredValue, unittest.equals('foo')); | 1292 unittest.expect(o.userEnteredValue, unittest.equals('foo')); |
1266 } | 1293 } |
1267 buildCounterConditionValue--; | 1294 buildCounterConditionValue--; |
1268 } | 1295 } |
1269 | 1296 |
1270 buildUnnamed633() { | 1297 buildUnnamed373() { |
1271 var o = new core.List<api.GridRange>(); | 1298 var o = new core.List<api.GridRange>(); |
1272 o.add(buildGridRange()); | 1299 o.add(buildGridRange()); |
1273 o.add(buildGridRange()); | 1300 o.add(buildGridRange()); |
1274 return o; | 1301 return o; |
1275 } | 1302 } |
1276 | 1303 |
1277 checkUnnamed633(core.List<api.GridRange> o) { | 1304 checkUnnamed373(core.List<api.GridRange> o) { |
1278 unittest.expect(o, unittest.hasLength(2)); | 1305 unittest.expect(o, unittest.hasLength(2)); |
1279 checkGridRange(o[0]); | 1306 checkGridRange(o[0]); |
1280 checkGridRange(o[1]); | 1307 checkGridRange(o[1]); |
1281 } | 1308 } |
1282 | 1309 |
1283 core.int buildCounterConditionalFormatRule = 0; | 1310 core.int buildCounterConditionalFormatRule = 0; |
1284 buildConditionalFormatRule() { | 1311 buildConditionalFormatRule() { |
1285 var o = new api.ConditionalFormatRule(); | 1312 var o = new api.ConditionalFormatRule(); |
1286 buildCounterConditionalFormatRule++; | 1313 buildCounterConditionalFormatRule++; |
1287 if (buildCounterConditionalFormatRule < 3) { | 1314 if (buildCounterConditionalFormatRule < 3) { |
1288 o.booleanRule = buildBooleanRule(); | 1315 o.booleanRule = buildBooleanRule(); |
1289 o.gradientRule = buildGradientRule(); | 1316 o.gradientRule = buildGradientRule(); |
1290 o.ranges = buildUnnamed633(); | 1317 o.ranges = buildUnnamed373(); |
1291 } | 1318 } |
1292 buildCounterConditionalFormatRule--; | 1319 buildCounterConditionalFormatRule--; |
1293 return o; | 1320 return o; |
1294 } | 1321 } |
1295 | 1322 |
1296 checkConditionalFormatRule(api.ConditionalFormatRule o) { | 1323 checkConditionalFormatRule(api.ConditionalFormatRule o) { |
1297 buildCounterConditionalFormatRule++; | 1324 buildCounterConditionalFormatRule++; |
1298 if (buildCounterConditionalFormatRule < 3) { | 1325 if (buildCounterConditionalFormatRule < 3) { |
1299 checkBooleanRule(o.booleanRule); | 1326 checkBooleanRule(o.booleanRule); |
1300 checkGradientRule(o.gradientRule); | 1327 checkGradientRule(o.gradientRule); |
1301 checkUnnamed633(o.ranges); | 1328 checkUnnamed373(o.ranges); |
1302 } | 1329 } |
1303 buildCounterConditionalFormatRule--; | 1330 buildCounterConditionalFormatRule--; |
1304 } | 1331 } |
1305 | 1332 |
1306 core.int buildCounterCopyPasteRequest = 0; | 1333 core.int buildCounterCopyPasteRequest = 0; |
1307 buildCopyPasteRequest() { | 1334 buildCopyPasteRequest() { |
1308 var o = new api.CopyPasteRequest(); | 1335 var o = new api.CopyPasteRequest(); |
1309 buildCounterCopyPasteRequest++; | 1336 buildCounterCopyPasteRequest++; |
1310 if (buildCounterCopyPasteRequest < 3) { | 1337 if (buildCounterCopyPasteRequest < 3) { |
1311 o.destination = buildGridRange(); | 1338 o.destination = buildGridRange(); |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1691 } | 1718 } |
1692 | 1719 |
1693 checkDuplicateSheetResponse(api.DuplicateSheetResponse o) { | 1720 checkDuplicateSheetResponse(api.DuplicateSheetResponse o) { |
1694 buildCounterDuplicateSheetResponse++; | 1721 buildCounterDuplicateSheetResponse++; |
1695 if (buildCounterDuplicateSheetResponse < 3) { | 1722 if (buildCounterDuplicateSheetResponse < 3) { |
1696 checkSheetProperties(o.properties); | 1723 checkSheetProperties(o.properties); |
1697 } | 1724 } |
1698 buildCounterDuplicateSheetResponse--; | 1725 buildCounterDuplicateSheetResponse--; |
1699 } | 1726 } |
1700 | 1727 |
1701 buildUnnamed634() { | 1728 buildUnnamed374() { |
1702 var o = new core.List<core.String>(); | 1729 var o = new core.List<core.String>(); |
1703 o.add("foo"); | 1730 o.add("foo"); |
1704 o.add("foo"); | 1731 o.add("foo"); |
1705 return o; | 1732 return o; |
1706 } | 1733 } |
1707 | 1734 |
1708 checkUnnamed634(core.List<core.String> o) { | 1735 checkUnnamed374(core.List<core.String> o) { |
1709 unittest.expect(o, unittest.hasLength(2)); | 1736 unittest.expect(o, unittest.hasLength(2)); |
1710 unittest.expect(o[0], unittest.equals('foo')); | 1737 unittest.expect(o[0], unittest.equals('foo')); |
1711 unittest.expect(o[1], unittest.equals('foo')); | 1738 unittest.expect(o[1], unittest.equals('foo')); |
1712 } | 1739 } |
1713 | 1740 |
1714 buildUnnamed635() { | 1741 buildUnnamed375() { |
1715 var o = new core.List<core.String>(); | 1742 var o = new core.List<core.String>(); |
1716 o.add("foo"); | 1743 o.add("foo"); |
1717 o.add("foo"); | 1744 o.add("foo"); |
1718 return o; | 1745 return o; |
1719 } | 1746 } |
1720 | 1747 |
1721 checkUnnamed635(core.List<core.String> o) { | 1748 checkUnnamed375(core.List<core.String> o) { |
1722 unittest.expect(o, unittest.hasLength(2)); | 1749 unittest.expect(o, unittest.hasLength(2)); |
1723 unittest.expect(o[0], unittest.equals('foo')); | 1750 unittest.expect(o[0], unittest.equals('foo')); |
1724 unittest.expect(o[1], unittest.equals('foo')); | 1751 unittest.expect(o[1], unittest.equals('foo')); |
1725 } | 1752 } |
1726 | 1753 |
1727 core.int buildCounterEditors = 0; | 1754 core.int buildCounterEditors = 0; |
1728 buildEditors() { | 1755 buildEditors() { |
1729 var o = new api.Editors(); | 1756 var o = new api.Editors(); |
1730 buildCounterEditors++; | 1757 buildCounterEditors++; |
1731 if (buildCounterEditors < 3) { | 1758 if (buildCounterEditors < 3) { |
1732 o.domainUsersCanEdit = true; | 1759 o.domainUsersCanEdit = true; |
1733 o.groups = buildUnnamed634(); | 1760 o.groups = buildUnnamed374(); |
1734 o.users = buildUnnamed635(); | 1761 o.users = buildUnnamed375(); |
1735 } | 1762 } |
1736 buildCounterEditors--; | 1763 buildCounterEditors--; |
1737 return o; | 1764 return o; |
1738 } | 1765 } |
1739 | 1766 |
1740 checkEditors(api.Editors o) { | 1767 checkEditors(api.Editors o) { |
1741 buildCounterEditors++; | 1768 buildCounterEditors++; |
1742 if (buildCounterEditors < 3) { | 1769 if (buildCounterEditors < 3) { |
1743 unittest.expect(o.domainUsersCanEdit, unittest.isTrue); | 1770 unittest.expect(o.domainUsersCanEdit, unittest.isTrue); |
1744 checkUnnamed634(o.groups); | 1771 checkUnnamed374(o.groups); |
1745 checkUnnamed635(o.users); | 1772 checkUnnamed375(o.users); |
1746 } | 1773 } |
1747 buildCounterEditors--; | 1774 buildCounterEditors--; |
1748 } | 1775 } |
1749 | 1776 |
1750 core.int buildCounterEmbeddedChart = 0; | 1777 core.int buildCounterEmbeddedChart = 0; |
1751 buildEmbeddedChart() { | 1778 buildEmbeddedChart() { |
1752 var o = new api.EmbeddedChart(); | 1779 var o = new api.EmbeddedChart(); |
1753 buildCounterEmbeddedChart++; | 1780 buildCounterEmbeddedChart++; |
1754 if (buildCounterEmbeddedChart < 3) { | 1781 if (buildCounterEmbeddedChart < 3) { |
1755 o.chartId = 42; | 1782 o.chartId = 42; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1834 if (buildCounterExtendedValue < 3) { | 1861 if (buildCounterExtendedValue < 3) { |
1835 unittest.expect(o.boolValue, unittest.isTrue); | 1862 unittest.expect(o.boolValue, unittest.isTrue); |
1836 checkErrorValue(o.errorValue); | 1863 checkErrorValue(o.errorValue); |
1837 unittest.expect(o.formulaValue, unittest.equals('foo')); | 1864 unittest.expect(o.formulaValue, unittest.equals('foo')); |
1838 unittest.expect(o.numberValue, unittest.equals(42.0)); | 1865 unittest.expect(o.numberValue, unittest.equals(42.0)); |
1839 unittest.expect(o.stringValue, unittest.equals('foo')); | 1866 unittest.expect(o.stringValue, unittest.equals('foo')); |
1840 } | 1867 } |
1841 buildCounterExtendedValue--; | 1868 buildCounterExtendedValue--; |
1842 } | 1869 } |
1843 | 1870 |
1844 buildUnnamed636() { | 1871 buildUnnamed376() { |
1845 var o = new core.List<core.String>(); | 1872 var o = new core.List<core.String>(); |
1846 o.add("foo"); | 1873 o.add("foo"); |
1847 o.add("foo"); | 1874 o.add("foo"); |
1848 return o; | 1875 return o; |
1849 } | 1876 } |
1850 | 1877 |
1851 checkUnnamed636(core.List<core.String> o) { | 1878 checkUnnamed376(core.List<core.String> o) { |
1852 unittest.expect(o, unittest.hasLength(2)); | 1879 unittest.expect(o, unittest.hasLength(2)); |
1853 unittest.expect(o[0], unittest.equals('foo')); | 1880 unittest.expect(o[0], unittest.equals('foo')); |
1854 unittest.expect(o[1], unittest.equals('foo')); | 1881 unittest.expect(o[1], unittest.equals('foo')); |
1855 } | 1882 } |
1856 | 1883 |
1857 core.int buildCounterFilterCriteria = 0; | 1884 core.int buildCounterFilterCriteria = 0; |
1858 buildFilterCriteria() { | 1885 buildFilterCriteria() { |
1859 var o = new api.FilterCriteria(); | 1886 var o = new api.FilterCriteria(); |
1860 buildCounterFilterCriteria++; | 1887 buildCounterFilterCriteria++; |
1861 if (buildCounterFilterCriteria < 3) { | 1888 if (buildCounterFilterCriteria < 3) { |
1862 o.condition = buildBooleanCondition(); | 1889 o.condition = buildBooleanCondition(); |
1863 o.hiddenValues = buildUnnamed636(); | 1890 o.hiddenValues = buildUnnamed376(); |
1864 } | 1891 } |
1865 buildCounterFilterCriteria--; | 1892 buildCounterFilterCriteria--; |
1866 return o; | 1893 return o; |
1867 } | 1894 } |
1868 | 1895 |
1869 checkFilterCriteria(api.FilterCriteria o) { | 1896 checkFilterCriteria(api.FilterCriteria o) { |
1870 buildCounterFilterCriteria++; | 1897 buildCounterFilterCriteria++; |
1871 if (buildCounterFilterCriteria < 3) { | 1898 if (buildCounterFilterCriteria < 3) { |
1872 checkBooleanCondition(o.condition); | 1899 checkBooleanCondition(o.condition); |
1873 checkUnnamed636(o.hiddenValues); | 1900 checkUnnamed376(o.hiddenValues); |
1874 } | 1901 } |
1875 buildCounterFilterCriteria--; | 1902 buildCounterFilterCriteria--; |
1876 } | 1903 } |
1877 | 1904 |
1878 buildUnnamed637() { | 1905 buildUnnamed377() { |
1879 var o = new core.Map<core.String, api.FilterCriteria>(); | 1906 var o = new core.Map<core.String, api.FilterCriteria>(); |
1880 o["x"] = buildFilterCriteria(); | 1907 o["x"] = buildFilterCriteria(); |
1881 o["y"] = buildFilterCriteria(); | 1908 o["y"] = buildFilterCriteria(); |
1882 return o; | 1909 return o; |
1883 } | 1910 } |
1884 | 1911 |
1885 checkUnnamed637(core.Map<core.String, api.FilterCriteria> o) { | 1912 checkUnnamed377(core.Map<core.String, api.FilterCriteria> o) { |
1886 unittest.expect(o, unittest.hasLength(2)); | 1913 unittest.expect(o, unittest.hasLength(2)); |
1887 checkFilterCriteria(o["x"]); | 1914 checkFilterCriteria(o["x"]); |
1888 checkFilterCriteria(o["y"]); | 1915 checkFilterCriteria(o["y"]); |
1889 } | 1916 } |
1890 | 1917 |
1891 buildUnnamed638() { | 1918 buildUnnamed378() { |
1892 var o = new core.List<api.SortSpec>(); | 1919 var o = new core.List<api.SortSpec>(); |
1893 o.add(buildSortSpec()); | 1920 o.add(buildSortSpec()); |
1894 o.add(buildSortSpec()); | 1921 o.add(buildSortSpec()); |
1895 return o; | 1922 return o; |
1896 } | 1923 } |
1897 | 1924 |
1898 checkUnnamed638(core.List<api.SortSpec> o) { | 1925 checkUnnamed378(core.List<api.SortSpec> o) { |
1899 unittest.expect(o, unittest.hasLength(2)); | 1926 unittest.expect(o, unittest.hasLength(2)); |
1900 checkSortSpec(o[0]); | 1927 checkSortSpec(o[0]); |
1901 checkSortSpec(o[1]); | 1928 checkSortSpec(o[1]); |
1902 } | 1929 } |
1903 | 1930 |
1904 core.int buildCounterFilterView = 0; | 1931 core.int buildCounterFilterView = 0; |
1905 buildFilterView() { | 1932 buildFilterView() { |
1906 var o = new api.FilterView(); | 1933 var o = new api.FilterView(); |
1907 buildCounterFilterView++; | 1934 buildCounterFilterView++; |
1908 if (buildCounterFilterView < 3) { | 1935 if (buildCounterFilterView < 3) { |
1909 o.criteria = buildUnnamed637(); | 1936 o.criteria = buildUnnamed377(); |
1910 o.filterViewId = 42; | 1937 o.filterViewId = 42; |
1911 o.namedRangeId = "foo"; | 1938 o.namedRangeId = "foo"; |
1912 o.range = buildGridRange(); | 1939 o.range = buildGridRange(); |
1913 o.sortSpecs = buildUnnamed638(); | 1940 o.sortSpecs = buildUnnamed378(); |
1914 o.title = "foo"; | 1941 o.title = "foo"; |
1915 } | 1942 } |
1916 buildCounterFilterView--; | 1943 buildCounterFilterView--; |
1917 return o; | 1944 return o; |
1918 } | 1945 } |
1919 | 1946 |
1920 checkFilterView(api.FilterView o) { | 1947 checkFilterView(api.FilterView o) { |
1921 buildCounterFilterView++; | 1948 buildCounterFilterView++; |
1922 if (buildCounterFilterView < 3) { | 1949 if (buildCounterFilterView < 3) { |
1923 checkUnnamed637(o.criteria); | 1950 checkUnnamed377(o.criteria); |
1924 unittest.expect(o.filterViewId, unittest.equals(42)); | 1951 unittest.expect(o.filterViewId, unittest.equals(42)); |
1925 unittest.expect(o.namedRangeId, unittest.equals('foo')); | 1952 unittest.expect(o.namedRangeId, unittest.equals('foo')); |
1926 checkGridRange(o.range); | 1953 checkGridRange(o.range); |
1927 checkUnnamed638(o.sortSpecs); | 1954 checkUnnamed378(o.sortSpecs); |
1928 unittest.expect(o.title, unittest.equals('foo')); | 1955 unittest.expect(o.title, unittest.equals('foo')); |
1929 } | 1956 } |
1930 buildCounterFilterView--; | 1957 buildCounterFilterView--; |
1931 } | 1958 } |
1932 | 1959 |
1933 core.int buildCounterFindReplaceRequest = 0; | 1960 core.int buildCounterFindReplaceRequest = 0; |
1934 buildFindReplaceRequest() { | 1961 buildFindReplaceRequest() { |
1935 var o = new api.FindReplaceRequest(); | 1962 var o = new api.FindReplaceRequest(); |
1936 buildCounterFindReplaceRequest++; | 1963 buildCounterFindReplaceRequest++; |
1937 if (buildCounterFindReplaceRequest < 3) { | 1964 if (buildCounterFindReplaceRequest < 3) { |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2031 checkGridCoordinate(api.GridCoordinate o) { | 2058 checkGridCoordinate(api.GridCoordinate o) { |
2032 buildCounterGridCoordinate++; | 2059 buildCounterGridCoordinate++; |
2033 if (buildCounterGridCoordinate < 3) { | 2060 if (buildCounterGridCoordinate < 3) { |
2034 unittest.expect(o.columnIndex, unittest.equals(42)); | 2061 unittest.expect(o.columnIndex, unittest.equals(42)); |
2035 unittest.expect(o.rowIndex, unittest.equals(42)); | 2062 unittest.expect(o.rowIndex, unittest.equals(42)); |
2036 unittest.expect(o.sheetId, unittest.equals(42)); | 2063 unittest.expect(o.sheetId, unittest.equals(42)); |
2037 } | 2064 } |
2038 buildCounterGridCoordinate--; | 2065 buildCounterGridCoordinate--; |
2039 } | 2066 } |
2040 | 2067 |
2041 buildUnnamed639() { | 2068 buildUnnamed379() { |
2042 var o = new core.List<api.DimensionProperties>(); | 2069 var o = new core.List<api.DimensionProperties>(); |
2043 o.add(buildDimensionProperties()); | 2070 o.add(buildDimensionProperties()); |
2044 o.add(buildDimensionProperties()); | 2071 o.add(buildDimensionProperties()); |
2045 return o; | 2072 return o; |
2046 } | 2073 } |
2047 | 2074 |
2048 checkUnnamed639(core.List<api.DimensionProperties> o) { | 2075 checkUnnamed379(core.List<api.DimensionProperties> o) { |
2049 unittest.expect(o, unittest.hasLength(2)); | 2076 unittest.expect(o, unittest.hasLength(2)); |
2050 checkDimensionProperties(o[0]); | 2077 checkDimensionProperties(o[0]); |
2051 checkDimensionProperties(o[1]); | 2078 checkDimensionProperties(o[1]); |
2052 } | 2079 } |
2053 | 2080 |
2054 buildUnnamed640() { | 2081 buildUnnamed380() { |
2055 var o = new core.List<api.RowData>(); | 2082 var o = new core.List<api.RowData>(); |
2056 o.add(buildRowData()); | 2083 o.add(buildRowData()); |
2057 o.add(buildRowData()); | 2084 o.add(buildRowData()); |
2058 return o; | 2085 return o; |
2059 } | 2086 } |
2060 | 2087 |
2061 checkUnnamed640(core.List<api.RowData> o) { | 2088 checkUnnamed380(core.List<api.RowData> o) { |
2062 unittest.expect(o, unittest.hasLength(2)); | 2089 unittest.expect(o, unittest.hasLength(2)); |
2063 checkRowData(o[0]); | 2090 checkRowData(o[0]); |
2064 checkRowData(o[1]); | 2091 checkRowData(o[1]); |
2065 } | 2092 } |
2066 | 2093 |
2067 buildUnnamed641() { | 2094 buildUnnamed381() { |
2068 var o = new core.List<api.DimensionProperties>(); | 2095 var o = new core.List<api.DimensionProperties>(); |
2069 o.add(buildDimensionProperties()); | 2096 o.add(buildDimensionProperties()); |
2070 o.add(buildDimensionProperties()); | 2097 o.add(buildDimensionProperties()); |
2071 return o; | 2098 return o; |
2072 } | 2099 } |
2073 | 2100 |
2074 checkUnnamed641(core.List<api.DimensionProperties> o) { | 2101 checkUnnamed381(core.List<api.DimensionProperties> o) { |
2075 unittest.expect(o, unittest.hasLength(2)); | 2102 unittest.expect(o, unittest.hasLength(2)); |
2076 checkDimensionProperties(o[0]); | 2103 checkDimensionProperties(o[0]); |
2077 checkDimensionProperties(o[1]); | 2104 checkDimensionProperties(o[1]); |
2078 } | 2105 } |
2079 | 2106 |
2080 core.int buildCounterGridData = 0; | 2107 core.int buildCounterGridData = 0; |
2081 buildGridData() { | 2108 buildGridData() { |
2082 var o = new api.GridData(); | 2109 var o = new api.GridData(); |
2083 buildCounterGridData++; | 2110 buildCounterGridData++; |
2084 if (buildCounterGridData < 3) { | 2111 if (buildCounterGridData < 3) { |
2085 o.columnMetadata = buildUnnamed639(); | 2112 o.columnMetadata = buildUnnamed379(); |
2086 o.rowData = buildUnnamed640(); | 2113 o.rowData = buildUnnamed380(); |
2087 o.rowMetadata = buildUnnamed641(); | 2114 o.rowMetadata = buildUnnamed381(); |
2088 o.startColumn = 42; | 2115 o.startColumn = 42; |
2089 o.startRow = 42; | 2116 o.startRow = 42; |
2090 } | 2117 } |
2091 buildCounterGridData--; | 2118 buildCounterGridData--; |
2092 return o; | 2119 return o; |
2093 } | 2120 } |
2094 | 2121 |
2095 checkGridData(api.GridData o) { | 2122 checkGridData(api.GridData o) { |
2096 buildCounterGridData++; | 2123 buildCounterGridData++; |
2097 if (buildCounterGridData < 3) { | 2124 if (buildCounterGridData < 3) { |
2098 checkUnnamed639(o.columnMetadata); | 2125 checkUnnamed379(o.columnMetadata); |
2099 checkUnnamed640(o.rowData); | 2126 checkUnnamed380(o.rowData); |
2100 checkUnnamed641(o.rowMetadata); | 2127 checkUnnamed381(o.rowMetadata); |
2101 unittest.expect(o.startColumn, unittest.equals(42)); | 2128 unittest.expect(o.startColumn, unittest.equals(42)); |
2102 unittest.expect(o.startRow, unittest.equals(42)); | 2129 unittest.expect(o.startRow, unittest.equals(42)); |
2103 } | 2130 } |
2104 buildCounterGridData--; | 2131 buildCounterGridData--; |
2105 } | 2132 } |
2106 | 2133 |
2107 core.int buildCounterGridProperties = 0; | 2134 core.int buildCounterGridProperties = 0; |
2108 buildGridProperties() { | 2135 buildGridProperties() { |
2109 var o = new api.GridProperties(); | 2136 var o = new api.GridProperties(); |
2110 buildCounterGridProperties++; | 2137 buildCounterGridProperties++; |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2387 if (buildCounterPieChartSpec < 3) { | 2414 if (buildCounterPieChartSpec < 3) { |
2388 checkChartData(o.domain); | 2415 checkChartData(o.domain); |
2389 unittest.expect(o.legendPosition, unittest.equals('foo')); | 2416 unittest.expect(o.legendPosition, unittest.equals('foo')); |
2390 unittest.expect(o.pieHole, unittest.equals(42.0)); | 2417 unittest.expect(o.pieHole, unittest.equals(42.0)); |
2391 checkChartData(o.series); | 2418 checkChartData(o.series); |
2392 unittest.expect(o.threeDimensional, unittest.isTrue); | 2419 unittest.expect(o.threeDimensional, unittest.isTrue); |
2393 } | 2420 } |
2394 buildCounterPieChartSpec--; | 2421 buildCounterPieChartSpec--; |
2395 } | 2422 } |
2396 | 2423 |
2397 buildUnnamed642() { | 2424 buildUnnamed382() { |
2398 var o = new core.List<core.String>(); | 2425 var o = new core.List<core.String>(); |
2399 o.add("foo"); | 2426 o.add("foo"); |
2400 o.add("foo"); | 2427 o.add("foo"); |
2401 return o; | 2428 return o; |
2402 } | 2429 } |
2403 | 2430 |
2404 checkUnnamed642(core.List<core.String> o) { | 2431 checkUnnamed382(core.List<core.String> o) { |
2405 unittest.expect(o, unittest.hasLength(2)); | 2432 unittest.expect(o, unittest.hasLength(2)); |
2406 unittest.expect(o[0], unittest.equals('foo')); | 2433 unittest.expect(o[0], unittest.equals('foo')); |
2407 unittest.expect(o[1], unittest.equals('foo')); | 2434 unittest.expect(o[1], unittest.equals('foo')); |
2408 } | 2435 } |
2409 | 2436 |
2410 core.int buildCounterPivotFilterCriteria = 0; | 2437 core.int buildCounterPivotFilterCriteria = 0; |
2411 buildPivotFilterCriteria() { | 2438 buildPivotFilterCriteria() { |
2412 var o = new api.PivotFilterCriteria(); | 2439 var o = new api.PivotFilterCriteria(); |
2413 buildCounterPivotFilterCriteria++; | 2440 buildCounterPivotFilterCriteria++; |
2414 if (buildCounterPivotFilterCriteria < 3) { | 2441 if (buildCounterPivotFilterCriteria < 3) { |
2415 o.visibleValues = buildUnnamed642(); | 2442 o.visibleValues = buildUnnamed382(); |
2416 } | 2443 } |
2417 buildCounterPivotFilterCriteria--; | 2444 buildCounterPivotFilterCriteria--; |
2418 return o; | 2445 return o; |
2419 } | 2446 } |
2420 | 2447 |
2421 checkPivotFilterCriteria(api.PivotFilterCriteria o) { | 2448 checkPivotFilterCriteria(api.PivotFilterCriteria o) { |
2422 buildCounterPivotFilterCriteria++; | 2449 buildCounterPivotFilterCriteria++; |
2423 if (buildCounterPivotFilterCriteria < 3) { | 2450 if (buildCounterPivotFilterCriteria < 3) { |
2424 checkUnnamed642(o.visibleValues); | 2451 checkUnnamed382(o.visibleValues); |
2425 } | 2452 } |
2426 buildCounterPivotFilterCriteria--; | 2453 buildCounterPivotFilterCriteria--; |
2427 } | 2454 } |
2428 | 2455 |
2429 buildUnnamed643() { | 2456 buildUnnamed383() { |
2430 var o = new core.List<api.PivotGroupValueMetadata>(); | 2457 var o = new core.List<api.PivotGroupValueMetadata>(); |
2431 o.add(buildPivotGroupValueMetadata()); | 2458 o.add(buildPivotGroupValueMetadata()); |
2432 o.add(buildPivotGroupValueMetadata()); | 2459 o.add(buildPivotGroupValueMetadata()); |
2433 return o; | 2460 return o; |
2434 } | 2461 } |
2435 | 2462 |
2436 checkUnnamed643(core.List<api.PivotGroupValueMetadata> o) { | 2463 checkUnnamed383(core.List<api.PivotGroupValueMetadata> o) { |
2437 unittest.expect(o, unittest.hasLength(2)); | 2464 unittest.expect(o, unittest.hasLength(2)); |
2438 checkPivotGroupValueMetadata(o[0]); | 2465 checkPivotGroupValueMetadata(o[0]); |
2439 checkPivotGroupValueMetadata(o[1]); | 2466 checkPivotGroupValueMetadata(o[1]); |
2440 } | 2467 } |
2441 | 2468 |
2442 core.int buildCounterPivotGroup = 0; | 2469 core.int buildCounterPivotGroup = 0; |
2443 buildPivotGroup() { | 2470 buildPivotGroup() { |
2444 var o = new api.PivotGroup(); | 2471 var o = new api.PivotGroup(); |
2445 buildCounterPivotGroup++; | 2472 buildCounterPivotGroup++; |
2446 if (buildCounterPivotGroup < 3) { | 2473 if (buildCounterPivotGroup < 3) { |
2447 o.showTotals = true; | 2474 o.showTotals = true; |
2448 o.sortOrder = "foo"; | 2475 o.sortOrder = "foo"; |
2449 o.sourceColumnOffset = 42; | 2476 o.sourceColumnOffset = 42; |
2450 o.valueBucket = buildPivotGroupSortValueBucket(); | 2477 o.valueBucket = buildPivotGroupSortValueBucket(); |
2451 o.valueMetadata = buildUnnamed643(); | 2478 o.valueMetadata = buildUnnamed383(); |
2452 } | 2479 } |
2453 buildCounterPivotGroup--; | 2480 buildCounterPivotGroup--; |
2454 return o; | 2481 return o; |
2455 } | 2482 } |
2456 | 2483 |
2457 checkPivotGroup(api.PivotGroup o) { | 2484 checkPivotGroup(api.PivotGroup o) { |
2458 buildCounterPivotGroup++; | 2485 buildCounterPivotGroup++; |
2459 if (buildCounterPivotGroup < 3) { | 2486 if (buildCounterPivotGroup < 3) { |
2460 unittest.expect(o.showTotals, unittest.isTrue); | 2487 unittest.expect(o.showTotals, unittest.isTrue); |
2461 unittest.expect(o.sortOrder, unittest.equals('foo')); | 2488 unittest.expect(o.sortOrder, unittest.equals('foo')); |
2462 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); | 2489 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); |
2463 checkPivotGroupSortValueBucket(o.valueBucket); | 2490 checkPivotGroupSortValueBucket(o.valueBucket); |
2464 checkUnnamed643(o.valueMetadata); | 2491 checkUnnamed383(o.valueMetadata); |
2465 } | 2492 } |
2466 buildCounterPivotGroup--; | 2493 buildCounterPivotGroup--; |
2467 } | 2494 } |
2468 | 2495 |
2469 buildUnnamed644() { | 2496 buildUnnamed384() { |
2470 var o = new core.List<api.ExtendedValue>(); | 2497 var o = new core.List<api.ExtendedValue>(); |
2471 o.add(buildExtendedValue()); | 2498 o.add(buildExtendedValue()); |
2472 o.add(buildExtendedValue()); | 2499 o.add(buildExtendedValue()); |
2473 return o; | 2500 return o; |
2474 } | 2501 } |
2475 | 2502 |
2476 checkUnnamed644(core.List<api.ExtendedValue> o) { | 2503 checkUnnamed384(core.List<api.ExtendedValue> o) { |
2477 unittest.expect(o, unittest.hasLength(2)); | 2504 unittest.expect(o, unittest.hasLength(2)); |
2478 checkExtendedValue(o[0]); | 2505 checkExtendedValue(o[0]); |
2479 checkExtendedValue(o[1]); | 2506 checkExtendedValue(o[1]); |
2480 } | 2507 } |
2481 | 2508 |
2482 core.int buildCounterPivotGroupSortValueBucket = 0; | 2509 core.int buildCounterPivotGroupSortValueBucket = 0; |
2483 buildPivotGroupSortValueBucket() { | 2510 buildPivotGroupSortValueBucket() { |
2484 var o = new api.PivotGroupSortValueBucket(); | 2511 var o = new api.PivotGroupSortValueBucket(); |
2485 buildCounterPivotGroupSortValueBucket++; | 2512 buildCounterPivotGroupSortValueBucket++; |
2486 if (buildCounterPivotGroupSortValueBucket < 3) { | 2513 if (buildCounterPivotGroupSortValueBucket < 3) { |
2487 o.buckets = buildUnnamed644(); | 2514 o.buckets = buildUnnamed384(); |
2488 o.valuesIndex = 42; | 2515 o.valuesIndex = 42; |
2489 } | 2516 } |
2490 buildCounterPivotGroupSortValueBucket--; | 2517 buildCounterPivotGroupSortValueBucket--; |
2491 return o; | 2518 return o; |
2492 } | 2519 } |
2493 | 2520 |
2494 checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) { | 2521 checkPivotGroupSortValueBucket(api.PivotGroupSortValueBucket o) { |
2495 buildCounterPivotGroupSortValueBucket++; | 2522 buildCounterPivotGroupSortValueBucket++; |
2496 if (buildCounterPivotGroupSortValueBucket < 3) { | 2523 if (buildCounterPivotGroupSortValueBucket < 3) { |
2497 checkUnnamed644(o.buckets); | 2524 checkUnnamed384(o.buckets); |
2498 unittest.expect(o.valuesIndex, unittest.equals(42)); | 2525 unittest.expect(o.valuesIndex, unittest.equals(42)); |
2499 } | 2526 } |
2500 buildCounterPivotGroupSortValueBucket--; | 2527 buildCounterPivotGroupSortValueBucket--; |
2501 } | 2528 } |
2502 | 2529 |
2503 core.int buildCounterPivotGroupValueMetadata = 0; | 2530 core.int buildCounterPivotGroupValueMetadata = 0; |
2504 buildPivotGroupValueMetadata() { | 2531 buildPivotGroupValueMetadata() { |
2505 var o = new api.PivotGroupValueMetadata(); | 2532 var o = new api.PivotGroupValueMetadata(); |
2506 buildCounterPivotGroupValueMetadata++; | 2533 buildCounterPivotGroupValueMetadata++; |
2507 if (buildCounterPivotGroupValueMetadata < 3) { | 2534 if (buildCounterPivotGroupValueMetadata < 3) { |
2508 o.collapsed = true; | 2535 o.collapsed = true; |
2509 o.value = buildExtendedValue(); | 2536 o.value = buildExtendedValue(); |
2510 } | 2537 } |
2511 buildCounterPivotGroupValueMetadata--; | 2538 buildCounterPivotGroupValueMetadata--; |
2512 return o; | 2539 return o; |
2513 } | 2540 } |
2514 | 2541 |
2515 checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) { | 2542 checkPivotGroupValueMetadata(api.PivotGroupValueMetadata o) { |
2516 buildCounterPivotGroupValueMetadata++; | 2543 buildCounterPivotGroupValueMetadata++; |
2517 if (buildCounterPivotGroupValueMetadata < 3) { | 2544 if (buildCounterPivotGroupValueMetadata < 3) { |
2518 unittest.expect(o.collapsed, unittest.isTrue); | 2545 unittest.expect(o.collapsed, unittest.isTrue); |
2519 checkExtendedValue(o.value); | 2546 checkExtendedValue(o.value); |
2520 } | 2547 } |
2521 buildCounterPivotGroupValueMetadata--; | 2548 buildCounterPivotGroupValueMetadata--; |
2522 } | 2549 } |
2523 | 2550 |
2524 buildUnnamed645() { | 2551 buildUnnamed385() { |
2525 var o = new core.List<api.PivotGroup>(); | 2552 var o = new core.List<api.PivotGroup>(); |
2526 o.add(buildPivotGroup()); | 2553 o.add(buildPivotGroup()); |
2527 o.add(buildPivotGroup()); | 2554 o.add(buildPivotGroup()); |
2528 return o; | 2555 return o; |
2529 } | 2556 } |
2530 | 2557 |
2531 checkUnnamed645(core.List<api.PivotGroup> o) { | 2558 checkUnnamed385(core.List<api.PivotGroup> o) { |
2532 unittest.expect(o, unittest.hasLength(2)); | 2559 unittest.expect(o, unittest.hasLength(2)); |
2533 checkPivotGroup(o[0]); | 2560 checkPivotGroup(o[0]); |
2534 checkPivotGroup(o[1]); | 2561 checkPivotGroup(o[1]); |
2535 } | 2562 } |
2536 | 2563 |
2537 buildUnnamed646() { | 2564 buildUnnamed386() { |
2538 var o = new core.Map<core.String, api.PivotFilterCriteria>(); | 2565 var o = new core.Map<core.String, api.PivotFilterCriteria>(); |
2539 o["x"] = buildPivotFilterCriteria(); | 2566 o["x"] = buildPivotFilterCriteria(); |
2540 o["y"] = buildPivotFilterCriteria(); | 2567 o["y"] = buildPivotFilterCriteria(); |
2541 return o; | 2568 return o; |
2542 } | 2569 } |
2543 | 2570 |
2544 checkUnnamed646(core.Map<core.String, api.PivotFilterCriteria> o) { | 2571 checkUnnamed386(core.Map<core.String, api.PivotFilterCriteria> o) { |
2545 unittest.expect(o, unittest.hasLength(2)); | 2572 unittest.expect(o, unittest.hasLength(2)); |
2546 checkPivotFilterCriteria(o["x"]); | 2573 checkPivotFilterCriteria(o["x"]); |
2547 checkPivotFilterCriteria(o["y"]); | 2574 checkPivotFilterCriteria(o["y"]); |
2548 } | 2575 } |
2549 | 2576 |
2550 buildUnnamed647() { | 2577 buildUnnamed387() { |
2551 var o = new core.List<api.PivotGroup>(); | 2578 var o = new core.List<api.PivotGroup>(); |
2552 o.add(buildPivotGroup()); | 2579 o.add(buildPivotGroup()); |
2553 o.add(buildPivotGroup()); | 2580 o.add(buildPivotGroup()); |
2554 return o; | 2581 return o; |
2555 } | 2582 } |
2556 | 2583 |
2557 checkUnnamed647(core.List<api.PivotGroup> o) { | 2584 checkUnnamed387(core.List<api.PivotGroup> o) { |
2558 unittest.expect(o, unittest.hasLength(2)); | 2585 unittest.expect(o, unittest.hasLength(2)); |
2559 checkPivotGroup(o[0]); | 2586 checkPivotGroup(o[0]); |
2560 checkPivotGroup(o[1]); | 2587 checkPivotGroup(o[1]); |
2561 } | 2588 } |
2562 | 2589 |
2563 buildUnnamed648() { | 2590 buildUnnamed388() { |
2564 var o = new core.List<api.PivotValue>(); | 2591 var o = new core.List<api.PivotValue>(); |
2565 o.add(buildPivotValue()); | 2592 o.add(buildPivotValue()); |
2566 o.add(buildPivotValue()); | 2593 o.add(buildPivotValue()); |
2567 return o; | 2594 return o; |
2568 } | 2595 } |
2569 | 2596 |
2570 checkUnnamed648(core.List<api.PivotValue> o) { | 2597 checkUnnamed388(core.List<api.PivotValue> o) { |
2571 unittest.expect(o, unittest.hasLength(2)); | 2598 unittest.expect(o, unittest.hasLength(2)); |
2572 checkPivotValue(o[0]); | 2599 checkPivotValue(o[0]); |
2573 checkPivotValue(o[1]); | 2600 checkPivotValue(o[1]); |
2574 } | 2601 } |
2575 | 2602 |
2576 core.int buildCounterPivotTable = 0; | 2603 core.int buildCounterPivotTable = 0; |
2577 buildPivotTable() { | 2604 buildPivotTable() { |
2578 var o = new api.PivotTable(); | 2605 var o = new api.PivotTable(); |
2579 buildCounterPivotTable++; | 2606 buildCounterPivotTable++; |
2580 if (buildCounterPivotTable < 3) { | 2607 if (buildCounterPivotTable < 3) { |
2581 o.columns = buildUnnamed645(); | 2608 o.columns = buildUnnamed385(); |
2582 o.criteria = buildUnnamed646(); | 2609 o.criteria = buildUnnamed386(); |
2583 o.rows = buildUnnamed647(); | 2610 o.rows = buildUnnamed387(); |
2584 o.source = buildGridRange(); | 2611 o.source = buildGridRange(); |
2585 o.valueLayout = "foo"; | 2612 o.valueLayout = "foo"; |
2586 o.values = buildUnnamed648(); | 2613 o.values = buildUnnamed388(); |
2587 } | 2614 } |
2588 buildCounterPivotTable--; | 2615 buildCounterPivotTable--; |
2589 return o; | 2616 return o; |
2590 } | 2617 } |
2591 | 2618 |
2592 checkPivotTable(api.PivotTable o) { | 2619 checkPivotTable(api.PivotTable o) { |
2593 buildCounterPivotTable++; | 2620 buildCounterPivotTable++; |
2594 if (buildCounterPivotTable < 3) { | 2621 if (buildCounterPivotTable < 3) { |
2595 checkUnnamed645(o.columns); | 2622 checkUnnamed385(o.columns); |
2596 checkUnnamed646(o.criteria); | 2623 checkUnnamed386(o.criteria); |
2597 checkUnnamed647(o.rows); | 2624 checkUnnamed387(o.rows); |
2598 checkGridRange(o.source); | 2625 checkGridRange(o.source); |
2599 unittest.expect(o.valueLayout, unittest.equals('foo')); | 2626 unittest.expect(o.valueLayout, unittest.equals('foo')); |
2600 checkUnnamed648(o.values); | 2627 checkUnnamed388(o.values); |
2601 } | 2628 } |
2602 buildCounterPivotTable--; | 2629 buildCounterPivotTable--; |
2603 } | 2630 } |
2604 | 2631 |
2605 core.int buildCounterPivotValue = 0; | 2632 core.int buildCounterPivotValue = 0; |
2606 buildPivotValue() { | 2633 buildPivotValue() { |
2607 var o = new api.PivotValue(); | 2634 var o = new api.PivotValue(); |
2608 buildCounterPivotValue++; | 2635 buildCounterPivotValue++; |
2609 if (buildCounterPivotValue < 3) { | 2636 if (buildCounterPivotValue < 3) { |
2610 o.formula = "foo"; | 2637 o.formula = "foo"; |
2611 o.name = "foo"; | 2638 o.name = "foo"; |
2612 o.sourceColumnOffset = 42; | 2639 o.sourceColumnOffset = 42; |
2613 o.summarizeFunction = "foo"; | 2640 o.summarizeFunction = "foo"; |
2614 } | 2641 } |
2615 buildCounterPivotValue--; | 2642 buildCounterPivotValue--; |
2616 return o; | 2643 return o; |
2617 } | 2644 } |
2618 | 2645 |
2619 checkPivotValue(api.PivotValue o) { | 2646 checkPivotValue(api.PivotValue o) { |
2620 buildCounterPivotValue++; | 2647 buildCounterPivotValue++; |
2621 if (buildCounterPivotValue < 3) { | 2648 if (buildCounterPivotValue < 3) { |
2622 unittest.expect(o.formula, unittest.equals('foo')); | 2649 unittest.expect(o.formula, unittest.equals('foo')); |
2623 unittest.expect(o.name, unittest.equals('foo')); | 2650 unittest.expect(o.name, unittest.equals('foo')); |
2624 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); | 2651 unittest.expect(o.sourceColumnOffset, unittest.equals(42)); |
2625 unittest.expect(o.summarizeFunction, unittest.equals('foo')); | 2652 unittest.expect(o.summarizeFunction, unittest.equals('foo')); |
2626 } | 2653 } |
2627 buildCounterPivotValue--; | 2654 buildCounterPivotValue--; |
2628 } | 2655 } |
2629 | 2656 |
2630 buildUnnamed649() { | 2657 buildUnnamed389() { |
2631 var o = new core.List<api.GridRange>(); | 2658 var o = new core.List<api.GridRange>(); |
2632 o.add(buildGridRange()); | 2659 o.add(buildGridRange()); |
2633 o.add(buildGridRange()); | 2660 o.add(buildGridRange()); |
2634 return o; | 2661 return o; |
2635 } | 2662 } |
2636 | 2663 |
2637 checkUnnamed649(core.List<api.GridRange> o) { | 2664 checkUnnamed389(core.List<api.GridRange> o) { |
2638 unittest.expect(o, unittest.hasLength(2)); | 2665 unittest.expect(o, unittest.hasLength(2)); |
2639 checkGridRange(o[0]); | 2666 checkGridRange(o[0]); |
2640 checkGridRange(o[1]); | 2667 checkGridRange(o[1]); |
2641 } | 2668 } |
2642 | 2669 |
2643 core.int buildCounterProtectedRange = 0; | 2670 core.int buildCounterProtectedRange = 0; |
2644 buildProtectedRange() { | 2671 buildProtectedRange() { |
2645 var o = new api.ProtectedRange(); | 2672 var o = new api.ProtectedRange(); |
2646 buildCounterProtectedRange++; | 2673 buildCounterProtectedRange++; |
2647 if (buildCounterProtectedRange < 3) { | 2674 if (buildCounterProtectedRange < 3) { |
2648 o.description = "foo"; | 2675 o.description = "foo"; |
2649 o.editors = buildEditors(); | 2676 o.editors = buildEditors(); |
2650 o.namedRangeId = "foo"; | 2677 o.namedRangeId = "foo"; |
2651 o.protectedRangeId = 42; | 2678 o.protectedRangeId = 42; |
2652 o.range = buildGridRange(); | 2679 o.range = buildGridRange(); |
2653 o.requestingUserCanEdit = true; | 2680 o.requestingUserCanEdit = true; |
2654 o.unprotectedRanges = buildUnnamed649(); | 2681 o.unprotectedRanges = buildUnnamed389(); |
2655 o.warningOnly = true; | 2682 o.warningOnly = true; |
2656 } | 2683 } |
2657 buildCounterProtectedRange--; | 2684 buildCounterProtectedRange--; |
2658 return o; | 2685 return o; |
2659 } | 2686 } |
2660 | 2687 |
2661 checkProtectedRange(api.ProtectedRange o) { | 2688 checkProtectedRange(api.ProtectedRange o) { |
2662 buildCounterProtectedRange++; | 2689 buildCounterProtectedRange++; |
2663 if (buildCounterProtectedRange < 3) { | 2690 if (buildCounterProtectedRange < 3) { |
2664 unittest.expect(o.description, unittest.equals('foo')); | 2691 unittest.expect(o.description, unittest.equals('foo')); |
2665 checkEditors(o.editors); | 2692 checkEditors(o.editors); |
2666 unittest.expect(o.namedRangeId, unittest.equals('foo')); | 2693 unittest.expect(o.namedRangeId, unittest.equals('foo')); |
2667 unittest.expect(o.protectedRangeId, unittest.equals(42)); | 2694 unittest.expect(o.protectedRangeId, unittest.equals(42)); |
2668 checkGridRange(o.range); | 2695 checkGridRange(o.range); |
2669 unittest.expect(o.requestingUserCanEdit, unittest.isTrue); | 2696 unittest.expect(o.requestingUserCanEdit, unittest.isTrue); |
2670 checkUnnamed649(o.unprotectedRanges); | 2697 checkUnnamed389(o.unprotectedRanges); |
2671 unittest.expect(o.warningOnly, unittest.isTrue); | 2698 unittest.expect(o.warningOnly, unittest.isTrue); |
2672 } | 2699 } |
2673 buildCounterProtectedRange--; | 2700 buildCounterProtectedRange--; |
2674 } | 2701 } |
2675 | 2702 |
2676 core.int buildCounterRepeatCellRequest = 0; | 2703 core.int buildCounterRepeatCellRequest = 0; |
2677 buildRepeatCellRequest() { | 2704 buildRepeatCellRequest() { |
2678 var o = new api.RepeatCellRequest(); | 2705 var o = new api.RepeatCellRequest(); |
2679 buildCounterRepeatCellRequest++; | 2706 buildCounterRepeatCellRequest++; |
2680 if (buildCounterRepeatCellRequest < 3) { | 2707 if (buildCounterRepeatCellRequest < 3) { |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2841 checkDeleteConditionalFormatRuleResponse(o.deleteConditionalFormatRule); | 2868 checkDeleteConditionalFormatRuleResponse(o.deleteConditionalFormatRule); |
2842 checkDuplicateFilterViewResponse(o.duplicateFilterView); | 2869 checkDuplicateFilterViewResponse(o.duplicateFilterView); |
2843 checkDuplicateSheetResponse(o.duplicateSheet); | 2870 checkDuplicateSheetResponse(o.duplicateSheet); |
2844 checkFindReplaceResponse(o.findReplace); | 2871 checkFindReplaceResponse(o.findReplace); |
2845 checkUpdateConditionalFormatRuleResponse(o.updateConditionalFormatRule); | 2872 checkUpdateConditionalFormatRuleResponse(o.updateConditionalFormatRule); |
2846 checkUpdateEmbeddedObjectPositionResponse(o.updateEmbeddedObjectPosition); | 2873 checkUpdateEmbeddedObjectPositionResponse(o.updateEmbeddedObjectPosition); |
2847 } | 2874 } |
2848 buildCounterResponse--; | 2875 buildCounterResponse--; |
2849 } | 2876 } |
2850 | 2877 |
2851 buildUnnamed650() { | 2878 buildUnnamed390() { |
2852 var o = new core.List<api.CellData>(); | 2879 var o = new core.List<api.CellData>(); |
2853 o.add(buildCellData()); | 2880 o.add(buildCellData()); |
2854 o.add(buildCellData()); | 2881 o.add(buildCellData()); |
2855 return o; | 2882 return o; |
2856 } | 2883 } |
2857 | 2884 |
2858 checkUnnamed650(core.List<api.CellData> o) { | 2885 checkUnnamed390(core.List<api.CellData> o) { |
2859 unittest.expect(o, unittest.hasLength(2)); | 2886 unittest.expect(o, unittest.hasLength(2)); |
2860 checkCellData(o[0]); | 2887 checkCellData(o[0]); |
2861 checkCellData(o[1]); | 2888 checkCellData(o[1]); |
2862 } | 2889 } |
2863 | 2890 |
2864 core.int buildCounterRowData = 0; | 2891 core.int buildCounterRowData = 0; |
2865 buildRowData() { | 2892 buildRowData() { |
2866 var o = new api.RowData(); | 2893 var o = new api.RowData(); |
2867 buildCounterRowData++; | 2894 buildCounterRowData++; |
2868 if (buildCounterRowData < 3) { | 2895 if (buildCounterRowData < 3) { |
2869 o.values = buildUnnamed650(); | 2896 o.values = buildUnnamed390(); |
2870 } | 2897 } |
2871 buildCounterRowData--; | 2898 buildCounterRowData--; |
2872 return o; | 2899 return o; |
2873 } | 2900 } |
2874 | 2901 |
2875 checkRowData(api.RowData o) { | 2902 checkRowData(api.RowData o) { |
2876 buildCounterRowData++; | 2903 buildCounterRowData++; |
2877 if (buildCounterRowData < 3) { | 2904 if (buildCounterRowData < 3) { |
2878 checkUnnamed650(o.values); | 2905 checkUnnamed390(o.values); |
2879 } | 2906 } |
2880 buildCounterRowData--; | 2907 buildCounterRowData--; |
2881 } | 2908 } |
2882 | 2909 |
2883 core.int buildCounterSetBasicFilterRequest = 0; | 2910 core.int buildCounterSetBasicFilterRequest = 0; |
2884 buildSetBasicFilterRequest() { | 2911 buildSetBasicFilterRequest() { |
2885 var o = new api.SetBasicFilterRequest(); | 2912 var o = new api.SetBasicFilterRequest(); |
2886 buildCounterSetBasicFilterRequest++; | 2913 buildCounterSetBasicFilterRequest++; |
2887 if (buildCounterSetBasicFilterRequest < 3) { | 2914 if (buildCounterSetBasicFilterRequest < 3) { |
2888 o.filter = buildBasicFilter(); | 2915 o.filter = buildBasicFilter(); |
(...skipping 24 matching lines...) Expand all Loading... |
2913 | 2940 |
2914 checkSetDataValidationRequest(api.SetDataValidationRequest o) { | 2941 checkSetDataValidationRequest(api.SetDataValidationRequest o) { |
2915 buildCounterSetDataValidationRequest++; | 2942 buildCounterSetDataValidationRequest++; |
2916 if (buildCounterSetDataValidationRequest < 3) { | 2943 if (buildCounterSetDataValidationRequest < 3) { |
2917 checkGridRange(o.range); | 2944 checkGridRange(o.range); |
2918 checkDataValidationRule(o.rule); | 2945 checkDataValidationRule(o.rule); |
2919 } | 2946 } |
2920 buildCounterSetDataValidationRequest--; | 2947 buildCounterSetDataValidationRequest--; |
2921 } | 2948 } |
2922 | 2949 |
2923 buildUnnamed651() { | 2950 buildUnnamed391() { |
2924 var o = new core.List<api.BandedRange>(); | 2951 var o = new core.List<api.BandedRange>(); |
2925 o.add(buildBandedRange()); | 2952 o.add(buildBandedRange()); |
2926 o.add(buildBandedRange()); | 2953 o.add(buildBandedRange()); |
2927 return o; | 2954 return o; |
2928 } | 2955 } |
2929 | 2956 |
2930 checkUnnamed651(core.List<api.BandedRange> o) { | 2957 checkUnnamed391(core.List<api.BandedRange> o) { |
2931 unittest.expect(o, unittest.hasLength(2)); | 2958 unittest.expect(o, unittest.hasLength(2)); |
2932 checkBandedRange(o[0]); | 2959 checkBandedRange(o[0]); |
2933 checkBandedRange(o[1]); | 2960 checkBandedRange(o[1]); |
2934 } | 2961 } |
2935 | 2962 |
2936 buildUnnamed652() { | 2963 buildUnnamed392() { |
2937 var o = new core.List<api.EmbeddedChart>(); | 2964 var o = new core.List<api.EmbeddedChart>(); |
2938 o.add(buildEmbeddedChart()); | 2965 o.add(buildEmbeddedChart()); |
2939 o.add(buildEmbeddedChart()); | 2966 o.add(buildEmbeddedChart()); |
2940 return o; | 2967 return o; |
2941 } | 2968 } |
2942 | 2969 |
2943 checkUnnamed652(core.List<api.EmbeddedChart> o) { | 2970 checkUnnamed392(core.List<api.EmbeddedChart> o) { |
2944 unittest.expect(o, unittest.hasLength(2)); | 2971 unittest.expect(o, unittest.hasLength(2)); |
2945 checkEmbeddedChart(o[0]); | 2972 checkEmbeddedChart(o[0]); |
2946 checkEmbeddedChart(o[1]); | 2973 checkEmbeddedChart(o[1]); |
2947 } | 2974 } |
2948 | 2975 |
2949 buildUnnamed653() { | 2976 buildUnnamed393() { |
2950 var o = new core.List<api.ConditionalFormatRule>(); | 2977 var o = new core.List<api.ConditionalFormatRule>(); |
2951 o.add(buildConditionalFormatRule()); | 2978 o.add(buildConditionalFormatRule()); |
2952 o.add(buildConditionalFormatRule()); | 2979 o.add(buildConditionalFormatRule()); |
2953 return o; | 2980 return o; |
2954 } | 2981 } |
2955 | 2982 |
2956 checkUnnamed653(core.List<api.ConditionalFormatRule> o) { | 2983 checkUnnamed393(core.List<api.ConditionalFormatRule> o) { |
2957 unittest.expect(o, unittest.hasLength(2)); | 2984 unittest.expect(o, unittest.hasLength(2)); |
2958 checkConditionalFormatRule(o[0]); | 2985 checkConditionalFormatRule(o[0]); |
2959 checkConditionalFormatRule(o[1]); | 2986 checkConditionalFormatRule(o[1]); |
2960 } | 2987 } |
2961 | 2988 |
2962 buildUnnamed654() { | 2989 buildUnnamed394() { |
2963 var o = new core.List<api.GridData>(); | 2990 var o = new core.List<api.GridData>(); |
2964 o.add(buildGridData()); | 2991 o.add(buildGridData()); |
2965 o.add(buildGridData()); | 2992 o.add(buildGridData()); |
2966 return o; | 2993 return o; |
2967 } | 2994 } |
2968 | 2995 |
2969 checkUnnamed654(core.List<api.GridData> o) { | 2996 checkUnnamed394(core.List<api.GridData> o) { |
2970 unittest.expect(o, unittest.hasLength(2)); | 2997 unittest.expect(o, unittest.hasLength(2)); |
2971 checkGridData(o[0]); | 2998 checkGridData(o[0]); |
2972 checkGridData(o[1]); | 2999 checkGridData(o[1]); |
2973 } | 3000 } |
2974 | 3001 |
2975 buildUnnamed655() { | 3002 buildUnnamed395() { |
2976 var o = new core.List<api.FilterView>(); | 3003 var o = new core.List<api.FilterView>(); |
2977 o.add(buildFilterView()); | 3004 o.add(buildFilterView()); |
2978 o.add(buildFilterView()); | 3005 o.add(buildFilterView()); |
2979 return o; | 3006 return o; |
2980 } | 3007 } |
2981 | 3008 |
2982 checkUnnamed655(core.List<api.FilterView> o) { | 3009 checkUnnamed395(core.List<api.FilterView> o) { |
2983 unittest.expect(o, unittest.hasLength(2)); | 3010 unittest.expect(o, unittest.hasLength(2)); |
2984 checkFilterView(o[0]); | 3011 checkFilterView(o[0]); |
2985 checkFilterView(o[1]); | 3012 checkFilterView(o[1]); |
2986 } | 3013 } |
2987 | 3014 |
2988 buildUnnamed656() { | 3015 buildUnnamed396() { |
2989 var o = new core.List<api.GridRange>(); | 3016 var o = new core.List<api.GridRange>(); |
2990 o.add(buildGridRange()); | 3017 o.add(buildGridRange()); |
2991 o.add(buildGridRange()); | 3018 o.add(buildGridRange()); |
2992 return o; | 3019 return o; |
2993 } | 3020 } |
2994 | 3021 |
2995 checkUnnamed656(core.List<api.GridRange> o) { | 3022 checkUnnamed396(core.List<api.GridRange> o) { |
2996 unittest.expect(o, unittest.hasLength(2)); | 3023 unittest.expect(o, unittest.hasLength(2)); |
2997 checkGridRange(o[0]); | 3024 checkGridRange(o[0]); |
2998 checkGridRange(o[1]); | 3025 checkGridRange(o[1]); |
2999 } | 3026 } |
3000 | 3027 |
3001 buildUnnamed657() { | 3028 buildUnnamed397() { |
3002 var o = new core.List<api.ProtectedRange>(); | 3029 var o = new core.List<api.ProtectedRange>(); |
3003 o.add(buildProtectedRange()); | 3030 o.add(buildProtectedRange()); |
3004 o.add(buildProtectedRange()); | 3031 o.add(buildProtectedRange()); |
3005 return o; | 3032 return o; |
3006 } | 3033 } |
3007 | 3034 |
3008 checkUnnamed657(core.List<api.ProtectedRange> o) { | 3035 checkUnnamed397(core.List<api.ProtectedRange> o) { |
3009 unittest.expect(o, unittest.hasLength(2)); | 3036 unittest.expect(o, unittest.hasLength(2)); |
3010 checkProtectedRange(o[0]); | 3037 checkProtectedRange(o[0]); |
3011 checkProtectedRange(o[1]); | 3038 checkProtectedRange(o[1]); |
3012 } | 3039 } |
3013 | 3040 |
3014 core.int buildCounterSheet = 0; | 3041 core.int buildCounterSheet = 0; |
3015 buildSheet() { | 3042 buildSheet() { |
3016 var o = new api.Sheet(); | 3043 var o = new api.Sheet(); |
3017 buildCounterSheet++; | 3044 buildCounterSheet++; |
3018 if (buildCounterSheet < 3) { | 3045 if (buildCounterSheet < 3) { |
3019 o.bandedRanges = buildUnnamed651(); | 3046 o.bandedRanges = buildUnnamed391(); |
3020 o.basicFilter = buildBasicFilter(); | 3047 o.basicFilter = buildBasicFilter(); |
3021 o.charts = buildUnnamed652(); | 3048 o.charts = buildUnnamed392(); |
3022 o.conditionalFormats = buildUnnamed653(); | 3049 o.conditionalFormats = buildUnnamed393(); |
3023 o.data = buildUnnamed654(); | 3050 o.data = buildUnnamed394(); |
3024 o.filterViews = buildUnnamed655(); | 3051 o.filterViews = buildUnnamed395(); |
3025 o.merges = buildUnnamed656(); | 3052 o.merges = buildUnnamed396(); |
3026 o.properties = buildSheetProperties(); | 3053 o.properties = buildSheetProperties(); |
3027 o.protectedRanges = buildUnnamed657(); | 3054 o.protectedRanges = buildUnnamed397(); |
3028 } | 3055 } |
3029 buildCounterSheet--; | 3056 buildCounterSheet--; |
3030 return o; | 3057 return o; |
3031 } | 3058 } |
3032 | 3059 |
3033 checkSheet(api.Sheet o) { | 3060 checkSheet(api.Sheet o) { |
3034 buildCounterSheet++; | 3061 buildCounterSheet++; |
3035 if (buildCounterSheet < 3) { | 3062 if (buildCounterSheet < 3) { |
3036 checkUnnamed651(o.bandedRanges); | 3063 checkUnnamed391(o.bandedRanges); |
3037 checkBasicFilter(o.basicFilter); | 3064 checkBasicFilter(o.basicFilter); |
3038 checkUnnamed652(o.charts); | 3065 checkUnnamed392(o.charts); |
3039 checkUnnamed653(o.conditionalFormats); | 3066 checkUnnamed393(o.conditionalFormats); |
3040 checkUnnamed654(o.data); | 3067 checkUnnamed394(o.data); |
3041 checkUnnamed655(o.filterViews); | 3068 checkUnnamed395(o.filterViews); |
3042 checkUnnamed656(o.merges); | 3069 checkUnnamed396(o.merges); |
3043 checkSheetProperties(o.properties); | 3070 checkSheetProperties(o.properties); |
3044 checkUnnamed657(o.protectedRanges); | 3071 checkUnnamed397(o.protectedRanges); |
3045 } | 3072 } |
3046 buildCounterSheet--; | 3073 buildCounterSheet--; |
3047 } | 3074 } |
3048 | 3075 |
3049 core.int buildCounterSheetProperties = 0; | 3076 core.int buildCounterSheetProperties = 0; |
3050 buildSheetProperties() { | 3077 buildSheetProperties() { |
3051 var o = new api.SheetProperties(); | 3078 var o = new api.SheetProperties(); |
3052 buildCounterSheetProperties++; | 3079 buildCounterSheetProperties++; |
3053 if (buildCounterSheetProperties < 3) { | 3080 if (buildCounterSheetProperties < 3) { |
3054 o.gridProperties = buildGridProperties(); | 3081 o.gridProperties = buildGridProperties(); |
(...skipping 17 matching lines...) Expand all Loading... |
3072 unittest.expect(o.index, unittest.equals(42)); | 3099 unittest.expect(o.index, unittest.equals(42)); |
3073 unittest.expect(o.rightToLeft, unittest.isTrue); | 3100 unittest.expect(o.rightToLeft, unittest.isTrue); |
3074 unittest.expect(o.sheetId, unittest.equals(42)); | 3101 unittest.expect(o.sheetId, unittest.equals(42)); |
3075 unittest.expect(o.sheetType, unittest.equals('foo')); | 3102 unittest.expect(o.sheetType, unittest.equals('foo')); |
3076 checkColor(o.tabColor); | 3103 checkColor(o.tabColor); |
3077 unittest.expect(o.title, unittest.equals('foo')); | 3104 unittest.expect(o.title, unittest.equals('foo')); |
3078 } | 3105 } |
3079 buildCounterSheetProperties--; | 3106 buildCounterSheetProperties--; |
3080 } | 3107 } |
3081 | 3108 |
3082 buildUnnamed658() { | 3109 buildUnnamed398() { |
3083 var o = new core.List<api.SortSpec>(); | 3110 var o = new core.List<api.SortSpec>(); |
3084 o.add(buildSortSpec()); | 3111 o.add(buildSortSpec()); |
3085 o.add(buildSortSpec()); | 3112 o.add(buildSortSpec()); |
3086 return o; | 3113 return o; |
3087 } | 3114 } |
3088 | 3115 |
3089 checkUnnamed658(core.List<api.SortSpec> o) { | 3116 checkUnnamed398(core.List<api.SortSpec> o) { |
3090 unittest.expect(o, unittest.hasLength(2)); | 3117 unittest.expect(o, unittest.hasLength(2)); |
3091 checkSortSpec(o[0]); | 3118 checkSortSpec(o[0]); |
3092 checkSortSpec(o[1]); | 3119 checkSortSpec(o[1]); |
3093 } | 3120 } |
3094 | 3121 |
3095 core.int buildCounterSortRangeRequest = 0; | 3122 core.int buildCounterSortRangeRequest = 0; |
3096 buildSortRangeRequest() { | 3123 buildSortRangeRequest() { |
3097 var o = new api.SortRangeRequest(); | 3124 var o = new api.SortRangeRequest(); |
3098 buildCounterSortRangeRequest++; | 3125 buildCounterSortRangeRequest++; |
3099 if (buildCounterSortRangeRequest < 3) { | 3126 if (buildCounterSortRangeRequest < 3) { |
3100 o.range = buildGridRange(); | 3127 o.range = buildGridRange(); |
3101 o.sortSpecs = buildUnnamed658(); | 3128 o.sortSpecs = buildUnnamed398(); |
3102 } | 3129 } |
3103 buildCounterSortRangeRequest--; | 3130 buildCounterSortRangeRequest--; |
3104 return o; | 3131 return o; |
3105 } | 3132 } |
3106 | 3133 |
3107 checkSortRangeRequest(api.SortRangeRequest o) { | 3134 checkSortRangeRequest(api.SortRangeRequest o) { |
3108 buildCounterSortRangeRequest++; | 3135 buildCounterSortRangeRequest++; |
3109 if (buildCounterSortRangeRequest < 3) { | 3136 if (buildCounterSortRangeRequest < 3) { |
3110 checkGridRange(o.range); | 3137 checkGridRange(o.range); |
3111 checkUnnamed658(o.sortSpecs); | 3138 checkUnnamed398(o.sortSpecs); |
3112 } | 3139 } |
3113 buildCounterSortRangeRequest--; | 3140 buildCounterSortRangeRequest--; |
3114 } | 3141 } |
3115 | 3142 |
3116 core.int buildCounterSortSpec = 0; | 3143 core.int buildCounterSortSpec = 0; |
3117 buildSortSpec() { | 3144 buildSortSpec() { |
3118 var o = new api.SortSpec(); | 3145 var o = new api.SortSpec(); |
3119 buildCounterSortSpec++; | 3146 buildCounterSortSpec++; |
3120 if (buildCounterSortSpec < 3) { | 3147 if (buildCounterSortSpec < 3) { |
3121 o.dimensionIndex = 42; | 3148 o.dimensionIndex = 42; |
(...skipping 28 matching lines...) Expand all Loading... |
3150 checkSourceAndDestination(api.SourceAndDestination o) { | 3177 checkSourceAndDestination(api.SourceAndDestination o) { |
3151 buildCounterSourceAndDestination++; | 3178 buildCounterSourceAndDestination++; |
3152 if (buildCounterSourceAndDestination < 3) { | 3179 if (buildCounterSourceAndDestination < 3) { |
3153 unittest.expect(o.dimension, unittest.equals('foo')); | 3180 unittest.expect(o.dimension, unittest.equals('foo')); |
3154 unittest.expect(o.fillLength, unittest.equals(42)); | 3181 unittest.expect(o.fillLength, unittest.equals(42)); |
3155 checkGridRange(o.source); | 3182 checkGridRange(o.source); |
3156 } | 3183 } |
3157 buildCounterSourceAndDestination--; | 3184 buildCounterSourceAndDestination--; |
3158 } | 3185 } |
3159 | 3186 |
3160 buildUnnamed659() { | 3187 buildUnnamed399() { |
3161 var o = new core.List<api.NamedRange>(); | 3188 var o = new core.List<api.NamedRange>(); |
3162 o.add(buildNamedRange()); | 3189 o.add(buildNamedRange()); |
3163 o.add(buildNamedRange()); | 3190 o.add(buildNamedRange()); |
3164 return o; | 3191 return o; |
3165 } | 3192 } |
3166 | 3193 |
3167 checkUnnamed659(core.List<api.NamedRange> o) { | 3194 checkUnnamed399(core.List<api.NamedRange> o) { |
3168 unittest.expect(o, unittest.hasLength(2)); | 3195 unittest.expect(o, unittest.hasLength(2)); |
3169 checkNamedRange(o[0]); | 3196 checkNamedRange(o[0]); |
3170 checkNamedRange(o[1]); | 3197 checkNamedRange(o[1]); |
3171 } | 3198 } |
3172 | 3199 |
3173 buildUnnamed660() { | 3200 buildUnnamed400() { |
3174 var o = new core.List<api.Sheet>(); | 3201 var o = new core.List<api.Sheet>(); |
3175 o.add(buildSheet()); | 3202 o.add(buildSheet()); |
3176 o.add(buildSheet()); | 3203 o.add(buildSheet()); |
3177 return o; | 3204 return o; |
3178 } | 3205 } |
3179 | 3206 |
3180 checkUnnamed660(core.List<api.Sheet> o) { | 3207 checkUnnamed400(core.List<api.Sheet> o) { |
3181 unittest.expect(o, unittest.hasLength(2)); | 3208 unittest.expect(o, unittest.hasLength(2)); |
3182 checkSheet(o[0]); | 3209 checkSheet(o[0]); |
3183 checkSheet(o[1]); | 3210 checkSheet(o[1]); |
3184 } | 3211 } |
3185 | 3212 |
3186 core.int buildCounterSpreadsheet = 0; | 3213 core.int buildCounterSpreadsheet = 0; |
3187 buildSpreadsheet() { | 3214 buildSpreadsheet() { |
3188 var o = new api.Spreadsheet(); | 3215 var o = new api.Spreadsheet(); |
3189 buildCounterSpreadsheet++; | 3216 buildCounterSpreadsheet++; |
3190 if (buildCounterSpreadsheet < 3) { | 3217 if (buildCounterSpreadsheet < 3) { |
3191 o.namedRanges = buildUnnamed659(); | 3218 o.namedRanges = buildUnnamed399(); |
3192 o.properties = buildSpreadsheetProperties(); | 3219 o.properties = buildSpreadsheetProperties(); |
3193 o.sheets = buildUnnamed660(); | 3220 o.sheets = buildUnnamed400(); |
3194 o.spreadsheetId = "foo"; | 3221 o.spreadsheetId = "foo"; |
| 3222 o.spreadsheetUrl = "foo"; |
3195 } | 3223 } |
3196 buildCounterSpreadsheet--; | 3224 buildCounterSpreadsheet--; |
3197 return o; | 3225 return o; |
3198 } | 3226 } |
3199 | 3227 |
3200 checkSpreadsheet(api.Spreadsheet o) { | 3228 checkSpreadsheet(api.Spreadsheet o) { |
3201 buildCounterSpreadsheet++; | 3229 buildCounterSpreadsheet++; |
3202 if (buildCounterSpreadsheet < 3) { | 3230 if (buildCounterSpreadsheet < 3) { |
3203 checkUnnamed659(o.namedRanges); | 3231 checkUnnamed399(o.namedRanges); |
3204 checkSpreadsheetProperties(o.properties); | 3232 checkSpreadsheetProperties(o.properties); |
3205 checkUnnamed660(o.sheets); | 3233 checkUnnamed400(o.sheets); |
3206 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 3234 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
| 3235 unittest.expect(o.spreadsheetUrl, unittest.equals('foo')); |
3207 } | 3236 } |
3208 buildCounterSpreadsheet--; | 3237 buildCounterSpreadsheet--; |
3209 } | 3238 } |
3210 | 3239 |
3211 core.int buildCounterSpreadsheetProperties = 0; | 3240 core.int buildCounterSpreadsheetProperties = 0; |
3212 buildSpreadsheetProperties() { | 3241 buildSpreadsheetProperties() { |
3213 var o = new api.SpreadsheetProperties(); | 3242 var o = new api.SpreadsheetProperties(); |
3214 buildCounterSpreadsheetProperties++; | 3243 buildCounterSpreadsheetProperties++; |
3215 if (buildCounterSpreadsheetProperties < 3) { | 3244 if (buildCounterSpreadsheetProperties < 3) { |
3216 o.autoRecalc = "foo"; | 3245 o.autoRecalc = "foo"; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3374 checkBorder(o.innerHorizontal); | 3403 checkBorder(o.innerHorizontal); |
3375 checkBorder(o.innerVertical); | 3404 checkBorder(o.innerVertical); |
3376 checkBorder(o.left); | 3405 checkBorder(o.left); |
3377 checkGridRange(o.range); | 3406 checkGridRange(o.range); |
3378 checkBorder(o.right); | 3407 checkBorder(o.right); |
3379 checkBorder(o.top); | 3408 checkBorder(o.top); |
3380 } | 3409 } |
3381 buildCounterUpdateBordersRequest--; | 3410 buildCounterUpdateBordersRequest--; |
3382 } | 3411 } |
3383 | 3412 |
3384 buildUnnamed661() { | 3413 buildUnnamed401() { |
3385 var o = new core.List<api.RowData>(); | 3414 var o = new core.List<api.RowData>(); |
3386 o.add(buildRowData()); | 3415 o.add(buildRowData()); |
3387 o.add(buildRowData()); | 3416 o.add(buildRowData()); |
3388 return o; | 3417 return o; |
3389 } | 3418 } |
3390 | 3419 |
3391 checkUnnamed661(core.List<api.RowData> o) { | 3420 checkUnnamed401(core.List<api.RowData> o) { |
3392 unittest.expect(o, unittest.hasLength(2)); | 3421 unittest.expect(o, unittest.hasLength(2)); |
3393 checkRowData(o[0]); | 3422 checkRowData(o[0]); |
3394 checkRowData(o[1]); | 3423 checkRowData(o[1]); |
3395 } | 3424 } |
3396 | 3425 |
3397 core.int buildCounterUpdateCellsRequest = 0; | 3426 core.int buildCounterUpdateCellsRequest = 0; |
3398 buildUpdateCellsRequest() { | 3427 buildUpdateCellsRequest() { |
3399 var o = new api.UpdateCellsRequest(); | 3428 var o = new api.UpdateCellsRequest(); |
3400 buildCounterUpdateCellsRequest++; | 3429 buildCounterUpdateCellsRequest++; |
3401 if (buildCounterUpdateCellsRequest < 3) { | 3430 if (buildCounterUpdateCellsRequest < 3) { |
3402 o.fields = "foo"; | 3431 o.fields = "foo"; |
3403 o.range = buildGridRange(); | 3432 o.range = buildGridRange(); |
3404 o.rows = buildUnnamed661(); | 3433 o.rows = buildUnnamed401(); |
3405 o.start = buildGridCoordinate(); | 3434 o.start = buildGridCoordinate(); |
3406 } | 3435 } |
3407 buildCounterUpdateCellsRequest--; | 3436 buildCounterUpdateCellsRequest--; |
3408 return o; | 3437 return o; |
3409 } | 3438 } |
3410 | 3439 |
3411 checkUpdateCellsRequest(api.UpdateCellsRequest o) { | 3440 checkUpdateCellsRequest(api.UpdateCellsRequest o) { |
3412 buildCounterUpdateCellsRequest++; | 3441 buildCounterUpdateCellsRequest++; |
3413 if (buildCounterUpdateCellsRequest < 3) { | 3442 if (buildCounterUpdateCellsRequest < 3) { |
3414 unittest.expect(o.fields, unittest.equals('foo')); | 3443 unittest.expect(o.fields, unittest.equals('foo')); |
3415 checkGridRange(o.range); | 3444 checkGridRange(o.range); |
3416 checkUnnamed661(o.rows); | 3445 checkUnnamed401(o.rows); |
3417 checkGridCoordinate(o.start); | 3446 checkGridCoordinate(o.start); |
3418 } | 3447 } |
3419 buildCounterUpdateCellsRequest--; | 3448 buildCounterUpdateCellsRequest--; |
3420 } | 3449 } |
3421 | 3450 |
3422 core.int buildCounterUpdateChartSpecRequest = 0; | 3451 core.int buildCounterUpdateChartSpecRequest = 0; |
3423 buildUpdateChartSpecRequest() { | 3452 buildUpdateChartSpecRequest() { |
3424 var o = new api.UpdateChartSpecRequest(); | 3453 var o = new api.UpdateChartSpecRequest(); |
3425 buildCounterUpdateChartSpecRequest++; | 3454 buildCounterUpdateChartSpecRequest++; |
3426 if (buildCounterUpdateChartSpecRequest < 3) { | 3455 if (buildCounterUpdateChartSpecRequest < 3) { |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3661 } | 3690 } |
3662 | 3691 |
3663 core.int buildCounterUpdateValuesResponse = 0; | 3692 core.int buildCounterUpdateValuesResponse = 0; |
3664 buildUpdateValuesResponse() { | 3693 buildUpdateValuesResponse() { |
3665 var o = new api.UpdateValuesResponse(); | 3694 var o = new api.UpdateValuesResponse(); |
3666 buildCounterUpdateValuesResponse++; | 3695 buildCounterUpdateValuesResponse++; |
3667 if (buildCounterUpdateValuesResponse < 3) { | 3696 if (buildCounterUpdateValuesResponse < 3) { |
3668 o.spreadsheetId = "foo"; | 3697 o.spreadsheetId = "foo"; |
3669 o.updatedCells = 42; | 3698 o.updatedCells = 42; |
3670 o.updatedColumns = 42; | 3699 o.updatedColumns = 42; |
| 3700 o.updatedData = buildValueRange(); |
3671 o.updatedRange = "foo"; | 3701 o.updatedRange = "foo"; |
3672 o.updatedRows = 42; | 3702 o.updatedRows = 42; |
3673 } | 3703 } |
3674 buildCounterUpdateValuesResponse--; | 3704 buildCounterUpdateValuesResponse--; |
3675 return o; | 3705 return o; |
3676 } | 3706 } |
3677 | 3707 |
3678 checkUpdateValuesResponse(api.UpdateValuesResponse o) { | 3708 checkUpdateValuesResponse(api.UpdateValuesResponse o) { |
3679 buildCounterUpdateValuesResponse++; | 3709 buildCounterUpdateValuesResponse++; |
3680 if (buildCounterUpdateValuesResponse < 3) { | 3710 if (buildCounterUpdateValuesResponse < 3) { |
3681 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 3711 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
3682 unittest.expect(o.updatedCells, unittest.equals(42)); | 3712 unittest.expect(o.updatedCells, unittest.equals(42)); |
3683 unittest.expect(o.updatedColumns, unittest.equals(42)); | 3713 unittest.expect(o.updatedColumns, unittest.equals(42)); |
| 3714 checkValueRange(o.updatedData); |
3684 unittest.expect(o.updatedRange, unittest.equals('foo')); | 3715 unittest.expect(o.updatedRange, unittest.equals('foo')); |
3685 unittest.expect(o.updatedRows, unittest.equals(42)); | 3716 unittest.expect(o.updatedRows, unittest.equals(42)); |
3686 } | 3717 } |
3687 buildCounterUpdateValuesResponse--; | 3718 buildCounterUpdateValuesResponse--; |
3688 } | 3719 } |
3689 | 3720 |
3690 buildUnnamed662() { | 3721 buildUnnamed402() { |
3691 var o = new core.List<core.Object>(); | 3722 var o = new core.List<core.Object>(); |
3692 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3723 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
3693 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); | 3724 o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
3694 return o; | 3725 return o; |
3695 } | 3726 } |
3696 | 3727 |
3697 checkUnnamed662(core.List<core.Object> o) { | 3728 checkUnnamed402(core.List<core.Object> o) { |
3698 unittest.expect(o, unittest.hasLength(2)); | 3729 unittest.expect(o, unittest.hasLength(2)); |
3699 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')); | 3730 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')); |
3700 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')); | 3731 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')); |
3701 } | 3732 } |
3702 | 3733 |
3703 buildUnnamed663() { | 3734 buildUnnamed403() { |
3704 var o = new core.List<core.List<core.Object>>(); | 3735 var o = new core.List<core.List<core.Object>>(); |
3705 o.add(buildUnnamed662()); | 3736 o.add(buildUnnamed402()); |
3706 o.add(buildUnnamed662()); | 3737 o.add(buildUnnamed402()); |
3707 return o; | 3738 return o; |
3708 } | 3739 } |
3709 | 3740 |
3710 checkUnnamed663(core.List<core.List<core.Object>> o) { | 3741 checkUnnamed403(core.List<core.List<core.Object>> o) { |
3711 unittest.expect(o, unittest.hasLength(2)); | 3742 unittest.expect(o, unittest.hasLength(2)); |
3712 checkUnnamed662(o[0]); | 3743 checkUnnamed402(o[0]); |
3713 checkUnnamed662(o[1]); | 3744 checkUnnamed402(o[1]); |
3714 } | 3745 } |
3715 | 3746 |
3716 core.int buildCounterValueRange = 0; | 3747 core.int buildCounterValueRange = 0; |
3717 buildValueRange() { | 3748 buildValueRange() { |
3718 var o = new api.ValueRange(); | 3749 var o = new api.ValueRange(); |
3719 buildCounterValueRange++; | 3750 buildCounterValueRange++; |
3720 if (buildCounterValueRange < 3) { | 3751 if (buildCounterValueRange < 3) { |
3721 o.majorDimension = "foo"; | 3752 o.majorDimension = "foo"; |
3722 o.range = "foo"; | 3753 o.range = "foo"; |
3723 o.values = buildUnnamed663(); | 3754 o.values = buildUnnamed403(); |
3724 } | 3755 } |
3725 buildCounterValueRange--; | 3756 buildCounterValueRange--; |
3726 return o; | 3757 return o; |
3727 } | 3758 } |
3728 | 3759 |
3729 checkValueRange(api.ValueRange o) { | 3760 checkValueRange(api.ValueRange o) { |
3730 buildCounterValueRange++; | 3761 buildCounterValueRange++; |
3731 if (buildCounterValueRange < 3) { | 3762 if (buildCounterValueRange < 3) { |
3732 unittest.expect(o.majorDimension, unittest.equals('foo')); | 3763 unittest.expect(o.majorDimension, unittest.equals('foo')); |
3733 unittest.expect(o.range, unittest.equals('foo')); | 3764 unittest.expect(o.range, unittest.equals('foo')); |
3734 checkUnnamed663(o.values); | 3765 checkUnnamed403(o.values); |
3735 } | 3766 } |
3736 buildCounterValueRange--; | 3767 buildCounterValueRange--; |
3737 } | 3768 } |
3738 | 3769 |
3739 buildUnnamed664() { | 3770 buildUnnamed404() { |
3740 var o = new core.List<core.String>(); | 3771 var o = new core.List<core.String>(); |
3741 o.add("foo"); | 3772 o.add("foo"); |
3742 o.add("foo"); | 3773 o.add("foo"); |
3743 return o; | 3774 return o; |
3744 } | 3775 } |
3745 | 3776 |
3746 checkUnnamed664(core.List<core.String> o) { | 3777 checkUnnamed404(core.List<core.String> o) { |
3747 unittest.expect(o, unittest.hasLength(2)); | 3778 unittest.expect(o, unittest.hasLength(2)); |
3748 unittest.expect(o[0], unittest.equals('foo')); | 3779 unittest.expect(o[0], unittest.equals('foo')); |
3749 unittest.expect(o[1], unittest.equals('foo')); | 3780 unittest.expect(o[1], unittest.equals('foo')); |
3750 } | 3781 } |
3751 | 3782 |
3752 buildUnnamed665() { | 3783 buildUnnamed405() { |
3753 var o = new core.List<core.String>(); | 3784 var o = new core.List<core.String>(); |
3754 o.add("foo"); | 3785 o.add("foo"); |
3755 o.add("foo"); | 3786 o.add("foo"); |
3756 return o; | 3787 return o; |
3757 } | 3788 } |
3758 | 3789 |
3759 checkUnnamed665(core.List<core.String> o) { | 3790 checkUnnamed405(core.List<core.String> o) { |
3760 unittest.expect(o, unittest.hasLength(2)); | 3791 unittest.expect(o, unittest.hasLength(2)); |
3761 unittest.expect(o[0], unittest.equals('foo')); | 3792 unittest.expect(o[0], unittest.equals('foo')); |
3762 unittest.expect(o[1], unittest.equals('foo')); | 3793 unittest.expect(o[1], unittest.equals('foo')); |
3763 } | 3794 } |
3764 | 3795 |
3765 | 3796 |
3766 main() { | 3797 main() { |
3767 unittest.group("obj-schema-AddBandingRequest", () { | 3798 unittest.group("obj-schema-AddBandingRequest", () { |
3768 unittest.test("to-json--from-json", () { | 3799 unittest.test("to-json--from-json", () { |
3769 var o = buildAddBandingRequest(); | 3800 var o = buildAddBandingRequest(); |
(...skipping 1265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5035 res.create(arg_request).then(unittest.expectAsync(((api.Spreadsheet respon
se) { | 5066 res.create(arg_request).then(unittest.expectAsync(((api.Spreadsheet respon
se) { |
5036 checkSpreadsheet(response); | 5067 checkSpreadsheet(response); |
5037 }))); | 5068 }))); |
5038 }); | 5069 }); |
5039 | 5070 |
5040 unittest.test("method--get", () { | 5071 unittest.test("method--get", () { |
5041 | 5072 |
5042 var mock = new HttpServerMock(); | 5073 var mock = new HttpServerMock(); |
5043 api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets; | 5074 api.SpreadsheetsResourceApi res = new api.SheetsApi(mock).spreadsheets; |
5044 var arg_spreadsheetId = "foo"; | 5075 var arg_spreadsheetId = "foo"; |
5045 var arg_ranges = buildUnnamed664(); | 5076 var arg_ranges = buildUnnamed404(); |
5046 var arg_includeGridData = true; | 5077 var arg_includeGridData = true; |
5047 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5078 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5048 var path = (req.url).path; | 5079 var path = (req.url).path; |
5049 var pathOffset = 0; | 5080 var pathOffset = 0; |
5050 var index; | 5081 var index; |
5051 var subPart; | 5082 var subPart; |
5052 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5083 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5053 pathOffset += 1; | 5084 pathOffset += 1; |
5054 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); | 5085 unittest.expect(path.substring(pathOffset, pathOffset + 16), unittest.eq
uals("v4/spreadsheets/")); |
5055 pathOffset += 16; | 5086 pathOffset += 16; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5159 | 5190 |
5160 | 5191 |
5161 unittest.group("resource-SpreadsheetsValuesResourceApi", () { | 5192 unittest.group("resource-SpreadsheetsValuesResourceApi", () { |
5162 unittest.test("method--append", () { | 5193 unittest.test("method--append", () { |
5163 | 5194 |
5164 var mock = new HttpServerMock(); | 5195 var mock = new HttpServerMock(); |
5165 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; | 5196 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
5166 var arg_request = buildValueRange(); | 5197 var arg_request = buildValueRange(); |
5167 var arg_spreadsheetId = "foo"; | 5198 var arg_spreadsheetId = "foo"; |
5168 var arg_range = "foo"; | 5199 var arg_range = "foo"; |
| 5200 var arg_responseValueRenderOption = "foo"; |
5169 var arg_valueInputOption = "foo"; | 5201 var arg_valueInputOption = "foo"; |
| 5202 var arg_responseDateTimeRenderOption = "foo"; |
| 5203 var arg_includeValuesInResponse = true; |
5170 var arg_insertDataOption = "foo"; | 5204 var arg_insertDataOption = "foo"; |
5171 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5205 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5172 var obj = new api.ValueRange.fromJson(json); | 5206 var obj = new api.ValueRange.fromJson(json); |
5173 checkValueRange(obj); | 5207 checkValueRange(obj); |
5174 | 5208 |
5175 var path = (req.url).path; | 5209 var path = (req.url).path; |
5176 var pathOffset = 0; | 5210 var pathOffset = 0; |
5177 var index; | 5211 var index; |
5178 var subPart; | 5212 var subPart; |
5179 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5213 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
(...skipping 24 matching lines...) Expand all Loading... |
5204 if (n == "false") return false; | 5238 if (n == "false") return false; |
5205 if (n == null) return null; | 5239 if (n == null) return null; |
5206 throw new core.ArgumentError("Invalid boolean: $n"); | 5240 throw new core.ArgumentError("Invalid boolean: $n"); |
5207 } | 5241 } |
5208 if (query.length > 0) { | 5242 if (query.length > 0) { |
5209 for (var part in query.split("&")) { | 5243 for (var part in query.split("&")) { |
5210 var keyvalue = part.split("="); | 5244 var keyvalue = part.split("="); |
5211 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5245 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
5212 } | 5246 } |
5213 } | 5247 } |
| 5248 unittest.expect(queryMap["responseValueRenderOption"].first, unittest.eq
uals(arg_responseValueRenderOption)); |
5214 unittest.expect(queryMap["valueInputOption"].first, unittest.equals(arg_
valueInputOption)); | 5249 unittest.expect(queryMap["valueInputOption"].first, unittest.equals(arg_
valueInputOption)); |
| 5250 unittest.expect(queryMap["responseDateTimeRenderOption"].first, unittest
.equals(arg_responseDateTimeRenderOption)); |
| 5251 unittest.expect(queryMap["includeValuesInResponse"].first, unittest.equa
ls("$arg_includeValuesInResponse")); |
5215 unittest.expect(queryMap["insertDataOption"].first, unittest.equals(arg_
insertDataOption)); | 5252 unittest.expect(queryMap["insertDataOption"].first, unittest.equals(arg_
insertDataOption)); |
5216 | 5253 |
5217 | 5254 |
5218 var h = { | 5255 var h = { |
5219 "content-type" : "application/json; charset=utf-8", | 5256 "content-type" : "application/json; charset=utf-8", |
5220 }; | 5257 }; |
5221 var resp = convert.JSON.encode(buildAppendValuesResponse()); | 5258 var resp = convert.JSON.encode(buildAppendValuesResponse()); |
5222 return new async.Future.value(stringResponse(200, h, resp)); | 5259 return new async.Future.value(stringResponse(200, h, resp)); |
5223 }), true); | 5260 }), true); |
5224 res.append(arg_request, arg_spreadsheetId, arg_range, valueInputOption: ar
g_valueInputOption, insertDataOption: arg_insertDataOption).then(unittest.expect
Async(((api.AppendValuesResponse response) { | 5261 res.append(arg_request, arg_spreadsheetId, arg_range, responseValueRenderO
ption: arg_responseValueRenderOption, valueInputOption: arg_valueInputOption, re
sponseDateTimeRenderOption: arg_responseDateTimeRenderOption, includeValuesInRes
ponse: arg_includeValuesInResponse, insertDataOption: arg_insertDataOption).then
(unittest.expectAsync(((api.AppendValuesResponse response) { |
5225 checkAppendValuesResponse(response); | 5262 checkAppendValuesResponse(response); |
5226 }))); | 5263 }))); |
5227 }); | 5264 }); |
5228 | 5265 |
5229 unittest.test("method--batchClear", () { | 5266 unittest.test("method--batchClear", () { |
5230 | 5267 |
5231 var mock = new HttpServerMock(); | 5268 var mock = new HttpServerMock(); |
5232 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; | 5269 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
5233 var arg_request = buildBatchClearValuesRequest(); | 5270 var arg_request = buildBatchClearValuesRequest(); |
5234 var arg_spreadsheetId = "foo"; | 5271 var arg_spreadsheetId = "foo"; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5279 res.batchClear(arg_request, arg_spreadsheetId).then(unittest.expectAsync((
(api.BatchClearValuesResponse response) { | 5316 res.batchClear(arg_request, arg_spreadsheetId).then(unittest.expectAsync((
(api.BatchClearValuesResponse response) { |
5280 checkBatchClearValuesResponse(response); | 5317 checkBatchClearValuesResponse(response); |
5281 }))); | 5318 }))); |
5282 }); | 5319 }); |
5283 | 5320 |
5284 unittest.test("method--batchGet", () { | 5321 unittest.test("method--batchGet", () { |
5285 | 5322 |
5286 var mock = new HttpServerMock(); | 5323 var mock = new HttpServerMock(); |
5287 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; | 5324 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
5288 var arg_spreadsheetId = "foo"; | 5325 var arg_spreadsheetId = "foo"; |
5289 var arg_ranges = buildUnnamed665(); | 5326 var arg_ranges = buildUnnamed405(); |
5290 var arg_valueRenderOption = "foo"; | 5327 var arg_valueRenderOption = "foo"; |
5291 var arg_dateTimeRenderOption = "foo"; | 5328 var arg_dateTimeRenderOption = "foo"; |
5292 var arg_majorDimension = "foo"; | 5329 var arg_majorDimension = "foo"; |
5293 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5330 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5294 var path = (req.url).path; | 5331 var path = (req.url).path; |
5295 var pathOffset = 0; | 5332 var pathOffset = 0; |
5296 var index; | 5333 var index; |
5297 var subPart; | 5334 var subPart; |
5298 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5335 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5299 pathOffset += 1; | 5336 pathOffset += 1; |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5519 }))); | 5556 }))); |
5520 }); | 5557 }); |
5521 | 5558 |
5522 unittest.test("method--update", () { | 5559 unittest.test("method--update", () { |
5523 | 5560 |
5524 var mock = new HttpServerMock(); | 5561 var mock = new HttpServerMock(); |
5525 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; | 5562 api.SpreadsheetsValuesResourceApi res = new api.SheetsApi(mock).spreadshee
ts.values; |
5526 var arg_request = buildValueRange(); | 5563 var arg_request = buildValueRange(); |
5527 var arg_spreadsheetId = "foo"; | 5564 var arg_spreadsheetId = "foo"; |
5528 var arg_range = "foo"; | 5565 var arg_range = "foo"; |
| 5566 var arg_responseValueRenderOption = "foo"; |
5529 var arg_valueInputOption = "foo"; | 5567 var arg_valueInputOption = "foo"; |
| 5568 var arg_responseDateTimeRenderOption = "foo"; |
| 5569 var arg_includeValuesInResponse = true; |
5530 mock.register(unittest.expectAsync((http.BaseRequest req, json) { | 5570 mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
5531 var obj = new api.ValueRange.fromJson(json); | 5571 var obj = new api.ValueRange.fromJson(json); |
5532 checkValueRange(obj); | 5572 checkValueRange(obj); |
5533 | 5573 |
5534 var path = (req.url).path; | 5574 var path = (req.url).path; |
5535 var pathOffset = 0; | 5575 var pathOffset = 0; |
5536 var index; | 5576 var index; |
5537 var subPart; | 5577 var subPart; |
5538 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); | 5578 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ
als("/")); |
5539 pathOffset += 1; | 5579 pathOffset += 1; |
(...skipping 19 matching lines...) Expand all Loading... |
5559 if (n == "false") return false; | 5599 if (n == "false") return false; |
5560 if (n == null) return null; | 5600 if (n == null) return null; |
5561 throw new core.ArgumentError("Invalid boolean: $n"); | 5601 throw new core.ArgumentError("Invalid boolean: $n"); |
5562 } | 5602 } |
5563 if (query.length > 0) { | 5603 if (query.length > 0) { |
5564 for (var part in query.split("&")) { | 5604 for (var part in query.split("&")) { |
5565 var keyvalue = part.split("="); | 5605 var keyvalue = part.split("="); |
5566 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); | 5606 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d
ecodeQueryComponent(keyvalue[1])); |
5567 } | 5607 } |
5568 } | 5608 } |
| 5609 unittest.expect(queryMap["responseValueRenderOption"].first, unittest.eq
uals(arg_responseValueRenderOption)); |
5569 unittest.expect(queryMap["valueInputOption"].first, unittest.equals(arg_
valueInputOption)); | 5610 unittest.expect(queryMap["valueInputOption"].first, unittest.equals(arg_
valueInputOption)); |
| 5611 unittest.expect(queryMap["responseDateTimeRenderOption"].first, unittest
.equals(arg_responseDateTimeRenderOption)); |
| 5612 unittest.expect(queryMap["includeValuesInResponse"].first, unittest.equa
ls("$arg_includeValuesInResponse")); |
5570 | 5613 |
5571 | 5614 |
5572 var h = { | 5615 var h = { |
5573 "content-type" : "application/json; charset=utf-8", | 5616 "content-type" : "application/json; charset=utf-8", |
5574 }; | 5617 }; |
5575 var resp = convert.JSON.encode(buildUpdateValuesResponse()); | 5618 var resp = convert.JSON.encode(buildUpdateValuesResponse()); |
5576 return new async.Future.value(stringResponse(200, h, resp)); | 5619 return new async.Future.value(stringResponse(200, h, resp)); |
5577 }), true); | 5620 }), true); |
5578 res.update(arg_request, arg_spreadsheetId, arg_range, valueInputOption: ar
g_valueInputOption).then(unittest.expectAsync(((api.UpdateValuesResponse respons
e) { | 5621 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) { |
5579 checkUpdateValuesResponse(response); | 5622 checkUpdateValuesResponse(response); |
5580 }))); | 5623 }))); |
5581 }); | 5624 }); |
5582 | 5625 |
5583 }); | 5626 }); |
5584 | 5627 |
5585 | 5628 |
5586 } | 5629 } |
5587 | 5630 |
OLD | NEW |