OLD | NEW |
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:test/test.dart' as unittest; | 10 import 'package:test/test.dart' as unittest; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 buildUnnamed1713() { | 108 buildUnnamed1730() { |
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 checkUnnamed1713(core.List<api.Request> o) { | 115 checkUnnamed1730(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 = buildUnnamed1713(); | 126 o.requests = buildUnnamed1730(); |
127 o.writeControl = buildWriteControl(); | 127 o.writeControl = buildWriteControl(); |
128 } | 128 } |
129 buildCounterBatchUpdatePresentationRequest--; | 129 buildCounterBatchUpdatePresentationRequest--; |
130 return o; | 130 return o; |
131 } | 131 } |
132 | 132 |
133 checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) { | 133 checkBatchUpdatePresentationRequest(api.BatchUpdatePresentationRequest o) { |
134 buildCounterBatchUpdatePresentationRequest++; | 134 buildCounterBatchUpdatePresentationRequest++; |
135 if (buildCounterBatchUpdatePresentationRequest < 3) { | 135 if (buildCounterBatchUpdatePresentationRequest < 3) { |
136 checkUnnamed1713(o.requests); | 136 checkUnnamed1730(o.requests); |
137 checkWriteControl(o.writeControl); | 137 checkWriteControl(o.writeControl); |
138 } | 138 } |
139 buildCounterBatchUpdatePresentationRequest--; | 139 buildCounterBatchUpdatePresentationRequest--; |
140 } | 140 } |
141 | 141 |
142 buildUnnamed1714() { | 142 buildUnnamed1731() { |
143 var o = new core.List<api.Response>(); | 143 var o = new core.List<api.Response>(); |
144 o.add(buildResponse()); | 144 o.add(buildResponse()); |
145 o.add(buildResponse()); | 145 o.add(buildResponse()); |
146 return o; | 146 return o; |
147 } | 147 } |
148 | 148 |
149 checkUnnamed1714(core.List<api.Response> o) { | 149 checkUnnamed1731(core.List<api.Response> o) { |
150 unittest.expect(o, unittest.hasLength(2)); | 150 unittest.expect(o, unittest.hasLength(2)); |
151 checkResponse(o[0]); | 151 checkResponse(o[0]); |
152 checkResponse(o[1]); | 152 checkResponse(o[1]); |
153 } | 153 } |
154 | 154 |
155 core.int buildCounterBatchUpdatePresentationResponse = 0; | 155 core.int buildCounterBatchUpdatePresentationResponse = 0; |
156 buildBatchUpdatePresentationResponse() { | 156 buildBatchUpdatePresentationResponse() { |
157 var o = new api.BatchUpdatePresentationResponse(); | 157 var o = new api.BatchUpdatePresentationResponse(); |
158 buildCounterBatchUpdatePresentationResponse++; | 158 buildCounterBatchUpdatePresentationResponse++; |
159 if (buildCounterBatchUpdatePresentationResponse < 3) { | 159 if (buildCounterBatchUpdatePresentationResponse < 3) { |
160 o.presentationId = "foo"; | 160 o.presentationId = "foo"; |
161 o.replies = buildUnnamed1714(); | 161 o.replies = buildUnnamed1731(); |
162 } | 162 } |
163 buildCounterBatchUpdatePresentationResponse--; | 163 buildCounterBatchUpdatePresentationResponse--; |
164 return o; | 164 return o; |
165 } | 165 } |
166 | 166 |
167 checkBatchUpdatePresentationResponse(api.BatchUpdatePresentationResponse o) { | 167 checkBatchUpdatePresentationResponse(api.BatchUpdatePresentationResponse o) { |
168 buildCounterBatchUpdatePresentationResponse++; | 168 buildCounterBatchUpdatePresentationResponse++; |
169 if (buildCounterBatchUpdatePresentationResponse < 3) { | 169 if (buildCounterBatchUpdatePresentationResponse < 3) { |
170 unittest.expect(o.presentationId, unittest.equals('foo')); | 170 unittest.expect(o.presentationId, unittest.equals('foo')); |
171 checkUnnamed1714(o.replies); | 171 checkUnnamed1731(o.replies); |
172 } | 172 } |
173 buildCounterBatchUpdatePresentationResponse--; | 173 buildCounterBatchUpdatePresentationResponse--; |
174 } | 174 } |
175 | 175 |
176 core.int buildCounterBullet = 0; | 176 core.int buildCounterBullet = 0; |
177 buildBullet() { | 177 buildBullet() { |
178 var o = new api.Bullet(); | 178 var o = new api.Bullet(); |
179 buildCounterBullet++; | 179 buildCounterBullet++; |
180 if (buildCounterBullet < 3) { | 180 if (buildCounterBullet < 3) { |
181 o.bulletStyle = buildTextStyle(); | 181 o.bulletStyle = buildTextStyle(); |
182 o.glyph = "foo"; | 182 o.glyph = "foo"; |
183 o.listId = "foo"; | 183 o.listId = "foo"; |
184 o.nestingLevel = 42; | 184 o.nestingLevel = 42; |
185 } | 185 } |
186 buildCounterBullet--; | 186 buildCounterBullet--; |
187 return o; | 187 return o; |
188 } | 188 } |
189 | 189 |
190 checkBullet(api.Bullet o) { | 190 checkBullet(api.Bullet o) { |
191 buildCounterBullet++; | 191 buildCounterBullet++; |
192 if (buildCounterBullet < 3) { | 192 if (buildCounterBullet < 3) { |
193 checkTextStyle(o.bulletStyle); | 193 checkTextStyle(o.bulletStyle); |
194 unittest.expect(o.glyph, unittest.equals('foo')); | 194 unittest.expect(o.glyph, unittest.equals('foo')); |
195 unittest.expect(o.listId, unittest.equals('foo')); | 195 unittest.expect(o.listId, unittest.equals('foo')); |
196 unittest.expect(o.nestingLevel, unittest.equals(42)); | 196 unittest.expect(o.nestingLevel, unittest.equals(42)); |
197 } | 197 } |
198 buildCounterBullet--; | 198 buildCounterBullet--; |
199 } | 199 } |
200 | 200 |
201 buildUnnamed1715() { | 201 buildUnnamed1732() { |
202 var o = new core.List<api.ThemeColorPair>(); | 202 var o = new core.List<api.ThemeColorPair>(); |
203 o.add(buildThemeColorPair()); | 203 o.add(buildThemeColorPair()); |
204 o.add(buildThemeColorPair()); | 204 o.add(buildThemeColorPair()); |
205 return o; | 205 return o; |
206 } | 206 } |
207 | 207 |
208 checkUnnamed1715(core.List<api.ThemeColorPair> o) { | 208 checkUnnamed1732(core.List<api.ThemeColorPair> o) { |
209 unittest.expect(o, unittest.hasLength(2)); | 209 unittest.expect(o, unittest.hasLength(2)); |
210 checkThemeColorPair(o[0]); | 210 checkThemeColorPair(o[0]); |
211 checkThemeColorPair(o[1]); | 211 checkThemeColorPair(o[1]); |
212 } | 212 } |
213 | 213 |
214 core.int buildCounterColorScheme = 0; | 214 core.int buildCounterColorScheme = 0; |
215 buildColorScheme() { | 215 buildColorScheme() { |
216 var o = new api.ColorScheme(); | 216 var o = new api.ColorScheme(); |
217 buildCounterColorScheme++; | 217 buildCounterColorScheme++; |
218 if (buildCounterColorScheme < 3) { | 218 if (buildCounterColorScheme < 3) { |
219 o.colors = buildUnnamed1715(); | 219 o.colors = buildUnnamed1732(); |
220 } | 220 } |
221 buildCounterColorScheme--; | 221 buildCounterColorScheme--; |
222 return o; | 222 return o; |
223 } | 223 } |
224 | 224 |
225 checkColorScheme(api.ColorScheme o) { | 225 checkColorScheme(api.ColorScheme o) { |
226 buildCounterColorScheme++; | 226 buildCounterColorScheme++; |
227 if (buildCounterColorScheme < 3) { | 227 if (buildCounterColorScheme < 3) { |
228 checkUnnamed1715(o.colors); | 228 checkUnnamed1732(o.colors); |
229 } | 229 } |
230 buildCounterColorScheme--; | 230 buildCounterColorScheme--; |
231 } | 231 } |
232 | 232 |
233 core.int buildCounterColorStop = 0; | 233 core.int buildCounterColorStop = 0; |
234 buildColorStop() { | 234 buildColorStop() { |
235 var o = new api.ColorStop(); | 235 var o = new api.ColorStop(); |
236 buildCounterColorStop++; | 236 buildCounterColorStop++; |
237 if (buildCounterColorStop < 3) { | 237 if (buildCounterColorStop < 3) { |
238 o.alpha = 42.0; | 238 o.alpha = 42.0; |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 } | 443 } |
444 | 444 |
445 checkCreateSheetsChartResponse(api.CreateSheetsChartResponse o) { | 445 checkCreateSheetsChartResponse(api.CreateSheetsChartResponse o) { |
446 buildCounterCreateSheetsChartResponse++; | 446 buildCounterCreateSheetsChartResponse++; |
447 if (buildCounterCreateSheetsChartResponse < 3) { | 447 if (buildCounterCreateSheetsChartResponse < 3) { |
448 unittest.expect(o.objectId, unittest.equals('foo')); | 448 unittest.expect(o.objectId, unittest.equals('foo')); |
449 } | 449 } |
450 buildCounterCreateSheetsChartResponse--; | 450 buildCounterCreateSheetsChartResponse--; |
451 } | 451 } |
452 | 452 |
453 buildUnnamed1716() { | 453 buildUnnamed1733() { |
454 var o = new core.List<api.LayoutPlaceholderIdMapping>(); | 454 var o = new core.List<api.LayoutPlaceholderIdMapping>(); |
455 o.add(buildLayoutPlaceholderIdMapping()); | 455 o.add(buildLayoutPlaceholderIdMapping()); |
456 o.add(buildLayoutPlaceholderIdMapping()); | 456 o.add(buildLayoutPlaceholderIdMapping()); |
457 return o; | 457 return o; |
458 } | 458 } |
459 | 459 |
460 checkUnnamed1716(core.List<api.LayoutPlaceholderIdMapping> o) { | 460 checkUnnamed1733(core.List<api.LayoutPlaceholderIdMapping> o) { |
461 unittest.expect(o, unittest.hasLength(2)); | 461 unittest.expect(o, unittest.hasLength(2)); |
462 checkLayoutPlaceholderIdMapping(o[0]); | 462 checkLayoutPlaceholderIdMapping(o[0]); |
463 checkLayoutPlaceholderIdMapping(o[1]); | 463 checkLayoutPlaceholderIdMapping(o[1]); |
464 } | 464 } |
465 | 465 |
466 core.int buildCounterCreateSlideRequest = 0; | 466 core.int buildCounterCreateSlideRequest = 0; |
467 buildCreateSlideRequest() { | 467 buildCreateSlideRequest() { |
468 var o = new api.CreateSlideRequest(); | 468 var o = new api.CreateSlideRequest(); |
469 buildCounterCreateSlideRequest++; | 469 buildCounterCreateSlideRequest++; |
470 if (buildCounterCreateSlideRequest < 3) { | 470 if (buildCounterCreateSlideRequest < 3) { |
471 o.insertionIndex = 42; | 471 o.insertionIndex = 42; |
472 o.objectId = "foo"; | 472 o.objectId = "foo"; |
473 o.placeholderIdMappings = buildUnnamed1716(); | 473 o.placeholderIdMappings = buildUnnamed1733(); |
474 o.slideLayoutReference = buildLayoutReference(); | 474 o.slideLayoutReference = buildLayoutReference(); |
475 } | 475 } |
476 buildCounterCreateSlideRequest--; | 476 buildCounterCreateSlideRequest--; |
477 return o; | 477 return o; |
478 } | 478 } |
479 | 479 |
480 checkCreateSlideRequest(api.CreateSlideRequest o) { | 480 checkCreateSlideRequest(api.CreateSlideRequest o) { |
481 buildCounterCreateSlideRequest++; | 481 buildCounterCreateSlideRequest++; |
482 if (buildCounterCreateSlideRequest < 3) { | 482 if (buildCounterCreateSlideRequest < 3) { |
483 unittest.expect(o.insertionIndex, unittest.equals(42)); | 483 unittest.expect(o.insertionIndex, unittest.equals(42)); |
484 unittest.expect(o.objectId, unittest.equals('foo')); | 484 unittest.expect(o.objectId, unittest.equals('foo')); |
485 checkUnnamed1716(o.placeholderIdMappings); | 485 checkUnnamed1733(o.placeholderIdMappings); |
486 checkLayoutReference(o.slideLayoutReference); | 486 checkLayoutReference(o.slideLayoutReference); |
487 } | 487 } |
488 buildCounterCreateSlideRequest--; | 488 buildCounterCreateSlideRequest--; |
489 } | 489 } |
490 | 490 |
491 core.int buildCounterCreateSlideResponse = 0; | 491 core.int buildCounterCreateSlideResponse = 0; |
492 buildCreateSlideResponse() { | 492 buildCreateSlideResponse() { |
493 var o = new api.CreateSlideResponse(); | 493 var o = new api.CreateSlideResponse(); |
494 buildCounterCreateSlideResponse++; | 494 buildCounterCreateSlideResponse++; |
495 if (buildCounterCreateSlideResponse < 3) { | 495 if (buildCounterCreateSlideResponse < 3) { |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 | 743 |
744 checkDimension(api.Dimension o) { | 744 checkDimension(api.Dimension o) { |
745 buildCounterDimension++; | 745 buildCounterDimension++; |
746 if (buildCounterDimension < 3) { | 746 if (buildCounterDimension < 3) { |
747 unittest.expect(o.magnitude, unittest.equals(42.0)); | 747 unittest.expect(o.magnitude, unittest.equals(42.0)); |
748 unittest.expect(o.unit, unittest.equals('foo')); | 748 unittest.expect(o.unit, unittest.equals('foo')); |
749 } | 749 } |
750 buildCounterDimension--; | 750 buildCounterDimension--; |
751 } | 751 } |
752 | 752 |
753 buildUnnamed1717() { | 753 buildUnnamed1734() { |
754 var o = new core.Map<core.String, core.String>(); | 754 var o = new core.Map<core.String, core.String>(); |
755 o["x"] = "foo"; | 755 o["x"] = "foo"; |
756 o["y"] = "foo"; | 756 o["y"] = "foo"; |
757 return o; | 757 return o; |
758 } | 758 } |
759 | 759 |
760 checkUnnamed1717(core.Map<core.String, core.String> o) { | 760 checkUnnamed1734(core.Map<core.String, core.String> o) { |
761 unittest.expect(o, unittest.hasLength(2)); | 761 unittest.expect(o, unittest.hasLength(2)); |
762 unittest.expect(o["x"], unittest.equals('foo')); | 762 unittest.expect(o["x"], unittest.equals('foo')); |
763 unittest.expect(o["y"], unittest.equals('foo')); | 763 unittest.expect(o["y"], unittest.equals('foo')); |
764 } | 764 } |
765 | 765 |
766 core.int buildCounterDuplicateObjectRequest = 0; | 766 core.int buildCounterDuplicateObjectRequest = 0; |
767 buildDuplicateObjectRequest() { | 767 buildDuplicateObjectRequest() { |
768 var o = new api.DuplicateObjectRequest(); | 768 var o = new api.DuplicateObjectRequest(); |
769 buildCounterDuplicateObjectRequest++; | 769 buildCounterDuplicateObjectRequest++; |
770 if (buildCounterDuplicateObjectRequest < 3) { | 770 if (buildCounterDuplicateObjectRequest < 3) { |
771 o.objectId = "foo"; | 771 o.objectId = "foo"; |
772 o.objectIds = buildUnnamed1717(); | 772 o.objectIds = buildUnnamed1734(); |
773 } | 773 } |
774 buildCounterDuplicateObjectRequest--; | 774 buildCounterDuplicateObjectRequest--; |
775 return o; | 775 return o; |
776 } | 776 } |
777 | 777 |
778 checkDuplicateObjectRequest(api.DuplicateObjectRequest o) { | 778 checkDuplicateObjectRequest(api.DuplicateObjectRequest o) { |
779 buildCounterDuplicateObjectRequest++; | 779 buildCounterDuplicateObjectRequest++; |
780 if (buildCounterDuplicateObjectRequest < 3) { | 780 if (buildCounterDuplicateObjectRequest < 3) { |
781 unittest.expect(o.objectId, unittest.equals('foo')); | 781 unittest.expect(o.objectId, unittest.equals('foo')); |
782 checkUnnamed1717(o.objectIds); | 782 checkUnnamed1734(o.objectIds); |
783 } | 783 } |
784 buildCounterDuplicateObjectRequest--; | 784 buildCounterDuplicateObjectRequest--; |
785 } | 785 } |
786 | 786 |
787 core.int buildCounterDuplicateObjectResponse = 0; | 787 core.int buildCounterDuplicateObjectResponse = 0; |
788 buildDuplicateObjectResponse() { | 788 buildDuplicateObjectResponse() { |
789 var o = new api.DuplicateObjectResponse(); | 789 var o = new api.DuplicateObjectResponse(); |
790 buildCounterDuplicateObjectResponse++; | 790 buildCounterDuplicateObjectResponse++; |
791 if (buildCounterDuplicateObjectResponse < 3) { | 791 if (buildCounterDuplicateObjectResponse < 3) { |
792 o.objectId = "foo"; | 792 o.objectId = "foo"; |
793 } | 793 } |
794 buildCounterDuplicateObjectResponse--; | 794 buildCounterDuplicateObjectResponse--; |
795 return o; | 795 return o; |
796 } | 796 } |
797 | 797 |
798 checkDuplicateObjectResponse(api.DuplicateObjectResponse o) { | 798 checkDuplicateObjectResponse(api.DuplicateObjectResponse o) { |
799 buildCounterDuplicateObjectResponse++; | 799 buildCounterDuplicateObjectResponse++; |
800 if (buildCounterDuplicateObjectResponse < 3) { | 800 if (buildCounterDuplicateObjectResponse < 3) { |
801 unittest.expect(o.objectId, unittest.equals('foo')); | 801 unittest.expect(o.objectId, unittest.equals('foo')); |
802 } | 802 } |
803 buildCounterDuplicateObjectResponse--; | 803 buildCounterDuplicateObjectResponse--; |
804 } | 804 } |
805 | 805 |
806 buildUnnamed1718() { | 806 buildUnnamed1735() { |
807 var o = new core.List<api.PageElement>(); | 807 var o = new core.List<api.PageElement>(); |
808 o.add(buildPageElement()); | 808 o.add(buildPageElement()); |
809 o.add(buildPageElement()); | 809 o.add(buildPageElement()); |
810 return o; | 810 return o; |
811 } | 811 } |
812 | 812 |
813 checkUnnamed1718(core.List<api.PageElement> o) { | 813 checkUnnamed1735(core.List<api.PageElement> o) { |
814 unittest.expect(o, unittest.hasLength(2)); | 814 unittest.expect(o, unittest.hasLength(2)); |
815 checkPageElement(o[0]); | 815 checkPageElement(o[0]); |
816 checkPageElement(o[1]); | 816 checkPageElement(o[1]); |
817 } | 817 } |
818 | 818 |
819 core.int buildCounterGroup = 0; | 819 core.int buildCounterGroup = 0; |
820 buildGroup() { | 820 buildGroup() { |
821 var o = new api.Group(); | 821 var o = new api.Group(); |
822 buildCounterGroup++; | 822 buildCounterGroup++; |
823 if (buildCounterGroup < 3) { | 823 if (buildCounterGroup < 3) { |
824 o.children = buildUnnamed1718(); | 824 o.children = buildUnnamed1735(); |
825 } | 825 } |
826 buildCounterGroup--; | 826 buildCounterGroup--; |
827 return o; | 827 return o; |
828 } | 828 } |
829 | 829 |
830 checkGroup(api.Group o) { | 830 checkGroup(api.Group o) { |
831 buildCounterGroup++; | 831 buildCounterGroup++; |
832 if (buildCounterGroup < 3) { | 832 if (buildCounterGroup < 3) { |
833 checkUnnamed1718(o.children); | 833 checkUnnamed1735(o.children); |
834 } | 834 } |
835 buildCounterGroup--; | 835 buildCounterGroup--; |
836 } | 836 } |
837 | 837 |
838 core.int buildCounterImage = 0; | 838 core.int buildCounterImage = 0; |
839 buildImage() { | 839 buildImage() { |
840 var o = new api.Image(); | 840 var o = new api.Image(); |
841 buildCounterImage++; | 841 buildCounterImage++; |
842 if (buildCounterImage < 3) { | 842 if (buildCounterImage < 3) { |
843 o.contentUrl = "foo"; | 843 o.contentUrl = "foo"; |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1118 buildCounterLink++; | 1118 buildCounterLink++; |
1119 if (buildCounterLink < 3) { | 1119 if (buildCounterLink < 3) { |
1120 unittest.expect(o.pageObjectId, unittest.equals('foo')); | 1120 unittest.expect(o.pageObjectId, unittest.equals('foo')); |
1121 unittest.expect(o.relativeLink, unittest.equals('foo')); | 1121 unittest.expect(o.relativeLink, unittest.equals('foo')); |
1122 unittest.expect(o.slideIndex, unittest.equals(42)); | 1122 unittest.expect(o.slideIndex, unittest.equals(42)); |
1123 unittest.expect(o.url, unittest.equals('foo')); | 1123 unittest.expect(o.url, unittest.equals('foo')); |
1124 } | 1124 } |
1125 buildCounterLink--; | 1125 buildCounterLink--; |
1126 } | 1126 } |
1127 | 1127 |
1128 buildUnnamed1719() { | 1128 buildUnnamed1736() { |
1129 var o = new core.Map<core.String, api.NestingLevel>(); | 1129 var o = new core.Map<core.String, api.NestingLevel>(); |
1130 o["x"] = buildNestingLevel(); | 1130 o["x"] = buildNestingLevel(); |
1131 o["y"] = buildNestingLevel(); | 1131 o["y"] = buildNestingLevel(); |
1132 return o; | 1132 return o; |
1133 } | 1133 } |
1134 | 1134 |
1135 checkUnnamed1719(core.Map<core.String, api.NestingLevel> o) { | 1135 checkUnnamed1736(core.Map<core.String, api.NestingLevel> o) { |
1136 unittest.expect(o, unittest.hasLength(2)); | 1136 unittest.expect(o, unittest.hasLength(2)); |
1137 checkNestingLevel(o["x"]); | 1137 checkNestingLevel(o["x"]); |
1138 checkNestingLevel(o["y"]); | 1138 checkNestingLevel(o["y"]); |
1139 } | 1139 } |
1140 | 1140 |
1141 core.int buildCounterList = 0; | 1141 core.int buildCounterList = 0; |
1142 buildList() { | 1142 buildList() { |
1143 var o = new api.List(); | 1143 var o = new api.List(); |
1144 buildCounterList++; | 1144 buildCounterList++; |
1145 if (buildCounterList < 3) { | 1145 if (buildCounterList < 3) { |
1146 o.listId = "foo"; | 1146 o.listId = "foo"; |
1147 o.nestingLevel = buildUnnamed1719(); | 1147 o.nestingLevel = buildUnnamed1736(); |
1148 } | 1148 } |
1149 buildCounterList--; | 1149 buildCounterList--; |
1150 return o; | 1150 return o; |
1151 } | 1151 } |
1152 | 1152 |
1153 checkList(api.List o) { | 1153 checkList(api.List o) { |
1154 buildCounterList++; | 1154 buildCounterList++; |
1155 if (buildCounterList < 3) { | 1155 if (buildCounterList < 3) { |
1156 unittest.expect(o.listId, unittest.equals('foo')); | 1156 unittest.expect(o.listId, unittest.equals('foo')); |
1157 checkUnnamed1719(o.nestingLevel); | 1157 checkUnnamed1736(o.nestingLevel); |
1158 } | 1158 } |
1159 buildCounterList--; | 1159 buildCounterList--; |
1160 } | 1160 } |
1161 | 1161 |
1162 core.int buildCounterMasterProperties = 0; | 1162 core.int buildCounterMasterProperties = 0; |
1163 buildMasterProperties() { | 1163 buildMasterProperties() { |
1164 var o = new api.MasterProperties(); | 1164 var o = new api.MasterProperties(); |
1165 buildCounterMasterProperties++; | 1165 buildCounterMasterProperties++; |
1166 if (buildCounterMasterProperties < 3) { | 1166 if (buildCounterMasterProperties < 3) { |
1167 o.displayName = "foo"; | 1167 o.displayName = "foo"; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1293 } | 1293 } |
1294 | 1294 |
1295 checkOutlineFill(api.OutlineFill o) { | 1295 checkOutlineFill(api.OutlineFill o) { |
1296 buildCounterOutlineFill++; | 1296 buildCounterOutlineFill++; |
1297 if (buildCounterOutlineFill < 3) { | 1297 if (buildCounterOutlineFill < 3) { |
1298 checkSolidFill(o.solidFill); | 1298 checkSolidFill(o.solidFill); |
1299 } | 1299 } |
1300 buildCounterOutlineFill--; | 1300 buildCounterOutlineFill--; |
1301 } | 1301 } |
1302 | 1302 |
1303 buildUnnamed1720() { | 1303 buildUnnamed1737() { |
1304 var o = new core.List<api.PageElement>(); | 1304 var o = new core.List<api.PageElement>(); |
1305 o.add(buildPageElement()); | 1305 o.add(buildPageElement()); |
1306 o.add(buildPageElement()); | 1306 o.add(buildPageElement()); |
1307 return o; | 1307 return o; |
1308 } | 1308 } |
1309 | 1309 |
1310 checkUnnamed1720(core.List<api.PageElement> o) { | 1310 checkUnnamed1737(core.List<api.PageElement> o) { |
1311 unittest.expect(o, unittest.hasLength(2)); | 1311 unittest.expect(o, unittest.hasLength(2)); |
1312 checkPageElement(o[0]); | 1312 checkPageElement(o[0]); |
1313 checkPageElement(o[1]); | 1313 checkPageElement(o[1]); |
1314 } | 1314 } |
1315 | 1315 |
1316 core.int buildCounterPage = 0; | 1316 core.int buildCounterPage = 0; |
1317 buildPage() { | 1317 buildPage() { |
1318 var o = new api.Page(); | 1318 var o = new api.Page(); |
1319 buildCounterPage++; | 1319 buildCounterPage++; |
1320 if (buildCounterPage < 3) { | 1320 if (buildCounterPage < 3) { |
1321 o.layoutProperties = buildLayoutProperties(); | 1321 o.layoutProperties = buildLayoutProperties(); |
1322 o.masterProperties = buildMasterProperties(); | 1322 o.masterProperties = buildMasterProperties(); |
1323 o.notesProperties = buildNotesProperties(); | 1323 o.notesProperties = buildNotesProperties(); |
1324 o.objectId = "foo"; | 1324 o.objectId = "foo"; |
1325 o.pageElements = buildUnnamed1720(); | 1325 o.pageElements = buildUnnamed1737(); |
1326 o.pageProperties = buildPageProperties(); | 1326 o.pageProperties = buildPageProperties(); |
1327 o.pageType = "foo"; | 1327 o.pageType = "foo"; |
1328 o.revisionId = "foo"; | 1328 o.revisionId = "foo"; |
1329 o.slideProperties = buildSlideProperties(); | 1329 o.slideProperties = buildSlideProperties(); |
1330 } | 1330 } |
1331 buildCounterPage--; | 1331 buildCounterPage--; |
1332 return o; | 1332 return o; |
1333 } | 1333 } |
1334 | 1334 |
1335 checkPage(api.Page o) { | 1335 checkPage(api.Page o) { |
1336 buildCounterPage++; | 1336 buildCounterPage++; |
1337 if (buildCounterPage < 3) { | 1337 if (buildCounterPage < 3) { |
1338 checkLayoutProperties(o.layoutProperties); | 1338 checkLayoutProperties(o.layoutProperties); |
1339 checkMasterProperties(o.masterProperties); | 1339 checkMasterProperties(o.masterProperties); |
1340 checkNotesProperties(o.notesProperties); | 1340 checkNotesProperties(o.notesProperties); |
1341 unittest.expect(o.objectId, unittest.equals('foo')); | 1341 unittest.expect(o.objectId, unittest.equals('foo')); |
1342 checkUnnamed1720(o.pageElements); | 1342 checkUnnamed1737(o.pageElements); |
1343 checkPageProperties(o.pageProperties); | 1343 checkPageProperties(o.pageProperties); |
1344 unittest.expect(o.pageType, unittest.equals('foo')); | 1344 unittest.expect(o.pageType, unittest.equals('foo')); |
1345 unittest.expect(o.revisionId, unittest.equals('foo')); | 1345 unittest.expect(o.revisionId, unittest.equals('foo')); |
1346 checkSlideProperties(o.slideProperties); | 1346 checkSlideProperties(o.slideProperties); |
1347 } | 1347 } |
1348 buildCounterPage--; | 1348 buildCounterPage--; |
1349 } | 1349 } |
1350 | 1350 |
1351 core.int buildCounterPageBackgroundFill = 0; | 1351 core.int buildCounterPageBackgroundFill = 0; |
1352 buildPageBackgroundFill() { | 1352 buildPageBackgroundFill() { |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1530 checkPlaceholder(api.Placeholder o) { | 1530 checkPlaceholder(api.Placeholder o) { |
1531 buildCounterPlaceholder++; | 1531 buildCounterPlaceholder++; |
1532 if (buildCounterPlaceholder < 3) { | 1532 if (buildCounterPlaceholder < 3) { |
1533 unittest.expect(o.index, unittest.equals(42)); | 1533 unittest.expect(o.index, unittest.equals(42)); |
1534 unittest.expect(o.parentObjectId, unittest.equals('foo')); | 1534 unittest.expect(o.parentObjectId, unittest.equals('foo')); |
1535 unittest.expect(o.type, unittest.equals('foo')); | 1535 unittest.expect(o.type, unittest.equals('foo')); |
1536 } | 1536 } |
1537 buildCounterPlaceholder--; | 1537 buildCounterPlaceholder--; |
1538 } | 1538 } |
1539 | 1539 |
1540 buildUnnamed1721() { | 1540 buildUnnamed1738() { |
1541 var o = new core.List<api.Page>(); | 1541 var o = new core.List<api.Page>(); |
1542 o.add(buildPage()); | 1542 o.add(buildPage()); |
1543 o.add(buildPage()); | 1543 o.add(buildPage()); |
1544 return o; | 1544 return o; |
1545 } | 1545 } |
1546 | 1546 |
1547 checkUnnamed1721(core.List<api.Page> o) { | 1547 checkUnnamed1738(core.List<api.Page> o) { |
1548 unittest.expect(o, unittest.hasLength(2)); | 1548 unittest.expect(o, unittest.hasLength(2)); |
1549 checkPage(o[0]); | 1549 checkPage(o[0]); |
1550 checkPage(o[1]); | 1550 checkPage(o[1]); |
1551 } | 1551 } |
1552 | 1552 |
1553 buildUnnamed1722() { | 1553 buildUnnamed1739() { |
1554 var o = new core.List<api.Page>(); | 1554 var o = new core.List<api.Page>(); |
1555 o.add(buildPage()); | 1555 o.add(buildPage()); |
1556 o.add(buildPage()); | 1556 o.add(buildPage()); |
1557 return o; | 1557 return o; |
1558 } | 1558 } |
1559 | 1559 |
1560 checkUnnamed1722(core.List<api.Page> o) { | 1560 checkUnnamed1739(core.List<api.Page> o) { |
1561 unittest.expect(o, unittest.hasLength(2)); | 1561 unittest.expect(o, unittest.hasLength(2)); |
1562 checkPage(o[0]); | 1562 checkPage(o[0]); |
1563 checkPage(o[1]); | 1563 checkPage(o[1]); |
1564 } | 1564 } |
1565 | 1565 |
1566 buildUnnamed1723() { | 1566 buildUnnamed1740() { |
1567 var o = new core.List<api.Page>(); | 1567 var o = new core.List<api.Page>(); |
1568 o.add(buildPage()); | 1568 o.add(buildPage()); |
1569 o.add(buildPage()); | 1569 o.add(buildPage()); |
1570 return o; | 1570 return o; |
1571 } | 1571 } |
1572 | 1572 |
1573 checkUnnamed1723(core.List<api.Page> o) { | 1573 checkUnnamed1740(core.List<api.Page> o) { |
1574 unittest.expect(o, unittest.hasLength(2)); | 1574 unittest.expect(o, unittest.hasLength(2)); |
1575 checkPage(o[0]); | 1575 checkPage(o[0]); |
1576 checkPage(o[1]); | 1576 checkPage(o[1]); |
1577 } | 1577 } |
1578 | 1578 |
1579 core.int buildCounterPresentation = 0; | 1579 core.int buildCounterPresentation = 0; |
1580 buildPresentation() { | 1580 buildPresentation() { |
1581 var o = new api.Presentation(); | 1581 var o = new api.Presentation(); |
1582 buildCounterPresentation++; | 1582 buildCounterPresentation++; |
1583 if (buildCounterPresentation < 3) { | 1583 if (buildCounterPresentation < 3) { |
1584 o.layouts = buildUnnamed1721(); | 1584 o.layouts = buildUnnamed1738(); |
1585 o.locale = "foo"; | 1585 o.locale = "foo"; |
1586 o.masters = buildUnnamed1722(); | 1586 o.masters = buildUnnamed1739(); |
1587 o.notesMaster = buildPage(); | 1587 o.notesMaster = buildPage(); |
1588 o.pageSize = buildSize(); | 1588 o.pageSize = buildSize(); |
1589 o.presentationId = "foo"; | 1589 o.presentationId = "foo"; |
1590 o.revisionId = "foo"; | 1590 o.revisionId = "foo"; |
1591 o.slides = buildUnnamed1723(); | 1591 o.slides = buildUnnamed1740(); |
1592 o.title = "foo"; | 1592 o.title = "foo"; |
1593 } | 1593 } |
1594 buildCounterPresentation--; | 1594 buildCounterPresentation--; |
1595 return o; | 1595 return o; |
1596 } | 1596 } |
1597 | 1597 |
1598 checkPresentation(api.Presentation o) { | 1598 checkPresentation(api.Presentation o) { |
1599 buildCounterPresentation++; | 1599 buildCounterPresentation++; |
1600 if (buildCounterPresentation < 3) { | 1600 if (buildCounterPresentation < 3) { |
1601 checkUnnamed1721(o.layouts); | 1601 checkUnnamed1738(o.layouts); |
1602 unittest.expect(o.locale, unittest.equals('foo')); | 1602 unittest.expect(o.locale, unittest.equals('foo')); |
1603 checkUnnamed1722(o.masters); | 1603 checkUnnamed1739(o.masters); |
1604 checkPage(o.notesMaster); | 1604 checkPage(o.notesMaster); |
1605 checkSize(o.pageSize); | 1605 checkSize(o.pageSize); |
1606 unittest.expect(o.presentationId, unittest.equals('foo')); | 1606 unittest.expect(o.presentationId, unittest.equals('foo')); |
1607 unittest.expect(o.revisionId, unittest.equals('foo')); | 1607 unittest.expect(o.revisionId, unittest.equals('foo')); |
1608 checkUnnamed1723(o.slides); | 1608 checkUnnamed1740(o.slides); |
1609 unittest.expect(o.title, unittest.equals('foo')); | 1609 unittest.expect(o.title, unittest.equals('foo')); |
1610 } | 1610 } |
1611 buildCounterPresentation--; | 1611 buildCounterPresentation--; |
1612 } | 1612 } |
1613 | 1613 |
1614 core.int buildCounterRange = 0; | 1614 core.int buildCounterRange = 0; |
1615 buildRange() { | 1615 buildRange() { |
1616 var o = new api.Range(); | 1616 var o = new api.Range(); |
1617 buildCounterRange++; | 1617 buildCounterRange++; |
1618 if (buildCounterRange < 3) { | 1618 if (buildCounterRange < 3) { |
1619 o.endIndex = 42; | 1619 o.endIndex = 42; |
1620 o.startIndex = 42; | 1620 o.startIndex = 42; |
1621 o.type = "foo"; | 1621 o.type = "foo"; |
1622 } | 1622 } |
1623 buildCounterRange--; | 1623 buildCounterRange--; |
1624 return o; | 1624 return o; |
1625 } | 1625 } |
1626 | 1626 |
1627 checkRange(api.Range o) { | 1627 checkRange(api.Range o) { |
1628 buildCounterRange++; | 1628 buildCounterRange++; |
1629 if (buildCounterRange < 3) { | 1629 if (buildCounterRange < 3) { |
1630 unittest.expect(o.endIndex, unittest.equals(42)); | 1630 unittest.expect(o.endIndex, unittest.equals(42)); |
1631 unittest.expect(o.startIndex, unittest.equals(42)); | 1631 unittest.expect(o.startIndex, unittest.equals(42)); |
1632 unittest.expect(o.type, unittest.equals('foo')); | 1632 unittest.expect(o.type, unittest.equals('foo')); |
1633 } | 1633 } |
1634 buildCounterRange--; | 1634 buildCounterRange--; |
1635 } | 1635 } |
1636 | 1636 |
1637 buildUnnamed1724() { | 1637 buildUnnamed1741() { |
1638 var o = new core.List<api.ColorStop>(); | 1638 var o = new core.List<api.ColorStop>(); |
1639 o.add(buildColorStop()); | 1639 o.add(buildColorStop()); |
1640 o.add(buildColorStop()); | 1640 o.add(buildColorStop()); |
1641 return o; | 1641 return o; |
1642 } | 1642 } |
1643 | 1643 |
1644 checkUnnamed1724(core.List<api.ColorStop> o) { | 1644 checkUnnamed1741(core.List<api.ColorStop> o) { |
1645 unittest.expect(o, unittest.hasLength(2)); | 1645 unittest.expect(o, unittest.hasLength(2)); |
1646 checkColorStop(o[0]); | 1646 checkColorStop(o[0]); |
1647 checkColorStop(o[1]); | 1647 checkColorStop(o[1]); |
1648 } | 1648 } |
1649 | 1649 |
1650 core.int buildCounterRecolor = 0; | 1650 core.int buildCounterRecolor = 0; |
1651 buildRecolor() { | 1651 buildRecolor() { |
1652 var o = new api.Recolor(); | 1652 var o = new api.Recolor(); |
1653 buildCounterRecolor++; | 1653 buildCounterRecolor++; |
1654 if (buildCounterRecolor < 3) { | 1654 if (buildCounterRecolor < 3) { |
1655 o.name = "foo"; | 1655 o.name = "foo"; |
1656 o.recolorStops = buildUnnamed1724(); | 1656 o.recolorStops = buildUnnamed1741(); |
1657 } | 1657 } |
1658 buildCounterRecolor--; | 1658 buildCounterRecolor--; |
1659 return o; | 1659 return o; |
1660 } | 1660 } |
1661 | 1661 |
1662 checkRecolor(api.Recolor o) { | 1662 checkRecolor(api.Recolor o) { |
1663 buildCounterRecolor++; | 1663 buildCounterRecolor++; |
1664 if (buildCounterRecolor < 3) { | 1664 if (buildCounterRecolor < 3) { |
1665 unittest.expect(o.name, unittest.equals('foo')); | 1665 unittest.expect(o.name, unittest.equals('foo')); |
1666 checkUnnamed1724(o.recolorStops); | 1666 checkUnnamed1741(o.recolorStops); |
1667 } | 1667 } |
1668 buildCounterRecolor--; | 1668 buildCounterRecolor--; |
1669 } | 1669 } |
1670 | 1670 |
1671 core.int buildCounterRefreshSheetsChartRequest = 0; | 1671 core.int buildCounterRefreshSheetsChartRequest = 0; |
1672 buildRefreshSheetsChartRequest() { | 1672 buildRefreshSheetsChartRequest() { |
1673 var o = new api.RefreshSheetsChartRequest(); | 1673 var o = new api.RefreshSheetsChartRequest(); |
1674 buildCounterRefreshSheetsChartRequest++; | 1674 buildCounterRefreshSheetsChartRequest++; |
1675 if (buildCounterRefreshSheetsChartRequest < 3) { | 1675 if (buildCounterRefreshSheetsChartRequest < 3) { |
1676 o.objectId = "foo"; | 1676 o.objectId = "foo"; |
1677 } | 1677 } |
1678 buildCounterRefreshSheetsChartRequest--; | 1678 buildCounterRefreshSheetsChartRequest--; |
1679 return o; | 1679 return o; |
1680 } | 1680 } |
1681 | 1681 |
1682 checkRefreshSheetsChartRequest(api.RefreshSheetsChartRequest o) { | 1682 checkRefreshSheetsChartRequest(api.RefreshSheetsChartRequest o) { |
1683 buildCounterRefreshSheetsChartRequest++; | 1683 buildCounterRefreshSheetsChartRequest++; |
1684 if (buildCounterRefreshSheetsChartRequest < 3) { | 1684 if (buildCounterRefreshSheetsChartRequest < 3) { |
1685 unittest.expect(o.objectId, unittest.equals('foo')); | 1685 unittest.expect(o.objectId, unittest.equals('foo')); |
1686 } | 1686 } |
1687 buildCounterRefreshSheetsChartRequest--; | 1687 buildCounterRefreshSheetsChartRequest--; |
1688 } | 1688 } |
1689 | 1689 |
1690 buildUnnamed1725() { | 1690 buildUnnamed1742() { |
1691 var o = new core.List<core.String>(); | 1691 var o = new core.List<core.String>(); |
1692 o.add("foo"); | 1692 o.add("foo"); |
1693 o.add("foo"); | 1693 o.add("foo"); |
1694 return o; | 1694 return o; |
1695 } | 1695 } |
1696 | 1696 |
1697 checkUnnamed1725(core.List<core.String> o) { | 1697 checkUnnamed1742(core.List<core.String> o) { |
1698 unittest.expect(o, unittest.hasLength(2)); | 1698 unittest.expect(o, unittest.hasLength(2)); |
1699 unittest.expect(o[0], unittest.equals('foo')); | 1699 unittest.expect(o[0], unittest.equals('foo')); |
1700 unittest.expect(o[1], unittest.equals('foo')); | 1700 unittest.expect(o[1], unittest.equals('foo')); |
1701 } | 1701 } |
1702 | 1702 |
1703 core.int buildCounterReplaceAllShapesWithImageRequest = 0; | 1703 core.int buildCounterReplaceAllShapesWithImageRequest = 0; |
1704 buildReplaceAllShapesWithImageRequest() { | 1704 buildReplaceAllShapesWithImageRequest() { |
1705 var o = new api.ReplaceAllShapesWithImageRequest(); | 1705 var o = new api.ReplaceAllShapesWithImageRequest(); |
1706 buildCounterReplaceAllShapesWithImageRequest++; | 1706 buildCounterReplaceAllShapesWithImageRequest++; |
1707 if (buildCounterReplaceAllShapesWithImageRequest < 3) { | 1707 if (buildCounterReplaceAllShapesWithImageRequest < 3) { |
1708 o.containsText = buildSubstringMatchCriteria(); | 1708 o.containsText = buildSubstringMatchCriteria(); |
1709 o.imageUrl = "foo"; | 1709 o.imageUrl = "foo"; |
1710 o.pageObjectIds = buildUnnamed1725(); | 1710 o.pageObjectIds = buildUnnamed1742(); |
1711 o.replaceMethod = "foo"; | 1711 o.replaceMethod = "foo"; |
1712 } | 1712 } |
1713 buildCounterReplaceAllShapesWithImageRequest--; | 1713 buildCounterReplaceAllShapesWithImageRequest--; |
1714 return o; | 1714 return o; |
1715 } | 1715 } |
1716 | 1716 |
1717 checkReplaceAllShapesWithImageRequest(api.ReplaceAllShapesWithImageRequest o) { | 1717 checkReplaceAllShapesWithImageRequest(api.ReplaceAllShapesWithImageRequest o) { |
1718 buildCounterReplaceAllShapesWithImageRequest++; | 1718 buildCounterReplaceAllShapesWithImageRequest++; |
1719 if (buildCounterReplaceAllShapesWithImageRequest < 3) { | 1719 if (buildCounterReplaceAllShapesWithImageRequest < 3) { |
1720 checkSubstringMatchCriteria(o.containsText); | 1720 checkSubstringMatchCriteria(o.containsText); |
1721 unittest.expect(o.imageUrl, unittest.equals('foo')); | 1721 unittest.expect(o.imageUrl, unittest.equals('foo')); |
1722 checkUnnamed1725(o.pageObjectIds); | 1722 checkUnnamed1742(o.pageObjectIds); |
1723 unittest.expect(o.replaceMethod, unittest.equals('foo')); | 1723 unittest.expect(o.replaceMethod, unittest.equals('foo')); |
1724 } | 1724 } |
1725 buildCounterReplaceAllShapesWithImageRequest--; | 1725 buildCounterReplaceAllShapesWithImageRequest--; |
1726 } | 1726 } |
1727 | 1727 |
1728 core.int buildCounterReplaceAllShapesWithImageResponse = 0; | 1728 core.int buildCounterReplaceAllShapesWithImageResponse = 0; |
1729 buildReplaceAllShapesWithImageResponse() { | 1729 buildReplaceAllShapesWithImageResponse() { |
1730 var o = new api.ReplaceAllShapesWithImageResponse(); | 1730 var o = new api.ReplaceAllShapesWithImageResponse(); |
1731 buildCounterReplaceAllShapesWithImageResponse++; | 1731 buildCounterReplaceAllShapesWithImageResponse++; |
1732 if (buildCounterReplaceAllShapesWithImageResponse < 3) { | 1732 if (buildCounterReplaceAllShapesWithImageResponse < 3) { |
1733 o.occurrencesChanged = 42; | 1733 o.occurrencesChanged = 42; |
1734 } | 1734 } |
1735 buildCounterReplaceAllShapesWithImageResponse--; | 1735 buildCounterReplaceAllShapesWithImageResponse--; |
1736 return o; | 1736 return o; |
1737 } | 1737 } |
1738 | 1738 |
1739 checkReplaceAllShapesWithImageResponse(api.ReplaceAllShapesWithImageResponse o)
{ | 1739 checkReplaceAllShapesWithImageResponse(api.ReplaceAllShapesWithImageResponse o)
{ |
1740 buildCounterReplaceAllShapesWithImageResponse++; | 1740 buildCounterReplaceAllShapesWithImageResponse++; |
1741 if (buildCounterReplaceAllShapesWithImageResponse < 3) { | 1741 if (buildCounterReplaceAllShapesWithImageResponse < 3) { |
1742 unittest.expect(o.occurrencesChanged, unittest.equals(42)); | 1742 unittest.expect(o.occurrencesChanged, unittest.equals(42)); |
1743 } | 1743 } |
1744 buildCounterReplaceAllShapesWithImageResponse--; | 1744 buildCounterReplaceAllShapesWithImageResponse--; |
1745 } | 1745 } |
1746 | 1746 |
1747 buildUnnamed1726() { | 1747 buildUnnamed1743() { |
1748 var o = new core.List<core.String>(); | 1748 var o = new core.List<core.String>(); |
1749 o.add("foo"); | 1749 o.add("foo"); |
1750 o.add("foo"); | 1750 o.add("foo"); |
1751 return o; | 1751 return o; |
1752 } | 1752 } |
1753 | 1753 |
1754 checkUnnamed1726(core.List<core.String> o) { | 1754 checkUnnamed1743(core.List<core.String> o) { |
1755 unittest.expect(o, unittest.hasLength(2)); | 1755 unittest.expect(o, unittest.hasLength(2)); |
1756 unittest.expect(o[0], unittest.equals('foo')); | 1756 unittest.expect(o[0], unittest.equals('foo')); |
1757 unittest.expect(o[1], unittest.equals('foo')); | 1757 unittest.expect(o[1], unittest.equals('foo')); |
1758 } | 1758 } |
1759 | 1759 |
1760 core.int buildCounterReplaceAllShapesWithSheetsChartRequest = 0; | 1760 core.int buildCounterReplaceAllShapesWithSheetsChartRequest = 0; |
1761 buildReplaceAllShapesWithSheetsChartRequest() { | 1761 buildReplaceAllShapesWithSheetsChartRequest() { |
1762 var o = new api.ReplaceAllShapesWithSheetsChartRequest(); | 1762 var o = new api.ReplaceAllShapesWithSheetsChartRequest(); |
1763 buildCounterReplaceAllShapesWithSheetsChartRequest++; | 1763 buildCounterReplaceAllShapesWithSheetsChartRequest++; |
1764 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { | 1764 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { |
1765 o.chartId = 42; | 1765 o.chartId = 42; |
1766 o.containsText = buildSubstringMatchCriteria(); | 1766 o.containsText = buildSubstringMatchCriteria(); |
1767 o.linkingMode = "foo"; | 1767 o.linkingMode = "foo"; |
1768 o.pageObjectIds = buildUnnamed1726(); | 1768 o.pageObjectIds = buildUnnamed1743(); |
1769 o.spreadsheetId = "foo"; | 1769 o.spreadsheetId = "foo"; |
1770 } | 1770 } |
1771 buildCounterReplaceAllShapesWithSheetsChartRequest--; | 1771 buildCounterReplaceAllShapesWithSheetsChartRequest--; |
1772 return o; | 1772 return o; |
1773 } | 1773 } |
1774 | 1774 |
1775 checkReplaceAllShapesWithSheetsChartRequest(api.ReplaceAllShapesWithSheetsChartR
equest o) { | 1775 checkReplaceAllShapesWithSheetsChartRequest(api.ReplaceAllShapesWithSheetsChartR
equest o) { |
1776 buildCounterReplaceAllShapesWithSheetsChartRequest++; | 1776 buildCounterReplaceAllShapesWithSheetsChartRequest++; |
1777 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { | 1777 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { |
1778 unittest.expect(o.chartId, unittest.equals(42)); | 1778 unittest.expect(o.chartId, unittest.equals(42)); |
1779 checkSubstringMatchCriteria(o.containsText); | 1779 checkSubstringMatchCriteria(o.containsText); |
1780 unittest.expect(o.linkingMode, unittest.equals('foo')); | 1780 unittest.expect(o.linkingMode, unittest.equals('foo')); |
1781 checkUnnamed1726(o.pageObjectIds); | 1781 checkUnnamed1743(o.pageObjectIds); |
1782 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 1782 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
1783 } | 1783 } |
1784 buildCounterReplaceAllShapesWithSheetsChartRequest--; | 1784 buildCounterReplaceAllShapesWithSheetsChartRequest--; |
1785 } | 1785 } |
1786 | 1786 |
1787 core.int buildCounterReplaceAllShapesWithSheetsChartResponse = 0; | 1787 core.int buildCounterReplaceAllShapesWithSheetsChartResponse = 0; |
1788 buildReplaceAllShapesWithSheetsChartResponse() { | 1788 buildReplaceAllShapesWithSheetsChartResponse() { |
1789 var o = new api.ReplaceAllShapesWithSheetsChartResponse(); | 1789 var o = new api.ReplaceAllShapesWithSheetsChartResponse(); |
1790 buildCounterReplaceAllShapesWithSheetsChartResponse++; | 1790 buildCounterReplaceAllShapesWithSheetsChartResponse++; |
1791 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { | 1791 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { |
1792 o.occurrencesChanged = 42; | 1792 o.occurrencesChanged = 42; |
1793 } | 1793 } |
1794 buildCounterReplaceAllShapesWithSheetsChartResponse--; | 1794 buildCounterReplaceAllShapesWithSheetsChartResponse--; |
1795 return o; | 1795 return o; |
1796 } | 1796 } |
1797 | 1797 |
1798 checkReplaceAllShapesWithSheetsChartResponse(api.ReplaceAllShapesWithSheetsChart
Response o) { | 1798 checkReplaceAllShapesWithSheetsChartResponse(api.ReplaceAllShapesWithSheetsChart
Response o) { |
1799 buildCounterReplaceAllShapesWithSheetsChartResponse++; | 1799 buildCounterReplaceAllShapesWithSheetsChartResponse++; |
1800 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { | 1800 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { |
1801 unittest.expect(o.occurrencesChanged, unittest.equals(42)); | 1801 unittest.expect(o.occurrencesChanged, unittest.equals(42)); |
1802 } | 1802 } |
1803 buildCounterReplaceAllShapesWithSheetsChartResponse--; | 1803 buildCounterReplaceAllShapesWithSheetsChartResponse--; |
1804 } | 1804 } |
1805 | 1805 |
1806 buildUnnamed1727() { | 1806 buildUnnamed1744() { |
1807 var o = new core.List<core.String>(); | 1807 var o = new core.List<core.String>(); |
1808 o.add("foo"); | 1808 o.add("foo"); |
1809 o.add("foo"); | 1809 o.add("foo"); |
1810 return o; | 1810 return o; |
1811 } | 1811 } |
1812 | 1812 |
1813 checkUnnamed1727(core.List<core.String> o) { | 1813 checkUnnamed1744(core.List<core.String> o) { |
1814 unittest.expect(o, unittest.hasLength(2)); | 1814 unittest.expect(o, unittest.hasLength(2)); |
1815 unittest.expect(o[0], unittest.equals('foo')); | 1815 unittest.expect(o[0], unittest.equals('foo')); |
1816 unittest.expect(o[1], unittest.equals('foo')); | 1816 unittest.expect(o[1], unittest.equals('foo')); |
1817 } | 1817 } |
1818 | 1818 |
1819 core.int buildCounterReplaceAllTextRequest = 0; | 1819 core.int buildCounterReplaceAllTextRequest = 0; |
1820 buildReplaceAllTextRequest() { | 1820 buildReplaceAllTextRequest() { |
1821 var o = new api.ReplaceAllTextRequest(); | 1821 var o = new api.ReplaceAllTextRequest(); |
1822 buildCounterReplaceAllTextRequest++; | 1822 buildCounterReplaceAllTextRequest++; |
1823 if (buildCounterReplaceAllTextRequest < 3) { | 1823 if (buildCounterReplaceAllTextRequest < 3) { |
1824 o.containsText = buildSubstringMatchCriteria(); | 1824 o.containsText = buildSubstringMatchCriteria(); |
1825 o.pageObjectIds = buildUnnamed1727(); | 1825 o.pageObjectIds = buildUnnamed1744(); |
1826 o.replaceText = "foo"; | 1826 o.replaceText = "foo"; |
1827 } | 1827 } |
1828 buildCounterReplaceAllTextRequest--; | 1828 buildCounterReplaceAllTextRequest--; |
1829 return o; | 1829 return o; |
1830 } | 1830 } |
1831 | 1831 |
1832 checkReplaceAllTextRequest(api.ReplaceAllTextRequest o) { | 1832 checkReplaceAllTextRequest(api.ReplaceAllTextRequest o) { |
1833 buildCounterReplaceAllTextRequest++; | 1833 buildCounterReplaceAllTextRequest++; |
1834 if (buildCounterReplaceAllTextRequest < 3) { | 1834 if (buildCounterReplaceAllTextRequest < 3) { |
1835 checkSubstringMatchCriteria(o.containsText); | 1835 checkSubstringMatchCriteria(o.containsText); |
1836 checkUnnamed1727(o.pageObjectIds); | 1836 checkUnnamed1744(o.pageObjectIds); |
1837 unittest.expect(o.replaceText, unittest.equals('foo')); | 1837 unittest.expect(o.replaceText, unittest.equals('foo')); |
1838 } | 1838 } |
1839 buildCounterReplaceAllTextRequest--; | 1839 buildCounterReplaceAllTextRequest--; |
1840 } | 1840 } |
1841 | 1841 |
1842 core.int buildCounterReplaceAllTextResponse = 0; | 1842 core.int buildCounterReplaceAllTextResponse = 0; |
1843 buildReplaceAllTextResponse() { | 1843 buildReplaceAllTextResponse() { |
1844 var o = new api.ReplaceAllTextResponse(); | 1844 var o = new api.ReplaceAllTextResponse(); |
1845 buildCounterReplaceAllTextResponse++; | 1845 buildCounterReplaceAllTextResponse++; |
1846 if (buildCounterReplaceAllTextResponse < 3) { | 1846 if (buildCounterReplaceAllTextResponse < 3) { |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2247 | 2247 |
2248 checkSubstringMatchCriteria(api.SubstringMatchCriteria o) { | 2248 checkSubstringMatchCriteria(api.SubstringMatchCriteria o) { |
2249 buildCounterSubstringMatchCriteria++; | 2249 buildCounterSubstringMatchCriteria++; |
2250 if (buildCounterSubstringMatchCriteria < 3) { | 2250 if (buildCounterSubstringMatchCriteria < 3) { |
2251 unittest.expect(o.matchCase, unittest.isTrue); | 2251 unittest.expect(o.matchCase, unittest.isTrue); |
2252 unittest.expect(o.text, unittest.equals('foo')); | 2252 unittest.expect(o.text, unittest.equals('foo')); |
2253 } | 2253 } |
2254 buildCounterSubstringMatchCriteria--; | 2254 buildCounterSubstringMatchCriteria--; |
2255 } | 2255 } |
2256 | 2256 |
2257 buildUnnamed1728() { | 2257 buildUnnamed1745() { |
2258 var o = new core.List<api.TableColumnProperties>(); | 2258 var o = new core.List<api.TableColumnProperties>(); |
2259 o.add(buildTableColumnProperties()); | 2259 o.add(buildTableColumnProperties()); |
2260 o.add(buildTableColumnProperties()); | 2260 o.add(buildTableColumnProperties()); |
2261 return o; | 2261 return o; |
2262 } | 2262 } |
2263 | 2263 |
2264 checkUnnamed1728(core.List<api.TableColumnProperties> o) { | 2264 checkUnnamed1745(core.List<api.TableColumnProperties> o) { |
2265 unittest.expect(o, unittest.hasLength(2)); | 2265 unittest.expect(o, unittest.hasLength(2)); |
2266 checkTableColumnProperties(o[0]); | 2266 checkTableColumnProperties(o[0]); |
2267 checkTableColumnProperties(o[1]); | 2267 checkTableColumnProperties(o[1]); |
2268 } | 2268 } |
2269 | 2269 |
2270 buildUnnamed1729() { | 2270 buildUnnamed1746() { |
2271 var o = new core.List<api.TableRow>(); | 2271 var o = new core.List<api.TableRow>(); |
2272 o.add(buildTableRow()); | 2272 o.add(buildTableRow()); |
2273 o.add(buildTableRow()); | 2273 o.add(buildTableRow()); |
2274 return o; | 2274 return o; |
2275 } | 2275 } |
2276 | 2276 |
2277 checkUnnamed1729(core.List<api.TableRow> o) { | 2277 checkUnnamed1746(core.List<api.TableRow> o) { |
2278 unittest.expect(o, unittest.hasLength(2)); | 2278 unittest.expect(o, unittest.hasLength(2)); |
2279 checkTableRow(o[0]); | 2279 checkTableRow(o[0]); |
2280 checkTableRow(o[1]); | 2280 checkTableRow(o[1]); |
2281 } | 2281 } |
2282 | 2282 |
2283 core.int buildCounterTable = 0; | 2283 core.int buildCounterTable = 0; |
2284 buildTable() { | 2284 buildTable() { |
2285 var o = new api.Table(); | 2285 var o = new api.Table(); |
2286 buildCounterTable++; | 2286 buildCounterTable++; |
2287 if (buildCounterTable < 3) { | 2287 if (buildCounterTable < 3) { |
2288 o.columns = 42; | 2288 o.columns = 42; |
2289 o.rows = 42; | 2289 o.rows = 42; |
2290 o.tableColumns = buildUnnamed1728(); | 2290 o.tableColumns = buildUnnamed1745(); |
2291 o.tableRows = buildUnnamed1729(); | 2291 o.tableRows = buildUnnamed1746(); |
2292 } | 2292 } |
2293 buildCounterTable--; | 2293 buildCounterTable--; |
2294 return o; | 2294 return o; |
2295 } | 2295 } |
2296 | 2296 |
2297 checkTable(api.Table o) { | 2297 checkTable(api.Table o) { |
2298 buildCounterTable++; | 2298 buildCounterTable++; |
2299 if (buildCounterTable < 3) { | 2299 if (buildCounterTable < 3) { |
2300 unittest.expect(o.columns, unittest.equals(42)); | 2300 unittest.expect(o.columns, unittest.equals(42)); |
2301 unittest.expect(o.rows, unittest.equals(42)); | 2301 unittest.expect(o.rows, unittest.equals(42)); |
2302 checkUnnamed1728(o.tableColumns); | 2302 checkUnnamed1745(o.tableColumns); |
2303 checkUnnamed1729(o.tableRows); | 2303 checkUnnamed1746(o.tableRows); |
2304 } | 2304 } |
2305 buildCounterTable--; | 2305 buildCounterTable--; |
2306 } | 2306 } |
2307 | 2307 |
2308 core.int buildCounterTableCell = 0; | 2308 core.int buildCounterTableCell = 0; |
2309 buildTableCell() { | 2309 buildTableCell() { |
2310 var o = new api.TableCell(); | 2310 var o = new api.TableCell(); |
2311 buildCounterTableCell++; | 2311 buildCounterTableCell++; |
2312 if (buildCounterTableCell < 3) { | 2312 if (buildCounterTableCell < 3) { |
2313 o.columnSpan = 42; | 2313 o.columnSpan = 42; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2428 checkTableRange(api.TableRange o) { | 2428 checkTableRange(api.TableRange o) { |
2429 buildCounterTableRange++; | 2429 buildCounterTableRange++; |
2430 if (buildCounterTableRange < 3) { | 2430 if (buildCounterTableRange < 3) { |
2431 unittest.expect(o.columnSpan, unittest.equals(42)); | 2431 unittest.expect(o.columnSpan, unittest.equals(42)); |
2432 checkTableCellLocation(o.location); | 2432 checkTableCellLocation(o.location); |
2433 unittest.expect(o.rowSpan, unittest.equals(42)); | 2433 unittest.expect(o.rowSpan, unittest.equals(42)); |
2434 } | 2434 } |
2435 buildCounterTableRange--; | 2435 buildCounterTableRange--; |
2436 } | 2436 } |
2437 | 2437 |
2438 buildUnnamed1730() { | 2438 buildUnnamed1747() { |
2439 var o = new core.List<api.TableCell>(); | 2439 var o = new core.List<api.TableCell>(); |
2440 o.add(buildTableCell()); | 2440 o.add(buildTableCell()); |
2441 o.add(buildTableCell()); | 2441 o.add(buildTableCell()); |
2442 return o; | 2442 return o; |
2443 } | 2443 } |
2444 | 2444 |
2445 checkUnnamed1730(core.List<api.TableCell> o) { | 2445 checkUnnamed1747(core.List<api.TableCell> o) { |
2446 unittest.expect(o, unittest.hasLength(2)); | 2446 unittest.expect(o, unittest.hasLength(2)); |
2447 checkTableCell(o[0]); | 2447 checkTableCell(o[0]); |
2448 checkTableCell(o[1]); | 2448 checkTableCell(o[1]); |
2449 } | 2449 } |
2450 | 2450 |
2451 core.int buildCounterTableRow = 0; | 2451 core.int buildCounterTableRow = 0; |
2452 buildTableRow() { | 2452 buildTableRow() { |
2453 var o = new api.TableRow(); | 2453 var o = new api.TableRow(); |
2454 buildCounterTableRow++; | 2454 buildCounterTableRow++; |
2455 if (buildCounterTableRow < 3) { | 2455 if (buildCounterTableRow < 3) { |
2456 o.rowHeight = buildDimension(); | 2456 o.rowHeight = buildDimension(); |
2457 o.tableCells = buildUnnamed1730(); | 2457 o.tableCells = buildUnnamed1747(); |
2458 } | 2458 } |
2459 buildCounterTableRow--; | 2459 buildCounterTableRow--; |
2460 return o; | 2460 return o; |
2461 } | 2461 } |
2462 | 2462 |
2463 checkTableRow(api.TableRow o) { | 2463 checkTableRow(api.TableRow o) { |
2464 buildCounterTableRow++; | 2464 buildCounterTableRow++; |
2465 if (buildCounterTableRow < 3) { | 2465 if (buildCounterTableRow < 3) { |
2466 checkDimension(o.rowHeight); | 2466 checkDimension(o.rowHeight); |
2467 checkUnnamed1730(o.tableCells); | 2467 checkUnnamed1747(o.tableCells); |
2468 } | 2468 } |
2469 buildCounterTableRow--; | 2469 buildCounterTableRow--; |
2470 } | 2470 } |
2471 | 2471 |
2472 buildUnnamed1731() { | 2472 buildUnnamed1748() { |
2473 var o = new core.Map<core.String, api.List>(); | 2473 var o = new core.Map<core.String, api.List>(); |
2474 o["x"] = buildList(); | 2474 o["x"] = buildList(); |
2475 o["y"] = buildList(); | 2475 o["y"] = buildList(); |
2476 return o; | 2476 return o; |
2477 } | 2477 } |
2478 | 2478 |
2479 checkUnnamed1731(core.Map<core.String, api.List> o) { | 2479 checkUnnamed1748(core.Map<core.String, api.List> o) { |
2480 unittest.expect(o, unittest.hasLength(2)); | 2480 unittest.expect(o, unittest.hasLength(2)); |
2481 checkList(o["x"]); | 2481 checkList(o["x"]); |
2482 checkList(o["y"]); | 2482 checkList(o["y"]); |
2483 } | 2483 } |
2484 | 2484 |
2485 buildUnnamed1732() { | 2485 buildUnnamed1749() { |
2486 var o = new core.List<api.TextElement>(); | 2486 var o = new core.List<api.TextElement>(); |
2487 o.add(buildTextElement()); | 2487 o.add(buildTextElement()); |
2488 o.add(buildTextElement()); | 2488 o.add(buildTextElement()); |
2489 return o; | 2489 return o; |
2490 } | 2490 } |
2491 | 2491 |
2492 checkUnnamed1732(core.List<api.TextElement> o) { | 2492 checkUnnamed1749(core.List<api.TextElement> o) { |
2493 unittest.expect(o, unittest.hasLength(2)); | 2493 unittest.expect(o, unittest.hasLength(2)); |
2494 checkTextElement(o[0]); | 2494 checkTextElement(o[0]); |
2495 checkTextElement(o[1]); | 2495 checkTextElement(o[1]); |
2496 } | 2496 } |
2497 | 2497 |
2498 core.int buildCounterTextContent = 0; | 2498 core.int buildCounterTextContent = 0; |
2499 buildTextContent() { | 2499 buildTextContent() { |
2500 var o = new api.TextContent(); | 2500 var o = new api.TextContent(); |
2501 buildCounterTextContent++; | 2501 buildCounterTextContent++; |
2502 if (buildCounterTextContent < 3) { | 2502 if (buildCounterTextContent < 3) { |
2503 o.lists = buildUnnamed1731(); | 2503 o.lists = buildUnnamed1748(); |
2504 o.textElements = buildUnnamed1732(); | 2504 o.textElements = buildUnnamed1749(); |
2505 } | 2505 } |
2506 buildCounterTextContent--; | 2506 buildCounterTextContent--; |
2507 return o; | 2507 return o; |
2508 } | 2508 } |
2509 | 2509 |
2510 checkTextContent(api.TextContent o) { | 2510 checkTextContent(api.TextContent o) { |
2511 buildCounterTextContent++; | 2511 buildCounterTextContent++; |
2512 if (buildCounterTextContent < 3) { | 2512 if (buildCounterTextContent < 3) { |
2513 checkUnnamed1731(o.lists); | 2513 checkUnnamed1748(o.lists); |
2514 checkUnnamed1732(o.textElements); | 2514 checkUnnamed1749(o.textElements); |
2515 } | 2515 } |
2516 buildCounterTextContent--; | 2516 buildCounterTextContent--; |
2517 } | 2517 } |
2518 | 2518 |
2519 core.int buildCounterTextElement = 0; | 2519 core.int buildCounterTextElement = 0; |
2520 buildTextElement() { | 2520 buildTextElement() { |
2521 var o = new api.TextElement(); | 2521 var o = new api.TextElement(); |
2522 buildCounterTextElement++; | 2522 buildCounterTextElement++; |
2523 if (buildCounterTextElement < 3) { | 2523 if (buildCounterTextElement < 3) { |
2524 o.autoText = buildAutoText(); | 2524 o.autoText = buildAutoText(); |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2784 checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) { | 2784 checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) { |
2785 buildCounterUpdateShapePropertiesRequest++; | 2785 buildCounterUpdateShapePropertiesRequest++; |
2786 if (buildCounterUpdateShapePropertiesRequest < 3) { | 2786 if (buildCounterUpdateShapePropertiesRequest < 3) { |
2787 unittest.expect(o.fields, unittest.equals('foo')); | 2787 unittest.expect(o.fields, unittest.equals('foo')); |
2788 unittest.expect(o.objectId, unittest.equals('foo')); | 2788 unittest.expect(o.objectId, unittest.equals('foo')); |
2789 checkShapeProperties(o.shapeProperties); | 2789 checkShapeProperties(o.shapeProperties); |
2790 } | 2790 } |
2791 buildCounterUpdateShapePropertiesRequest--; | 2791 buildCounterUpdateShapePropertiesRequest--; |
2792 } | 2792 } |
2793 | 2793 |
2794 buildUnnamed1733() { | 2794 buildUnnamed1750() { |
2795 var o = new core.List<core.String>(); | 2795 var o = new core.List<core.String>(); |
2796 o.add("foo"); | 2796 o.add("foo"); |
2797 o.add("foo"); | 2797 o.add("foo"); |
2798 return o; | 2798 return o; |
2799 } | 2799 } |
2800 | 2800 |
2801 checkUnnamed1733(core.List<core.String> o) { | 2801 checkUnnamed1750(core.List<core.String> o) { |
2802 unittest.expect(o, unittest.hasLength(2)); | 2802 unittest.expect(o, unittest.hasLength(2)); |
2803 unittest.expect(o[0], unittest.equals('foo')); | 2803 unittest.expect(o[0], unittest.equals('foo')); |
2804 unittest.expect(o[1], unittest.equals('foo')); | 2804 unittest.expect(o[1], unittest.equals('foo')); |
2805 } | 2805 } |
2806 | 2806 |
2807 core.int buildCounterUpdateSlidesPositionRequest = 0; | 2807 core.int buildCounterUpdateSlidesPositionRequest = 0; |
2808 buildUpdateSlidesPositionRequest() { | 2808 buildUpdateSlidesPositionRequest() { |
2809 var o = new api.UpdateSlidesPositionRequest(); | 2809 var o = new api.UpdateSlidesPositionRequest(); |
2810 buildCounterUpdateSlidesPositionRequest++; | 2810 buildCounterUpdateSlidesPositionRequest++; |
2811 if (buildCounterUpdateSlidesPositionRequest < 3) { | 2811 if (buildCounterUpdateSlidesPositionRequest < 3) { |
2812 o.insertionIndex = 42; | 2812 o.insertionIndex = 42; |
2813 o.slideObjectIds = buildUnnamed1733(); | 2813 o.slideObjectIds = buildUnnamed1750(); |
2814 } | 2814 } |
2815 buildCounterUpdateSlidesPositionRequest--; | 2815 buildCounterUpdateSlidesPositionRequest--; |
2816 return o; | 2816 return o; |
2817 } | 2817 } |
2818 | 2818 |
2819 checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) { | 2819 checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) { |
2820 buildCounterUpdateSlidesPositionRequest++; | 2820 buildCounterUpdateSlidesPositionRequest++; |
2821 if (buildCounterUpdateSlidesPositionRequest < 3) { | 2821 if (buildCounterUpdateSlidesPositionRequest < 3) { |
2822 unittest.expect(o.insertionIndex, unittest.equals(42)); | 2822 unittest.expect(o.insertionIndex, unittest.equals(42)); |
2823 checkUnnamed1733(o.slideObjectIds); | 2823 checkUnnamed1750(o.slideObjectIds); |
2824 } | 2824 } |
2825 buildCounterUpdateSlidesPositionRequest--; | 2825 buildCounterUpdateSlidesPositionRequest--; |
2826 } | 2826 } |
2827 | 2827 |
2828 core.int buildCounterUpdateTableCellPropertiesRequest = 0; | 2828 core.int buildCounterUpdateTableCellPropertiesRequest = 0; |
2829 buildUpdateTableCellPropertiesRequest() { | 2829 buildUpdateTableCellPropertiesRequest() { |
2830 var o = new api.UpdateTableCellPropertiesRequest(); | 2830 var o = new api.UpdateTableCellPropertiesRequest(); |
2831 buildCounterUpdateTableCellPropertiesRequest++; | 2831 buildCounterUpdateTableCellPropertiesRequest++; |
2832 if (buildCounterUpdateTableCellPropertiesRequest < 3) { | 2832 if (buildCounterUpdateTableCellPropertiesRequest < 3) { |
2833 o.fields = "foo"; | 2833 o.fields = "foo"; |
(...skipping 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4290 res.getThumbnail(arg_presentationId, arg_pageObjectId, thumbnailProperties
_thumbnailSize: arg_thumbnailProperties_thumbnailSize, thumbnailProperties_mimeT
ype: arg_thumbnailProperties_mimeType).then(unittest.expectAsync1(((api.Thumbnai
l response) { | 4290 res.getThumbnail(arg_presentationId, arg_pageObjectId, thumbnailProperties
_thumbnailSize: arg_thumbnailProperties_thumbnailSize, thumbnailProperties_mimeT
ype: arg_thumbnailProperties_mimeType).then(unittest.expectAsync1(((api.Thumbnai
l response) { |
4291 checkThumbnail(response); | 4291 checkThumbnail(response); |
4292 }))); | 4292 }))); |
4293 }); | 4293 }); |
4294 | 4294 |
4295 }); | 4295 }); |
4296 | 4296 |
4297 | 4297 |
4298 } | 4298 } |
4299 | 4299 |
OLD | NEW |