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

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

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.slides.v1.test; 1 library googleapis.slides.v1.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 checkAutoText(api.AutoText o) { 98 checkAutoText(api.AutoText o) {
99 buildCounterAutoText++; 99 buildCounterAutoText++;
100 if (buildCounterAutoText < 3) { 100 if (buildCounterAutoText < 3) {
101 unittest.expect(o.content, unittest.equals('foo')); 101 unittest.expect(o.content, unittest.equals('foo'));
102 checkTextStyle(o.style); 102 checkTextStyle(o.style);
103 unittest.expect(o.type, unittest.equals('foo')); 103 unittest.expect(o.type, unittest.equals('foo'));
104 } 104 }
105 buildCounterAutoText--; 105 buildCounterAutoText--;
106 } 106 }
107 107
108 buildUnnamed1657() { 108 buildUnnamed1690() {
109 var o = new core.List<api.Request>(); 109 var o = new core.List<api.Request>();
110 o.add(buildRequest()); 110 o.add(buildRequest());
111 o.add(buildRequest()); 111 o.add(buildRequest());
112 return o; 112 return o;
113 } 113 }
114 114
115 checkUnnamed1657(core.List<api.Request> o) { 115 checkUnnamed1690(core.List<api.Request> o) {
116 unittest.expect(o, unittest.hasLength(2)); 116 unittest.expect(o, unittest.hasLength(2));
117 checkRequest(o[0]); 117 checkRequest(o[0]);
118 checkRequest(o[1]); 118 checkRequest(o[1]);
119 } 119 }
120 120
121 core.int buildCounterBatchUpdatePresentationRequest = 0; 121 core.int buildCounterBatchUpdatePresentationRequest = 0;
122 buildBatchUpdatePresentationRequest() { 122 buildBatchUpdatePresentationRequest() {
123 var o = new api.BatchUpdatePresentationRequest(); 123 var o = new api.BatchUpdatePresentationRequest();
124 buildCounterBatchUpdatePresentationRequest++; 124 buildCounterBatchUpdatePresentationRequest++;
125 if (buildCounterBatchUpdatePresentationRequest < 3) { 125 if (buildCounterBatchUpdatePresentationRequest < 3) {
126 o.requests = buildUnnamed1657(); 126 o.requests = buildUnnamed1690();
127 } 127 }
128 buildCounterBatchUpdatePresentationRequest--; 128 buildCounterBatchUpdatePresentationRequest--;
129 return o; 129 return o;
130 } 130 }
131 131
132 checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) { 132 checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) {
133 buildCounterBatchUpdatePresentationRequest++; 133 buildCounterBatchUpdatePresentationRequest++;
134 if (buildCounterBatchUpdatePresentationRequest < 3) { 134 if (buildCounterBatchUpdatePresentationRequest < 3) {
135 checkUnnamed1657(o.requests); 135 checkUnnamed1690(o.requests);
136 } 136 }
137 buildCounterBatchUpdatePresentationRequest--; 137 buildCounterBatchUpdatePresentationRequest--;
138 } 138 }
139 139
140 buildUnnamed1658() { 140 buildUnnamed1691() {
141 var o = new core.List<api.Response>(); 141 var o = new core.List<api.Response>();
142 o.add(buildResponse()); 142 o.add(buildResponse());
143 o.add(buildResponse()); 143 o.add(buildResponse());
144 return o; 144 return o;
145 } 145 }
146 146
147 checkUnnamed1658(core.List<api.Response> o) { 147 checkUnnamed1691(core.List<api.Response> o) {
148 unittest.expect(o, unittest.hasLength(2)); 148 unittest.expect(o, unittest.hasLength(2));
149 checkResponse(o[0]); 149 checkResponse(o[0]);
150 checkResponse(o[1]); 150 checkResponse(o[1]);
151 } 151 }
152 152
153 core.int buildCounterBatchUpdatePresentationResponse = 0; 153 core.int buildCounterBatchUpdatePresentationResponse = 0;
154 buildBatchUpdatePresentationResponse() { 154 buildBatchUpdatePresentationResponse() {
155 var o = new api.BatchUpdatePresentationResponse(); 155 var o = new api.BatchUpdatePresentationResponse();
156 buildCounterBatchUpdatePresentationResponse++; 156 buildCounterBatchUpdatePresentationResponse++;
157 if (buildCounterBatchUpdatePresentationResponse < 3) { 157 if (buildCounterBatchUpdatePresentationResponse < 3) {
158 o.presentationId = "foo"; 158 o.presentationId = "foo";
159 o.replies = buildUnnamed1658(); 159 o.replies = buildUnnamed1691();
160 } 160 }
161 buildCounterBatchUpdatePresentationResponse--; 161 buildCounterBatchUpdatePresentationResponse--;
162 return o; 162 return o;
163 } 163 }
164 164
165 checkBatchUpdatePresentationResponse(api.BatchUpdatePresentationResponse o) { 165 checkBatchUpdatePresentationResponse(api.BatchUpdatePresentationResponse o) {
166 buildCounterBatchUpdatePresentationResponse++; 166 buildCounterBatchUpdatePresentationResponse++;
167 if (buildCounterBatchUpdatePresentationResponse < 3) { 167 if (buildCounterBatchUpdatePresentationResponse < 3) {
168 unittest.expect(o.presentationId, unittest.equals('foo')); 168 unittest.expect(o.presentationId, unittest.equals('foo'));
169 checkUnnamed1658(o.replies); 169 checkUnnamed1691(o.replies);
170 } 170 }
171 buildCounterBatchUpdatePresentationResponse--; 171 buildCounterBatchUpdatePresentationResponse--;
172 } 172 }
173 173
174 core.int buildCounterBullet = 0; 174 core.int buildCounterBullet = 0;
175 buildBullet() { 175 buildBullet() {
176 var o = new api.Bullet(); 176 var o = new api.Bullet();
177 buildCounterBullet++; 177 buildCounterBullet++;
178 if (buildCounterBullet < 3) { 178 if (buildCounterBullet < 3) {
179 o.bulletStyle = buildTextStyle(); 179 o.bulletStyle = buildTextStyle();
180 o.glyph = "foo"; 180 o.glyph = "foo";
181 o.listId = "foo"; 181 o.listId = "foo";
182 o.nestingLevel = 42; 182 o.nestingLevel = 42;
183 } 183 }
184 buildCounterBullet--; 184 buildCounterBullet--;
185 return o; 185 return o;
186 } 186 }
187 187
188 checkBullet(api.Bullet o) { 188 checkBullet(api.Bullet o) {
189 buildCounterBullet++; 189 buildCounterBullet++;
190 if (buildCounterBullet < 3) { 190 if (buildCounterBullet < 3) {
191 checkTextStyle(o.bulletStyle); 191 checkTextStyle(o.bulletStyle);
192 unittest.expect(o.glyph, unittest.equals('foo')); 192 unittest.expect(o.glyph, unittest.equals('foo'));
193 unittest.expect(o.listId, unittest.equals('foo')); 193 unittest.expect(o.listId, unittest.equals('foo'));
194 unittest.expect(o.nestingLevel, unittest.equals(42)); 194 unittest.expect(o.nestingLevel, unittest.equals(42));
195 } 195 }
196 buildCounterBullet--; 196 buildCounterBullet--;
197 } 197 }
198 198
199 buildUnnamed1659() { 199 buildUnnamed1692() {
200 var o = new core.List<api.ThemeColorPair>(); 200 var o = new core.List<api.ThemeColorPair>();
201 o.add(buildThemeColorPair()); 201 o.add(buildThemeColorPair());
202 o.add(buildThemeColorPair()); 202 o.add(buildThemeColorPair());
203 return o; 203 return o;
204 } 204 }
205 205
206 checkUnnamed1659(core.List<api.ThemeColorPair> o) { 206 checkUnnamed1692(core.List<api.ThemeColorPair> o) {
207 unittest.expect(o, unittest.hasLength(2)); 207 unittest.expect(o, unittest.hasLength(2));
208 checkThemeColorPair(o[0]); 208 checkThemeColorPair(o[0]);
209 checkThemeColorPair(o[1]); 209 checkThemeColorPair(o[1]);
210 } 210 }
211 211
212 core.int buildCounterColorScheme = 0; 212 core.int buildCounterColorScheme = 0;
213 buildColorScheme() { 213 buildColorScheme() {
214 var o = new api.ColorScheme(); 214 var o = new api.ColorScheme();
215 buildCounterColorScheme++; 215 buildCounterColorScheme++;
216 if (buildCounterColorScheme < 3) { 216 if (buildCounterColorScheme < 3) {
217 o.colors = buildUnnamed1659(); 217 o.colors = buildUnnamed1692();
218 } 218 }
219 buildCounterColorScheme--; 219 buildCounterColorScheme--;
220 return o; 220 return o;
221 } 221 }
222 222
223 checkColorScheme(api.ColorScheme o) { 223 checkColorScheme(api.ColorScheme o) {
224 buildCounterColorScheme++; 224 buildCounterColorScheme++;
225 if (buildCounterColorScheme < 3) { 225 if (buildCounterColorScheme < 3) {
226 checkUnnamed1659(o.colors); 226 checkUnnamed1692(o.colors);
227 } 227 }
228 buildCounterColorScheme--; 228 buildCounterColorScheme--;
229 } 229 }
230 230
231 core.int buildCounterColorStop = 0; 231 core.int buildCounterColorStop = 0;
232 buildColorStop() { 232 buildColorStop() {
233 var o = new api.ColorStop(); 233 var o = new api.ColorStop();
234 buildCounterColorStop++; 234 buildCounterColorStop++;
235 if (buildCounterColorStop < 3) { 235 if (buildCounterColorStop < 3) {
236 o.alpha = 42.0; 236 o.alpha = 42.0;
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 } 441 }
442 442
443 checkCreateSheetsChartResponse(api.CreateSheetsChartResponse o) { 443 checkCreateSheetsChartResponse(api.CreateSheetsChartResponse o) {
444 buildCounterCreateSheetsChartResponse++; 444 buildCounterCreateSheetsChartResponse++;
445 if (buildCounterCreateSheetsChartResponse < 3) { 445 if (buildCounterCreateSheetsChartResponse < 3) {
446 unittest.expect(o.objectId, unittest.equals('foo')); 446 unittest.expect(o.objectId, unittest.equals('foo'));
447 } 447 }
448 buildCounterCreateSheetsChartResponse--; 448 buildCounterCreateSheetsChartResponse--;
449 } 449 }
450 450
451 buildUnnamed1693() {
452 var o = new core.List<api.LayoutPlaceholderIdMapping>();
453 o.add(buildLayoutPlaceholderIdMapping());
454 o.add(buildLayoutPlaceholderIdMapping());
455 return o;
456 }
457
458 checkUnnamed1693(core.List<api.LayoutPlaceholderIdMapping> o) {
459 unittest.expect(o, unittest.hasLength(2));
460 checkLayoutPlaceholderIdMapping(o[0]);
461 checkLayoutPlaceholderIdMapping(o[1]);
462 }
463
451 core.int buildCounterCreateSlideRequest = 0; 464 core.int buildCounterCreateSlideRequest = 0;
452 buildCreateSlideRequest() { 465 buildCreateSlideRequest() {
453 var o = new api.CreateSlideRequest(); 466 var o = new api.CreateSlideRequest();
454 buildCounterCreateSlideRequest++; 467 buildCounterCreateSlideRequest++;
455 if (buildCounterCreateSlideRequest < 3) { 468 if (buildCounterCreateSlideRequest < 3) {
456 o.insertionIndex = 42; 469 o.insertionIndex = 42;
457 o.objectId = "foo"; 470 o.objectId = "foo";
471 o.placeholderIdMappings = buildUnnamed1693();
458 o.slideLayoutReference = buildLayoutReference(); 472 o.slideLayoutReference = buildLayoutReference();
459 } 473 }
460 buildCounterCreateSlideRequest--; 474 buildCounterCreateSlideRequest--;
461 return o; 475 return o;
462 } 476 }
463 477
464 checkCreateSlideRequest(api.CreateSlideRequest o) { 478 checkCreateSlideRequest(api.CreateSlideRequest o) {
465 buildCounterCreateSlideRequest++; 479 buildCounterCreateSlideRequest++;
466 if (buildCounterCreateSlideRequest < 3) { 480 if (buildCounterCreateSlideRequest < 3) {
467 unittest.expect(o.insertionIndex, unittest.equals(42)); 481 unittest.expect(o.insertionIndex, unittest.equals(42));
468 unittest.expect(o.objectId, unittest.equals('foo')); 482 unittest.expect(o.objectId, unittest.equals('foo'));
483 checkUnnamed1693(o.placeholderIdMappings);
469 checkLayoutReference(o.slideLayoutReference); 484 checkLayoutReference(o.slideLayoutReference);
470 } 485 }
471 buildCounterCreateSlideRequest--; 486 buildCounterCreateSlideRequest--;
472 } 487 }
473 488
474 core.int buildCounterCreateSlideResponse = 0; 489 core.int buildCounterCreateSlideResponse = 0;
475 buildCreateSlideResponse() { 490 buildCreateSlideResponse() {
476 var o = new api.CreateSlideResponse(); 491 var o = new api.CreateSlideResponse();
477 buildCounterCreateSlideResponse++; 492 buildCounterCreateSlideResponse++;
478 if (buildCounterCreateSlideResponse < 3) { 493 if (buildCounterCreateSlideResponse < 3) {
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 } 632 }
618 633
619 checkDeleteObjectRequest(api.DeleteObjectRequest o) { 634 checkDeleteObjectRequest(api.DeleteObjectRequest o) {
620 buildCounterDeleteObjectRequest++; 635 buildCounterDeleteObjectRequest++;
621 if (buildCounterDeleteObjectRequest < 3) { 636 if (buildCounterDeleteObjectRequest < 3) {
622 unittest.expect(o.objectId, unittest.equals('foo')); 637 unittest.expect(o.objectId, unittest.equals('foo'));
623 } 638 }
624 buildCounterDeleteObjectRequest--; 639 buildCounterDeleteObjectRequest--;
625 } 640 }
626 641
642 core.int buildCounterDeleteParagraphBulletsRequest = 0;
643 buildDeleteParagraphBulletsRequest() {
644 var o = new api.DeleteParagraphBulletsRequest();
645 buildCounterDeleteParagraphBulletsRequest++;
646 if (buildCounterDeleteParagraphBulletsRequest < 3) {
647 o.cellLocation = buildTableCellLocation();
648 o.objectId = "foo";
649 o.textRange = buildRange();
650 }
651 buildCounterDeleteParagraphBulletsRequest--;
652 return o;
653 }
654
655 checkDeleteParagraphBulletsRequest(api.DeleteParagraphBulletsRequest o) {
656 buildCounterDeleteParagraphBulletsRequest++;
657 if (buildCounterDeleteParagraphBulletsRequest < 3) {
658 checkTableCellLocation(o.cellLocation);
659 unittest.expect(o.objectId, unittest.equals('foo'));
660 checkRange(o.textRange);
661 }
662 buildCounterDeleteParagraphBulletsRequest--;
663 }
664
627 core.int buildCounterDeleteTableColumnRequest = 0; 665 core.int buildCounterDeleteTableColumnRequest = 0;
628 buildDeleteTableColumnRequest() { 666 buildDeleteTableColumnRequest() {
629 var o = new api.DeleteTableColumnRequest(); 667 var o = new api.DeleteTableColumnRequest();
630 buildCounterDeleteTableColumnRequest++; 668 buildCounterDeleteTableColumnRequest++;
631 if (buildCounterDeleteTableColumnRequest < 3) { 669 if (buildCounterDeleteTableColumnRequest < 3) {
632 o.cellLocation = buildTableCellLocation(); 670 o.cellLocation = buildTableCellLocation();
633 o.tableObjectId = "foo"; 671 o.tableObjectId = "foo";
634 } 672 }
635 buildCounterDeleteTableColumnRequest--; 673 buildCounterDeleteTableColumnRequest--;
636 return o; 674 return o;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
703 741
704 checkDimension(api.Dimension o) { 742 checkDimension(api.Dimension o) {
705 buildCounterDimension++; 743 buildCounterDimension++;
706 if (buildCounterDimension < 3) { 744 if (buildCounterDimension < 3) {
707 unittest.expect(o.magnitude, unittest.equals(42.0)); 745 unittest.expect(o.magnitude, unittest.equals(42.0));
708 unittest.expect(o.unit, unittest.equals('foo')); 746 unittest.expect(o.unit, unittest.equals('foo'));
709 } 747 }
710 buildCounterDimension--; 748 buildCounterDimension--;
711 } 749 }
712 750
713 buildUnnamed1660() { 751 buildUnnamed1694() {
714 var o = new core.Map<core.String, core.String>(); 752 var o = new core.Map<core.String, core.String>();
715 o["x"] = "foo"; 753 o["x"] = "foo";
716 o["y"] = "foo"; 754 o["y"] = "foo";
717 return o; 755 return o;
718 } 756 }
719 757
720 checkUnnamed1660(core.Map<core.String, core.String> o) { 758 checkUnnamed1694(core.Map<core.String, core.String> o) {
721 unittest.expect(o, unittest.hasLength(2)); 759 unittest.expect(o, unittest.hasLength(2));
722 unittest.expect(o["x"], unittest.equals('foo')); 760 unittest.expect(o["x"], unittest.equals('foo'));
723 unittest.expect(o["y"], unittest.equals('foo')); 761 unittest.expect(o["y"], unittest.equals('foo'));
724 } 762 }
725 763
726 core.int buildCounterDuplicateObjectRequest = 0; 764 core.int buildCounterDuplicateObjectRequest = 0;
727 buildDuplicateObjectRequest() { 765 buildDuplicateObjectRequest() {
728 var o = new api.DuplicateObjectRequest(); 766 var o = new api.DuplicateObjectRequest();
729 buildCounterDuplicateObjectRequest++; 767 buildCounterDuplicateObjectRequest++;
730 if (buildCounterDuplicateObjectRequest < 3) { 768 if (buildCounterDuplicateObjectRequest < 3) {
731 o.objectId = "foo"; 769 o.objectId = "foo";
732 o.objectIds = buildUnnamed1660(); 770 o.objectIds = buildUnnamed1694();
733 } 771 }
734 buildCounterDuplicateObjectRequest--; 772 buildCounterDuplicateObjectRequest--;
735 return o; 773 return o;
736 } 774 }
737 775
738 checkDuplicateObjectRequest(api.DuplicateObjectRequest o) { 776 checkDuplicateObjectRequest(api.DuplicateObjectRequest o) {
739 buildCounterDuplicateObjectRequest++; 777 buildCounterDuplicateObjectRequest++;
740 if (buildCounterDuplicateObjectRequest < 3) { 778 if (buildCounterDuplicateObjectRequest < 3) {
741 unittest.expect(o.objectId, unittest.equals('foo')); 779 unittest.expect(o.objectId, unittest.equals('foo'));
742 checkUnnamed1660(o.objectIds); 780 checkUnnamed1694(o.objectIds);
743 } 781 }
744 buildCounterDuplicateObjectRequest--; 782 buildCounterDuplicateObjectRequest--;
745 } 783 }
746 784
747 core.int buildCounterDuplicateObjectResponse = 0; 785 core.int buildCounterDuplicateObjectResponse = 0;
748 buildDuplicateObjectResponse() { 786 buildDuplicateObjectResponse() {
749 var o = new api.DuplicateObjectResponse(); 787 var o = new api.DuplicateObjectResponse();
750 buildCounterDuplicateObjectResponse++; 788 buildCounterDuplicateObjectResponse++;
751 if (buildCounterDuplicateObjectResponse < 3) { 789 if (buildCounterDuplicateObjectResponse < 3) {
752 o.objectId = "foo"; 790 o.objectId = "foo";
753 } 791 }
754 buildCounterDuplicateObjectResponse--; 792 buildCounterDuplicateObjectResponse--;
755 return o; 793 return o;
756 } 794 }
757 795
758 checkDuplicateObjectResponse(api.DuplicateObjectResponse o) { 796 checkDuplicateObjectResponse(api.DuplicateObjectResponse o) {
759 buildCounterDuplicateObjectResponse++; 797 buildCounterDuplicateObjectResponse++;
760 if (buildCounterDuplicateObjectResponse < 3) { 798 if (buildCounterDuplicateObjectResponse < 3) {
761 unittest.expect(o.objectId, unittest.equals('foo')); 799 unittest.expect(o.objectId, unittest.equals('foo'));
762 } 800 }
763 buildCounterDuplicateObjectResponse--; 801 buildCounterDuplicateObjectResponse--;
764 } 802 }
765 803
766 buildUnnamed1661() { 804 buildUnnamed1695() {
767 var o = new core.List<api.PageElement>(); 805 var o = new core.List<api.PageElement>();
768 o.add(buildPageElement()); 806 o.add(buildPageElement());
769 o.add(buildPageElement()); 807 o.add(buildPageElement());
770 return o; 808 return o;
771 } 809 }
772 810
773 checkUnnamed1661(core.List<api.PageElement> o) { 811 checkUnnamed1695(core.List<api.PageElement> o) {
774 unittest.expect(o, unittest.hasLength(2)); 812 unittest.expect(o, unittest.hasLength(2));
775 checkPageElement(o[0]); 813 checkPageElement(o[0]);
776 checkPageElement(o[1]); 814 checkPageElement(o[1]);
777 } 815 }
778 816
779 core.int buildCounterGroup = 0; 817 core.int buildCounterGroup = 0;
780 buildGroup() { 818 buildGroup() {
781 var o = new api.Group(); 819 var o = new api.Group();
782 buildCounterGroup++; 820 buildCounterGroup++;
783 if (buildCounterGroup < 3) { 821 if (buildCounterGroup < 3) {
784 o.children = buildUnnamed1661(); 822 o.children = buildUnnamed1695();
785 } 823 }
786 buildCounterGroup--; 824 buildCounterGroup--;
787 return o; 825 return o;
788 } 826 }
789 827
790 checkGroup(api.Group o) { 828 checkGroup(api.Group o) {
791 buildCounterGroup++; 829 buildCounterGroup++;
792 if (buildCounterGroup < 3) { 830 if (buildCounterGroup < 3) {
793 checkUnnamed1661(o.children); 831 checkUnnamed1695(o.children);
794 } 832 }
795 buildCounterGroup--; 833 buildCounterGroup--;
796 } 834 }
797 835
798 core.int buildCounterImage = 0; 836 core.int buildCounterImage = 0;
799 buildImage() { 837 buildImage() {
800 var o = new api.Image(); 838 var o = new api.Image();
801 buildCounterImage++; 839 buildCounterImage++;
802 if (buildCounterImage < 3) { 840 if (buildCounterImage < 3) {
803 o.contentUrl = "foo"; 841 o.contentUrl = "foo";
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 buildCounterInsertTextRequest++; 955 buildCounterInsertTextRequest++;
918 if (buildCounterInsertTextRequest < 3) { 956 if (buildCounterInsertTextRequest < 3) {
919 checkTableCellLocation(o.cellLocation); 957 checkTableCellLocation(o.cellLocation);
920 unittest.expect(o.insertionIndex, unittest.equals(42)); 958 unittest.expect(o.insertionIndex, unittest.equals(42));
921 unittest.expect(o.objectId, unittest.equals('foo')); 959 unittest.expect(o.objectId, unittest.equals('foo'));
922 unittest.expect(o.text, unittest.equals('foo')); 960 unittest.expect(o.text, unittest.equals('foo'));
923 } 961 }
924 buildCounterInsertTextRequest--; 962 buildCounterInsertTextRequest--;
925 } 963 }
926 964
965 core.int buildCounterLayoutPlaceholderIdMapping = 0;
966 buildLayoutPlaceholderIdMapping() {
967 var o = new api.LayoutPlaceholderIdMapping();
968 buildCounterLayoutPlaceholderIdMapping++;
969 if (buildCounterLayoutPlaceholderIdMapping < 3) {
970 o.layoutPlaceholder = buildPlaceholder();
971 o.layoutPlaceholderObjectId = "foo";
972 o.objectId = "foo";
973 }
974 buildCounterLayoutPlaceholderIdMapping--;
975 return o;
976 }
977
978 checkLayoutPlaceholderIdMapping(api.LayoutPlaceholderIdMapping o) {
979 buildCounterLayoutPlaceholderIdMapping++;
980 if (buildCounterLayoutPlaceholderIdMapping < 3) {
981 checkPlaceholder(o.layoutPlaceholder);
982 unittest.expect(o.layoutPlaceholderObjectId, unittest.equals('foo'));
983 unittest.expect(o.objectId, unittest.equals('foo'));
984 }
985 buildCounterLayoutPlaceholderIdMapping--;
986 }
987
927 core.int buildCounterLayoutProperties = 0; 988 core.int buildCounterLayoutProperties = 0;
928 buildLayoutProperties() { 989 buildLayoutProperties() {
929 var o = new api.LayoutProperties(); 990 var o = new api.LayoutProperties();
930 buildCounterLayoutProperties++; 991 buildCounterLayoutProperties++;
931 if (buildCounterLayoutProperties < 3) { 992 if (buildCounterLayoutProperties < 3) {
932 o.displayName = "foo"; 993 o.displayName = "foo";
933 o.masterObjectId = "foo"; 994 o.masterObjectId = "foo";
934 o.name = "foo"; 995 o.name = "foo";
935 } 996 }
936 buildCounterLayoutProperties--; 997 buildCounterLayoutProperties--;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 buildCounterLink++; 1116 buildCounterLink++;
1056 if (buildCounterLink < 3) { 1117 if (buildCounterLink < 3) {
1057 unittest.expect(o.pageObjectId, unittest.equals('foo')); 1118 unittest.expect(o.pageObjectId, unittest.equals('foo'));
1058 unittest.expect(o.relativeLink, unittest.equals('foo')); 1119 unittest.expect(o.relativeLink, unittest.equals('foo'));
1059 unittest.expect(o.slideIndex, unittest.equals(42)); 1120 unittest.expect(o.slideIndex, unittest.equals(42));
1060 unittest.expect(o.url, unittest.equals('foo')); 1121 unittest.expect(o.url, unittest.equals('foo'));
1061 } 1122 }
1062 buildCounterLink--; 1123 buildCounterLink--;
1063 } 1124 }
1064 1125
1065 buildUnnamed1662() { 1126 buildUnnamed1696() {
1066 var o = new core.Map<core.String, api.NestingLevel>(); 1127 var o = new core.Map<core.String, api.NestingLevel>();
1067 o["x"] = buildNestingLevel(); 1128 o["x"] = buildNestingLevel();
1068 o["y"] = buildNestingLevel(); 1129 o["y"] = buildNestingLevel();
1069 return o; 1130 return o;
1070 } 1131 }
1071 1132
1072 checkUnnamed1662(core.Map<core.String, api.NestingLevel> o) { 1133 checkUnnamed1696(core.Map<core.String, api.NestingLevel> o) {
1073 unittest.expect(o, unittest.hasLength(2)); 1134 unittest.expect(o, unittest.hasLength(2));
1074 checkNestingLevel(o["x"]); 1135 checkNestingLevel(o["x"]);
1075 checkNestingLevel(o["y"]); 1136 checkNestingLevel(o["y"]);
1076 } 1137 }
1077 1138
1078 core.int buildCounterList = 0; 1139 core.int buildCounterList = 0;
1079 buildList() { 1140 buildList() {
1080 var o = new api.List(); 1141 var o = new api.List();
1081 buildCounterList++; 1142 buildCounterList++;
1082 if (buildCounterList < 3) { 1143 if (buildCounterList < 3) {
1083 o.listId = "foo"; 1144 o.listId = "foo";
1084 o.nestingLevel = buildUnnamed1662(); 1145 o.nestingLevel = buildUnnamed1696();
1085 } 1146 }
1086 buildCounterList--; 1147 buildCounterList--;
1087 return o; 1148 return o;
1088 } 1149 }
1089 1150
1090 checkList(api.List o) { 1151 checkList(api.List o) {
1091 buildCounterList++; 1152 buildCounterList++;
1092 if (buildCounterList < 3) { 1153 if (buildCounterList < 3) {
1093 unittest.expect(o.listId, unittest.equals('foo')); 1154 unittest.expect(o.listId, unittest.equals('foo'));
1094 checkUnnamed1662(o.nestingLevel); 1155 checkUnnamed1696(o.nestingLevel);
1095 } 1156 }
1096 buildCounterList--; 1157 buildCounterList--;
1097 } 1158 }
1098 1159
1099 core.int buildCounterNestingLevel = 0; 1160 core.int buildCounterNestingLevel = 0;
1100 buildNestingLevel() { 1161 buildNestingLevel() {
1101 var o = new api.NestingLevel(); 1162 var o = new api.NestingLevel();
1102 buildCounterNestingLevel++; 1163 buildCounterNestingLevel++;
1103 if (buildCounterNestingLevel < 3) { 1164 if (buildCounterNestingLevel < 3) {
1104 o.bulletStyle = buildTextStyle(); 1165 o.bulletStyle = buildTextStyle();
1105 } 1166 }
1106 buildCounterNestingLevel--; 1167 buildCounterNestingLevel--;
1107 return o; 1168 return o;
1108 } 1169 }
1109 1170
1110 checkNestingLevel(api.NestingLevel o) { 1171 checkNestingLevel(api.NestingLevel o) {
1111 buildCounterNestingLevel++; 1172 buildCounterNestingLevel++;
1112 if (buildCounterNestingLevel < 3) { 1173 if (buildCounterNestingLevel < 3) {
1113 checkTextStyle(o.bulletStyle); 1174 checkTextStyle(o.bulletStyle);
1114 } 1175 }
1115 buildCounterNestingLevel--; 1176 buildCounterNestingLevel--;
1116 } 1177 }
1117 1178
1179 core.int buildCounterNotesProperties = 0;
1180 buildNotesProperties() {
1181 var o = new api.NotesProperties();
1182 buildCounterNotesProperties++;
1183 if (buildCounterNotesProperties < 3) {
1184 o.speakerNotesObjectId = "foo";
1185 }
1186 buildCounterNotesProperties--;
1187 return o;
1188 }
1189
1190 checkNotesProperties(api.NotesProperties o) {
1191 buildCounterNotesProperties++;
1192 if (buildCounterNotesProperties < 3) {
1193 unittest.expect(o.speakerNotesObjectId, unittest.equals('foo'));
1194 }
1195 buildCounterNotesProperties--;
1196 }
1197
1118 core.int buildCounterOpaqueColor = 0; 1198 core.int buildCounterOpaqueColor = 0;
1119 buildOpaqueColor() { 1199 buildOpaqueColor() {
1120 var o = new api.OpaqueColor(); 1200 var o = new api.OpaqueColor();
1121 buildCounterOpaqueColor++; 1201 buildCounterOpaqueColor++;
1122 if (buildCounterOpaqueColor < 3) { 1202 if (buildCounterOpaqueColor < 3) {
1123 o.rgbColor = buildRgbColor(); 1203 o.rgbColor = buildRgbColor();
1124 o.themeColor = "foo"; 1204 o.themeColor = "foo";
1125 } 1205 }
1126 buildCounterOpaqueColor--; 1206 buildCounterOpaqueColor--;
1127 return o; 1207 return o;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 } 1272 }
1193 1273
1194 checkOutlineFill(api.OutlineFill o) { 1274 checkOutlineFill(api.OutlineFill o) {
1195 buildCounterOutlineFill++; 1275 buildCounterOutlineFill++;
1196 if (buildCounterOutlineFill < 3) { 1276 if (buildCounterOutlineFill < 3) {
1197 checkSolidFill(o.solidFill); 1277 checkSolidFill(o.solidFill);
1198 } 1278 }
1199 buildCounterOutlineFill--; 1279 buildCounterOutlineFill--;
1200 } 1280 }
1201 1281
1202 buildUnnamed1663() { 1282 buildUnnamed1697() {
1203 var o = new core.List<api.PageElement>(); 1283 var o = new core.List<api.PageElement>();
1204 o.add(buildPageElement()); 1284 o.add(buildPageElement());
1205 o.add(buildPageElement()); 1285 o.add(buildPageElement());
1206 return o; 1286 return o;
1207 } 1287 }
1208 1288
1209 checkUnnamed1663(core.List<api.PageElement> o) { 1289 checkUnnamed1697(core.List<api.PageElement> o) {
1210 unittest.expect(o, unittest.hasLength(2)); 1290 unittest.expect(o, unittest.hasLength(2));
1211 checkPageElement(o[0]); 1291 checkPageElement(o[0]);
1212 checkPageElement(o[1]); 1292 checkPageElement(o[1]);
1213 } 1293 }
1214 1294
1215 core.int buildCounterPage = 0; 1295 core.int buildCounterPage = 0;
1216 buildPage() { 1296 buildPage() {
1217 var o = new api.Page(); 1297 var o = new api.Page();
1218 buildCounterPage++; 1298 buildCounterPage++;
1219 if (buildCounterPage < 3) { 1299 if (buildCounterPage < 3) {
1220 o.layoutProperties = buildLayoutProperties(); 1300 o.layoutProperties = buildLayoutProperties();
1301 o.notesProperties = buildNotesProperties();
1221 o.objectId = "foo"; 1302 o.objectId = "foo";
1222 o.pageElements = buildUnnamed1663(); 1303 o.pageElements = buildUnnamed1697();
1223 o.pageProperties = buildPageProperties(); 1304 o.pageProperties = buildPageProperties();
1224 o.pageType = "foo"; 1305 o.pageType = "foo";
1225 o.slideProperties = buildSlideProperties(); 1306 o.slideProperties = buildSlideProperties();
1226 } 1307 }
1227 buildCounterPage--; 1308 buildCounterPage--;
1228 return o; 1309 return o;
1229 } 1310 }
1230 1311
1231 checkPage(api.Page o) { 1312 checkPage(api.Page o) {
1232 buildCounterPage++; 1313 buildCounterPage++;
1233 if (buildCounterPage < 3) { 1314 if (buildCounterPage < 3) {
1234 checkLayoutProperties(o.layoutProperties); 1315 checkLayoutProperties(o.layoutProperties);
1316 checkNotesProperties(o.notesProperties);
1235 unittest.expect(o.objectId, unittest.equals('foo')); 1317 unittest.expect(o.objectId, unittest.equals('foo'));
1236 checkUnnamed1663(o.pageElements); 1318 checkUnnamed1697(o.pageElements);
1237 checkPageProperties(o.pageProperties); 1319 checkPageProperties(o.pageProperties);
1238 unittest.expect(o.pageType, unittest.equals('foo')); 1320 unittest.expect(o.pageType, unittest.equals('foo'));
1239 checkSlideProperties(o.slideProperties); 1321 checkSlideProperties(o.slideProperties);
1240 } 1322 }
1241 buildCounterPage--; 1323 buildCounterPage--;
1242 } 1324 }
1243 1325
1244 core.int buildCounterPageBackgroundFill = 0; 1326 core.int buildCounterPageBackgroundFill = 0;
1245 buildPageBackgroundFill() { 1327 buildPageBackgroundFill() {
1246 var o = new api.PageBackgroundFill(); 1328 var o = new api.PageBackgroundFill();
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1423 checkPlaceholder(api.Placeholder o) { 1505 checkPlaceholder(api.Placeholder o) {
1424 buildCounterPlaceholder++; 1506 buildCounterPlaceholder++;
1425 if (buildCounterPlaceholder < 3) { 1507 if (buildCounterPlaceholder < 3) {
1426 unittest.expect(o.index, unittest.equals(42)); 1508 unittest.expect(o.index, unittest.equals(42));
1427 unittest.expect(o.parentObjectId, unittest.equals('foo')); 1509 unittest.expect(o.parentObjectId, unittest.equals('foo'));
1428 unittest.expect(o.type, unittest.equals('foo')); 1510 unittest.expect(o.type, unittest.equals('foo'));
1429 } 1511 }
1430 buildCounterPlaceholder--; 1512 buildCounterPlaceholder--;
1431 } 1513 }
1432 1514
1433 buildUnnamed1664() { 1515 buildUnnamed1698() {
1434 var o = new core.List<api.Page>(); 1516 var o = new core.List<api.Page>();
1435 o.add(buildPage()); 1517 o.add(buildPage());
1436 o.add(buildPage()); 1518 o.add(buildPage());
1437 return o; 1519 return o;
1438 } 1520 }
1439 1521
1440 checkUnnamed1664(core.List<api.Page> o) { 1522 checkUnnamed1698(core.List<api.Page> o) {
1441 unittest.expect(o, unittest.hasLength(2)); 1523 unittest.expect(o, unittest.hasLength(2));
1442 checkPage(o[0]); 1524 checkPage(o[0]);
1443 checkPage(o[1]); 1525 checkPage(o[1]);
1444 } 1526 }
1445 1527
1446 buildUnnamed1665() { 1528 buildUnnamed1699() {
1447 var o = new core.List<api.Page>(); 1529 var o = new core.List<api.Page>();
1448 o.add(buildPage()); 1530 o.add(buildPage());
1449 o.add(buildPage()); 1531 o.add(buildPage());
1450 return o; 1532 return o;
1451 } 1533 }
1452 1534
1453 checkUnnamed1665(core.List<api.Page> o) { 1535 checkUnnamed1699(core.List<api.Page> o) {
1454 unittest.expect(o, unittest.hasLength(2)); 1536 unittest.expect(o, unittest.hasLength(2));
1455 checkPage(o[0]); 1537 checkPage(o[0]);
1456 checkPage(o[1]); 1538 checkPage(o[1]);
1457 } 1539 }
1458 1540
1459 buildUnnamed1666() { 1541 buildUnnamed1700() {
1460 var o = new core.List<api.Page>(); 1542 var o = new core.List<api.Page>();
1461 o.add(buildPage()); 1543 o.add(buildPage());
1462 o.add(buildPage()); 1544 o.add(buildPage());
1463 return o; 1545 return o;
1464 } 1546 }
1465 1547
1466 checkUnnamed1666(core.List<api.Page> o) { 1548 checkUnnamed1700(core.List<api.Page> o) {
1467 unittest.expect(o, unittest.hasLength(2)); 1549 unittest.expect(o, unittest.hasLength(2));
1468 checkPage(o[0]); 1550 checkPage(o[0]);
1469 checkPage(o[1]); 1551 checkPage(o[1]);
1470 } 1552 }
1471 1553
1472 core.int buildCounterPresentation = 0; 1554 core.int buildCounterPresentation = 0;
1473 buildPresentation() { 1555 buildPresentation() {
1474 var o = new api.Presentation(); 1556 var o = new api.Presentation();
1475 buildCounterPresentation++; 1557 buildCounterPresentation++;
1476 if (buildCounterPresentation < 3) { 1558 if (buildCounterPresentation < 3) {
1477 o.layouts = buildUnnamed1664(); 1559 o.layouts = buildUnnamed1698();
1478 o.locale = "foo"; 1560 o.locale = "foo";
1479 o.masters = buildUnnamed1665(); 1561 o.masters = buildUnnamed1699();
1562 o.notesMaster = buildPage();
1480 o.pageSize = buildSize(); 1563 o.pageSize = buildSize();
1481 o.presentationId = "foo"; 1564 o.presentationId = "foo";
1482 o.slides = buildUnnamed1666(); 1565 o.slides = buildUnnamed1700();
1483 o.title = "foo"; 1566 o.title = "foo";
1484 } 1567 }
1485 buildCounterPresentation--; 1568 buildCounterPresentation--;
1486 return o; 1569 return o;
1487 } 1570 }
1488 1571
1489 checkPresentation(api.Presentation o) { 1572 checkPresentation(api.Presentation o) {
1490 buildCounterPresentation++; 1573 buildCounterPresentation++;
1491 if (buildCounterPresentation < 3) { 1574 if (buildCounterPresentation < 3) {
1492 checkUnnamed1664(o.layouts); 1575 checkUnnamed1698(o.layouts);
1493 unittest.expect(o.locale, unittest.equals('foo')); 1576 unittest.expect(o.locale, unittest.equals('foo'));
1494 checkUnnamed1665(o.masters); 1577 checkUnnamed1699(o.masters);
1578 checkPage(o.notesMaster);
1495 checkSize(o.pageSize); 1579 checkSize(o.pageSize);
1496 unittest.expect(o.presentationId, unittest.equals('foo')); 1580 unittest.expect(o.presentationId, unittest.equals('foo'));
1497 checkUnnamed1666(o.slides); 1581 checkUnnamed1700(o.slides);
1498 unittest.expect(o.title, unittest.equals('foo')); 1582 unittest.expect(o.title, unittest.equals('foo'));
1499 } 1583 }
1500 buildCounterPresentation--; 1584 buildCounterPresentation--;
1501 } 1585 }
1502 1586
1503 core.int buildCounterRange = 0; 1587 core.int buildCounterRange = 0;
1504 buildRange() { 1588 buildRange() {
1505 var o = new api.Range(); 1589 var o = new api.Range();
1506 buildCounterRange++; 1590 buildCounterRange++;
1507 if (buildCounterRange < 3) { 1591 if (buildCounterRange < 3) {
1508 o.endIndex = 42; 1592 o.endIndex = 42;
1509 o.startIndex = 42; 1593 o.startIndex = 42;
1510 o.type = "foo"; 1594 o.type = "foo";
1511 } 1595 }
1512 buildCounterRange--; 1596 buildCounterRange--;
1513 return o; 1597 return o;
1514 } 1598 }
1515 1599
1516 checkRange(api.Range o) { 1600 checkRange(api.Range o) {
1517 buildCounterRange++; 1601 buildCounterRange++;
1518 if (buildCounterRange < 3) { 1602 if (buildCounterRange < 3) {
1519 unittest.expect(o.endIndex, unittest.equals(42)); 1603 unittest.expect(o.endIndex, unittest.equals(42));
1520 unittest.expect(o.startIndex, unittest.equals(42)); 1604 unittest.expect(o.startIndex, unittest.equals(42));
1521 unittest.expect(o.type, unittest.equals('foo')); 1605 unittest.expect(o.type, unittest.equals('foo'));
1522 } 1606 }
1523 buildCounterRange--; 1607 buildCounterRange--;
1524 } 1608 }
1525 1609
1526 buildUnnamed1667() { 1610 buildUnnamed1701() {
1527 var o = new core.List<api.ColorStop>(); 1611 var o = new core.List<api.ColorStop>();
1528 o.add(buildColorStop()); 1612 o.add(buildColorStop());
1529 o.add(buildColorStop()); 1613 o.add(buildColorStop());
1530 return o; 1614 return o;
1531 } 1615 }
1532 1616
1533 checkUnnamed1667(core.List<api.ColorStop> o) { 1617 checkUnnamed1701(core.List<api.ColorStop> o) {
1534 unittest.expect(o, unittest.hasLength(2)); 1618 unittest.expect(o, unittest.hasLength(2));
1535 checkColorStop(o[0]); 1619 checkColorStop(o[0]);
1536 checkColorStop(o[1]); 1620 checkColorStop(o[1]);
1537 } 1621 }
1538 1622
1539 core.int buildCounterRecolor = 0; 1623 core.int buildCounterRecolor = 0;
1540 buildRecolor() { 1624 buildRecolor() {
1541 var o = new api.Recolor(); 1625 var o = new api.Recolor();
1542 buildCounterRecolor++; 1626 buildCounterRecolor++;
1543 if (buildCounterRecolor < 3) { 1627 if (buildCounterRecolor < 3) {
1544 o.recolorStops = buildUnnamed1667(); 1628 o.name = "foo";
1629 o.recolorStops = buildUnnamed1701();
1545 } 1630 }
1546 buildCounterRecolor--; 1631 buildCounterRecolor--;
1547 return o; 1632 return o;
1548 } 1633 }
1549 1634
1550 checkRecolor(api.Recolor o) { 1635 checkRecolor(api.Recolor o) {
1551 buildCounterRecolor++; 1636 buildCounterRecolor++;
1552 if (buildCounterRecolor < 3) { 1637 if (buildCounterRecolor < 3) {
1553 checkUnnamed1667(o.recolorStops); 1638 unittest.expect(o.name, unittest.equals('foo'));
1639 checkUnnamed1701(o.recolorStops);
1554 } 1640 }
1555 buildCounterRecolor--; 1641 buildCounterRecolor--;
1556 } 1642 }
1557 1643
1558 core.int buildCounterRefreshSheetsChartRequest = 0; 1644 core.int buildCounterRefreshSheetsChartRequest = 0;
1559 buildRefreshSheetsChartRequest() { 1645 buildRefreshSheetsChartRequest() {
1560 var o = new api.RefreshSheetsChartRequest(); 1646 var o = new api.RefreshSheetsChartRequest();
1561 buildCounterRefreshSheetsChartRequest++; 1647 buildCounterRefreshSheetsChartRequest++;
1562 if (buildCounterRefreshSheetsChartRequest < 3) { 1648 if (buildCounterRefreshSheetsChartRequest < 3) {
1563 o.objectId = "foo"; 1649 o.objectId = "foo";
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1609 } 1695 }
1610 1696
1611 checkReplaceAllShapesWithImageResponse(api.ReplaceAllShapesWithImageResponse o) { 1697 checkReplaceAllShapesWithImageResponse(api.ReplaceAllShapesWithImageResponse o) {
1612 buildCounterReplaceAllShapesWithImageResponse++; 1698 buildCounterReplaceAllShapesWithImageResponse++;
1613 if (buildCounterReplaceAllShapesWithImageResponse < 3) { 1699 if (buildCounterReplaceAllShapesWithImageResponse < 3) {
1614 unittest.expect(o.occurrencesChanged, unittest.equals(42)); 1700 unittest.expect(o.occurrencesChanged, unittest.equals(42));
1615 } 1701 }
1616 buildCounterReplaceAllShapesWithImageResponse--; 1702 buildCounterReplaceAllShapesWithImageResponse--;
1617 } 1703 }
1618 1704
1705 core.int buildCounterReplaceAllShapesWithSheetsChartRequest = 0;
1706 buildReplaceAllShapesWithSheetsChartRequest() {
1707 var o = new api.ReplaceAllShapesWithSheetsChartRequest();
1708 buildCounterReplaceAllShapesWithSheetsChartRequest++;
1709 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) {
1710 o.chartId = 42;
1711 o.containsText = buildSubstringMatchCriteria();
1712 o.linkingMode = "foo";
1713 o.spreadsheetId = "foo";
1714 }
1715 buildCounterReplaceAllShapesWithSheetsChartRequest--;
1716 return o;
1717 }
1718
1719 checkReplaceAllShapesWithSheetsChartRequest(api.ReplaceAllShapesWithSheetsChartR equest o) {
1720 buildCounterReplaceAllShapesWithSheetsChartRequest++;
1721 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) {
1722 unittest.expect(o.chartId, unittest.equals(42));
1723 checkSubstringMatchCriteria(o.containsText);
1724 unittest.expect(o.linkingMode, unittest.equals('foo'));
1725 unittest.expect(o.spreadsheetId, unittest.equals('foo'));
1726 }
1727 buildCounterReplaceAllShapesWithSheetsChartRequest--;
1728 }
1729
1730 core.int buildCounterReplaceAllShapesWithSheetsChartResponse = 0;
1731 buildReplaceAllShapesWithSheetsChartResponse() {
1732 var o = new api.ReplaceAllShapesWithSheetsChartResponse();
1733 buildCounterReplaceAllShapesWithSheetsChartResponse++;
1734 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) {
1735 o.occurrencesChanged = 42;
1736 }
1737 buildCounterReplaceAllShapesWithSheetsChartResponse--;
1738 return o;
1739 }
1740
1741 checkReplaceAllShapesWithSheetsChartResponse(api.ReplaceAllShapesWithSheetsChart Response o) {
1742 buildCounterReplaceAllShapesWithSheetsChartResponse++;
1743 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) {
1744 unittest.expect(o.occurrencesChanged, unittest.equals(42));
1745 }
1746 buildCounterReplaceAllShapesWithSheetsChartResponse--;
1747 }
1748
1619 core.int buildCounterReplaceAllTextRequest = 0; 1749 core.int buildCounterReplaceAllTextRequest = 0;
1620 buildReplaceAllTextRequest() { 1750 buildReplaceAllTextRequest() {
1621 var o = new api.ReplaceAllTextRequest(); 1751 var o = new api.ReplaceAllTextRequest();
1622 buildCounterReplaceAllTextRequest++; 1752 buildCounterReplaceAllTextRequest++;
1623 if (buildCounterReplaceAllTextRequest < 3) { 1753 if (buildCounterReplaceAllTextRequest < 3) {
1624 o.containsText = buildSubstringMatchCriteria(); 1754 o.containsText = buildSubstringMatchCriteria();
1625 o.replaceText = "foo"; 1755 o.replaceText = "foo";
1626 } 1756 }
1627 buildCounterReplaceAllTextRequest--; 1757 buildCounterReplaceAllTextRequest--;
1628 return o; 1758 return o;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
1663 if (buildCounterRequest < 3) { 1793 if (buildCounterRequest < 3) {
1664 o.createImage = buildCreateImageRequest(); 1794 o.createImage = buildCreateImageRequest();
1665 o.createLine = buildCreateLineRequest(); 1795 o.createLine = buildCreateLineRequest();
1666 o.createParagraphBullets = buildCreateParagraphBulletsRequest(); 1796 o.createParagraphBullets = buildCreateParagraphBulletsRequest();
1667 o.createShape = buildCreateShapeRequest(); 1797 o.createShape = buildCreateShapeRequest();
1668 o.createSheetsChart = buildCreateSheetsChartRequest(); 1798 o.createSheetsChart = buildCreateSheetsChartRequest();
1669 o.createSlide = buildCreateSlideRequest(); 1799 o.createSlide = buildCreateSlideRequest();
1670 o.createTable = buildCreateTableRequest(); 1800 o.createTable = buildCreateTableRequest();
1671 o.createVideo = buildCreateVideoRequest(); 1801 o.createVideo = buildCreateVideoRequest();
1672 o.deleteObject = buildDeleteObjectRequest(); 1802 o.deleteObject = buildDeleteObjectRequest();
1803 o.deleteParagraphBullets = buildDeleteParagraphBulletsRequest();
1673 o.deleteTableColumn = buildDeleteTableColumnRequest(); 1804 o.deleteTableColumn = buildDeleteTableColumnRequest();
1674 o.deleteTableRow = buildDeleteTableRowRequest(); 1805 o.deleteTableRow = buildDeleteTableRowRequest();
1675 o.deleteText = buildDeleteTextRequest(); 1806 o.deleteText = buildDeleteTextRequest();
1676 o.duplicateObject = buildDuplicateObjectRequest(); 1807 o.duplicateObject = buildDuplicateObjectRequest();
1677 o.insertTableColumns = buildInsertTableColumnsRequest(); 1808 o.insertTableColumns = buildInsertTableColumnsRequest();
1678 o.insertTableRows = buildInsertTableRowsRequest(); 1809 o.insertTableRows = buildInsertTableRowsRequest();
1679 o.insertText = buildInsertTextRequest(); 1810 o.insertText = buildInsertTextRequest();
1680 o.refreshSheetsChart = buildRefreshSheetsChartRequest(); 1811 o.refreshSheetsChart = buildRefreshSheetsChartRequest();
1681 o.replaceAllShapesWithImage = buildReplaceAllShapesWithImageRequest(); 1812 o.replaceAllShapesWithImage = buildReplaceAllShapesWithImageRequest();
1813 o.replaceAllShapesWithSheetsChart = buildReplaceAllShapesWithSheetsChartRequ est();
1682 o.replaceAllText = buildReplaceAllTextRequest(); 1814 o.replaceAllText = buildReplaceAllTextRequest();
1683 o.updateImageProperties = buildUpdateImagePropertiesRequest(); 1815 o.updateImageProperties = buildUpdateImagePropertiesRequest();
1684 o.updateLineProperties = buildUpdateLinePropertiesRequest(); 1816 o.updateLineProperties = buildUpdateLinePropertiesRequest();
1685 o.updatePageElementTransform = buildUpdatePageElementTransformRequest(); 1817 o.updatePageElementTransform = buildUpdatePageElementTransformRequest();
1686 o.updatePageProperties = buildUpdatePagePropertiesRequest(); 1818 o.updatePageProperties = buildUpdatePagePropertiesRequest();
1687 o.updateShapeProperties = buildUpdateShapePropertiesRequest(); 1819 o.updateShapeProperties = buildUpdateShapePropertiesRequest();
1688 o.updateSlidesPosition = buildUpdateSlidesPositionRequest(); 1820 o.updateSlidesPosition = buildUpdateSlidesPositionRequest();
1689 o.updateTableCellProperties = buildUpdateTableCellPropertiesRequest(); 1821 o.updateTableCellProperties = buildUpdateTableCellPropertiesRequest();
1690 o.updateTextStyle = buildUpdateTextStyleRequest(); 1822 o.updateTextStyle = buildUpdateTextStyleRequest();
1691 o.updateVideoProperties = buildUpdateVideoPropertiesRequest(); 1823 o.updateVideoProperties = buildUpdateVideoPropertiesRequest();
1692 } 1824 }
1693 buildCounterRequest--; 1825 buildCounterRequest--;
1694 return o; 1826 return o;
1695 } 1827 }
1696 1828
1697 checkRequest(api.Request o) { 1829 checkRequest(api.Request o) {
1698 buildCounterRequest++; 1830 buildCounterRequest++;
1699 if (buildCounterRequest < 3) { 1831 if (buildCounterRequest < 3) {
1700 checkCreateImageRequest(o.createImage); 1832 checkCreateImageRequest(o.createImage);
1701 checkCreateLineRequest(o.createLine); 1833 checkCreateLineRequest(o.createLine);
1702 checkCreateParagraphBulletsRequest(o.createParagraphBullets); 1834 checkCreateParagraphBulletsRequest(o.createParagraphBullets);
1703 checkCreateShapeRequest(o.createShape); 1835 checkCreateShapeRequest(o.createShape);
1704 checkCreateSheetsChartRequest(o.createSheetsChart); 1836 checkCreateSheetsChartRequest(o.createSheetsChart);
1705 checkCreateSlideRequest(o.createSlide); 1837 checkCreateSlideRequest(o.createSlide);
1706 checkCreateTableRequest(o.createTable); 1838 checkCreateTableRequest(o.createTable);
1707 checkCreateVideoRequest(o.createVideo); 1839 checkCreateVideoRequest(o.createVideo);
1708 checkDeleteObjectRequest(o.deleteObject); 1840 checkDeleteObjectRequest(o.deleteObject);
1841 checkDeleteParagraphBulletsRequest(o.deleteParagraphBullets);
1709 checkDeleteTableColumnRequest(o.deleteTableColumn); 1842 checkDeleteTableColumnRequest(o.deleteTableColumn);
1710 checkDeleteTableRowRequest(o.deleteTableRow); 1843 checkDeleteTableRowRequest(o.deleteTableRow);
1711 checkDeleteTextRequest(o.deleteText); 1844 checkDeleteTextRequest(o.deleteText);
1712 checkDuplicateObjectRequest(o.duplicateObject); 1845 checkDuplicateObjectRequest(o.duplicateObject);
1713 checkInsertTableColumnsRequest(o.insertTableColumns); 1846 checkInsertTableColumnsRequest(o.insertTableColumns);
1714 checkInsertTableRowsRequest(o.insertTableRows); 1847 checkInsertTableRowsRequest(o.insertTableRows);
1715 checkInsertTextRequest(o.insertText); 1848 checkInsertTextRequest(o.insertText);
1716 checkRefreshSheetsChartRequest(o.refreshSheetsChart); 1849 checkRefreshSheetsChartRequest(o.refreshSheetsChart);
1717 checkReplaceAllShapesWithImageRequest(o.replaceAllShapesWithImage); 1850 checkReplaceAllShapesWithImageRequest(o.replaceAllShapesWithImage);
1851 checkReplaceAllShapesWithSheetsChartRequest(o.replaceAllShapesWithSheetsChar t);
1718 checkReplaceAllTextRequest(o.replaceAllText); 1852 checkReplaceAllTextRequest(o.replaceAllText);
1719 checkUpdateImagePropertiesRequest(o.updateImageProperties); 1853 checkUpdateImagePropertiesRequest(o.updateImageProperties);
1720 checkUpdateLinePropertiesRequest(o.updateLineProperties); 1854 checkUpdateLinePropertiesRequest(o.updateLineProperties);
1721 checkUpdatePageElementTransformRequest(o.updatePageElementTransform); 1855 checkUpdatePageElementTransformRequest(o.updatePageElementTransform);
1722 checkUpdatePagePropertiesRequest(o.updatePageProperties); 1856 checkUpdatePagePropertiesRequest(o.updatePageProperties);
1723 checkUpdateShapePropertiesRequest(o.updateShapeProperties); 1857 checkUpdateShapePropertiesRequest(o.updateShapeProperties);
1724 checkUpdateSlidesPositionRequest(o.updateSlidesPosition); 1858 checkUpdateSlidesPositionRequest(o.updateSlidesPosition);
1725 checkUpdateTableCellPropertiesRequest(o.updateTableCellProperties); 1859 checkUpdateTableCellPropertiesRequest(o.updateTableCellProperties);
1726 checkUpdateTextStyleRequest(o.updateTextStyle); 1860 checkUpdateTextStyleRequest(o.updateTextStyle);
1727 checkUpdateVideoPropertiesRequest(o.updateVideoProperties); 1861 checkUpdateVideoPropertiesRequest(o.updateVideoProperties);
1728 } 1862 }
1729 buildCounterRequest--; 1863 buildCounterRequest--;
1730 } 1864 }
1731 1865
1732 core.int buildCounterResponse = 0; 1866 core.int buildCounterResponse = 0;
1733 buildResponse() { 1867 buildResponse() {
1734 var o = new api.Response(); 1868 var o = new api.Response();
1735 buildCounterResponse++; 1869 buildCounterResponse++;
1736 if (buildCounterResponse < 3) { 1870 if (buildCounterResponse < 3) {
1737 o.createImage = buildCreateImageResponse(); 1871 o.createImage = buildCreateImageResponse();
1738 o.createLine = buildCreateLineResponse(); 1872 o.createLine = buildCreateLineResponse();
1739 o.createShape = buildCreateShapeResponse(); 1873 o.createShape = buildCreateShapeResponse();
1740 o.createSheetsChart = buildCreateSheetsChartResponse(); 1874 o.createSheetsChart = buildCreateSheetsChartResponse();
1741 o.createSlide = buildCreateSlideResponse(); 1875 o.createSlide = buildCreateSlideResponse();
1742 o.createTable = buildCreateTableResponse(); 1876 o.createTable = buildCreateTableResponse();
1743 o.createVideo = buildCreateVideoResponse(); 1877 o.createVideo = buildCreateVideoResponse();
1744 o.duplicateObject = buildDuplicateObjectResponse(); 1878 o.duplicateObject = buildDuplicateObjectResponse();
1745 o.replaceAllShapesWithImage = buildReplaceAllShapesWithImageResponse(); 1879 o.replaceAllShapesWithImage = buildReplaceAllShapesWithImageResponse();
1880 o.replaceAllShapesWithSheetsChart = buildReplaceAllShapesWithSheetsChartResp onse();
1746 o.replaceAllText = buildReplaceAllTextResponse(); 1881 o.replaceAllText = buildReplaceAllTextResponse();
1747 } 1882 }
1748 buildCounterResponse--; 1883 buildCounterResponse--;
1749 return o; 1884 return o;
1750 } 1885 }
1751 1886
1752 checkResponse(api.Response o) { 1887 checkResponse(api.Response o) {
1753 buildCounterResponse++; 1888 buildCounterResponse++;
1754 if (buildCounterResponse < 3) { 1889 if (buildCounterResponse < 3) {
1755 checkCreateImageResponse(o.createImage); 1890 checkCreateImageResponse(o.createImage);
1756 checkCreateLineResponse(o.createLine); 1891 checkCreateLineResponse(o.createLine);
1757 checkCreateShapeResponse(o.createShape); 1892 checkCreateShapeResponse(o.createShape);
1758 checkCreateSheetsChartResponse(o.createSheetsChart); 1893 checkCreateSheetsChartResponse(o.createSheetsChart);
1759 checkCreateSlideResponse(o.createSlide); 1894 checkCreateSlideResponse(o.createSlide);
1760 checkCreateTableResponse(o.createTable); 1895 checkCreateTableResponse(o.createTable);
1761 checkCreateVideoResponse(o.createVideo); 1896 checkCreateVideoResponse(o.createVideo);
1762 checkDuplicateObjectResponse(o.duplicateObject); 1897 checkDuplicateObjectResponse(o.duplicateObject);
1763 checkReplaceAllShapesWithImageResponse(o.replaceAllShapesWithImage); 1898 checkReplaceAllShapesWithImageResponse(o.replaceAllShapesWithImage);
1899 checkReplaceAllShapesWithSheetsChartResponse(o.replaceAllShapesWithSheetsCha rt);
1764 checkReplaceAllTextResponse(o.replaceAllText); 1900 checkReplaceAllTextResponse(o.replaceAllText);
1765 } 1901 }
1766 buildCounterResponse--; 1902 buildCounterResponse--;
1767 } 1903 }
1768 1904
1769 core.int buildCounterRgbColor = 0; 1905 core.int buildCounterRgbColor = 0;
1770 buildRgbColor() { 1906 buildRgbColor() {
1771 var o = new api.RgbColor(); 1907 var o = new api.RgbColor();
1772 buildCounterRgbColor++; 1908 buildCounterRgbColor++;
1773 if (buildCounterRgbColor < 3) { 1909 if (buildCounterRgbColor < 3) {
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1958 buildCounterSize--; 2094 buildCounterSize--;
1959 } 2095 }
1960 2096
1961 core.int buildCounterSlideProperties = 0; 2097 core.int buildCounterSlideProperties = 0;
1962 buildSlideProperties() { 2098 buildSlideProperties() {
1963 var o = new api.SlideProperties(); 2099 var o = new api.SlideProperties();
1964 buildCounterSlideProperties++; 2100 buildCounterSlideProperties++;
1965 if (buildCounterSlideProperties < 3) { 2101 if (buildCounterSlideProperties < 3) {
1966 o.layoutObjectId = "foo"; 2102 o.layoutObjectId = "foo";
1967 o.masterObjectId = "foo"; 2103 o.masterObjectId = "foo";
2104 o.notesPage = buildPage();
1968 } 2105 }
1969 buildCounterSlideProperties--; 2106 buildCounterSlideProperties--;
1970 return o; 2107 return o;
1971 } 2108 }
1972 2109
1973 checkSlideProperties(api.SlideProperties o) { 2110 checkSlideProperties(api.SlideProperties o) {
1974 buildCounterSlideProperties++; 2111 buildCounterSlideProperties++;
1975 if (buildCounterSlideProperties < 3) { 2112 if (buildCounterSlideProperties < 3) {
1976 unittest.expect(o.layoutObjectId, unittest.equals('foo')); 2113 unittest.expect(o.layoutObjectId, unittest.equals('foo'));
1977 unittest.expect(o.masterObjectId, unittest.equals('foo')); 2114 unittest.expect(o.masterObjectId, unittest.equals('foo'));
2115 checkPage(o.notesPage);
1978 } 2116 }
1979 buildCounterSlideProperties--; 2117 buildCounterSlideProperties--;
1980 } 2118 }
1981 2119
1982 core.int buildCounterSolidFill = 0; 2120 core.int buildCounterSolidFill = 0;
1983 buildSolidFill() { 2121 buildSolidFill() {
1984 var o = new api.SolidFill(); 2122 var o = new api.SolidFill();
1985 buildCounterSolidFill++; 2123 buildCounterSolidFill++;
1986 if (buildCounterSolidFill < 3) { 2124 if (buildCounterSolidFill < 3) {
1987 o.alpha = 42.0; 2125 o.alpha = 42.0;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2035 2173
2036 checkSubstringMatchCriteria(api.SubstringMatchCriteria o) { 2174 checkSubstringMatchCriteria(api.SubstringMatchCriteria o) {
2037 buildCounterSubstringMatchCriteria++; 2175 buildCounterSubstringMatchCriteria++;
2038 if (buildCounterSubstringMatchCriteria < 3) { 2176 if (buildCounterSubstringMatchCriteria < 3) {
2039 unittest.expect(o.matchCase, unittest.isTrue); 2177 unittest.expect(o.matchCase, unittest.isTrue);
2040 unittest.expect(o.text, unittest.equals('foo')); 2178 unittest.expect(o.text, unittest.equals('foo'));
2041 } 2179 }
2042 buildCounterSubstringMatchCriteria--; 2180 buildCounterSubstringMatchCriteria--;
2043 } 2181 }
2044 2182
2045 buildUnnamed1668() { 2183 buildUnnamed1702() {
2046 var o = new core.List<api.TableColumnProperties>(); 2184 var o = new core.List<api.TableColumnProperties>();
2047 o.add(buildTableColumnProperties()); 2185 o.add(buildTableColumnProperties());
2048 o.add(buildTableColumnProperties()); 2186 o.add(buildTableColumnProperties());
2049 return o; 2187 return o;
2050 } 2188 }
2051 2189
2052 checkUnnamed1668(core.List<api.TableColumnProperties> o) { 2190 checkUnnamed1702(core.List<api.TableColumnProperties> o) {
2053 unittest.expect(o, unittest.hasLength(2)); 2191 unittest.expect(o, unittest.hasLength(2));
2054 checkTableColumnProperties(o[0]); 2192 checkTableColumnProperties(o[0]);
2055 checkTableColumnProperties(o[1]); 2193 checkTableColumnProperties(o[1]);
2056 } 2194 }
2057 2195
2058 buildUnnamed1669() { 2196 buildUnnamed1703() {
2059 var o = new core.List<api.TableRow>(); 2197 var o = new core.List<api.TableRow>();
2060 o.add(buildTableRow()); 2198 o.add(buildTableRow());
2061 o.add(buildTableRow()); 2199 o.add(buildTableRow());
2062 return o; 2200 return o;
2063 } 2201 }
2064 2202
2065 checkUnnamed1669(core.List<api.TableRow> o) { 2203 checkUnnamed1703(core.List<api.TableRow> o) {
2066 unittest.expect(o, unittest.hasLength(2)); 2204 unittest.expect(o, unittest.hasLength(2));
2067 checkTableRow(o[0]); 2205 checkTableRow(o[0]);
2068 checkTableRow(o[1]); 2206 checkTableRow(o[1]);
2069 } 2207 }
2070 2208
2071 core.int buildCounterTable = 0; 2209 core.int buildCounterTable = 0;
2072 buildTable() { 2210 buildTable() {
2073 var o = new api.Table(); 2211 var o = new api.Table();
2074 buildCounterTable++; 2212 buildCounterTable++;
2075 if (buildCounterTable < 3) { 2213 if (buildCounterTable < 3) {
2076 o.columns = 42; 2214 o.columns = 42;
2077 o.rows = 42; 2215 o.rows = 42;
2078 o.tableColumns = buildUnnamed1668(); 2216 o.tableColumns = buildUnnamed1702();
2079 o.tableRows = buildUnnamed1669(); 2217 o.tableRows = buildUnnamed1703();
2080 } 2218 }
2081 buildCounterTable--; 2219 buildCounterTable--;
2082 return o; 2220 return o;
2083 } 2221 }
2084 2222
2085 checkTable(api.Table o) { 2223 checkTable(api.Table o) {
2086 buildCounterTable++; 2224 buildCounterTable++;
2087 if (buildCounterTable < 3) { 2225 if (buildCounterTable < 3) {
2088 unittest.expect(o.columns, unittest.equals(42)); 2226 unittest.expect(o.columns, unittest.equals(42));
2089 unittest.expect(o.rows, unittest.equals(42)); 2227 unittest.expect(o.rows, unittest.equals(42));
2090 checkUnnamed1668(o.tableColumns); 2228 checkUnnamed1702(o.tableColumns);
2091 checkUnnamed1669(o.tableRows); 2229 checkUnnamed1703(o.tableRows);
2092 } 2230 }
2093 buildCounterTable--; 2231 buildCounterTable--;
2094 } 2232 }
2095 2233
2096 core.int buildCounterTableCell = 0; 2234 core.int buildCounterTableCell = 0;
2097 buildTableCell() { 2235 buildTableCell() {
2098 var o = new api.TableCell(); 2236 var o = new api.TableCell();
2099 buildCounterTableCell++; 2237 buildCounterTableCell++;
2100 if (buildCounterTableCell < 3) { 2238 if (buildCounterTableCell < 3) {
2101 o.columnSpan = 42; 2239 o.columnSpan = 42;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
2216 checkTableRange(api.TableRange o) { 2354 checkTableRange(api.TableRange o) {
2217 buildCounterTableRange++; 2355 buildCounterTableRange++;
2218 if (buildCounterTableRange < 3) { 2356 if (buildCounterTableRange < 3) {
2219 unittest.expect(o.columnSpan, unittest.equals(42)); 2357 unittest.expect(o.columnSpan, unittest.equals(42));
2220 checkTableCellLocation(o.location); 2358 checkTableCellLocation(o.location);
2221 unittest.expect(o.rowSpan, unittest.equals(42)); 2359 unittest.expect(o.rowSpan, unittest.equals(42));
2222 } 2360 }
2223 buildCounterTableRange--; 2361 buildCounterTableRange--;
2224 } 2362 }
2225 2363
2226 buildUnnamed1670() { 2364 buildUnnamed1704() {
2227 var o = new core.List<api.TableCell>(); 2365 var o = new core.List<api.TableCell>();
2228 o.add(buildTableCell()); 2366 o.add(buildTableCell());
2229 o.add(buildTableCell()); 2367 o.add(buildTableCell());
2230 return o; 2368 return o;
2231 } 2369 }
2232 2370
2233 checkUnnamed1670(core.List<api.TableCell> o) { 2371 checkUnnamed1704(core.List<api.TableCell> o) {
2234 unittest.expect(o, unittest.hasLength(2)); 2372 unittest.expect(o, unittest.hasLength(2));
2235 checkTableCell(o[0]); 2373 checkTableCell(o[0]);
2236 checkTableCell(o[1]); 2374 checkTableCell(o[1]);
2237 } 2375 }
2238 2376
2239 core.int buildCounterTableRow = 0; 2377 core.int buildCounterTableRow = 0;
2240 buildTableRow() { 2378 buildTableRow() {
2241 var o = new api.TableRow(); 2379 var o = new api.TableRow();
2242 buildCounterTableRow++; 2380 buildCounterTableRow++;
2243 if (buildCounterTableRow < 3) { 2381 if (buildCounterTableRow < 3) {
2244 o.rowHeight = buildDimension(); 2382 o.rowHeight = buildDimension();
2245 o.tableCells = buildUnnamed1670(); 2383 o.tableCells = buildUnnamed1704();
2246 } 2384 }
2247 buildCounterTableRow--; 2385 buildCounterTableRow--;
2248 return o; 2386 return o;
2249 } 2387 }
2250 2388
2251 checkTableRow(api.TableRow o) { 2389 checkTableRow(api.TableRow o) {
2252 buildCounterTableRow++; 2390 buildCounterTableRow++;
2253 if (buildCounterTableRow < 3) { 2391 if (buildCounterTableRow < 3) {
2254 checkDimension(o.rowHeight); 2392 checkDimension(o.rowHeight);
2255 checkUnnamed1670(o.tableCells); 2393 checkUnnamed1704(o.tableCells);
2256 } 2394 }
2257 buildCounterTableRow--; 2395 buildCounterTableRow--;
2258 } 2396 }
2259 2397
2260 buildUnnamed1671() { 2398 buildUnnamed1705() {
2261 var o = new core.Map<core.String, api.List>(); 2399 var o = new core.Map<core.String, api.List>();
2262 o["x"] = buildList(); 2400 o["x"] = buildList();
2263 o["y"] = buildList(); 2401 o["y"] = buildList();
2264 return o; 2402 return o;
2265 } 2403 }
2266 2404
2267 checkUnnamed1671(core.Map<core.String, api.List> o) { 2405 checkUnnamed1705(core.Map<core.String, api.List> o) {
2268 unittest.expect(o, unittest.hasLength(2)); 2406 unittest.expect(o, unittest.hasLength(2));
2269 checkList(o["x"]); 2407 checkList(o["x"]);
2270 checkList(o["y"]); 2408 checkList(o["y"]);
2271 } 2409 }
2272 2410
2273 buildUnnamed1672() { 2411 buildUnnamed1706() {
2274 var o = new core.List<api.TextElement>(); 2412 var o = new core.List<api.TextElement>();
2275 o.add(buildTextElement()); 2413 o.add(buildTextElement());
2276 o.add(buildTextElement()); 2414 o.add(buildTextElement());
2277 return o; 2415 return o;
2278 } 2416 }
2279 2417
2280 checkUnnamed1672(core.List<api.TextElement> o) { 2418 checkUnnamed1706(core.List<api.TextElement> o) {
2281 unittest.expect(o, unittest.hasLength(2)); 2419 unittest.expect(o, unittest.hasLength(2));
2282 checkTextElement(o[0]); 2420 checkTextElement(o[0]);
2283 checkTextElement(o[1]); 2421 checkTextElement(o[1]);
2284 } 2422 }
2285 2423
2286 core.int buildCounterTextContent = 0; 2424 core.int buildCounterTextContent = 0;
2287 buildTextContent() { 2425 buildTextContent() {
2288 var o = new api.TextContent(); 2426 var o = new api.TextContent();
2289 buildCounterTextContent++; 2427 buildCounterTextContent++;
2290 if (buildCounterTextContent < 3) { 2428 if (buildCounterTextContent < 3) {
2291 o.lists = buildUnnamed1671(); 2429 o.lists = buildUnnamed1705();
2292 o.textElements = buildUnnamed1672(); 2430 o.textElements = buildUnnamed1706();
2293 } 2431 }
2294 buildCounterTextContent--; 2432 buildCounterTextContent--;
2295 return o; 2433 return o;
2296 } 2434 }
2297 2435
2298 checkTextContent(api.TextContent o) { 2436 checkTextContent(api.TextContent o) {
2299 buildCounterTextContent++; 2437 buildCounterTextContent++;
2300 if (buildCounterTextContent < 3) { 2438 if (buildCounterTextContent < 3) {
2301 checkUnnamed1671(o.lists); 2439 checkUnnamed1705(o.lists);
2302 checkUnnamed1672(o.textElements); 2440 checkUnnamed1706(o.textElements);
2303 } 2441 }
2304 buildCounterTextContent--; 2442 buildCounterTextContent--;
2305 } 2443 }
2306 2444
2307 core.int buildCounterTextElement = 0; 2445 core.int buildCounterTextElement = 0;
2308 buildTextElement() { 2446 buildTextElement() {
2309 var o = new api.TextElement(); 2447 var o = new api.TextElement();
2310 buildCounterTextElement++; 2448 buildCounterTextElement++;
2311 if (buildCounterTextElement < 3) { 2449 if (buildCounterTextElement < 3) {
2312 o.autoText = buildAutoText(); 2450 o.autoText = buildAutoText();
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
2520 checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) { 2658 checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) {
2521 buildCounterUpdateShapePropertiesRequest++; 2659 buildCounterUpdateShapePropertiesRequest++;
2522 if (buildCounterUpdateShapePropertiesRequest < 3) { 2660 if (buildCounterUpdateShapePropertiesRequest < 3) {
2523 unittest.expect(o.fields, unittest.equals('foo')); 2661 unittest.expect(o.fields, unittest.equals('foo'));
2524 unittest.expect(o.objectId, unittest.equals('foo')); 2662 unittest.expect(o.objectId, unittest.equals('foo'));
2525 checkShapeProperties(o.shapeProperties); 2663 checkShapeProperties(o.shapeProperties);
2526 } 2664 }
2527 buildCounterUpdateShapePropertiesRequest--; 2665 buildCounterUpdateShapePropertiesRequest--;
2528 } 2666 }
2529 2667
2530 buildUnnamed1673() { 2668 buildUnnamed1707() {
2531 var o = new core.List<core.String>(); 2669 var o = new core.List<core.String>();
2532 o.add("foo"); 2670 o.add("foo");
2533 o.add("foo"); 2671 o.add("foo");
2534 return o; 2672 return o;
2535 } 2673 }
2536 2674
2537 checkUnnamed1673(core.List<core.String> o) { 2675 checkUnnamed1707(core.List<core.String> o) {
2538 unittest.expect(o, unittest.hasLength(2)); 2676 unittest.expect(o, unittest.hasLength(2));
2539 unittest.expect(o[0], unittest.equals('foo')); 2677 unittest.expect(o[0], unittest.equals('foo'));
2540 unittest.expect(o[1], unittest.equals('foo')); 2678 unittest.expect(o[1], unittest.equals('foo'));
2541 } 2679 }
2542 2680
2543 core.int buildCounterUpdateSlidesPositionRequest = 0; 2681 core.int buildCounterUpdateSlidesPositionRequest = 0;
2544 buildUpdateSlidesPositionRequest() { 2682 buildUpdateSlidesPositionRequest() {
2545 var o = new api.UpdateSlidesPositionRequest(); 2683 var o = new api.UpdateSlidesPositionRequest();
2546 buildCounterUpdateSlidesPositionRequest++; 2684 buildCounterUpdateSlidesPositionRequest++;
2547 if (buildCounterUpdateSlidesPositionRequest < 3) { 2685 if (buildCounterUpdateSlidesPositionRequest < 3) {
2548 o.insertionIndex = 42; 2686 o.insertionIndex = 42;
2549 o.slideObjectIds = buildUnnamed1673(); 2687 o.slideObjectIds = buildUnnamed1707();
2550 } 2688 }
2551 buildCounterUpdateSlidesPositionRequest--; 2689 buildCounterUpdateSlidesPositionRequest--;
2552 return o; 2690 return o;
2553 } 2691 }
2554 2692
2555 checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) { 2693 checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) {
2556 buildCounterUpdateSlidesPositionRequest++; 2694 buildCounterUpdateSlidesPositionRequest++;
2557 if (buildCounterUpdateSlidesPositionRequest < 3) { 2695 if (buildCounterUpdateSlidesPositionRequest < 3) {
2558 unittest.expect(o.insertionIndex, unittest.equals(42)); 2696 unittest.expect(o.insertionIndex, unittest.equals(42));
2559 checkUnnamed1673(o.slideObjectIds); 2697 checkUnnamed1707(o.slideObjectIds);
2560 } 2698 }
2561 buildCounterUpdateSlidesPositionRequest--; 2699 buildCounterUpdateSlidesPositionRequest--;
2562 } 2700 }
2563 2701
2564 core.int buildCounterUpdateTableCellPropertiesRequest = 0; 2702 core.int buildCounterUpdateTableCellPropertiesRequest = 0;
2565 buildUpdateTableCellPropertiesRequest() { 2703 buildUpdateTableCellPropertiesRequest() {
2566 var o = new api.UpdateTableCellPropertiesRequest(); 2704 var o = new api.UpdateTableCellPropertiesRequest();
2567 buildCounterUpdateTableCellPropertiesRequest++; 2705 buildCounterUpdateTableCellPropertiesRequest++;
2568 if (buildCounterUpdateTableCellPropertiesRequest < 3) { 2706 if (buildCounterUpdateTableCellPropertiesRequest < 3) {
2569 o.fields = "foo"; 2707 o.fields = "foo";
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
2910 3048
2911 unittest.group("obj-schema-DeleteObjectRequest", () { 3049 unittest.group("obj-schema-DeleteObjectRequest", () {
2912 unittest.test("to-json--from-json", () { 3050 unittest.test("to-json--from-json", () {
2913 var o = buildDeleteObjectRequest(); 3051 var o = buildDeleteObjectRequest();
2914 var od = new api.DeleteObjectRequest.fromJson(o.toJson()); 3052 var od = new api.DeleteObjectRequest.fromJson(o.toJson());
2915 checkDeleteObjectRequest(od); 3053 checkDeleteObjectRequest(od);
2916 }); 3054 });
2917 }); 3055 });
2918 3056
2919 3057
3058 unittest.group("obj-schema-DeleteParagraphBulletsRequest", () {
3059 unittest.test("to-json--from-json", () {
3060 var o = buildDeleteParagraphBulletsRequest();
3061 var od = new api.DeleteParagraphBulletsRequest.fromJson(o.toJson());
3062 checkDeleteParagraphBulletsRequest(od);
3063 });
3064 });
3065
3066
2920 unittest.group("obj-schema-DeleteTableColumnRequest", () { 3067 unittest.group("obj-schema-DeleteTableColumnRequest", () {
2921 unittest.test("to-json--from-json", () { 3068 unittest.test("to-json--from-json", () {
2922 var o = buildDeleteTableColumnRequest(); 3069 var o = buildDeleteTableColumnRequest();
2923 var od = new api.DeleteTableColumnRequest.fromJson(o.toJson()); 3070 var od = new api.DeleteTableColumnRequest.fromJson(o.toJson());
2924 checkDeleteTableColumnRequest(od); 3071 checkDeleteTableColumnRequest(od);
2925 }); 3072 });
2926 }); 3073 });
2927 3074
2928 3075
2929 unittest.group("obj-schema-DeleteTableRowRequest", () { 3076 unittest.group("obj-schema-DeleteTableRowRequest", () {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
3018 3165
3019 unittest.group("obj-schema-InsertTextRequest", () { 3166 unittest.group("obj-schema-InsertTextRequest", () {
3020 unittest.test("to-json--from-json", () { 3167 unittest.test("to-json--from-json", () {
3021 var o = buildInsertTextRequest(); 3168 var o = buildInsertTextRequest();
3022 var od = new api.InsertTextRequest.fromJson(o.toJson()); 3169 var od = new api.InsertTextRequest.fromJson(o.toJson());
3023 checkInsertTextRequest(od); 3170 checkInsertTextRequest(od);
3024 }); 3171 });
3025 }); 3172 });
3026 3173
3027 3174
3175 unittest.group("obj-schema-LayoutPlaceholderIdMapping", () {
3176 unittest.test("to-json--from-json", () {
3177 var o = buildLayoutPlaceholderIdMapping();
3178 var od = new api.LayoutPlaceholderIdMapping.fromJson(o.toJson());
3179 checkLayoutPlaceholderIdMapping(od);
3180 });
3181 });
3182
3183
3028 unittest.group("obj-schema-LayoutProperties", () { 3184 unittest.group("obj-schema-LayoutProperties", () {
3029 unittest.test("to-json--from-json", () { 3185 unittest.test("to-json--from-json", () {
3030 var o = buildLayoutProperties(); 3186 var o = buildLayoutProperties();
3031 var od = new api.LayoutProperties.fromJson(o.toJson()); 3187 var od = new api.LayoutProperties.fromJson(o.toJson());
3032 checkLayoutProperties(od); 3188 checkLayoutProperties(od);
3033 }); 3189 });
3034 }); 3190 });
3035 3191
3036 3192
3037 unittest.group("obj-schema-LayoutReference", () { 3193 unittest.group("obj-schema-LayoutReference", () {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
3090 3246
3091 unittest.group("obj-schema-NestingLevel", () { 3247 unittest.group("obj-schema-NestingLevel", () {
3092 unittest.test("to-json--from-json", () { 3248 unittest.test("to-json--from-json", () {
3093 var o = buildNestingLevel(); 3249 var o = buildNestingLevel();
3094 var od = new api.NestingLevel.fromJson(o.toJson()); 3250 var od = new api.NestingLevel.fromJson(o.toJson());
3095 checkNestingLevel(od); 3251 checkNestingLevel(od);
3096 }); 3252 });
3097 }); 3253 });
3098 3254
3099 3255
3256 unittest.group("obj-schema-NotesProperties", () {
3257 unittest.test("to-json--from-json", () {
3258 var o = buildNotesProperties();
3259 var od = new api.NotesProperties.fromJson(o.toJson());
3260 checkNotesProperties(od);
3261 });
3262 });
3263
3264
3100 unittest.group("obj-schema-OpaqueColor", () { 3265 unittest.group("obj-schema-OpaqueColor", () {
3101 unittest.test("to-json--from-json", () { 3266 unittest.test("to-json--from-json", () {
3102 var o = buildOpaqueColor(); 3267 var o = buildOpaqueColor();
3103 var od = new api.OpaqueColor.fromJson(o.toJson()); 3268 var od = new api.OpaqueColor.fromJson(o.toJson());
3104 checkOpaqueColor(od); 3269 checkOpaqueColor(od);
3105 }); 3270 });
3106 }); 3271 });
3107 3272
3108 3273
3109 unittest.group("obj-schema-OptionalColor", () { 3274 unittest.group("obj-schema-OptionalColor", () {
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
3252 3417
3253 unittest.group("obj-schema-ReplaceAllShapesWithImageResponse", () { 3418 unittest.group("obj-schema-ReplaceAllShapesWithImageResponse", () {
3254 unittest.test("to-json--from-json", () { 3419 unittest.test("to-json--from-json", () {
3255 var o = buildReplaceAllShapesWithImageResponse(); 3420 var o = buildReplaceAllShapesWithImageResponse();
3256 var od = new api.ReplaceAllShapesWithImageResponse.fromJson(o.toJson()); 3421 var od = new api.ReplaceAllShapesWithImageResponse.fromJson(o.toJson());
3257 checkReplaceAllShapesWithImageResponse(od); 3422 checkReplaceAllShapesWithImageResponse(od);
3258 }); 3423 });
3259 }); 3424 });
3260 3425
3261 3426
3427 unittest.group("obj-schema-ReplaceAllShapesWithSheetsChartRequest", () {
3428 unittest.test("to-json--from-json", () {
3429 var o = buildReplaceAllShapesWithSheetsChartRequest();
3430 var od = new api.ReplaceAllShapesWithSheetsChartRequest.fromJson(o.toJson( ));
3431 checkReplaceAllShapesWithSheetsChartRequest(od);
3432 });
3433 });
3434
3435
3436 unittest.group("obj-schema-ReplaceAllShapesWithSheetsChartResponse", () {
3437 unittest.test("to-json--from-json", () {
3438 var o = buildReplaceAllShapesWithSheetsChartResponse();
3439 var od = new api.ReplaceAllShapesWithSheetsChartResponse.fromJson(o.toJson ());
3440 checkReplaceAllShapesWithSheetsChartResponse(od);
3441 });
3442 });
3443
3444
3262 unittest.group("obj-schema-ReplaceAllTextRequest", () { 3445 unittest.group("obj-schema-ReplaceAllTextRequest", () {
3263 unittest.test("to-json--from-json", () { 3446 unittest.test("to-json--from-json", () {
3264 var o = buildReplaceAllTextRequest(); 3447 var o = buildReplaceAllTextRequest();
3265 var od = new api.ReplaceAllTextRequest.fromJson(o.toJson()); 3448 var od = new api.ReplaceAllTextRequest.fromJson(o.toJson());
3266 checkReplaceAllTextRequest(od); 3449 checkReplaceAllTextRequest(od);
3267 }); 3450 });
3268 }); 3451 });
3269 3452
3270 3453
3271 unittest.group("obj-schema-ReplaceAllTextResponse", () { 3454 unittest.group("obj-schema-ReplaceAllTextResponse", () {
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
3833 res.get(arg_presentationId, arg_pageObjectId).then(unittest.expectAsync((( api.Page response) { 4016 res.get(arg_presentationId, arg_pageObjectId).then(unittest.expectAsync((( api.Page response) {
3834 checkPage(response); 4017 checkPage(response);
3835 }))); 4018 })));
3836 }); 4019 });
3837 4020
3838 }); 4021 });
3839 4022
3840 4023
3841 } 4024 }
3842 4025
OLDNEW
« no previous file with comments | « generated/googleapis/test/sheets/v4_test.dart ('k') | generated/googleapis/test/storage/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698