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 buildUnnamed1681() { | 108 buildUnnamed1713() { |
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 checkUnnamed1681(core.List<api.Request> o) { | 115 checkUnnamed1713(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 = buildUnnamed1681(); | 126 o.requests = buildUnnamed1713(); |
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 checkUnnamed1681(o.requests); | 136 checkUnnamed1713(o.requests); |
137 checkWriteControl(o.writeControl); | 137 checkWriteControl(o.writeControl); |
138 } | 138 } |
139 buildCounterBatchUpdatePresentationRequest--; | 139 buildCounterBatchUpdatePresentationRequest--; |
140 } | 140 } |
141 | 141 |
142 buildUnnamed1682() { | 142 buildUnnamed1714() { |
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 checkUnnamed1682(core.List<api.Response> o) { | 149 checkUnnamed1714(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 = buildUnnamed1682(); | 161 o.replies = buildUnnamed1714(); |
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 checkUnnamed1682(o.replies); | 171 checkUnnamed1714(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 buildUnnamed1683() { | 201 buildUnnamed1715() { |
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 checkUnnamed1683(core.List<api.ThemeColorPair> o) { | 208 checkUnnamed1715(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 = buildUnnamed1683(); | 219 o.colors = buildUnnamed1715(); |
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 checkUnnamed1683(o.colors); | 228 checkUnnamed1715(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 buildUnnamed1684() { | 453 buildUnnamed1716() { |
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 checkUnnamed1684(core.List<api.LayoutPlaceholderIdMapping> o) { | 460 checkUnnamed1716(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 = buildUnnamed1684(); | 473 o.placeholderIdMappings = buildUnnamed1716(); |
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 checkUnnamed1684(o.placeholderIdMappings); | 485 checkUnnamed1716(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 buildUnnamed1685() { | 753 buildUnnamed1717() { |
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 checkUnnamed1685(core.Map<core.String, core.String> o) { | 760 checkUnnamed1717(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 = buildUnnamed1685(); | 772 o.objectIds = buildUnnamed1717(); |
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 checkUnnamed1685(o.objectIds); | 782 checkUnnamed1717(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 buildUnnamed1686() { | 806 buildUnnamed1718() { |
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 checkUnnamed1686(core.List<api.PageElement> o) { | 813 checkUnnamed1718(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 = buildUnnamed1686(); | 824 o.children = buildUnnamed1718(); |
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 checkUnnamed1686(o.children); | 833 checkUnnamed1718(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 buildUnnamed1687() { | 1128 buildUnnamed1719() { |
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 checkUnnamed1687(core.Map<core.String, api.NestingLevel> o) { | 1135 checkUnnamed1719(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 = buildUnnamed1687(); | 1147 o.nestingLevel = buildUnnamed1719(); |
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 checkUnnamed1687(o.nestingLevel); | 1157 checkUnnamed1719(o.nestingLevel); |
1158 } | 1158 } |
1159 buildCounterList--; | 1159 buildCounterList--; |
1160 } | 1160 } |
1161 | 1161 |
| 1162 core.int buildCounterMasterProperties = 0; |
| 1163 buildMasterProperties() { |
| 1164 var o = new api.MasterProperties(); |
| 1165 buildCounterMasterProperties++; |
| 1166 if (buildCounterMasterProperties < 3) { |
| 1167 o.displayName = "foo"; |
| 1168 } |
| 1169 buildCounterMasterProperties--; |
| 1170 return o; |
| 1171 } |
| 1172 |
| 1173 checkMasterProperties(api.MasterProperties o) { |
| 1174 buildCounterMasterProperties++; |
| 1175 if (buildCounterMasterProperties < 3) { |
| 1176 unittest.expect(o.displayName, unittest.equals('foo')); |
| 1177 } |
| 1178 buildCounterMasterProperties--; |
| 1179 } |
| 1180 |
1162 core.int buildCounterNestingLevel = 0; | 1181 core.int buildCounterNestingLevel = 0; |
1163 buildNestingLevel() { | 1182 buildNestingLevel() { |
1164 var o = new api.NestingLevel(); | 1183 var o = new api.NestingLevel(); |
1165 buildCounterNestingLevel++; | 1184 buildCounterNestingLevel++; |
1166 if (buildCounterNestingLevel < 3) { | 1185 if (buildCounterNestingLevel < 3) { |
1167 o.bulletStyle = buildTextStyle(); | 1186 o.bulletStyle = buildTextStyle(); |
1168 } | 1187 } |
1169 buildCounterNestingLevel--; | 1188 buildCounterNestingLevel--; |
1170 return o; | 1189 return o; |
1171 } | 1190 } |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1274 } | 1293 } |
1275 | 1294 |
1276 checkOutlineFill(api.OutlineFill o) { | 1295 checkOutlineFill(api.OutlineFill o) { |
1277 buildCounterOutlineFill++; | 1296 buildCounterOutlineFill++; |
1278 if (buildCounterOutlineFill < 3) { | 1297 if (buildCounterOutlineFill < 3) { |
1279 checkSolidFill(o.solidFill); | 1298 checkSolidFill(o.solidFill); |
1280 } | 1299 } |
1281 buildCounterOutlineFill--; | 1300 buildCounterOutlineFill--; |
1282 } | 1301 } |
1283 | 1302 |
1284 buildUnnamed1688() { | 1303 buildUnnamed1720() { |
1285 var o = new core.List<api.PageElement>(); | 1304 var o = new core.List<api.PageElement>(); |
1286 o.add(buildPageElement()); | 1305 o.add(buildPageElement()); |
1287 o.add(buildPageElement()); | 1306 o.add(buildPageElement()); |
1288 return o; | 1307 return o; |
1289 } | 1308 } |
1290 | 1309 |
1291 checkUnnamed1688(core.List<api.PageElement> o) { | 1310 checkUnnamed1720(core.List<api.PageElement> o) { |
1292 unittest.expect(o, unittest.hasLength(2)); | 1311 unittest.expect(o, unittest.hasLength(2)); |
1293 checkPageElement(o[0]); | 1312 checkPageElement(o[0]); |
1294 checkPageElement(o[1]); | 1313 checkPageElement(o[1]); |
1295 } | 1314 } |
1296 | 1315 |
1297 core.int buildCounterPage = 0; | 1316 core.int buildCounterPage = 0; |
1298 buildPage() { | 1317 buildPage() { |
1299 var o = new api.Page(); | 1318 var o = new api.Page(); |
1300 buildCounterPage++; | 1319 buildCounterPage++; |
1301 if (buildCounterPage < 3) { | 1320 if (buildCounterPage < 3) { |
1302 o.layoutProperties = buildLayoutProperties(); | 1321 o.layoutProperties = buildLayoutProperties(); |
| 1322 o.masterProperties = buildMasterProperties(); |
1303 o.notesProperties = buildNotesProperties(); | 1323 o.notesProperties = buildNotesProperties(); |
1304 o.objectId = "foo"; | 1324 o.objectId = "foo"; |
1305 o.pageElements = buildUnnamed1688(); | 1325 o.pageElements = buildUnnamed1720(); |
1306 o.pageProperties = buildPageProperties(); | 1326 o.pageProperties = buildPageProperties(); |
1307 o.pageType = "foo"; | 1327 o.pageType = "foo"; |
1308 o.revisionId = "foo"; | 1328 o.revisionId = "foo"; |
1309 o.slideProperties = buildSlideProperties(); | 1329 o.slideProperties = buildSlideProperties(); |
1310 } | 1330 } |
1311 buildCounterPage--; | 1331 buildCounterPage--; |
1312 return o; | 1332 return o; |
1313 } | 1333 } |
1314 | 1334 |
1315 checkPage(api.Page o) { | 1335 checkPage(api.Page o) { |
1316 buildCounterPage++; | 1336 buildCounterPage++; |
1317 if (buildCounterPage < 3) { | 1337 if (buildCounterPage < 3) { |
1318 checkLayoutProperties(o.layoutProperties); | 1338 checkLayoutProperties(o.layoutProperties); |
| 1339 checkMasterProperties(o.masterProperties); |
1319 checkNotesProperties(o.notesProperties); | 1340 checkNotesProperties(o.notesProperties); |
1320 unittest.expect(o.objectId, unittest.equals('foo')); | 1341 unittest.expect(o.objectId, unittest.equals('foo')); |
1321 checkUnnamed1688(o.pageElements); | 1342 checkUnnamed1720(o.pageElements); |
1322 checkPageProperties(o.pageProperties); | 1343 checkPageProperties(o.pageProperties); |
1323 unittest.expect(o.pageType, unittest.equals('foo')); | 1344 unittest.expect(o.pageType, unittest.equals('foo')); |
1324 unittest.expect(o.revisionId, unittest.equals('foo')); | 1345 unittest.expect(o.revisionId, unittest.equals('foo')); |
1325 checkSlideProperties(o.slideProperties); | 1346 checkSlideProperties(o.slideProperties); |
1326 } | 1347 } |
1327 buildCounterPage--; | 1348 buildCounterPage--; |
1328 } | 1349 } |
1329 | 1350 |
1330 core.int buildCounterPageBackgroundFill = 0; | 1351 core.int buildCounterPageBackgroundFill = 0; |
1331 buildPageBackgroundFill() { | 1352 buildPageBackgroundFill() { |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1509 checkPlaceholder(api.Placeholder o) { | 1530 checkPlaceholder(api.Placeholder o) { |
1510 buildCounterPlaceholder++; | 1531 buildCounterPlaceholder++; |
1511 if (buildCounterPlaceholder < 3) { | 1532 if (buildCounterPlaceholder < 3) { |
1512 unittest.expect(o.index, unittest.equals(42)); | 1533 unittest.expect(o.index, unittest.equals(42)); |
1513 unittest.expect(o.parentObjectId, unittest.equals('foo')); | 1534 unittest.expect(o.parentObjectId, unittest.equals('foo')); |
1514 unittest.expect(o.type, unittest.equals('foo')); | 1535 unittest.expect(o.type, unittest.equals('foo')); |
1515 } | 1536 } |
1516 buildCounterPlaceholder--; | 1537 buildCounterPlaceholder--; |
1517 } | 1538 } |
1518 | 1539 |
1519 buildUnnamed1689() { | 1540 buildUnnamed1721() { |
1520 var o = new core.List<api.Page>(); | 1541 var o = new core.List<api.Page>(); |
1521 o.add(buildPage()); | 1542 o.add(buildPage()); |
1522 o.add(buildPage()); | 1543 o.add(buildPage()); |
1523 return o; | 1544 return o; |
1524 } | 1545 } |
1525 | 1546 |
1526 checkUnnamed1689(core.List<api.Page> o) { | 1547 checkUnnamed1721(core.List<api.Page> o) { |
1527 unittest.expect(o, unittest.hasLength(2)); | 1548 unittest.expect(o, unittest.hasLength(2)); |
1528 checkPage(o[0]); | 1549 checkPage(o[0]); |
1529 checkPage(o[1]); | 1550 checkPage(o[1]); |
1530 } | 1551 } |
1531 | 1552 |
1532 buildUnnamed1690() { | 1553 buildUnnamed1722() { |
1533 var o = new core.List<api.Page>(); | 1554 var o = new core.List<api.Page>(); |
1534 o.add(buildPage()); | 1555 o.add(buildPage()); |
1535 o.add(buildPage()); | 1556 o.add(buildPage()); |
1536 return o; | 1557 return o; |
1537 } | 1558 } |
1538 | 1559 |
1539 checkUnnamed1690(core.List<api.Page> o) { | 1560 checkUnnamed1722(core.List<api.Page> o) { |
1540 unittest.expect(o, unittest.hasLength(2)); | 1561 unittest.expect(o, unittest.hasLength(2)); |
1541 checkPage(o[0]); | 1562 checkPage(o[0]); |
1542 checkPage(o[1]); | 1563 checkPage(o[1]); |
1543 } | 1564 } |
1544 | 1565 |
1545 buildUnnamed1691() { | 1566 buildUnnamed1723() { |
1546 var o = new core.List<api.Page>(); | 1567 var o = new core.List<api.Page>(); |
1547 o.add(buildPage()); | 1568 o.add(buildPage()); |
1548 o.add(buildPage()); | 1569 o.add(buildPage()); |
1549 return o; | 1570 return o; |
1550 } | 1571 } |
1551 | 1572 |
1552 checkUnnamed1691(core.List<api.Page> o) { | 1573 checkUnnamed1723(core.List<api.Page> o) { |
1553 unittest.expect(o, unittest.hasLength(2)); | 1574 unittest.expect(o, unittest.hasLength(2)); |
1554 checkPage(o[0]); | 1575 checkPage(o[0]); |
1555 checkPage(o[1]); | 1576 checkPage(o[1]); |
1556 } | 1577 } |
1557 | 1578 |
1558 core.int buildCounterPresentation = 0; | 1579 core.int buildCounterPresentation = 0; |
1559 buildPresentation() { | 1580 buildPresentation() { |
1560 var o = new api.Presentation(); | 1581 var o = new api.Presentation(); |
1561 buildCounterPresentation++; | 1582 buildCounterPresentation++; |
1562 if (buildCounterPresentation < 3) { | 1583 if (buildCounterPresentation < 3) { |
1563 o.layouts = buildUnnamed1689(); | 1584 o.layouts = buildUnnamed1721(); |
1564 o.locale = "foo"; | 1585 o.locale = "foo"; |
1565 o.masters = buildUnnamed1690(); | 1586 o.masters = buildUnnamed1722(); |
1566 o.notesMaster = buildPage(); | 1587 o.notesMaster = buildPage(); |
1567 o.pageSize = buildSize(); | 1588 o.pageSize = buildSize(); |
1568 o.presentationId = "foo"; | 1589 o.presentationId = "foo"; |
1569 o.revisionId = "foo"; | 1590 o.revisionId = "foo"; |
1570 o.slides = buildUnnamed1691(); | 1591 o.slides = buildUnnamed1723(); |
1571 o.title = "foo"; | 1592 o.title = "foo"; |
1572 } | 1593 } |
1573 buildCounterPresentation--; | 1594 buildCounterPresentation--; |
1574 return o; | 1595 return o; |
1575 } | 1596 } |
1576 | 1597 |
1577 checkPresentation(api.Presentation o) { | 1598 checkPresentation(api.Presentation o) { |
1578 buildCounterPresentation++; | 1599 buildCounterPresentation++; |
1579 if (buildCounterPresentation < 3) { | 1600 if (buildCounterPresentation < 3) { |
1580 checkUnnamed1689(o.layouts); | 1601 checkUnnamed1721(o.layouts); |
1581 unittest.expect(o.locale, unittest.equals('foo')); | 1602 unittest.expect(o.locale, unittest.equals('foo')); |
1582 checkUnnamed1690(o.masters); | 1603 checkUnnamed1722(o.masters); |
1583 checkPage(o.notesMaster); | 1604 checkPage(o.notesMaster); |
1584 checkSize(o.pageSize); | 1605 checkSize(o.pageSize); |
1585 unittest.expect(o.presentationId, unittest.equals('foo')); | 1606 unittest.expect(o.presentationId, unittest.equals('foo')); |
1586 unittest.expect(o.revisionId, unittest.equals('foo')); | 1607 unittest.expect(o.revisionId, unittest.equals('foo')); |
1587 checkUnnamed1691(o.slides); | 1608 checkUnnamed1723(o.slides); |
1588 unittest.expect(o.title, unittest.equals('foo')); | 1609 unittest.expect(o.title, unittest.equals('foo')); |
1589 } | 1610 } |
1590 buildCounterPresentation--; | 1611 buildCounterPresentation--; |
1591 } | 1612 } |
1592 | 1613 |
1593 core.int buildCounterRange = 0; | 1614 core.int buildCounterRange = 0; |
1594 buildRange() { | 1615 buildRange() { |
1595 var o = new api.Range(); | 1616 var o = new api.Range(); |
1596 buildCounterRange++; | 1617 buildCounterRange++; |
1597 if (buildCounterRange < 3) { | 1618 if (buildCounterRange < 3) { |
1598 o.endIndex = 42; | 1619 o.endIndex = 42; |
1599 o.startIndex = 42; | 1620 o.startIndex = 42; |
1600 o.type = "foo"; | 1621 o.type = "foo"; |
1601 } | 1622 } |
1602 buildCounterRange--; | 1623 buildCounterRange--; |
1603 return o; | 1624 return o; |
1604 } | 1625 } |
1605 | 1626 |
1606 checkRange(api.Range o) { | 1627 checkRange(api.Range o) { |
1607 buildCounterRange++; | 1628 buildCounterRange++; |
1608 if (buildCounterRange < 3) { | 1629 if (buildCounterRange < 3) { |
1609 unittest.expect(o.endIndex, unittest.equals(42)); | 1630 unittest.expect(o.endIndex, unittest.equals(42)); |
1610 unittest.expect(o.startIndex, unittest.equals(42)); | 1631 unittest.expect(o.startIndex, unittest.equals(42)); |
1611 unittest.expect(o.type, unittest.equals('foo')); | 1632 unittest.expect(o.type, unittest.equals('foo')); |
1612 } | 1633 } |
1613 buildCounterRange--; | 1634 buildCounterRange--; |
1614 } | 1635 } |
1615 | 1636 |
1616 buildUnnamed1692() { | 1637 buildUnnamed1724() { |
1617 var o = new core.List<api.ColorStop>(); | 1638 var o = new core.List<api.ColorStop>(); |
1618 o.add(buildColorStop()); | 1639 o.add(buildColorStop()); |
1619 o.add(buildColorStop()); | 1640 o.add(buildColorStop()); |
1620 return o; | 1641 return o; |
1621 } | 1642 } |
1622 | 1643 |
1623 checkUnnamed1692(core.List<api.ColorStop> o) { | 1644 checkUnnamed1724(core.List<api.ColorStop> o) { |
1624 unittest.expect(o, unittest.hasLength(2)); | 1645 unittest.expect(o, unittest.hasLength(2)); |
1625 checkColorStop(o[0]); | 1646 checkColorStop(o[0]); |
1626 checkColorStop(o[1]); | 1647 checkColorStop(o[1]); |
1627 } | 1648 } |
1628 | 1649 |
1629 core.int buildCounterRecolor = 0; | 1650 core.int buildCounterRecolor = 0; |
1630 buildRecolor() { | 1651 buildRecolor() { |
1631 var o = new api.Recolor(); | 1652 var o = new api.Recolor(); |
1632 buildCounterRecolor++; | 1653 buildCounterRecolor++; |
1633 if (buildCounterRecolor < 3) { | 1654 if (buildCounterRecolor < 3) { |
1634 o.name = "foo"; | 1655 o.name = "foo"; |
1635 o.recolorStops = buildUnnamed1692(); | 1656 o.recolorStops = buildUnnamed1724(); |
1636 } | 1657 } |
1637 buildCounterRecolor--; | 1658 buildCounterRecolor--; |
1638 return o; | 1659 return o; |
1639 } | 1660 } |
1640 | 1661 |
1641 checkRecolor(api.Recolor o) { | 1662 checkRecolor(api.Recolor o) { |
1642 buildCounterRecolor++; | 1663 buildCounterRecolor++; |
1643 if (buildCounterRecolor < 3) { | 1664 if (buildCounterRecolor < 3) { |
1644 unittest.expect(o.name, unittest.equals('foo')); | 1665 unittest.expect(o.name, unittest.equals('foo')); |
1645 checkUnnamed1692(o.recolorStops); | 1666 checkUnnamed1724(o.recolorStops); |
1646 } | 1667 } |
1647 buildCounterRecolor--; | 1668 buildCounterRecolor--; |
1648 } | 1669 } |
1649 | 1670 |
1650 core.int buildCounterRefreshSheetsChartRequest = 0; | 1671 core.int buildCounterRefreshSheetsChartRequest = 0; |
1651 buildRefreshSheetsChartRequest() { | 1672 buildRefreshSheetsChartRequest() { |
1652 var o = new api.RefreshSheetsChartRequest(); | 1673 var o = new api.RefreshSheetsChartRequest(); |
1653 buildCounterRefreshSheetsChartRequest++; | 1674 buildCounterRefreshSheetsChartRequest++; |
1654 if (buildCounterRefreshSheetsChartRequest < 3) { | 1675 if (buildCounterRefreshSheetsChartRequest < 3) { |
1655 o.objectId = "foo"; | 1676 o.objectId = "foo"; |
1656 } | 1677 } |
1657 buildCounterRefreshSheetsChartRequest--; | 1678 buildCounterRefreshSheetsChartRequest--; |
1658 return o; | 1679 return o; |
1659 } | 1680 } |
1660 | 1681 |
1661 checkRefreshSheetsChartRequest(api.RefreshSheetsChartRequest o) { | 1682 checkRefreshSheetsChartRequest(api.RefreshSheetsChartRequest o) { |
1662 buildCounterRefreshSheetsChartRequest++; | 1683 buildCounterRefreshSheetsChartRequest++; |
1663 if (buildCounterRefreshSheetsChartRequest < 3) { | 1684 if (buildCounterRefreshSheetsChartRequest < 3) { |
1664 unittest.expect(o.objectId, unittest.equals('foo')); | 1685 unittest.expect(o.objectId, unittest.equals('foo')); |
1665 } | 1686 } |
1666 buildCounterRefreshSheetsChartRequest--; | 1687 buildCounterRefreshSheetsChartRequest--; |
1667 } | 1688 } |
1668 | 1689 |
1669 buildUnnamed1693() { | 1690 buildUnnamed1725() { |
1670 var o = new core.List<core.String>(); | 1691 var o = new core.List<core.String>(); |
1671 o.add("foo"); | 1692 o.add("foo"); |
1672 o.add("foo"); | 1693 o.add("foo"); |
1673 return o; | 1694 return o; |
1674 } | 1695 } |
1675 | 1696 |
1676 checkUnnamed1693(core.List<core.String> o) { | 1697 checkUnnamed1725(core.List<core.String> o) { |
1677 unittest.expect(o, unittest.hasLength(2)); | 1698 unittest.expect(o, unittest.hasLength(2)); |
1678 unittest.expect(o[0], unittest.equals('foo')); | 1699 unittest.expect(o[0], unittest.equals('foo')); |
1679 unittest.expect(o[1], unittest.equals('foo')); | 1700 unittest.expect(o[1], unittest.equals('foo')); |
1680 } | 1701 } |
1681 | 1702 |
1682 core.int buildCounterReplaceAllShapesWithImageRequest = 0; | 1703 core.int buildCounterReplaceAllShapesWithImageRequest = 0; |
1683 buildReplaceAllShapesWithImageRequest() { | 1704 buildReplaceAllShapesWithImageRequest() { |
1684 var o = new api.ReplaceAllShapesWithImageRequest(); | 1705 var o = new api.ReplaceAllShapesWithImageRequest(); |
1685 buildCounterReplaceAllShapesWithImageRequest++; | 1706 buildCounterReplaceAllShapesWithImageRequest++; |
1686 if (buildCounterReplaceAllShapesWithImageRequest < 3) { | 1707 if (buildCounterReplaceAllShapesWithImageRequest < 3) { |
1687 o.containsText = buildSubstringMatchCriteria(); | 1708 o.containsText = buildSubstringMatchCriteria(); |
1688 o.imageUrl = "foo"; | 1709 o.imageUrl = "foo"; |
1689 o.pageObjectIds = buildUnnamed1693(); | 1710 o.pageObjectIds = buildUnnamed1725(); |
1690 o.replaceMethod = "foo"; | 1711 o.replaceMethod = "foo"; |
1691 } | 1712 } |
1692 buildCounterReplaceAllShapesWithImageRequest--; | 1713 buildCounterReplaceAllShapesWithImageRequest--; |
1693 return o; | 1714 return o; |
1694 } | 1715 } |
1695 | 1716 |
1696 checkReplaceAllShapesWithImageRequest(api.ReplaceAllShapesWithImageRequest o) { | 1717 checkReplaceAllShapesWithImageRequest(api.ReplaceAllShapesWithImageRequest o) { |
1697 buildCounterReplaceAllShapesWithImageRequest++; | 1718 buildCounterReplaceAllShapesWithImageRequest++; |
1698 if (buildCounterReplaceAllShapesWithImageRequest < 3) { | 1719 if (buildCounterReplaceAllShapesWithImageRequest < 3) { |
1699 checkSubstringMatchCriteria(o.containsText); | 1720 checkSubstringMatchCriteria(o.containsText); |
1700 unittest.expect(o.imageUrl, unittest.equals('foo')); | 1721 unittest.expect(o.imageUrl, unittest.equals('foo')); |
1701 checkUnnamed1693(o.pageObjectIds); | 1722 checkUnnamed1725(o.pageObjectIds); |
1702 unittest.expect(o.replaceMethod, unittest.equals('foo')); | 1723 unittest.expect(o.replaceMethod, unittest.equals('foo')); |
1703 } | 1724 } |
1704 buildCounterReplaceAllShapesWithImageRequest--; | 1725 buildCounterReplaceAllShapesWithImageRequest--; |
1705 } | 1726 } |
1706 | 1727 |
1707 core.int buildCounterReplaceAllShapesWithImageResponse = 0; | 1728 core.int buildCounterReplaceAllShapesWithImageResponse = 0; |
1708 buildReplaceAllShapesWithImageResponse() { | 1729 buildReplaceAllShapesWithImageResponse() { |
1709 var o = new api.ReplaceAllShapesWithImageResponse(); | 1730 var o = new api.ReplaceAllShapesWithImageResponse(); |
1710 buildCounterReplaceAllShapesWithImageResponse++; | 1731 buildCounterReplaceAllShapesWithImageResponse++; |
1711 if (buildCounterReplaceAllShapesWithImageResponse < 3) { | 1732 if (buildCounterReplaceAllShapesWithImageResponse < 3) { |
1712 o.occurrencesChanged = 42; | 1733 o.occurrencesChanged = 42; |
1713 } | 1734 } |
1714 buildCounterReplaceAllShapesWithImageResponse--; | 1735 buildCounterReplaceAllShapesWithImageResponse--; |
1715 return o; | 1736 return o; |
1716 } | 1737 } |
1717 | 1738 |
1718 checkReplaceAllShapesWithImageResponse(api.ReplaceAllShapesWithImageResponse o)
{ | 1739 checkReplaceAllShapesWithImageResponse(api.ReplaceAllShapesWithImageResponse o)
{ |
1719 buildCounterReplaceAllShapesWithImageResponse++; | 1740 buildCounterReplaceAllShapesWithImageResponse++; |
1720 if (buildCounterReplaceAllShapesWithImageResponse < 3) { | 1741 if (buildCounterReplaceAllShapesWithImageResponse < 3) { |
1721 unittest.expect(o.occurrencesChanged, unittest.equals(42)); | 1742 unittest.expect(o.occurrencesChanged, unittest.equals(42)); |
1722 } | 1743 } |
1723 buildCounterReplaceAllShapesWithImageResponse--; | 1744 buildCounterReplaceAllShapesWithImageResponse--; |
1724 } | 1745 } |
1725 | 1746 |
1726 buildUnnamed1694() { | 1747 buildUnnamed1726() { |
1727 var o = new core.List<core.String>(); | 1748 var o = new core.List<core.String>(); |
1728 o.add("foo"); | 1749 o.add("foo"); |
1729 o.add("foo"); | 1750 o.add("foo"); |
1730 return o; | 1751 return o; |
1731 } | 1752 } |
1732 | 1753 |
1733 checkUnnamed1694(core.List<core.String> o) { | 1754 checkUnnamed1726(core.List<core.String> o) { |
1734 unittest.expect(o, unittest.hasLength(2)); | 1755 unittest.expect(o, unittest.hasLength(2)); |
1735 unittest.expect(o[0], unittest.equals('foo')); | 1756 unittest.expect(o[0], unittest.equals('foo')); |
1736 unittest.expect(o[1], unittest.equals('foo')); | 1757 unittest.expect(o[1], unittest.equals('foo')); |
1737 } | 1758 } |
1738 | 1759 |
1739 core.int buildCounterReplaceAllShapesWithSheetsChartRequest = 0; | 1760 core.int buildCounterReplaceAllShapesWithSheetsChartRequest = 0; |
1740 buildReplaceAllShapesWithSheetsChartRequest() { | 1761 buildReplaceAllShapesWithSheetsChartRequest() { |
1741 var o = new api.ReplaceAllShapesWithSheetsChartRequest(); | 1762 var o = new api.ReplaceAllShapesWithSheetsChartRequest(); |
1742 buildCounterReplaceAllShapesWithSheetsChartRequest++; | 1763 buildCounterReplaceAllShapesWithSheetsChartRequest++; |
1743 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { | 1764 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { |
1744 o.chartId = 42; | 1765 o.chartId = 42; |
1745 o.containsText = buildSubstringMatchCriteria(); | 1766 o.containsText = buildSubstringMatchCriteria(); |
1746 o.linkingMode = "foo"; | 1767 o.linkingMode = "foo"; |
1747 o.pageObjectIds = buildUnnamed1694(); | 1768 o.pageObjectIds = buildUnnamed1726(); |
1748 o.spreadsheetId = "foo"; | 1769 o.spreadsheetId = "foo"; |
1749 } | 1770 } |
1750 buildCounterReplaceAllShapesWithSheetsChartRequest--; | 1771 buildCounterReplaceAllShapesWithSheetsChartRequest--; |
1751 return o; | 1772 return o; |
1752 } | 1773 } |
1753 | 1774 |
1754 checkReplaceAllShapesWithSheetsChartRequest(api.ReplaceAllShapesWithSheetsChartR
equest o) { | 1775 checkReplaceAllShapesWithSheetsChartRequest(api.ReplaceAllShapesWithSheetsChartR
equest o) { |
1755 buildCounterReplaceAllShapesWithSheetsChartRequest++; | 1776 buildCounterReplaceAllShapesWithSheetsChartRequest++; |
1756 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { | 1777 if (buildCounterReplaceAllShapesWithSheetsChartRequest < 3) { |
1757 unittest.expect(o.chartId, unittest.equals(42)); | 1778 unittest.expect(o.chartId, unittest.equals(42)); |
1758 checkSubstringMatchCriteria(o.containsText); | 1779 checkSubstringMatchCriteria(o.containsText); |
1759 unittest.expect(o.linkingMode, unittest.equals('foo')); | 1780 unittest.expect(o.linkingMode, unittest.equals('foo')); |
1760 checkUnnamed1694(o.pageObjectIds); | 1781 checkUnnamed1726(o.pageObjectIds); |
1761 unittest.expect(o.spreadsheetId, unittest.equals('foo')); | 1782 unittest.expect(o.spreadsheetId, unittest.equals('foo')); |
1762 } | 1783 } |
1763 buildCounterReplaceAllShapesWithSheetsChartRequest--; | 1784 buildCounterReplaceAllShapesWithSheetsChartRequest--; |
1764 } | 1785 } |
1765 | 1786 |
1766 core.int buildCounterReplaceAllShapesWithSheetsChartResponse = 0; | 1787 core.int buildCounterReplaceAllShapesWithSheetsChartResponse = 0; |
1767 buildReplaceAllShapesWithSheetsChartResponse() { | 1788 buildReplaceAllShapesWithSheetsChartResponse() { |
1768 var o = new api.ReplaceAllShapesWithSheetsChartResponse(); | 1789 var o = new api.ReplaceAllShapesWithSheetsChartResponse(); |
1769 buildCounterReplaceAllShapesWithSheetsChartResponse++; | 1790 buildCounterReplaceAllShapesWithSheetsChartResponse++; |
1770 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { | 1791 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { |
1771 o.occurrencesChanged = 42; | 1792 o.occurrencesChanged = 42; |
1772 } | 1793 } |
1773 buildCounterReplaceAllShapesWithSheetsChartResponse--; | 1794 buildCounterReplaceAllShapesWithSheetsChartResponse--; |
1774 return o; | 1795 return o; |
1775 } | 1796 } |
1776 | 1797 |
1777 checkReplaceAllShapesWithSheetsChartResponse(api.ReplaceAllShapesWithSheetsChart
Response o) { | 1798 checkReplaceAllShapesWithSheetsChartResponse(api.ReplaceAllShapesWithSheetsChart
Response o) { |
1778 buildCounterReplaceAllShapesWithSheetsChartResponse++; | 1799 buildCounterReplaceAllShapesWithSheetsChartResponse++; |
1779 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { | 1800 if (buildCounterReplaceAllShapesWithSheetsChartResponse < 3) { |
1780 unittest.expect(o.occurrencesChanged, unittest.equals(42)); | 1801 unittest.expect(o.occurrencesChanged, unittest.equals(42)); |
1781 } | 1802 } |
1782 buildCounterReplaceAllShapesWithSheetsChartResponse--; | 1803 buildCounterReplaceAllShapesWithSheetsChartResponse--; |
1783 } | 1804 } |
1784 | 1805 |
1785 buildUnnamed1695() { | 1806 buildUnnamed1727() { |
1786 var o = new core.List<core.String>(); | 1807 var o = new core.List<core.String>(); |
1787 o.add("foo"); | 1808 o.add("foo"); |
1788 o.add("foo"); | 1809 o.add("foo"); |
1789 return o; | 1810 return o; |
1790 } | 1811 } |
1791 | 1812 |
1792 checkUnnamed1695(core.List<core.String> o) { | 1813 checkUnnamed1727(core.List<core.String> o) { |
1793 unittest.expect(o, unittest.hasLength(2)); | 1814 unittest.expect(o, unittest.hasLength(2)); |
1794 unittest.expect(o[0], unittest.equals('foo')); | 1815 unittest.expect(o[0], unittest.equals('foo')); |
1795 unittest.expect(o[1], unittest.equals('foo')); | 1816 unittest.expect(o[1], unittest.equals('foo')); |
1796 } | 1817 } |
1797 | 1818 |
1798 core.int buildCounterReplaceAllTextRequest = 0; | 1819 core.int buildCounterReplaceAllTextRequest = 0; |
1799 buildReplaceAllTextRequest() { | 1820 buildReplaceAllTextRequest() { |
1800 var o = new api.ReplaceAllTextRequest(); | 1821 var o = new api.ReplaceAllTextRequest(); |
1801 buildCounterReplaceAllTextRequest++; | 1822 buildCounterReplaceAllTextRequest++; |
1802 if (buildCounterReplaceAllTextRequest < 3) { | 1823 if (buildCounterReplaceAllTextRequest < 3) { |
1803 o.containsText = buildSubstringMatchCriteria(); | 1824 o.containsText = buildSubstringMatchCriteria(); |
1804 o.pageObjectIds = buildUnnamed1695(); | 1825 o.pageObjectIds = buildUnnamed1727(); |
1805 o.replaceText = "foo"; | 1826 o.replaceText = "foo"; |
1806 } | 1827 } |
1807 buildCounterReplaceAllTextRequest--; | 1828 buildCounterReplaceAllTextRequest--; |
1808 return o; | 1829 return o; |
1809 } | 1830 } |
1810 | 1831 |
1811 checkReplaceAllTextRequest(api.ReplaceAllTextRequest o) { | 1832 checkReplaceAllTextRequest(api.ReplaceAllTextRequest o) { |
1812 buildCounterReplaceAllTextRequest++; | 1833 buildCounterReplaceAllTextRequest++; |
1813 if (buildCounterReplaceAllTextRequest < 3) { | 1834 if (buildCounterReplaceAllTextRequest < 3) { |
1814 checkSubstringMatchCriteria(o.containsText); | 1835 checkSubstringMatchCriteria(o.containsText); |
1815 checkUnnamed1695(o.pageObjectIds); | 1836 checkUnnamed1727(o.pageObjectIds); |
1816 unittest.expect(o.replaceText, unittest.equals('foo')); | 1837 unittest.expect(o.replaceText, unittest.equals('foo')); |
1817 } | 1838 } |
1818 buildCounterReplaceAllTextRequest--; | 1839 buildCounterReplaceAllTextRequest--; |
1819 } | 1840 } |
1820 | 1841 |
1821 core.int buildCounterReplaceAllTextResponse = 0; | 1842 core.int buildCounterReplaceAllTextResponse = 0; |
1822 buildReplaceAllTextResponse() { | 1843 buildReplaceAllTextResponse() { |
1823 var o = new api.ReplaceAllTextResponse(); | 1844 var o = new api.ReplaceAllTextResponse(); |
1824 buildCounterReplaceAllTextResponse++; | 1845 buildCounterReplaceAllTextResponse++; |
1825 if (buildCounterReplaceAllTextResponse < 3) { | 1846 if (buildCounterReplaceAllTextResponse < 3) { |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2226 | 2247 |
2227 checkSubstringMatchCriteria(api.SubstringMatchCriteria o) { | 2248 checkSubstringMatchCriteria(api.SubstringMatchCriteria o) { |
2228 buildCounterSubstringMatchCriteria++; | 2249 buildCounterSubstringMatchCriteria++; |
2229 if (buildCounterSubstringMatchCriteria < 3) { | 2250 if (buildCounterSubstringMatchCriteria < 3) { |
2230 unittest.expect(o.matchCase, unittest.isTrue); | 2251 unittest.expect(o.matchCase, unittest.isTrue); |
2231 unittest.expect(o.text, unittest.equals('foo')); | 2252 unittest.expect(o.text, unittest.equals('foo')); |
2232 } | 2253 } |
2233 buildCounterSubstringMatchCriteria--; | 2254 buildCounterSubstringMatchCriteria--; |
2234 } | 2255 } |
2235 | 2256 |
2236 buildUnnamed1696() { | 2257 buildUnnamed1728() { |
2237 var o = new core.List<api.TableColumnProperties>(); | 2258 var o = new core.List<api.TableColumnProperties>(); |
2238 o.add(buildTableColumnProperties()); | 2259 o.add(buildTableColumnProperties()); |
2239 o.add(buildTableColumnProperties()); | 2260 o.add(buildTableColumnProperties()); |
2240 return o; | 2261 return o; |
2241 } | 2262 } |
2242 | 2263 |
2243 checkUnnamed1696(core.List<api.TableColumnProperties> o) { | 2264 checkUnnamed1728(core.List<api.TableColumnProperties> o) { |
2244 unittest.expect(o, unittest.hasLength(2)); | 2265 unittest.expect(o, unittest.hasLength(2)); |
2245 checkTableColumnProperties(o[0]); | 2266 checkTableColumnProperties(o[0]); |
2246 checkTableColumnProperties(o[1]); | 2267 checkTableColumnProperties(o[1]); |
2247 } | 2268 } |
2248 | 2269 |
2249 buildUnnamed1697() { | 2270 buildUnnamed1729() { |
2250 var o = new core.List<api.TableRow>(); | 2271 var o = new core.List<api.TableRow>(); |
2251 o.add(buildTableRow()); | 2272 o.add(buildTableRow()); |
2252 o.add(buildTableRow()); | 2273 o.add(buildTableRow()); |
2253 return o; | 2274 return o; |
2254 } | 2275 } |
2255 | 2276 |
2256 checkUnnamed1697(core.List<api.TableRow> o) { | 2277 checkUnnamed1729(core.List<api.TableRow> o) { |
2257 unittest.expect(o, unittest.hasLength(2)); | 2278 unittest.expect(o, unittest.hasLength(2)); |
2258 checkTableRow(o[0]); | 2279 checkTableRow(o[0]); |
2259 checkTableRow(o[1]); | 2280 checkTableRow(o[1]); |
2260 } | 2281 } |
2261 | 2282 |
2262 core.int buildCounterTable = 0; | 2283 core.int buildCounterTable = 0; |
2263 buildTable() { | 2284 buildTable() { |
2264 var o = new api.Table(); | 2285 var o = new api.Table(); |
2265 buildCounterTable++; | 2286 buildCounterTable++; |
2266 if (buildCounterTable < 3) { | 2287 if (buildCounterTable < 3) { |
2267 o.columns = 42; | 2288 o.columns = 42; |
2268 o.rows = 42; | 2289 o.rows = 42; |
2269 o.tableColumns = buildUnnamed1696(); | 2290 o.tableColumns = buildUnnamed1728(); |
2270 o.tableRows = buildUnnamed1697(); | 2291 o.tableRows = buildUnnamed1729(); |
2271 } | 2292 } |
2272 buildCounterTable--; | 2293 buildCounterTable--; |
2273 return o; | 2294 return o; |
2274 } | 2295 } |
2275 | 2296 |
2276 checkTable(api.Table o) { | 2297 checkTable(api.Table o) { |
2277 buildCounterTable++; | 2298 buildCounterTable++; |
2278 if (buildCounterTable < 3) { | 2299 if (buildCounterTable < 3) { |
2279 unittest.expect(o.columns, unittest.equals(42)); | 2300 unittest.expect(o.columns, unittest.equals(42)); |
2280 unittest.expect(o.rows, unittest.equals(42)); | 2301 unittest.expect(o.rows, unittest.equals(42)); |
2281 checkUnnamed1696(o.tableColumns); | 2302 checkUnnamed1728(o.tableColumns); |
2282 checkUnnamed1697(o.tableRows); | 2303 checkUnnamed1729(o.tableRows); |
2283 } | 2304 } |
2284 buildCounterTable--; | 2305 buildCounterTable--; |
2285 } | 2306 } |
2286 | 2307 |
2287 core.int buildCounterTableCell = 0; | 2308 core.int buildCounterTableCell = 0; |
2288 buildTableCell() { | 2309 buildTableCell() { |
2289 var o = new api.TableCell(); | 2310 var o = new api.TableCell(); |
2290 buildCounterTableCell++; | 2311 buildCounterTableCell++; |
2291 if (buildCounterTableCell < 3) { | 2312 if (buildCounterTableCell < 3) { |
2292 o.columnSpan = 42; | 2313 o.columnSpan = 42; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2407 checkTableRange(api.TableRange o) { | 2428 checkTableRange(api.TableRange o) { |
2408 buildCounterTableRange++; | 2429 buildCounterTableRange++; |
2409 if (buildCounterTableRange < 3) { | 2430 if (buildCounterTableRange < 3) { |
2410 unittest.expect(o.columnSpan, unittest.equals(42)); | 2431 unittest.expect(o.columnSpan, unittest.equals(42)); |
2411 checkTableCellLocation(o.location); | 2432 checkTableCellLocation(o.location); |
2412 unittest.expect(o.rowSpan, unittest.equals(42)); | 2433 unittest.expect(o.rowSpan, unittest.equals(42)); |
2413 } | 2434 } |
2414 buildCounterTableRange--; | 2435 buildCounterTableRange--; |
2415 } | 2436 } |
2416 | 2437 |
2417 buildUnnamed1698() { | 2438 buildUnnamed1730() { |
2418 var o = new core.List<api.TableCell>(); | 2439 var o = new core.List<api.TableCell>(); |
2419 o.add(buildTableCell()); | 2440 o.add(buildTableCell()); |
2420 o.add(buildTableCell()); | 2441 o.add(buildTableCell()); |
2421 return o; | 2442 return o; |
2422 } | 2443 } |
2423 | 2444 |
2424 checkUnnamed1698(core.List<api.TableCell> o) { | 2445 checkUnnamed1730(core.List<api.TableCell> o) { |
2425 unittest.expect(o, unittest.hasLength(2)); | 2446 unittest.expect(o, unittest.hasLength(2)); |
2426 checkTableCell(o[0]); | 2447 checkTableCell(o[0]); |
2427 checkTableCell(o[1]); | 2448 checkTableCell(o[1]); |
2428 } | 2449 } |
2429 | 2450 |
2430 core.int buildCounterTableRow = 0; | 2451 core.int buildCounterTableRow = 0; |
2431 buildTableRow() { | 2452 buildTableRow() { |
2432 var o = new api.TableRow(); | 2453 var o = new api.TableRow(); |
2433 buildCounterTableRow++; | 2454 buildCounterTableRow++; |
2434 if (buildCounterTableRow < 3) { | 2455 if (buildCounterTableRow < 3) { |
2435 o.rowHeight = buildDimension(); | 2456 o.rowHeight = buildDimension(); |
2436 o.tableCells = buildUnnamed1698(); | 2457 o.tableCells = buildUnnamed1730(); |
2437 } | 2458 } |
2438 buildCounterTableRow--; | 2459 buildCounterTableRow--; |
2439 return o; | 2460 return o; |
2440 } | 2461 } |
2441 | 2462 |
2442 checkTableRow(api.TableRow o) { | 2463 checkTableRow(api.TableRow o) { |
2443 buildCounterTableRow++; | 2464 buildCounterTableRow++; |
2444 if (buildCounterTableRow < 3) { | 2465 if (buildCounterTableRow < 3) { |
2445 checkDimension(o.rowHeight); | 2466 checkDimension(o.rowHeight); |
2446 checkUnnamed1698(o.tableCells); | 2467 checkUnnamed1730(o.tableCells); |
2447 } | 2468 } |
2448 buildCounterTableRow--; | 2469 buildCounterTableRow--; |
2449 } | 2470 } |
2450 | 2471 |
2451 buildUnnamed1699() { | 2472 buildUnnamed1731() { |
2452 var o = new core.Map<core.String, api.List>(); | 2473 var o = new core.Map<core.String, api.List>(); |
2453 o["x"] = buildList(); | 2474 o["x"] = buildList(); |
2454 o["y"] = buildList(); | 2475 o["y"] = buildList(); |
2455 return o; | 2476 return o; |
2456 } | 2477 } |
2457 | 2478 |
2458 checkUnnamed1699(core.Map<core.String, api.List> o) { | 2479 checkUnnamed1731(core.Map<core.String, api.List> o) { |
2459 unittest.expect(o, unittest.hasLength(2)); | 2480 unittest.expect(o, unittest.hasLength(2)); |
2460 checkList(o["x"]); | 2481 checkList(o["x"]); |
2461 checkList(o["y"]); | 2482 checkList(o["y"]); |
2462 } | 2483 } |
2463 | 2484 |
2464 buildUnnamed1700() { | 2485 buildUnnamed1732() { |
2465 var o = new core.List<api.TextElement>(); | 2486 var o = new core.List<api.TextElement>(); |
2466 o.add(buildTextElement()); | 2487 o.add(buildTextElement()); |
2467 o.add(buildTextElement()); | 2488 o.add(buildTextElement()); |
2468 return o; | 2489 return o; |
2469 } | 2490 } |
2470 | 2491 |
2471 checkUnnamed1700(core.List<api.TextElement> o) { | 2492 checkUnnamed1732(core.List<api.TextElement> o) { |
2472 unittest.expect(o, unittest.hasLength(2)); | 2493 unittest.expect(o, unittest.hasLength(2)); |
2473 checkTextElement(o[0]); | 2494 checkTextElement(o[0]); |
2474 checkTextElement(o[1]); | 2495 checkTextElement(o[1]); |
2475 } | 2496 } |
2476 | 2497 |
2477 core.int buildCounterTextContent = 0; | 2498 core.int buildCounterTextContent = 0; |
2478 buildTextContent() { | 2499 buildTextContent() { |
2479 var o = new api.TextContent(); | 2500 var o = new api.TextContent(); |
2480 buildCounterTextContent++; | 2501 buildCounterTextContent++; |
2481 if (buildCounterTextContent < 3) { | 2502 if (buildCounterTextContent < 3) { |
2482 o.lists = buildUnnamed1699(); | 2503 o.lists = buildUnnamed1731(); |
2483 o.textElements = buildUnnamed1700(); | 2504 o.textElements = buildUnnamed1732(); |
2484 } | 2505 } |
2485 buildCounterTextContent--; | 2506 buildCounterTextContent--; |
2486 return o; | 2507 return o; |
2487 } | 2508 } |
2488 | 2509 |
2489 checkTextContent(api.TextContent o) { | 2510 checkTextContent(api.TextContent o) { |
2490 buildCounterTextContent++; | 2511 buildCounterTextContent++; |
2491 if (buildCounterTextContent < 3) { | 2512 if (buildCounterTextContent < 3) { |
2492 checkUnnamed1699(o.lists); | 2513 checkUnnamed1731(o.lists); |
2493 checkUnnamed1700(o.textElements); | 2514 checkUnnamed1732(o.textElements); |
2494 } | 2515 } |
2495 buildCounterTextContent--; | 2516 buildCounterTextContent--; |
2496 } | 2517 } |
2497 | 2518 |
2498 core.int buildCounterTextElement = 0; | 2519 core.int buildCounterTextElement = 0; |
2499 buildTextElement() { | 2520 buildTextElement() { |
2500 var o = new api.TextElement(); | 2521 var o = new api.TextElement(); |
2501 buildCounterTextElement++; | 2522 buildCounterTextElement++; |
2502 if (buildCounterTextElement < 3) { | 2523 if (buildCounterTextElement < 3) { |
2503 o.autoText = buildAutoText(); | 2524 o.autoText = buildAutoText(); |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2763 checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) { | 2784 checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) { |
2764 buildCounterUpdateShapePropertiesRequest++; | 2785 buildCounterUpdateShapePropertiesRequest++; |
2765 if (buildCounterUpdateShapePropertiesRequest < 3) { | 2786 if (buildCounterUpdateShapePropertiesRequest < 3) { |
2766 unittest.expect(o.fields, unittest.equals('foo')); | 2787 unittest.expect(o.fields, unittest.equals('foo')); |
2767 unittest.expect(o.objectId, unittest.equals('foo')); | 2788 unittest.expect(o.objectId, unittest.equals('foo')); |
2768 checkShapeProperties(o.shapeProperties); | 2789 checkShapeProperties(o.shapeProperties); |
2769 } | 2790 } |
2770 buildCounterUpdateShapePropertiesRequest--; | 2791 buildCounterUpdateShapePropertiesRequest--; |
2771 } | 2792 } |
2772 | 2793 |
2773 buildUnnamed1701() { | 2794 buildUnnamed1733() { |
2774 var o = new core.List<core.String>(); | 2795 var o = new core.List<core.String>(); |
2775 o.add("foo"); | 2796 o.add("foo"); |
2776 o.add("foo"); | 2797 o.add("foo"); |
2777 return o; | 2798 return o; |
2778 } | 2799 } |
2779 | 2800 |
2780 checkUnnamed1701(core.List<core.String> o) { | 2801 checkUnnamed1733(core.List<core.String> o) { |
2781 unittest.expect(o, unittest.hasLength(2)); | 2802 unittest.expect(o, unittest.hasLength(2)); |
2782 unittest.expect(o[0], unittest.equals('foo')); | 2803 unittest.expect(o[0], unittest.equals('foo')); |
2783 unittest.expect(o[1], unittest.equals('foo')); | 2804 unittest.expect(o[1], unittest.equals('foo')); |
2784 } | 2805 } |
2785 | 2806 |
2786 core.int buildCounterUpdateSlidesPositionRequest = 0; | 2807 core.int buildCounterUpdateSlidesPositionRequest = 0; |
2787 buildUpdateSlidesPositionRequest() { | 2808 buildUpdateSlidesPositionRequest() { |
2788 var o = new api.UpdateSlidesPositionRequest(); | 2809 var o = new api.UpdateSlidesPositionRequest(); |
2789 buildCounterUpdateSlidesPositionRequest++; | 2810 buildCounterUpdateSlidesPositionRequest++; |
2790 if (buildCounterUpdateSlidesPositionRequest < 3) { | 2811 if (buildCounterUpdateSlidesPositionRequest < 3) { |
2791 o.insertionIndex = 42; | 2812 o.insertionIndex = 42; |
2792 o.slideObjectIds = buildUnnamed1701(); | 2813 o.slideObjectIds = buildUnnamed1733(); |
2793 } | 2814 } |
2794 buildCounterUpdateSlidesPositionRequest--; | 2815 buildCounterUpdateSlidesPositionRequest--; |
2795 return o; | 2816 return o; |
2796 } | 2817 } |
2797 | 2818 |
2798 checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) { | 2819 checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) { |
2799 buildCounterUpdateSlidesPositionRequest++; | 2820 buildCounterUpdateSlidesPositionRequest++; |
2800 if (buildCounterUpdateSlidesPositionRequest < 3) { | 2821 if (buildCounterUpdateSlidesPositionRequest < 3) { |
2801 unittest.expect(o.insertionIndex, unittest.equals(42)); | 2822 unittest.expect(o.insertionIndex, unittest.equals(42)); |
2802 checkUnnamed1701(o.slideObjectIds); | 2823 checkUnnamed1733(o.slideObjectIds); |
2803 } | 2824 } |
2804 buildCounterUpdateSlidesPositionRequest--; | 2825 buildCounterUpdateSlidesPositionRequest--; |
2805 } | 2826 } |
2806 | 2827 |
2807 core.int buildCounterUpdateTableCellPropertiesRequest = 0; | 2828 core.int buildCounterUpdateTableCellPropertiesRequest = 0; |
2808 buildUpdateTableCellPropertiesRequest() { | 2829 buildUpdateTableCellPropertiesRequest() { |
2809 var o = new api.UpdateTableCellPropertiesRequest(); | 2830 var o = new api.UpdateTableCellPropertiesRequest(); |
2810 buildCounterUpdateTableCellPropertiesRequest++; | 2831 buildCounterUpdateTableCellPropertiesRequest++; |
2811 if (buildCounterUpdateTableCellPropertiesRequest < 3) { | 2832 if (buildCounterUpdateTableCellPropertiesRequest < 3) { |
2812 o.fields = "foo"; | 2833 o.fields = "foo"; |
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3382 | 3403 |
3383 unittest.group("obj-schema-List", () { | 3404 unittest.group("obj-schema-List", () { |
3384 unittest.test("to-json--from-json", () { | 3405 unittest.test("to-json--from-json", () { |
3385 var o = buildList(); | 3406 var o = buildList(); |
3386 var od = new api.List.fromJson(o.toJson()); | 3407 var od = new api.List.fromJson(o.toJson()); |
3387 checkList(od); | 3408 checkList(od); |
3388 }); | 3409 }); |
3389 }); | 3410 }); |
3390 | 3411 |
3391 | 3412 |
| 3413 unittest.group("obj-schema-MasterProperties", () { |
| 3414 unittest.test("to-json--from-json", () { |
| 3415 var o = buildMasterProperties(); |
| 3416 var od = new api.MasterProperties.fromJson(o.toJson()); |
| 3417 checkMasterProperties(od); |
| 3418 }); |
| 3419 }); |
| 3420 |
| 3421 |
3392 unittest.group("obj-schema-NestingLevel", () { | 3422 unittest.group("obj-schema-NestingLevel", () { |
3393 unittest.test("to-json--from-json", () { | 3423 unittest.test("to-json--from-json", () { |
3394 var o = buildNestingLevel(); | 3424 var o = buildNestingLevel(); |
3395 var od = new api.NestingLevel.fromJson(o.toJson()); | 3425 var od = new api.NestingLevel.fromJson(o.toJson()); |
3396 checkNestingLevel(od); | 3426 checkNestingLevel(od); |
3397 }); | 3427 }); |
3398 }); | 3428 }); |
3399 | 3429 |
3400 | 3430 |
3401 unittest.group("obj-schema-NotesProperties", () { | 3431 unittest.group("obj-schema-NotesProperties", () { |
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4260 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) { |
4261 checkThumbnail(response); | 4291 checkThumbnail(response); |
4262 }))); | 4292 }))); |
4263 }); | 4293 }); |
4264 | 4294 |
4265 }); | 4295 }); |
4266 | 4296 |
4267 | 4297 |
4268 } | 4298 } |
4269 | 4299 |
OLD | NEW |