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

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

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis.slides.v1.test; 1 library googleapis.slides.v1.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 checkAutoText(api.AutoText o) { 98 checkAutoText(api.AutoText o) {
99 buildCounterAutoText++; 99 buildCounterAutoText++;
100 if (buildCounterAutoText < 3) { 100 if (buildCounterAutoText < 3) {
101 unittest.expect(o.content, unittest.equals('foo')); 101 unittest.expect(o.content, unittest.equals('foo'));
102 checkTextStyle(o.style); 102 checkTextStyle(o.style);
103 unittest.expect(o.type, unittest.equals('foo')); 103 unittest.expect(o.type, unittest.equals('foo'));
104 } 104 }
105 buildCounterAutoText--; 105 buildCounterAutoText--;
106 } 106 }
107 107
108 buildUnnamed1514() { 108 buildUnnamed1511() {
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 checkUnnamed1514(core.List<api.Request> o) { 115 checkUnnamed1511(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 = buildUnnamed1514(); 126 o.requests = buildUnnamed1511();
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 checkUnnamed1514(o.requests); 136 checkUnnamed1511(o.requests);
137 checkWriteControl(o.writeControl); 137 checkWriteControl(o.writeControl);
138 } 138 }
139 buildCounterBatchUpdatePresentationRequest--; 139 buildCounterBatchUpdatePresentationRequest--;
140 } 140 }
141 141
142 buildUnnamed1515() { 142 buildUnnamed1512() {
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 checkUnnamed1515(core.List<api.Response> o) { 149 checkUnnamed1512(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 = buildUnnamed1515(); 161 o.replies = buildUnnamed1512();
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 checkUnnamed1515(o.replies); 171 checkUnnamed1512(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 buildUnnamed1516() { 201 buildUnnamed1513() {
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 checkUnnamed1516(core.List<api.ThemeColorPair> o) { 208 checkUnnamed1513(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 = buildUnnamed1516(); 219 o.colors = buildUnnamed1513();
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 checkUnnamed1516(o.colors); 228 checkUnnamed1513(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
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 buildUnnamed1517() { 453 buildUnnamed1514() {
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 checkUnnamed1517(core.List<api.LayoutPlaceholderIdMapping> o) { 460 checkUnnamed1514(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 = buildUnnamed1517(); 473 o.placeholderIdMappings = buildUnnamed1514();
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 checkUnnamed1517(o.placeholderIdMappings); 485 checkUnnamed1514(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
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 buildUnnamed1518() { 753 buildUnnamed1515() {
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 checkUnnamed1518(core.Map<core.String, core.String> o) { 760 checkUnnamed1515(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 = buildUnnamed1518(); 772 o.objectIds = buildUnnamed1515();
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 checkUnnamed1518(o.objectIds); 782 checkUnnamed1515(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 buildUnnamed1519() { 806 buildUnnamed1516() {
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 checkUnnamed1519(core.List<api.PageElement> o) { 813 checkUnnamed1516(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 = buildUnnamed1519(); 824 o.children = buildUnnamed1516();
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 checkUnnamed1519(o.children); 833 checkUnnamed1516(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
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 buildUnnamed1520() { 1128 buildUnnamed1517() {
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 checkUnnamed1520(core.Map<core.String, api.NestingLevel> o) { 1135 checkUnnamed1517(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 = buildUnnamed1520(); 1147 o.nestingLevel = buildUnnamed1517();
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 checkUnnamed1520(o.nestingLevel); 1157 checkUnnamed1517(o.nestingLevel);
1158 } 1158 }
1159 buildCounterList--; 1159 buildCounterList--;
1160 } 1160 }
1161 1161
1162 core.int buildCounterNestingLevel = 0; 1162 core.int buildCounterNestingLevel = 0;
1163 buildNestingLevel() { 1163 buildNestingLevel() {
1164 var o = new api.NestingLevel(); 1164 var o = new api.NestingLevel();
1165 buildCounterNestingLevel++; 1165 buildCounterNestingLevel++;
1166 if (buildCounterNestingLevel < 3) { 1166 if (buildCounterNestingLevel < 3) {
1167 o.bulletStyle = buildTextStyle(); 1167 o.bulletStyle = buildTextStyle();
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 } 1274 }
1275 1275
1276 checkOutlineFill(api.OutlineFill o) { 1276 checkOutlineFill(api.OutlineFill o) {
1277 buildCounterOutlineFill++; 1277 buildCounterOutlineFill++;
1278 if (buildCounterOutlineFill < 3) { 1278 if (buildCounterOutlineFill < 3) {
1279 checkSolidFill(o.solidFill); 1279 checkSolidFill(o.solidFill);
1280 } 1280 }
1281 buildCounterOutlineFill--; 1281 buildCounterOutlineFill--;
1282 } 1282 }
1283 1283
1284 buildUnnamed1521() { 1284 buildUnnamed1518() {
1285 var o = new core.List<api.PageElement>(); 1285 var o = new core.List<api.PageElement>();
1286 o.add(buildPageElement()); 1286 o.add(buildPageElement());
1287 o.add(buildPageElement()); 1287 o.add(buildPageElement());
1288 return o; 1288 return o;
1289 } 1289 }
1290 1290
1291 checkUnnamed1521(core.List<api.PageElement> o) { 1291 checkUnnamed1518(core.List<api.PageElement> o) {
1292 unittest.expect(o, unittest.hasLength(2)); 1292 unittest.expect(o, unittest.hasLength(2));
1293 checkPageElement(o[0]); 1293 checkPageElement(o[0]);
1294 checkPageElement(o[1]); 1294 checkPageElement(o[1]);
1295 } 1295 }
1296 1296
1297 core.int buildCounterPage = 0; 1297 core.int buildCounterPage = 0;
1298 buildPage() { 1298 buildPage() {
1299 var o = new api.Page(); 1299 var o = new api.Page();
1300 buildCounterPage++; 1300 buildCounterPage++;
1301 if (buildCounterPage < 3) { 1301 if (buildCounterPage < 3) {
1302 o.layoutProperties = buildLayoutProperties(); 1302 o.layoutProperties = buildLayoutProperties();
1303 o.notesProperties = buildNotesProperties(); 1303 o.notesProperties = buildNotesProperties();
1304 o.objectId = "foo"; 1304 o.objectId = "foo";
1305 o.pageElements = buildUnnamed1521(); 1305 o.pageElements = buildUnnamed1518();
1306 o.pageProperties = buildPageProperties(); 1306 o.pageProperties = buildPageProperties();
1307 o.pageType = "foo"; 1307 o.pageType = "foo";
1308 o.revisionId = "foo"; 1308 o.revisionId = "foo";
1309 o.slideProperties = buildSlideProperties(); 1309 o.slideProperties = buildSlideProperties();
1310 } 1310 }
1311 buildCounterPage--; 1311 buildCounterPage--;
1312 return o; 1312 return o;
1313 } 1313 }
1314 1314
1315 checkPage(api.Page o) { 1315 checkPage(api.Page o) {
1316 buildCounterPage++; 1316 buildCounterPage++;
1317 if (buildCounterPage < 3) { 1317 if (buildCounterPage < 3) {
1318 checkLayoutProperties(o.layoutProperties); 1318 checkLayoutProperties(o.layoutProperties);
1319 checkNotesProperties(o.notesProperties); 1319 checkNotesProperties(o.notesProperties);
1320 unittest.expect(o.objectId, unittest.equals('foo')); 1320 unittest.expect(o.objectId, unittest.equals('foo'));
1321 checkUnnamed1521(o.pageElements); 1321 checkUnnamed1518(o.pageElements);
1322 checkPageProperties(o.pageProperties); 1322 checkPageProperties(o.pageProperties);
1323 unittest.expect(o.pageType, unittest.equals('foo')); 1323 unittest.expect(o.pageType, unittest.equals('foo'));
1324 unittest.expect(o.revisionId, unittest.equals('foo')); 1324 unittest.expect(o.revisionId, unittest.equals('foo'));
1325 checkSlideProperties(o.slideProperties); 1325 checkSlideProperties(o.slideProperties);
1326 } 1326 }
1327 buildCounterPage--; 1327 buildCounterPage--;
1328 } 1328 }
1329 1329
1330 core.int buildCounterPageBackgroundFill = 0; 1330 core.int buildCounterPageBackgroundFill = 0;
1331 buildPageBackgroundFill() { 1331 buildPageBackgroundFill() {
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 checkPlaceholder(api.Placeholder o) { 1509 checkPlaceholder(api.Placeholder o) {
1510 buildCounterPlaceholder++; 1510 buildCounterPlaceholder++;
1511 if (buildCounterPlaceholder < 3) { 1511 if (buildCounterPlaceholder < 3) {
1512 unittest.expect(o.index, unittest.equals(42)); 1512 unittest.expect(o.index, unittest.equals(42));
1513 unittest.expect(o.parentObjectId, unittest.equals('foo')); 1513 unittest.expect(o.parentObjectId, unittest.equals('foo'));
1514 unittest.expect(o.type, unittest.equals('foo')); 1514 unittest.expect(o.type, unittest.equals('foo'));
1515 } 1515 }
1516 buildCounterPlaceholder--; 1516 buildCounterPlaceholder--;
1517 } 1517 }
1518 1518
1519 buildUnnamed1522() { 1519 buildUnnamed1519() {
1520 var o = new core.List<api.Page>(); 1520 var o = new core.List<api.Page>();
1521 o.add(buildPage()); 1521 o.add(buildPage());
1522 o.add(buildPage()); 1522 o.add(buildPage());
1523 return o; 1523 return o;
1524 } 1524 }
1525 1525
1526 checkUnnamed1522(core.List<api.Page> o) { 1526 checkUnnamed1519(core.List<api.Page> o) {
1527 unittest.expect(o, unittest.hasLength(2)); 1527 unittest.expect(o, unittest.hasLength(2));
1528 checkPage(o[0]); 1528 checkPage(o[0]);
1529 checkPage(o[1]); 1529 checkPage(o[1]);
1530 } 1530 }
1531 1531
1532 buildUnnamed1523() { 1532 buildUnnamed1520() {
1533 var o = new core.List<api.Page>(); 1533 var o = new core.List<api.Page>();
1534 o.add(buildPage()); 1534 o.add(buildPage());
1535 o.add(buildPage()); 1535 o.add(buildPage());
1536 return o; 1536 return o;
1537 } 1537 }
1538 1538
1539 checkUnnamed1523(core.List<api.Page> o) { 1539 checkUnnamed1520(core.List<api.Page> o) {
1540 unittest.expect(o, unittest.hasLength(2)); 1540 unittest.expect(o, unittest.hasLength(2));
1541 checkPage(o[0]); 1541 checkPage(o[0]);
1542 checkPage(o[1]); 1542 checkPage(o[1]);
1543 } 1543 }
1544 1544
1545 buildUnnamed1524() { 1545 buildUnnamed1521() {
1546 var o = new core.List<api.Page>(); 1546 var o = new core.List<api.Page>();
1547 o.add(buildPage()); 1547 o.add(buildPage());
1548 o.add(buildPage()); 1548 o.add(buildPage());
1549 return o; 1549 return o;
1550 } 1550 }
1551 1551
1552 checkUnnamed1524(core.List<api.Page> o) { 1552 checkUnnamed1521(core.List<api.Page> o) {
1553 unittest.expect(o, unittest.hasLength(2)); 1553 unittest.expect(o, unittest.hasLength(2));
1554 checkPage(o[0]); 1554 checkPage(o[0]);
1555 checkPage(o[1]); 1555 checkPage(o[1]);
1556 } 1556 }
1557 1557
1558 core.int buildCounterPresentation = 0; 1558 core.int buildCounterPresentation = 0;
1559 buildPresentation() { 1559 buildPresentation() {
1560 var o = new api.Presentation(); 1560 var o = new api.Presentation();
1561 buildCounterPresentation++; 1561 buildCounterPresentation++;
1562 if (buildCounterPresentation < 3) { 1562 if (buildCounterPresentation < 3) {
1563 o.layouts = buildUnnamed1522(); 1563 o.layouts = buildUnnamed1519();
1564 o.locale = "foo"; 1564 o.locale = "foo";
1565 o.masters = buildUnnamed1523(); 1565 o.masters = buildUnnamed1520();
1566 o.notesMaster = buildPage(); 1566 o.notesMaster = buildPage();
1567 o.pageSize = buildSize(); 1567 o.pageSize = buildSize();
1568 o.presentationId = "foo"; 1568 o.presentationId = "foo";
1569 o.revisionId = "foo"; 1569 o.revisionId = "foo";
1570 o.slides = buildUnnamed1524(); 1570 o.slides = buildUnnamed1521();
1571 o.title = "foo"; 1571 o.title = "foo";
1572 } 1572 }
1573 buildCounterPresentation--; 1573 buildCounterPresentation--;
1574 return o; 1574 return o;
1575 } 1575 }
1576 1576
1577 checkPresentation(api.Presentation o) { 1577 checkPresentation(api.Presentation o) {
1578 buildCounterPresentation++; 1578 buildCounterPresentation++;
1579 if (buildCounterPresentation < 3) { 1579 if (buildCounterPresentation < 3) {
1580 checkUnnamed1522(o.layouts); 1580 checkUnnamed1519(o.layouts);
1581 unittest.expect(o.locale, unittest.equals('foo')); 1581 unittest.expect(o.locale, unittest.equals('foo'));
1582 checkUnnamed1523(o.masters); 1582 checkUnnamed1520(o.masters);
1583 checkPage(o.notesMaster); 1583 checkPage(o.notesMaster);
1584 checkSize(o.pageSize); 1584 checkSize(o.pageSize);
1585 unittest.expect(o.presentationId, unittest.equals('foo')); 1585 unittest.expect(o.presentationId, unittest.equals('foo'));
1586 unittest.expect(o.revisionId, unittest.equals('foo')); 1586 unittest.expect(o.revisionId, unittest.equals('foo'));
1587 checkUnnamed1524(o.slides); 1587 checkUnnamed1521(o.slides);
1588 unittest.expect(o.title, unittest.equals('foo')); 1588 unittest.expect(o.title, unittest.equals('foo'));
1589 } 1589 }
1590 buildCounterPresentation--; 1590 buildCounterPresentation--;
1591 } 1591 }
1592 1592
1593 core.int buildCounterRange = 0; 1593 core.int buildCounterRange = 0;
1594 buildRange() { 1594 buildRange() {
1595 var o = new api.Range(); 1595 var o = new api.Range();
1596 buildCounterRange++; 1596 buildCounterRange++;
1597 if (buildCounterRange < 3) { 1597 if (buildCounterRange < 3) {
1598 o.endIndex = 42; 1598 o.endIndex = 42;
1599 o.startIndex = 42; 1599 o.startIndex = 42;
1600 o.type = "foo"; 1600 o.type = "foo";
1601 } 1601 }
1602 buildCounterRange--; 1602 buildCounterRange--;
1603 return o; 1603 return o;
1604 } 1604 }
1605 1605
1606 checkRange(api.Range o) { 1606 checkRange(api.Range o) {
1607 buildCounterRange++; 1607 buildCounterRange++;
1608 if (buildCounterRange < 3) { 1608 if (buildCounterRange < 3) {
1609 unittest.expect(o.endIndex, unittest.equals(42)); 1609 unittest.expect(o.endIndex, unittest.equals(42));
1610 unittest.expect(o.startIndex, unittest.equals(42)); 1610 unittest.expect(o.startIndex, unittest.equals(42));
1611 unittest.expect(o.type, unittest.equals('foo')); 1611 unittest.expect(o.type, unittest.equals('foo'));
1612 } 1612 }
1613 buildCounterRange--; 1613 buildCounterRange--;
1614 } 1614 }
1615 1615
1616 buildUnnamed1525() { 1616 buildUnnamed1522() {
1617 var o = new core.List<api.ColorStop>(); 1617 var o = new core.List<api.ColorStop>();
1618 o.add(buildColorStop()); 1618 o.add(buildColorStop());
1619 o.add(buildColorStop()); 1619 o.add(buildColorStop());
1620 return o; 1620 return o;
1621 } 1621 }
1622 1622
1623 checkUnnamed1525(core.List<api.ColorStop> o) { 1623 checkUnnamed1522(core.List<api.ColorStop> o) {
1624 unittest.expect(o, unittest.hasLength(2)); 1624 unittest.expect(o, unittest.hasLength(2));
1625 checkColorStop(o[0]); 1625 checkColorStop(o[0]);
1626 checkColorStop(o[1]); 1626 checkColorStop(o[1]);
1627 } 1627 }
1628 1628
1629 core.int buildCounterRecolor = 0; 1629 core.int buildCounterRecolor = 0;
1630 buildRecolor() { 1630 buildRecolor() {
1631 var o = new api.Recolor(); 1631 var o = new api.Recolor();
1632 buildCounterRecolor++; 1632 buildCounterRecolor++;
1633 if (buildCounterRecolor < 3) { 1633 if (buildCounterRecolor < 3) {
1634 o.name = "foo"; 1634 o.name = "foo";
1635 o.recolorStops = buildUnnamed1525(); 1635 o.recolorStops = buildUnnamed1522();
1636 } 1636 }
1637 buildCounterRecolor--; 1637 buildCounterRecolor--;
1638 return o; 1638 return o;
1639 } 1639 }
1640 1640
1641 checkRecolor(api.Recolor o) { 1641 checkRecolor(api.Recolor o) {
1642 buildCounterRecolor++; 1642 buildCounterRecolor++;
1643 if (buildCounterRecolor < 3) { 1643 if (buildCounterRecolor < 3) {
1644 unittest.expect(o.name, unittest.equals('foo')); 1644 unittest.expect(o.name, unittest.equals('foo'));
1645 checkUnnamed1525(o.recolorStops); 1645 checkUnnamed1522(o.recolorStops);
1646 } 1646 }
1647 buildCounterRecolor--; 1647 buildCounterRecolor--;
1648 } 1648 }
1649 1649
1650 core.int buildCounterRefreshSheetsChartRequest = 0; 1650 core.int buildCounterRefreshSheetsChartRequest = 0;
1651 buildRefreshSheetsChartRequest() { 1651 buildRefreshSheetsChartRequest() {
1652 var o = new api.RefreshSheetsChartRequest(); 1652 var o = new api.RefreshSheetsChartRequest();
1653 buildCounterRefreshSheetsChartRequest++; 1653 buildCounterRefreshSheetsChartRequest++;
1654 if (buildCounterRefreshSheetsChartRequest < 3) { 1654 if (buildCounterRefreshSheetsChartRequest < 3) {
1655 o.objectId = "foo"; 1655 o.objectId = "foo";
(...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after
2181 2181
2182 checkSubstringMatchCriteria(api.SubstringMatchCriteria o) { 2182 checkSubstringMatchCriteria(api.SubstringMatchCriteria o) {
2183 buildCounterSubstringMatchCriteria++; 2183 buildCounterSubstringMatchCriteria++;
2184 if (buildCounterSubstringMatchCriteria < 3) { 2184 if (buildCounterSubstringMatchCriteria < 3) {
2185 unittest.expect(o.matchCase, unittest.isTrue); 2185 unittest.expect(o.matchCase, unittest.isTrue);
2186 unittest.expect(o.text, unittest.equals('foo')); 2186 unittest.expect(o.text, unittest.equals('foo'));
2187 } 2187 }
2188 buildCounterSubstringMatchCriteria--; 2188 buildCounterSubstringMatchCriteria--;
2189 } 2189 }
2190 2190
2191 buildUnnamed1526() { 2191 buildUnnamed1523() {
2192 var o = new core.List<api.TableColumnProperties>(); 2192 var o = new core.List<api.TableColumnProperties>();
2193 o.add(buildTableColumnProperties()); 2193 o.add(buildTableColumnProperties());
2194 o.add(buildTableColumnProperties()); 2194 o.add(buildTableColumnProperties());
2195 return o; 2195 return o;
2196 } 2196 }
2197 2197
2198 checkUnnamed1526(core.List<api.TableColumnProperties> o) { 2198 checkUnnamed1523(core.List<api.TableColumnProperties> o) {
2199 unittest.expect(o, unittest.hasLength(2)); 2199 unittest.expect(o, unittest.hasLength(2));
2200 checkTableColumnProperties(o[0]); 2200 checkTableColumnProperties(o[0]);
2201 checkTableColumnProperties(o[1]); 2201 checkTableColumnProperties(o[1]);
2202 } 2202 }
2203 2203
2204 buildUnnamed1527() { 2204 buildUnnamed1524() {
2205 var o = new core.List<api.TableRow>(); 2205 var o = new core.List<api.TableRow>();
2206 o.add(buildTableRow()); 2206 o.add(buildTableRow());
2207 o.add(buildTableRow()); 2207 o.add(buildTableRow());
2208 return o; 2208 return o;
2209 } 2209 }
2210 2210
2211 checkUnnamed1527(core.List<api.TableRow> o) { 2211 checkUnnamed1524(core.List<api.TableRow> o) {
2212 unittest.expect(o, unittest.hasLength(2)); 2212 unittest.expect(o, unittest.hasLength(2));
2213 checkTableRow(o[0]); 2213 checkTableRow(o[0]);
2214 checkTableRow(o[1]); 2214 checkTableRow(o[1]);
2215 } 2215 }
2216 2216
2217 core.int buildCounterTable = 0; 2217 core.int buildCounterTable = 0;
2218 buildTable() { 2218 buildTable() {
2219 var o = new api.Table(); 2219 var o = new api.Table();
2220 buildCounterTable++; 2220 buildCounterTable++;
2221 if (buildCounterTable < 3) { 2221 if (buildCounterTable < 3) {
2222 o.columns = 42; 2222 o.columns = 42;
2223 o.rows = 42; 2223 o.rows = 42;
2224 o.tableColumns = buildUnnamed1526(); 2224 o.tableColumns = buildUnnamed1523();
2225 o.tableRows = buildUnnamed1527(); 2225 o.tableRows = buildUnnamed1524();
2226 } 2226 }
2227 buildCounterTable--; 2227 buildCounterTable--;
2228 return o; 2228 return o;
2229 } 2229 }
2230 2230
2231 checkTable(api.Table o) { 2231 checkTable(api.Table o) {
2232 buildCounterTable++; 2232 buildCounterTable++;
2233 if (buildCounterTable < 3) { 2233 if (buildCounterTable < 3) {
2234 unittest.expect(o.columns, unittest.equals(42)); 2234 unittest.expect(o.columns, unittest.equals(42));
2235 unittest.expect(o.rows, unittest.equals(42)); 2235 unittest.expect(o.rows, unittest.equals(42));
2236 checkUnnamed1526(o.tableColumns); 2236 checkUnnamed1523(o.tableColumns);
2237 checkUnnamed1527(o.tableRows); 2237 checkUnnamed1524(o.tableRows);
2238 } 2238 }
2239 buildCounterTable--; 2239 buildCounterTable--;
2240 } 2240 }
2241 2241
2242 core.int buildCounterTableCell = 0; 2242 core.int buildCounterTableCell = 0;
2243 buildTableCell() { 2243 buildTableCell() {
2244 var o = new api.TableCell(); 2244 var o = new api.TableCell();
2245 buildCounterTableCell++; 2245 buildCounterTableCell++;
2246 if (buildCounterTableCell < 3) { 2246 if (buildCounterTableCell < 3) {
2247 o.columnSpan = 42; 2247 o.columnSpan = 42;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
2362 checkTableRange(api.TableRange o) { 2362 checkTableRange(api.TableRange o) {
2363 buildCounterTableRange++; 2363 buildCounterTableRange++;
2364 if (buildCounterTableRange < 3) { 2364 if (buildCounterTableRange < 3) {
2365 unittest.expect(o.columnSpan, unittest.equals(42)); 2365 unittest.expect(o.columnSpan, unittest.equals(42));
2366 checkTableCellLocation(o.location); 2366 checkTableCellLocation(o.location);
2367 unittest.expect(o.rowSpan, unittest.equals(42)); 2367 unittest.expect(o.rowSpan, unittest.equals(42));
2368 } 2368 }
2369 buildCounterTableRange--; 2369 buildCounterTableRange--;
2370 } 2370 }
2371 2371
2372 buildUnnamed1528() { 2372 buildUnnamed1525() {
2373 var o = new core.List<api.TableCell>(); 2373 var o = new core.List<api.TableCell>();
2374 o.add(buildTableCell()); 2374 o.add(buildTableCell());
2375 o.add(buildTableCell()); 2375 o.add(buildTableCell());
2376 return o; 2376 return o;
2377 } 2377 }
2378 2378
2379 checkUnnamed1528(core.List<api.TableCell> o) { 2379 checkUnnamed1525(core.List<api.TableCell> o) {
2380 unittest.expect(o, unittest.hasLength(2)); 2380 unittest.expect(o, unittest.hasLength(2));
2381 checkTableCell(o[0]); 2381 checkTableCell(o[0]);
2382 checkTableCell(o[1]); 2382 checkTableCell(o[1]);
2383 } 2383 }
2384 2384
2385 core.int buildCounterTableRow = 0; 2385 core.int buildCounterTableRow = 0;
2386 buildTableRow() { 2386 buildTableRow() {
2387 var o = new api.TableRow(); 2387 var o = new api.TableRow();
2388 buildCounterTableRow++; 2388 buildCounterTableRow++;
2389 if (buildCounterTableRow < 3) { 2389 if (buildCounterTableRow < 3) {
2390 o.rowHeight = buildDimension(); 2390 o.rowHeight = buildDimension();
2391 o.tableCells = buildUnnamed1528(); 2391 o.tableCells = buildUnnamed1525();
2392 } 2392 }
2393 buildCounterTableRow--; 2393 buildCounterTableRow--;
2394 return o; 2394 return o;
2395 } 2395 }
2396 2396
2397 checkTableRow(api.TableRow o) { 2397 checkTableRow(api.TableRow o) {
2398 buildCounterTableRow++; 2398 buildCounterTableRow++;
2399 if (buildCounterTableRow < 3) { 2399 if (buildCounterTableRow < 3) {
2400 checkDimension(o.rowHeight); 2400 checkDimension(o.rowHeight);
2401 checkUnnamed1528(o.tableCells); 2401 checkUnnamed1525(o.tableCells);
2402 } 2402 }
2403 buildCounterTableRow--; 2403 buildCounterTableRow--;
2404 } 2404 }
2405 2405
2406 buildUnnamed1529() { 2406 buildUnnamed1526() {
2407 var o = new core.Map<core.String, api.List>(); 2407 var o = new core.Map<core.String, api.List>();
2408 o["x"] = buildList(); 2408 o["x"] = buildList();
2409 o["y"] = buildList(); 2409 o["y"] = buildList();
2410 return o; 2410 return o;
2411 } 2411 }
2412 2412
2413 checkUnnamed1529(core.Map<core.String, api.List> o) { 2413 checkUnnamed1526(core.Map<core.String, api.List> o) {
2414 unittest.expect(o, unittest.hasLength(2)); 2414 unittest.expect(o, unittest.hasLength(2));
2415 checkList(o["x"]); 2415 checkList(o["x"]);
2416 checkList(o["y"]); 2416 checkList(o["y"]);
2417 } 2417 }
2418 2418
2419 buildUnnamed1530() { 2419 buildUnnamed1527() {
2420 var o = new core.List<api.TextElement>(); 2420 var o = new core.List<api.TextElement>();
2421 o.add(buildTextElement()); 2421 o.add(buildTextElement());
2422 o.add(buildTextElement()); 2422 o.add(buildTextElement());
2423 return o; 2423 return o;
2424 } 2424 }
2425 2425
2426 checkUnnamed1530(core.List<api.TextElement> o) { 2426 checkUnnamed1527(core.List<api.TextElement> o) {
2427 unittest.expect(o, unittest.hasLength(2)); 2427 unittest.expect(o, unittest.hasLength(2));
2428 checkTextElement(o[0]); 2428 checkTextElement(o[0]);
2429 checkTextElement(o[1]); 2429 checkTextElement(o[1]);
2430 } 2430 }
2431 2431
2432 core.int buildCounterTextContent = 0; 2432 core.int buildCounterTextContent = 0;
2433 buildTextContent() { 2433 buildTextContent() {
2434 var o = new api.TextContent(); 2434 var o = new api.TextContent();
2435 buildCounterTextContent++; 2435 buildCounterTextContent++;
2436 if (buildCounterTextContent < 3) { 2436 if (buildCounterTextContent < 3) {
2437 o.lists = buildUnnamed1529(); 2437 o.lists = buildUnnamed1526();
2438 o.textElements = buildUnnamed1530(); 2438 o.textElements = buildUnnamed1527();
2439 } 2439 }
2440 buildCounterTextContent--; 2440 buildCounterTextContent--;
2441 return o; 2441 return o;
2442 } 2442 }
2443 2443
2444 checkTextContent(api.TextContent o) { 2444 checkTextContent(api.TextContent o) {
2445 buildCounterTextContent++; 2445 buildCounterTextContent++;
2446 if (buildCounterTextContent < 3) { 2446 if (buildCounterTextContent < 3) {
2447 checkUnnamed1529(o.lists); 2447 checkUnnamed1526(o.lists);
2448 checkUnnamed1530(o.textElements); 2448 checkUnnamed1527(o.textElements);
2449 } 2449 }
2450 buildCounterTextContent--; 2450 buildCounterTextContent--;
2451 } 2451 }
2452 2452
2453 core.int buildCounterTextElement = 0; 2453 core.int buildCounterTextElement = 0;
2454 buildTextElement() { 2454 buildTextElement() {
2455 var o = new api.TextElement(); 2455 var o = new api.TextElement();
2456 buildCounterTextElement++; 2456 buildCounterTextElement++;
2457 if (buildCounterTextElement < 3) { 2457 if (buildCounterTextElement < 3) {
2458 o.autoText = buildAutoText(); 2458 o.autoText = buildAutoText();
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
2718 checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) { 2718 checkUpdateShapePropertiesRequest(api.UpdateShapePropertiesRequest o) {
2719 buildCounterUpdateShapePropertiesRequest++; 2719 buildCounterUpdateShapePropertiesRequest++;
2720 if (buildCounterUpdateShapePropertiesRequest < 3) { 2720 if (buildCounterUpdateShapePropertiesRequest < 3) {
2721 unittest.expect(o.fields, unittest.equals('foo')); 2721 unittest.expect(o.fields, unittest.equals('foo'));
2722 unittest.expect(o.objectId, unittest.equals('foo')); 2722 unittest.expect(o.objectId, unittest.equals('foo'));
2723 checkShapeProperties(o.shapeProperties); 2723 checkShapeProperties(o.shapeProperties);
2724 } 2724 }
2725 buildCounterUpdateShapePropertiesRequest--; 2725 buildCounterUpdateShapePropertiesRequest--;
2726 } 2726 }
2727 2727
2728 buildUnnamed1531() { 2728 buildUnnamed1528() {
2729 var o = new core.List<core.String>(); 2729 var o = new core.List<core.String>();
2730 o.add("foo"); 2730 o.add("foo");
2731 o.add("foo"); 2731 o.add("foo");
2732 return o; 2732 return o;
2733 } 2733 }
2734 2734
2735 checkUnnamed1531(core.List<core.String> o) { 2735 checkUnnamed1528(core.List<core.String> o) {
2736 unittest.expect(o, unittest.hasLength(2)); 2736 unittest.expect(o, unittest.hasLength(2));
2737 unittest.expect(o[0], unittest.equals('foo')); 2737 unittest.expect(o[0], unittest.equals('foo'));
2738 unittest.expect(o[1], unittest.equals('foo')); 2738 unittest.expect(o[1], unittest.equals('foo'));
2739 } 2739 }
2740 2740
2741 core.int buildCounterUpdateSlidesPositionRequest = 0; 2741 core.int buildCounterUpdateSlidesPositionRequest = 0;
2742 buildUpdateSlidesPositionRequest() { 2742 buildUpdateSlidesPositionRequest() {
2743 var o = new api.UpdateSlidesPositionRequest(); 2743 var o = new api.UpdateSlidesPositionRequest();
2744 buildCounterUpdateSlidesPositionRequest++; 2744 buildCounterUpdateSlidesPositionRequest++;
2745 if (buildCounterUpdateSlidesPositionRequest < 3) { 2745 if (buildCounterUpdateSlidesPositionRequest < 3) {
2746 o.insertionIndex = 42; 2746 o.insertionIndex = 42;
2747 o.slideObjectIds = buildUnnamed1531(); 2747 o.slideObjectIds = buildUnnamed1528();
2748 } 2748 }
2749 buildCounterUpdateSlidesPositionRequest--; 2749 buildCounterUpdateSlidesPositionRequest--;
2750 return o; 2750 return o;
2751 } 2751 }
2752 2752
2753 checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) { 2753 checkUpdateSlidesPositionRequest(api.UpdateSlidesPositionRequest o) {
2754 buildCounterUpdateSlidesPositionRequest++; 2754 buildCounterUpdateSlidesPositionRequest++;
2755 if (buildCounterUpdateSlidesPositionRequest < 3) { 2755 if (buildCounterUpdateSlidesPositionRequest < 3) {
2756 unittest.expect(o.insertionIndex, unittest.equals(42)); 2756 unittest.expect(o.insertionIndex, unittest.equals(42));
2757 checkUnnamed1531(o.slideObjectIds); 2757 checkUnnamed1528(o.slideObjectIds);
2758 } 2758 }
2759 buildCounterUpdateSlidesPositionRequest--; 2759 buildCounterUpdateSlidesPositionRequest--;
2760 } 2760 }
2761 2761
2762 core.int buildCounterUpdateTableCellPropertiesRequest = 0; 2762 core.int buildCounterUpdateTableCellPropertiesRequest = 0;
2763 buildUpdateTableCellPropertiesRequest() { 2763 buildUpdateTableCellPropertiesRequest() {
2764 var o = new api.UpdateTableCellPropertiesRequest(); 2764 var o = new api.UpdateTableCellPropertiesRequest();
2765 buildCounterUpdateTableCellPropertiesRequest++; 2765 buildCounterUpdateTableCellPropertiesRequest++;
2766 if (buildCounterUpdateTableCellPropertiesRequest < 3) { 2766 if (buildCounterUpdateTableCellPropertiesRequest < 3) {
2767 o.fields = "foo"; 2767 o.fields = "foo";
(...skipping 1447 matching lines...) Expand 10 before | Expand all | Expand 10 after
4215 res.getThumbnail(arg_presentationId, arg_pageObjectId, thumbnailProperties _mimeType: arg_thumbnailProperties_mimeType, thumbnailProperties_thumbnailSize: arg_thumbnailProperties_thumbnailSize).then(unittest.expectAsync(((api.Thumbnail response) { 4215 res.getThumbnail(arg_presentationId, arg_pageObjectId, thumbnailProperties _mimeType: arg_thumbnailProperties_mimeType, thumbnailProperties_thumbnailSize: arg_thumbnailProperties_thumbnailSize).then(unittest.expectAsync(((api.Thumbnail response) {
4216 checkThumbnail(response); 4216 checkThumbnail(response);
4217 }))); 4217 })));
4218 }); 4218 });
4219 4219
4220 }); 4220 });
4221 4221
4222 4222
4223 } 4223 }
4224 4224
OLDNEW
« no previous file with comments | « generated/googleapis/test/siteverification/v1_test.dart ('k') | generated/googleapis/test/sourcerepo/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698