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

Side by Side Diff: generated/googleapis_beta/test/appengine/v1beta_test.dart

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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_beta.appengine.v1beta.test; 1 library googleapis_beta.appengine.v1beta.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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 91
92 checkApiEndpointHandler(api.ApiEndpointHandler o) { 92 checkApiEndpointHandler(api.ApiEndpointHandler o) {
93 buildCounterApiEndpointHandler++; 93 buildCounterApiEndpointHandler++;
94 if (buildCounterApiEndpointHandler < 3) { 94 if (buildCounterApiEndpointHandler < 3) {
95 unittest.expect(o.scriptPath, unittest.equals('foo')); 95 unittest.expect(o.scriptPath, unittest.equals('foo'));
96 } 96 }
97 buildCounterApiEndpointHandler--; 97 buildCounterApiEndpointHandler--;
98 } 98 }
99 99
100 buildUnnamed3573() { 100 buildUnnamed3605() {
101 var o = new core.List<api.UrlDispatchRule>(); 101 var o = new core.List<api.UrlDispatchRule>();
102 o.add(buildUrlDispatchRule()); 102 o.add(buildUrlDispatchRule());
103 o.add(buildUrlDispatchRule()); 103 o.add(buildUrlDispatchRule());
104 return o; 104 return o;
105 } 105 }
106 106
107 checkUnnamed3573(core.List<api.UrlDispatchRule> o) { 107 checkUnnamed3605(core.List<api.UrlDispatchRule> o) {
108 unittest.expect(o, unittest.hasLength(2)); 108 unittest.expect(o, unittest.hasLength(2));
109 checkUrlDispatchRule(o[0]); 109 checkUrlDispatchRule(o[0]);
110 checkUrlDispatchRule(o[1]); 110 checkUrlDispatchRule(o[1]);
111 } 111 }
112 112
113 core.int buildCounterApplication = 0; 113 core.int buildCounterApplication = 0;
114 buildApplication() { 114 buildApplication() {
115 var o = new api.Application(); 115 var o = new api.Application();
116 buildCounterApplication++; 116 buildCounterApplication++;
117 if (buildCounterApplication < 3) { 117 if (buildCounterApplication < 3) {
118 o.authDomain = "foo"; 118 o.authDomain = "foo";
119 o.codeBucket = "foo"; 119 o.codeBucket = "foo";
120 o.defaultBucket = "foo"; 120 o.defaultBucket = "foo";
121 o.defaultCookieExpiration = "foo"; 121 o.defaultCookieExpiration = "foo";
122 o.defaultHostname = "foo"; 122 o.defaultHostname = "foo";
123 o.dispatchRules = buildUnnamed3573(); 123 o.dispatchRules = buildUnnamed3605();
124 o.featureSettings = buildFeatureSettings(); 124 o.featureSettings = buildFeatureSettings();
125 o.gcrDomain = "foo"; 125 o.gcrDomain = "foo";
126 o.iap = buildIdentityAwareProxy(); 126 o.iap = buildIdentityAwareProxy();
127 o.id = "foo"; 127 o.id = "foo";
128 o.locationId = "foo"; 128 o.locationId = "foo";
129 o.name = "foo"; 129 o.name = "foo";
130 o.servingStatus = "foo"; 130 o.servingStatus = "foo";
131 } 131 }
132 buildCounterApplication--; 132 buildCounterApplication--;
133 return o; 133 return o;
134 } 134 }
135 135
136 checkApplication(api.Application o) { 136 checkApplication(api.Application o) {
137 buildCounterApplication++; 137 buildCounterApplication++;
138 if (buildCounterApplication < 3) { 138 if (buildCounterApplication < 3) {
139 unittest.expect(o.authDomain, unittest.equals('foo')); 139 unittest.expect(o.authDomain, unittest.equals('foo'));
140 unittest.expect(o.codeBucket, unittest.equals('foo')); 140 unittest.expect(o.codeBucket, unittest.equals('foo'));
141 unittest.expect(o.defaultBucket, unittest.equals('foo')); 141 unittest.expect(o.defaultBucket, unittest.equals('foo'));
142 unittest.expect(o.defaultCookieExpiration, unittest.equals('foo')); 142 unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
143 unittest.expect(o.defaultHostname, unittest.equals('foo')); 143 unittest.expect(o.defaultHostname, unittest.equals('foo'));
144 checkUnnamed3573(o.dispatchRules); 144 checkUnnamed3605(o.dispatchRules);
145 checkFeatureSettings(o.featureSettings); 145 checkFeatureSettings(o.featureSettings);
146 unittest.expect(o.gcrDomain, unittest.equals('foo')); 146 unittest.expect(o.gcrDomain, unittest.equals('foo'));
147 checkIdentityAwareProxy(o.iap); 147 checkIdentityAwareProxy(o.iap);
148 unittest.expect(o.id, unittest.equals('foo')); 148 unittest.expect(o.id, unittest.equals('foo'));
149 unittest.expect(o.locationId, unittest.equals('foo')); 149 unittest.expect(o.locationId, unittest.equals('foo'));
150 unittest.expect(o.name, unittest.equals('foo')); 150 unittest.expect(o.name, unittest.equals('foo'));
151 unittest.expect(o.servingStatus, unittest.equals('foo')); 151 unittest.expect(o.servingStatus, unittest.equals('foo'));
152 } 152 }
153 buildCounterApplication--; 153 buildCounterApplication--;
154 } 154 }
155 155
156 buildUnnamed3574() { 156 buildUnnamed3606() {
157 var o = new core.List<core.String>(); 157 var o = new core.List<core.String>();
158 o.add("foo"); 158 o.add("foo");
159 o.add("foo"); 159 o.add("foo");
160 return o; 160 return o;
161 } 161 }
162 162
163 checkUnnamed3574(core.List<core.String> o) { 163 checkUnnamed3606(core.List<core.String> o) {
164 unittest.expect(o, unittest.hasLength(2)); 164 unittest.expect(o, unittest.hasLength(2));
165 unittest.expect(o[0], unittest.equals('foo')); 165 unittest.expect(o[0], unittest.equals('foo'));
166 unittest.expect(o[1], unittest.equals('foo')); 166 unittest.expect(o[1], unittest.equals('foo'));
167 } 167 }
168 168
169 buildUnnamed3575() { 169 buildUnnamed3607() {
170 var o = new core.List<core.String>(); 170 var o = new core.List<core.String>();
171 o.add("foo"); 171 o.add("foo");
172 o.add("foo"); 172 o.add("foo");
173 return o; 173 return o;
174 } 174 }
175 175
176 checkUnnamed3575(core.List<core.String> o) { 176 checkUnnamed3607(core.List<core.String> o) {
177 unittest.expect(o, unittest.hasLength(2)); 177 unittest.expect(o, unittest.hasLength(2));
178 unittest.expect(o[0], unittest.equals('foo')); 178 unittest.expect(o[0], unittest.equals('foo'));
179 unittest.expect(o[1], unittest.equals('foo')); 179 unittest.expect(o[1], unittest.equals('foo'));
180 } 180 }
181 181
182 core.int buildCounterAuthorizedCertificate = 0; 182 core.int buildCounterAuthorizedCertificate = 0;
183 buildAuthorizedCertificate() { 183 buildAuthorizedCertificate() {
184 var o = new api.AuthorizedCertificate(); 184 var o = new api.AuthorizedCertificate();
185 buildCounterAuthorizedCertificate++; 185 buildCounterAuthorizedCertificate++;
186 if (buildCounterAuthorizedCertificate < 3) { 186 if (buildCounterAuthorizedCertificate < 3) {
187 o.certificateRawData = buildCertificateRawData(); 187 o.certificateRawData = buildCertificateRawData();
188 o.displayName = "foo"; 188 o.displayName = "foo";
189 o.domainMappingsCount = 42; 189 o.domainMappingsCount = 42;
190 o.domainNames = buildUnnamed3574(); 190 o.domainNames = buildUnnamed3606();
191 o.expireTime = "foo"; 191 o.expireTime = "foo";
192 o.id = "foo"; 192 o.id = "foo";
193 o.name = "foo"; 193 o.name = "foo";
194 o.visibleDomainMappings = buildUnnamed3575(); 194 o.visibleDomainMappings = buildUnnamed3607();
195 } 195 }
196 buildCounterAuthorizedCertificate--; 196 buildCounterAuthorizedCertificate--;
197 return o; 197 return o;
198 } 198 }
199 199
200 checkAuthorizedCertificate(api.AuthorizedCertificate o) { 200 checkAuthorizedCertificate(api.AuthorizedCertificate o) {
201 buildCounterAuthorizedCertificate++; 201 buildCounterAuthorizedCertificate++;
202 if (buildCounterAuthorizedCertificate < 3) { 202 if (buildCounterAuthorizedCertificate < 3) {
203 checkCertificateRawData(o.certificateRawData); 203 checkCertificateRawData(o.certificateRawData);
204 unittest.expect(o.displayName, unittest.equals('foo')); 204 unittest.expect(o.displayName, unittest.equals('foo'));
205 unittest.expect(o.domainMappingsCount, unittest.equals(42)); 205 unittest.expect(o.domainMappingsCount, unittest.equals(42));
206 checkUnnamed3574(o.domainNames); 206 checkUnnamed3606(o.domainNames);
207 unittest.expect(o.expireTime, unittest.equals('foo')); 207 unittest.expect(o.expireTime, unittest.equals('foo'));
208 unittest.expect(o.id, unittest.equals('foo')); 208 unittest.expect(o.id, unittest.equals('foo'));
209 unittest.expect(o.name, unittest.equals('foo')); 209 unittest.expect(o.name, unittest.equals('foo'));
210 checkUnnamed3575(o.visibleDomainMappings); 210 checkUnnamed3607(o.visibleDomainMappings);
211 } 211 }
212 buildCounterAuthorizedCertificate--; 212 buildCounterAuthorizedCertificate--;
213 } 213 }
214 214
215 core.int buildCounterAuthorizedDomain = 0; 215 core.int buildCounterAuthorizedDomain = 0;
216 buildAuthorizedDomain() { 216 buildAuthorizedDomain() {
217 var o = new api.AuthorizedDomain(); 217 var o = new api.AuthorizedDomain();
218 buildCounterAuthorizedDomain++; 218 buildCounterAuthorizedDomain++;
219 if (buildCounterAuthorizedDomain < 3) { 219 if (buildCounterAuthorizedDomain < 3) {
220 o.id = "foo"; 220 o.id = "foo";
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 290
291 checkBasicScaling(api.BasicScaling o) { 291 checkBasicScaling(api.BasicScaling o) {
292 buildCounterBasicScaling++; 292 buildCounterBasicScaling++;
293 if (buildCounterBasicScaling < 3) { 293 if (buildCounterBasicScaling < 3) {
294 unittest.expect(o.idleTimeout, unittest.equals('foo')); 294 unittest.expect(o.idleTimeout, unittest.equals('foo'));
295 unittest.expect(o.maxInstances, unittest.equals(42)); 295 unittest.expect(o.maxInstances, unittest.equals(42));
296 } 296 }
297 buildCounterBasicScaling--; 297 buildCounterBasicScaling--;
298 } 298 }
299 299
300 buildUnnamed3576() { 300 buildUnnamed3608() {
301 var o = new core.List<api.FirewallRule>(); 301 var o = new core.List<api.FirewallRule>();
302 o.add(buildFirewallRule()); 302 o.add(buildFirewallRule());
303 o.add(buildFirewallRule()); 303 o.add(buildFirewallRule());
304 return o; 304 return o;
305 } 305 }
306 306
307 checkUnnamed3576(core.List<api.FirewallRule> o) { 307 checkUnnamed3608(core.List<api.FirewallRule> o) {
308 unittest.expect(o, unittest.hasLength(2)); 308 unittest.expect(o, unittest.hasLength(2));
309 checkFirewallRule(o[0]); 309 checkFirewallRule(o[0]);
310 checkFirewallRule(o[1]); 310 checkFirewallRule(o[1]);
311 } 311 }
312 312
313 core.int buildCounterBatchUpdateIngressRulesRequest = 0; 313 core.int buildCounterBatchUpdateIngressRulesRequest = 0;
314 buildBatchUpdateIngressRulesRequest() { 314 buildBatchUpdateIngressRulesRequest() {
315 var o = new api.BatchUpdateIngressRulesRequest(); 315 var o = new api.BatchUpdateIngressRulesRequest();
316 buildCounterBatchUpdateIngressRulesRequest++; 316 buildCounterBatchUpdateIngressRulesRequest++;
317 if (buildCounterBatchUpdateIngressRulesRequest < 3) { 317 if (buildCounterBatchUpdateIngressRulesRequest < 3) {
318 o.ingressRules = buildUnnamed3576(); 318 o.ingressRules = buildUnnamed3608();
319 } 319 }
320 buildCounterBatchUpdateIngressRulesRequest--; 320 buildCounterBatchUpdateIngressRulesRequest--;
321 return o; 321 return o;
322 } 322 }
323 323
324 checkBatchUpdateIngressRulesRequest(api.BatchUpdateIngressRulesRequest o) { 324 checkBatchUpdateIngressRulesRequest(api.BatchUpdateIngressRulesRequest o) {
325 buildCounterBatchUpdateIngressRulesRequest++; 325 buildCounterBatchUpdateIngressRulesRequest++;
326 if (buildCounterBatchUpdateIngressRulesRequest < 3) { 326 if (buildCounterBatchUpdateIngressRulesRequest < 3) {
327 checkUnnamed3576(o.ingressRules); 327 checkUnnamed3608(o.ingressRules);
328 } 328 }
329 buildCounterBatchUpdateIngressRulesRequest--; 329 buildCounterBatchUpdateIngressRulesRequest--;
330 } 330 }
331 331
332 buildUnnamed3577() { 332 buildUnnamed3609() {
333 var o = new core.List<api.FirewallRule>(); 333 var o = new core.List<api.FirewallRule>();
334 o.add(buildFirewallRule()); 334 o.add(buildFirewallRule());
335 o.add(buildFirewallRule()); 335 o.add(buildFirewallRule());
336 return o; 336 return o;
337 } 337 }
338 338
339 checkUnnamed3577(core.List<api.FirewallRule> o) { 339 checkUnnamed3609(core.List<api.FirewallRule> o) {
340 unittest.expect(o, unittest.hasLength(2)); 340 unittest.expect(o, unittest.hasLength(2));
341 checkFirewallRule(o[0]); 341 checkFirewallRule(o[0]);
342 checkFirewallRule(o[1]); 342 checkFirewallRule(o[1]);
343 } 343 }
344 344
345 core.int buildCounterBatchUpdateIngressRulesResponse = 0; 345 core.int buildCounterBatchUpdateIngressRulesResponse = 0;
346 buildBatchUpdateIngressRulesResponse() { 346 buildBatchUpdateIngressRulesResponse() {
347 var o = new api.BatchUpdateIngressRulesResponse(); 347 var o = new api.BatchUpdateIngressRulesResponse();
348 buildCounterBatchUpdateIngressRulesResponse++; 348 buildCounterBatchUpdateIngressRulesResponse++;
349 if (buildCounterBatchUpdateIngressRulesResponse < 3) { 349 if (buildCounterBatchUpdateIngressRulesResponse < 3) {
350 o.ingressRules = buildUnnamed3577(); 350 o.ingressRules = buildUnnamed3609();
351 } 351 }
352 buildCounterBatchUpdateIngressRulesResponse--; 352 buildCounterBatchUpdateIngressRulesResponse--;
353 return o; 353 return o;
354 } 354 }
355 355
356 checkBatchUpdateIngressRulesResponse(api.BatchUpdateIngressRulesResponse o) { 356 checkBatchUpdateIngressRulesResponse(api.BatchUpdateIngressRulesResponse o) {
357 buildCounterBatchUpdateIngressRulesResponse++; 357 buildCounterBatchUpdateIngressRulesResponse++;
358 if (buildCounterBatchUpdateIngressRulesResponse < 3) { 358 if (buildCounterBatchUpdateIngressRulesResponse < 3) {
359 checkUnnamed3577(o.ingressRules); 359 checkUnnamed3609(o.ingressRules);
360 } 360 }
361 buildCounterBatchUpdateIngressRulesResponse--; 361 buildCounterBatchUpdateIngressRulesResponse--;
362 } 362 }
363 363
364 core.int buildCounterBuildInfo = 0; 364 core.int buildCounterBuildInfo = 0;
365 buildBuildInfo() { 365 buildBuildInfo() {
366 var o = new api.BuildInfo(); 366 var o = new api.BuildInfo();
367 buildCounterBuildInfo++; 367 buildCounterBuildInfo++;
368 if (buildCounterBuildInfo < 3) { 368 if (buildCounterBuildInfo < 3) {
369 o.cloudBuildId = "foo"; 369 o.cloudBuildId = "foo";
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 } 453 }
454 454
455 checkDebugInstanceRequest(api.DebugInstanceRequest o) { 455 checkDebugInstanceRequest(api.DebugInstanceRequest o) {
456 buildCounterDebugInstanceRequest++; 456 buildCounterDebugInstanceRequest++;
457 if (buildCounterDebugInstanceRequest < 3) { 457 if (buildCounterDebugInstanceRequest < 3) {
458 unittest.expect(o.sshKey, unittest.equals('foo')); 458 unittest.expect(o.sshKey, unittest.equals('foo'));
459 } 459 }
460 buildCounterDebugInstanceRequest--; 460 buildCounterDebugInstanceRequest--;
461 } 461 }
462 462
463 buildUnnamed3578() { 463 buildUnnamed3610() {
464 var o = new core.Map<core.String, api.FileInfo>(); 464 var o = new core.Map<core.String, api.FileInfo>();
465 o["x"] = buildFileInfo(); 465 o["x"] = buildFileInfo();
466 o["y"] = buildFileInfo(); 466 o["y"] = buildFileInfo();
467 return o; 467 return o;
468 } 468 }
469 469
470 checkUnnamed3578(core.Map<core.String, api.FileInfo> o) { 470 checkUnnamed3610(core.Map<core.String, api.FileInfo> o) {
471 unittest.expect(o, unittest.hasLength(2)); 471 unittest.expect(o, unittest.hasLength(2));
472 checkFileInfo(o["x"]); 472 checkFileInfo(o["x"]);
473 checkFileInfo(o["y"]); 473 checkFileInfo(o["y"]);
474 } 474 }
475 475
476 core.int buildCounterDeployment = 0; 476 core.int buildCounterDeployment = 0;
477 buildDeployment() { 477 buildDeployment() {
478 var o = new api.Deployment(); 478 var o = new api.Deployment();
479 buildCounterDeployment++; 479 buildCounterDeployment++;
480 if (buildCounterDeployment < 3) { 480 if (buildCounterDeployment < 3) {
481 o.build = buildBuildInfo(); 481 o.build = buildBuildInfo();
482 o.container = buildContainerInfo(); 482 o.container = buildContainerInfo();
483 o.files = buildUnnamed3578(); 483 o.files = buildUnnamed3610();
484 o.zip = buildZipInfo(); 484 o.zip = buildZipInfo();
485 } 485 }
486 buildCounterDeployment--; 486 buildCounterDeployment--;
487 return o; 487 return o;
488 } 488 }
489 489
490 checkDeployment(api.Deployment o) { 490 checkDeployment(api.Deployment o) {
491 buildCounterDeployment++; 491 buildCounterDeployment++;
492 if (buildCounterDeployment < 3) { 492 if (buildCounterDeployment < 3) {
493 checkBuildInfo(o.build); 493 checkBuildInfo(o.build);
494 checkContainerInfo(o.container); 494 checkContainerInfo(o.container);
495 checkUnnamed3578(o.files); 495 checkUnnamed3610(o.files);
496 checkZipInfo(o.zip); 496 checkZipInfo(o.zip);
497 } 497 }
498 buildCounterDeployment--; 498 buildCounterDeployment--;
499 } 499 }
500 500
501 core.int buildCounterDiskUtilization = 0; 501 core.int buildCounterDiskUtilization = 0;
502 buildDiskUtilization() { 502 buildDiskUtilization() {
503 var o = new api.DiskUtilization(); 503 var o = new api.DiskUtilization();
504 buildCounterDiskUtilization++; 504 buildCounterDiskUtilization++;
505 if (buildCounterDiskUtilization < 3) { 505 if (buildCounterDiskUtilization < 3) {
(...skipping 10 matching lines...) Expand all
516 buildCounterDiskUtilization++; 516 buildCounterDiskUtilization++;
517 if (buildCounterDiskUtilization < 3) { 517 if (buildCounterDiskUtilization < 3) {
518 unittest.expect(o.targetReadBytesPerSecond, unittest.equals(42)); 518 unittest.expect(o.targetReadBytesPerSecond, unittest.equals(42));
519 unittest.expect(o.targetReadOpsPerSecond, unittest.equals(42)); 519 unittest.expect(o.targetReadOpsPerSecond, unittest.equals(42));
520 unittest.expect(o.targetWriteBytesPerSecond, unittest.equals(42)); 520 unittest.expect(o.targetWriteBytesPerSecond, unittest.equals(42));
521 unittest.expect(o.targetWriteOpsPerSecond, unittest.equals(42)); 521 unittest.expect(o.targetWriteOpsPerSecond, unittest.equals(42));
522 } 522 }
523 buildCounterDiskUtilization--; 523 buildCounterDiskUtilization--;
524 } 524 }
525 525
526 buildUnnamed3579() { 526 buildUnnamed3611() {
527 var o = new core.List<api.ResourceRecord>(); 527 var o = new core.List<api.ResourceRecord>();
528 o.add(buildResourceRecord()); 528 o.add(buildResourceRecord());
529 o.add(buildResourceRecord()); 529 o.add(buildResourceRecord());
530 return o; 530 return o;
531 } 531 }
532 532
533 checkUnnamed3579(core.List<api.ResourceRecord> o) { 533 checkUnnamed3611(core.List<api.ResourceRecord> o) {
534 unittest.expect(o, unittest.hasLength(2)); 534 unittest.expect(o, unittest.hasLength(2));
535 checkResourceRecord(o[0]); 535 checkResourceRecord(o[0]);
536 checkResourceRecord(o[1]); 536 checkResourceRecord(o[1]);
537 } 537 }
538 538
539 core.int buildCounterDomainMapping = 0; 539 core.int buildCounterDomainMapping = 0;
540 buildDomainMapping() { 540 buildDomainMapping() {
541 var o = new api.DomainMapping(); 541 var o = new api.DomainMapping();
542 buildCounterDomainMapping++; 542 buildCounterDomainMapping++;
543 if (buildCounterDomainMapping < 3) { 543 if (buildCounterDomainMapping < 3) {
544 o.id = "foo"; 544 o.id = "foo";
545 o.name = "foo"; 545 o.name = "foo";
546 o.resourceRecords = buildUnnamed3579(); 546 o.resourceRecords = buildUnnamed3611();
547 o.sslSettings = buildSslSettings(); 547 o.sslSettings = buildSslSettings();
548 } 548 }
549 buildCounterDomainMapping--; 549 buildCounterDomainMapping--;
550 return o; 550 return o;
551 } 551 }
552 552
553 checkDomainMapping(api.DomainMapping o) { 553 checkDomainMapping(api.DomainMapping o) {
554 buildCounterDomainMapping++; 554 buildCounterDomainMapping++;
555 if (buildCounterDomainMapping < 3) { 555 if (buildCounterDomainMapping < 3) {
556 unittest.expect(o.id, unittest.equals('foo')); 556 unittest.expect(o.id, unittest.equals('foo'));
557 unittest.expect(o.name, unittest.equals('foo')); 557 unittest.expect(o.name, unittest.equals('foo'));
558 checkUnnamed3579(o.resourceRecords); 558 checkUnnamed3611(o.resourceRecords);
559 checkSslSettings(o.sslSettings); 559 checkSslSettings(o.sslSettings);
560 } 560 }
561 buildCounterDomainMapping--; 561 buildCounterDomainMapping--;
562 } 562 }
563 563
564 core.int buildCounterEmpty = 0; 564 core.int buildCounterEmpty = 0;
565 buildEmpty() { 565 buildEmpty() {
566 var o = new api.Empty(); 566 var o = new api.Empty();
567 buildCounterEmpty++; 567 buildCounterEmpty++;
568 if (buildCounterEmpty < 3) { 568 if (buildCounterEmpty < 3) {
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 808
809 checkLibrary(api.Library o) { 809 checkLibrary(api.Library o) {
810 buildCounterLibrary++; 810 buildCounterLibrary++;
811 if (buildCounterLibrary < 3) { 811 if (buildCounterLibrary < 3) {
812 unittest.expect(o.name, unittest.equals('foo')); 812 unittest.expect(o.name, unittest.equals('foo'));
813 unittest.expect(o.version, unittest.equals('foo')); 813 unittest.expect(o.version, unittest.equals('foo'));
814 } 814 }
815 buildCounterLibrary--; 815 buildCounterLibrary--;
816 } 816 }
817 817
818 buildUnnamed3580() { 818 buildUnnamed3612() {
819 var o = new core.List<api.AuthorizedCertificate>(); 819 var o = new core.List<api.AuthorizedCertificate>();
820 o.add(buildAuthorizedCertificate()); 820 o.add(buildAuthorizedCertificate());
821 o.add(buildAuthorizedCertificate()); 821 o.add(buildAuthorizedCertificate());
822 return o; 822 return o;
823 } 823 }
824 824
825 checkUnnamed3580(core.List<api.AuthorizedCertificate> o) { 825 checkUnnamed3612(core.List<api.AuthorizedCertificate> o) {
826 unittest.expect(o, unittest.hasLength(2)); 826 unittest.expect(o, unittest.hasLength(2));
827 checkAuthorizedCertificate(o[0]); 827 checkAuthorizedCertificate(o[0]);
828 checkAuthorizedCertificate(o[1]); 828 checkAuthorizedCertificate(o[1]);
829 } 829 }
830 830
831 core.int buildCounterListAuthorizedCertificatesResponse = 0; 831 core.int buildCounterListAuthorizedCertificatesResponse = 0;
832 buildListAuthorizedCertificatesResponse() { 832 buildListAuthorizedCertificatesResponse() {
833 var o = new api.ListAuthorizedCertificatesResponse(); 833 var o = new api.ListAuthorizedCertificatesResponse();
834 buildCounterListAuthorizedCertificatesResponse++; 834 buildCounterListAuthorizedCertificatesResponse++;
835 if (buildCounterListAuthorizedCertificatesResponse < 3) { 835 if (buildCounterListAuthorizedCertificatesResponse < 3) {
836 o.certificates = buildUnnamed3580(); 836 o.certificates = buildUnnamed3612();
837 o.nextPageToken = "foo"; 837 o.nextPageToken = "foo";
838 } 838 }
839 buildCounterListAuthorizedCertificatesResponse--; 839 buildCounterListAuthorizedCertificatesResponse--;
840 return o; 840 return o;
841 } 841 }
842 842
843 checkListAuthorizedCertificatesResponse(api.ListAuthorizedCertificatesResponse o ) { 843 checkListAuthorizedCertificatesResponse(api.ListAuthorizedCertificatesResponse o ) {
844 buildCounterListAuthorizedCertificatesResponse++; 844 buildCounterListAuthorizedCertificatesResponse++;
845 if (buildCounterListAuthorizedCertificatesResponse < 3) { 845 if (buildCounterListAuthorizedCertificatesResponse < 3) {
846 checkUnnamed3580(o.certificates); 846 checkUnnamed3612(o.certificates);
847 unittest.expect(o.nextPageToken, unittest.equals('foo')); 847 unittest.expect(o.nextPageToken, unittest.equals('foo'));
848 } 848 }
849 buildCounterListAuthorizedCertificatesResponse--; 849 buildCounterListAuthorizedCertificatesResponse--;
850 } 850 }
851 851
852 buildUnnamed3581() { 852 buildUnnamed3613() {
853 var o = new core.List<api.AuthorizedDomain>(); 853 var o = new core.List<api.AuthorizedDomain>();
854 o.add(buildAuthorizedDomain()); 854 o.add(buildAuthorizedDomain());
855 o.add(buildAuthorizedDomain()); 855 o.add(buildAuthorizedDomain());
856 return o; 856 return o;
857 } 857 }
858 858
859 checkUnnamed3581(core.List<api.AuthorizedDomain> o) { 859 checkUnnamed3613(core.List<api.AuthorizedDomain> o) {
860 unittest.expect(o, unittest.hasLength(2)); 860 unittest.expect(o, unittest.hasLength(2));
861 checkAuthorizedDomain(o[0]); 861 checkAuthorizedDomain(o[0]);
862 checkAuthorizedDomain(o[1]); 862 checkAuthorizedDomain(o[1]);
863 } 863 }
864 864
865 core.int buildCounterListAuthorizedDomainsResponse = 0; 865 core.int buildCounterListAuthorizedDomainsResponse = 0;
866 buildListAuthorizedDomainsResponse() { 866 buildListAuthorizedDomainsResponse() {
867 var o = new api.ListAuthorizedDomainsResponse(); 867 var o = new api.ListAuthorizedDomainsResponse();
868 buildCounterListAuthorizedDomainsResponse++; 868 buildCounterListAuthorizedDomainsResponse++;
869 if (buildCounterListAuthorizedDomainsResponse < 3) { 869 if (buildCounterListAuthorizedDomainsResponse < 3) {
870 o.domains = buildUnnamed3581(); 870 o.domains = buildUnnamed3613();
871 o.nextPageToken = "foo"; 871 o.nextPageToken = "foo";
872 } 872 }
873 buildCounterListAuthorizedDomainsResponse--; 873 buildCounterListAuthorizedDomainsResponse--;
874 return o; 874 return o;
875 } 875 }
876 876
877 checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) { 877 checkListAuthorizedDomainsResponse(api.ListAuthorizedDomainsResponse o) {
878 buildCounterListAuthorizedDomainsResponse++; 878 buildCounterListAuthorizedDomainsResponse++;
879 if (buildCounterListAuthorizedDomainsResponse < 3) { 879 if (buildCounterListAuthorizedDomainsResponse < 3) {
880 checkUnnamed3581(o.domains); 880 checkUnnamed3613(o.domains);
881 unittest.expect(o.nextPageToken, unittest.equals('foo')); 881 unittest.expect(o.nextPageToken, unittest.equals('foo'));
882 } 882 }
883 buildCounterListAuthorizedDomainsResponse--; 883 buildCounterListAuthorizedDomainsResponse--;
884 } 884 }
885 885
886 buildUnnamed3582() { 886 buildUnnamed3614() {
887 var o = new core.List<api.DomainMapping>(); 887 var o = new core.List<api.DomainMapping>();
888 o.add(buildDomainMapping()); 888 o.add(buildDomainMapping());
889 o.add(buildDomainMapping()); 889 o.add(buildDomainMapping());
890 return o; 890 return o;
891 } 891 }
892 892
893 checkUnnamed3582(core.List<api.DomainMapping> o) { 893 checkUnnamed3614(core.List<api.DomainMapping> o) {
894 unittest.expect(o, unittest.hasLength(2)); 894 unittest.expect(o, unittest.hasLength(2));
895 checkDomainMapping(o[0]); 895 checkDomainMapping(o[0]);
896 checkDomainMapping(o[1]); 896 checkDomainMapping(o[1]);
897 } 897 }
898 898
899 core.int buildCounterListDomainMappingsResponse = 0; 899 core.int buildCounterListDomainMappingsResponse = 0;
900 buildListDomainMappingsResponse() { 900 buildListDomainMappingsResponse() {
901 var o = new api.ListDomainMappingsResponse(); 901 var o = new api.ListDomainMappingsResponse();
902 buildCounterListDomainMappingsResponse++; 902 buildCounterListDomainMappingsResponse++;
903 if (buildCounterListDomainMappingsResponse < 3) { 903 if (buildCounterListDomainMappingsResponse < 3) {
904 o.domainMappings = buildUnnamed3582(); 904 o.domainMappings = buildUnnamed3614();
905 o.nextPageToken = "foo"; 905 o.nextPageToken = "foo";
906 } 906 }
907 buildCounterListDomainMappingsResponse--; 907 buildCounterListDomainMappingsResponse--;
908 return o; 908 return o;
909 } 909 }
910 910
911 checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) { 911 checkListDomainMappingsResponse(api.ListDomainMappingsResponse o) {
912 buildCounterListDomainMappingsResponse++; 912 buildCounterListDomainMappingsResponse++;
913 if (buildCounterListDomainMappingsResponse < 3) { 913 if (buildCounterListDomainMappingsResponse < 3) {
914 checkUnnamed3582(o.domainMappings); 914 checkUnnamed3614(o.domainMappings);
915 unittest.expect(o.nextPageToken, unittest.equals('foo')); 915 unittest.expect(o.nextPageToken, unittest.equals('foo'));
916 } 916 }
917 buildCounterListDomainMappingsResponse--; 917 buildCounterListDomainMappingsResponse--;
918 } 918 }
919 919
920 buildUnnamed3583() { 920 buildUnnamed3615() {
921 var o = new core.List<api.FirewallRule>(); 921 var o = new core.List<api.FirewallRule>();
922 o.add(buildFirewallRule()); 922 o.add(buildFirewallRule());
923 o.add(buildFirewallRule()); 923 o.add(buildFirewallRule());
924 return o; 924 return o;
925 } 925 }
926 926
927 checkUnnamed3583(core.List<api.FirewallRule> o) { 927 checkUnnamed3615(core.List<api.FirewallRule> o) {
928 unittest.expect(o, unittest.hasLength(2)); 928 unittest.expect(o, unittest.hasLength(2));
929 checkFirewallRule(o[0]); 929 checkFirewallRule(o[0]);
930 checkFirewallRule(o[1]); 930 checkFirewallRule(o[1]);
931 } 931 }
932 932
933 core.int buildCounterListIngressRulesResponse = 0; 933 core.int buildCounterListIngressRulesResponse = 0;
934 buildListIngressRulesResponse() { 934 buildListIngressRulesResponse() {
935 var o = new api.ListIngressRulesResponse(); 935 var o = new api.ListIngressRulesResponse();
936 buildCounterListIngressRulesResponse++; 936 buildCounterListIngressRulesResponse++;
937 if (buildCounterListIngressRulesResponse < 3) { 937 if (buildCounterListIngressRulesResponse < 3) {
938 o.ingressRules = buildUnnamed3583(); 938 o.ingressRules = buildUnnamed3615();
939 o.nextPageToken = "foo"; 939 o.nextPageToken = "foo";
940 } 940 }
941 buildCounterListIngressRulesResponse--; 941 buildCounterListIngressRulesResponse--;
942 return o; 942 return o;
943 } 943 }
944 944
945 checkListIngressRulesResponse(api.ListIngressRulesResponse o) { 945 checkListIngressRulesResponse(api.ListIngressRulesResponse o) {
946 buildCounterListIngressRulesResponse++; 946 buildCounterListIngressRulesResponse++;
947 if (buildCounterListIngressRulesResponse < 3) { 947 if (buildCounterListIngressRulesResponse < 3) {
948 checkUnnamed3583(o.ingressRules); 948 checkUnnamed3615(o.ingressRules);
949 unittest.expect(o.nextPageToken, unittest.equals('foo')); 949 unittest.expect(o.nextPageToken, unittest.equals('foo'));
950 } 950 }
951 buildCounterListIngressRulesResponse--; 951 buildCounterListIngressRulesResponse--;
952 } 952 }
953 953
954 buildUnnamed3584() { 954 buildUnnamed3616() {
955 var o = new core.List<api.Instance>(); 955 var o = new core.List<api.Instance>();
956 o.add(buildInstance()); 956 o.add(buildInstance());
957 o.add(buildInstance()); 957 o.add(buildInstance());
958 return o; 958 return o;
959 } 959 }
960 960
961 checkUnnamed3584(core.List<api.Instance> o) { 961 checkUnnamed3616(core.List<api.Instance> o) {
962 unittest.expect(o, unittest.hasLength(2)); 962 unittest.expect(o, unittest.hasLength(2));
963 checkInstance(o[0]); 963 checkInstance(o[0]);
964 checkInstance(o[1]); 964 checkInstance(o[1]);
965 } 965 }
966 966
967 core.int buildCounterListInstancesResponse = 0; 967 core.int buildCounterListInstancesResponse = 0;
968 buildListInstancesResponse() { 968 buildListInstancesResponse() {
969 var o = new api.ListInstancesResponse(); 969 var o = new api.ListInstancesResponse();
970 buildCounterListInstancesResponse++; 970 buildCounterListInstancesResponse++;
971 if (buildCounterListInstancesResponse < 3) { 971 if (buildCounterListInstancesResponse < 3) {
972 o.instances = buildUnnamed3584(); 972 o.instances = buildUnnamed3616();
973 o.nextPageToken = "foo"; 973 o.nextPageToken = "foo";
974 } 974 }
975 buildCounterListInstancesResponse--; 975 buildCounterListInstancesResponse--;
976 return o; 976 return o;
977 } 977 }
978 978
979 checkListInstancesResponse(api.ListInstancesResponse o) { 979 checkListInstancesResponse(api.ListInstancesResponse o) {
980 buildCounterListInstancesResponse++; 980 buildCounterListInstancesResponse++;
981 if (buildCounterListInstancesResponse < 3) { 981 if (buildCounterListInstancesResponse < 3) {
982 checkUnnamed3584(o.instances); 982 checkUnnamed3616(o.instances);
983 unittest.expect(o.nextPageToken, unittest.equals('foo')); 983 unittest.expect(o.nextPageToken, unittest.equals('foo'));
984 } 984 }
985 buildCounterListInstancesResponse--; 985 buildCounterListInstancesResponse--;
986 } 986 }
987 987
988 buildUnnamed3585() { 988 buildUnnamed3617() {
989 var o = new core.List<api.Location>(); 989 var o = new core.List<api.Location>();
990 o.add(buildLocation()); 990 o.add(buildLocation());
991 o.add(buildLocation()); 991 o.add(buildLocation());
992 return o; 992 return o;
993 } 993 }
994 994
995 checkUnnamed3585(core.List<api.Location> o) { 995 checkUnnamed3617(core.List<api.Location> o) {
996 unittest.expect(o, unittest.hasLength(2)); 996 unittest.expect(o, unittest.hasLength(2));
997 checkLocation(o[0]); 997 checkLocation(o[0]);
998 checkLocation(o[1]); 998 checkLocation(o[1]);
999 } 999 }
1000 1000
1001 core.int buildCounterListLocationsResponse = 0; 1001 core.int buildCounterListLocationsResponse = 0;
1002 buildListLocationsResponse() { 1002 buildListLocationsResponse() {
1003 var o = new api.ListLocationsResponse(); 1003 var o = new api.ListLocationsResponse();
1004 buildCounterListLocationsResponse++; 1004 buildCounterListLocationsResponse++;
1005 if (buildCounterListLocationsResponse < 3) { 1005 if (buildCounterListLocationsResponse < 3) {
1006 o.locations = buildUnnamed3585(); 1006 o.locations = buildUnnamed3617();
1007 o.nextPageToken = "foo"; 1007 o.nextPageToken = "foo";
1008 } 1008 }
1009 buildCounterListLocationsResponse--; 1009 buildCounterListLocationsResponse--;
1010 return o; 1010 return o;
1011 } 1011 }
1012 1012
1013 checkListLocationsResponse(api.ListLocationsResponse o) { 1013 checkListLocationsResponse(api.ListLocationsResponse o) {
1014 buildCounterListLocationsResponse++; 1014 buildCounterListLocationsResponse++;
1015 if (buildCounterListLocationsResponse < 3) { 1015 if (buildCounterListLocationsResponse < 3) {
1016 checkUnnamed3585(o.locations); 1016 checkUnnamed3617(o.locations);
1017 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1017 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1018 } 1018 }
1019 buildCounterListLocationsResponse--; 1019 buildCounterListLocationsResponse--;
1020 } 1020 }
1021 1021
1022 buildUnnamed3586() { 1022 buildUnnamed3618() {
1023 var o = new core.List<api.Operation>(); 1023 var o = new core.List<api.Operation>();
1024 o.add(buildOperation()); 1024 o.add(buildOperation());
1025 o.add(buildOperation()); 1025 o.add(buildOperation());
1026 return o; 1026 return o;
1027 } 1027 }
1028 1028
1029 checkUnnamed3586(core.List<api.Operation> o) { 1029 checkUnnamed3618(core.List<api.Operation> o) {
1030 unittest.expect(o, unittest.hasLength(2)); 1030 unittest.expect(o, unittest.hasLength(2));
1031 checkOperation(o[0]); 1031 checkOperation(o[0]);
1032 checkOperation(o[1]); 1032 checkOperation(o[1]);
1033 } 1033 }
1034 1034
1035 core.int buildCounterListOperationsResponse = 0; 1035 core.int buildCounterListOperationsResponse = 0;
1036 buildListOperationsResponse() { 1036 buildListOperationsResponse() {
1037 var o = new api.ListOperationsResponse(); 1037 var o = new api.ListOperationsResponse();
1038 buildCounterListOperationsResponse++; 1038 buildCounterListOperationsResponse++;
1039 if (buildCounterListOperationsResponse < 3) { 1039 if (buildCounterListOperationsResponse < 3) {
1040 o.nextPageToken = "foo"; 1040 o.nextPageToken = "foo";
1041 o.operations = buildUnnamed3586(); 1041 o.operations = buildUnnamed3618();
1042 } 1042 }
1043 buildCounterListOperationsResponse--; 1043 buildCounterListOperationsResponse--;
1044 return o; 1044 return o;
1045 } 1045 }
1046 1046
1047 checkListOperationsResponse(api.ListOperationsResponse o) { 1047 checkListOperationsResponse(api.ListOperationsResponse o) {
1048 buildCounterListOperationsResponse++; 1048 buildCounterListOperationsResponse++;
1049 if (buildCounterListOperationsResponse < 3) { 1049 if (buildCounterListOperationsResponse < 3) {
1050 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1050 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1051 checkUnnamed3586(o.operations); 1051 checkUnnamed3618(o.operations);
1052 } 1052 }
1053 buildCounterListOperationsResponse--; 1053 buildCounterListOperationsResponse--;
1054 } 1054 }
1055 1055
1056 buildUnnamed3587() { 1056 buildUnnamed3619() {
1057 var o = new core.List<api.Service>(); 1057 var o = new core.List<api.Service>();
1058 o.add(buildService()); 1058 o.add(buildService());
1059 o.add(buildService()); 1059 o.add(buildService());
1060 return o; 1060 return o;
1061 } 1061 }
1062 1062
1063 checkUnnamed3587(core.List<api.Service> o) { 1063 checkUnnamed3619(core.List<api.Service> o) {
1064 unittest.expect(o, unittest.hasLength(2)); 1064 unittest.expect(o, unittest.hasLength(2));
1065 checkService(o[0]); 1065 checkService(o[0]);
1066 checkService(o[1]); 1066 checkService(o[1]);
1067 } 1067 }
1068 1068
1069 core.int buildCounterListServicesResponse = 0; 1069 core.int buildCounterListServicesResponse = 0;
1070 buildListServicesResponse() { 1070 buildListServicesResponse() {
1071 var o = new api.ListServicesResponse(); 1071 var o = new api.ListServicesResponse();
1072 buildCounterListServicesResponse++; 1072 buildCounterListServicesResponse++;
1073 if (buildCounterListServicesResponse < 3) { 1073 if (buildCounterListServicesResponse < 3) {
1074 o.nextPageToken = "foo"; 1074 o.nextPageToken = "foo";
1075 o.services = buildUnnamed3587(); 1075 o.services = buildUnnamed3619();
1076 } 1076 }
1077 buildCounterListServicesResponse--; 1077 buildCounterListServicesResponse--;
1078 return o; 1078 return o;
1079 } 1079 }
1080 1080
1081 checkListServicesResponse(api.ListServicesResponse o) { 1081 checkListServicesResponse(api.ListServicesResponse o) {
1082 buildCounterListServicesResponse++; 1082 buildCounterListServicesResponse++;
1083 if (buildCounterListServicesResponse < 3) { 1083 if (buildCounterListServicesResponse < 3) {
1084 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1084 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1085 checkUnnamed3587(o.services); 1085 checkUnnamed3619(o.services);
1086 } 1086 }
1087 buildCounterListServicesResponse--; 1087 buildCounterListServicesResponse--;
1088 } 1088 }
1089 1089
1090 buildUnnamed3588() { 1090 buildUnnamed3620() {
1091 var o = new core.List<api.Version>(); 1091 var o = new core.List<api.Version>();
1092 o.add(buildVersion()); 1092 o.add(buildVersion());
1093 o.add(buildVersion()); 1093 o.add(buildVersion());
1094 return o; 1094 return o;
1095 } 1095 }
1096 1096
1097 checkUnnamed3588(core.List<api.Version> o) { 1097 checkUnnamed3620(core.List<api.Version> o) {
1098 unittest.expect(o, unittest.hasLength(2)); 1098 unittest.expect(o, unittest.hasLength(2));
1099 checkVersion(o[0]); 1099 checkVersion(o[0]);
1100 checkVersion(o[1]); 1100 checkVersion(o[1]);
1101 } 1101 }
1102 1102
1103 core.int buildCounterListVersionsResponse = 0; 1103 core.int buildCounterListVersionsResponse = 0;
1104 buildListVersionsResponse() { 1104 buildListVersionsResponse() {
1105 var o = new api.ListVersionsResponse(); 1105 var o = new api.ListVersionsResponse();
1106 buildCounterListVersionsResponse++; 1106 buildCounterListVersionsResponse++;
1107 if (buildCounterListVersionsResponse < 3) { 1107 if (buildCounterListVersionsResponse < 3) {
1108 o.nextPageToken = "foo"; 1108 o.nextPageToken = "foo";
1109 o.versions = buildUnnamed3588(); 1109 o.versions = buildUnnamed3620();
1110 } 1110 }
1111 buildCounterListVersionsResponse--; 1111 buildCounterListVersionsResponse--;
1112 return o; 1112 return o;
1113 } 1113 }
1114 1114
1115 checkListVersionsResponse(api.ListVersionsResponse o) { 1115 checkListVersionsResponse(api.ListVersionsResponse o) {
1116 buildCounterListVersionsResponse++; 1116 buildCounterListVersionsResponse++;
1117 if (buildCounterListVersionsResponse < 3) { 1117 if (buildCounterListVersionsResponse < 3) {
1118 unittest.expect(o.nextPageToken, unittest.equals('foo')); 1118 unittest.expect(o.nextPageToken, unittest.equals('foo'));
1119 checkUnnamed3588(o.versions); 1119 checkUnnamed3620(o.versions);
1120 } 1120 }
1121 buildCounterListVersionsResponse--; 1121 buildCounterListVersionsResponse--;
1122 } 1122 }
1123 1123
1124 core.int buildCounterLivenessCheck = 0; 1124 core.int buildCounterLivenessCheck = 0;
1125 buildLivenessCheck() { 1125 buildLivenessCheck() {
1126 var o = new api.LivenessCheck(); 1126 var o = new api.LivenessCheck();
1127 buildCounterLivenessCheck++; 1127 buildCounterLivenessCheck++;
1128 if (buildCounterLivenessCheck < 3) { 1128 if (buildCounterLivenessCheck < 3) {
1129 o.checkInterval = "foo"; 1129 o.checkInterval = "foo";
(...skipping 15 matching lines...) Expand all
1145 unittest.expect(o.failureThreshold, unittest.equals(42)); 1145 unittest.expect(o.failureThreshold, unittest.equals(42));
1146 unittest.expect(o.host, unittest.equals('foo')); 1146 unittest.expect(o.host, unittest.equals('foo'));
1147 unittest.expect(o.initialDelay, unittest.equals('foo')); 1147 unittest.expect(o.initialDelay, unittest.equals('foo'));
1148 unittest.expect(o.path, unittest.equals('foo')); 1148 unittest.expect(o.path, unittest.equals('foo'));
1149 unittest.expect(o.successThreshold, unittest.equals(42)); 1149 unittest.expect(o.successThreshold, unittest.equals(42));
1150 unittest.expect(o.timeout, unittest.equals('foo')); 1150 unittest.expect(o.timeout, unittest.equals('foo'));
1151 } 1151 }
1152 buildCounterLivenessCheck--; 1152 buildCounterLivenessCheck--;
1153 } 1153 }
1154 1154
1155 buildUnnamed3589() { 1155 buildUnnamed3621() {
1156 var o = new core.Map<core.String, core.String>(); 1156 var o = new core.Map<core.String, core.String>();
1157 o["x"] = "foo"; 1157 o["x"] = "foo";
1158 o["y"] = "foo"; 1158 o["y"] = "foo";
1159 return o; 1159 return o;
1160 } 1160 }
1161 1161
1162 checkUnnamed3589(core.Map<core.String, core.String> o) { 1162 checkUnnamed3621(core.Map<core.String, core.String> o) {
1163 unittest.expect(o, unittest.hasLength(2)); 1163 unittest.expect(o, unittest.hasLength(2));
1164 unittest.expect(o["x"], unittest.equals('foo')); 1164 unittest.expect(o["x"], unittest.equals('foo'));
1165 unittest.expect(o["y"], unittest.equals('foo')); 1165 unittest.expect(o["y"], unittest.equals('foo'));
1166 } 1166 }
1167 1167
1168 buildUnnamed3590() { 1168 buildUnnamed3622() {
1169 var o = new core.Map<core.String, core.Object>(); 1169 var o = new core.Map<core.String, core.Object>();
1170 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1170 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1171 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1171 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1172 return o; 1172 return o;
1173 } 1173 }
1174 1174
1175 checkUnnamed3590(core.Map<core.String, core.Object> o) { 1175 checkUnnamed3622(core.Map<core.String, core.Object> o) {
1176 unittest.expect(o, unittest.hasLength(2)); 1176 unittest.expect(o, unittest.hasLength(2));
1177 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); 1177 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
1178 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); 1178 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
1179 } 1179 }
1180 1180
1181 core.int buildCounterLocation = 0; 1181 core.int buildCounterLocation = 0;
1182 buildLocation() { 1182 buildLocation() {
1183 var o = new api.Location(); 1183 var o = new api.Location();
1184 buildCounterLocation++; 1184 buildCounterLocation++;
1185 if (buildCounterLocation < 3) { 1185 if (buildCounterLocation < 3) {
1186 o.labels = buildUnnamed3589(); 1186 o.labels = buildUnnamed3621();
1187 o.locationId = "foo"; 1187 o.locationId = "foo";
1188 o.metadata = buildUnnamed3590(); 1188 o.metadata = buildUnnamed3622();
1189 o.name = "foo"; 1189 o.name = "foo";
1190 } 1190 }
1191 buildCounterLocation--; 1191 buildCounterLocation--;
1192 return o; 1192 return o;
1193 } 1193 }
1194 1194
1195 checkLocation(api.Location o) { 1195 checkLocation(api.Location o) {
1196 buildCounterLocation++; 1196 buildCounterLocation++;
1197 if (buildCounterLocation < 3) { 1197 if (buildCounterLocation < 3) {
1198 checkUnnamed3589(o.labels); 1198 checkUnnamed3621(o.labels);
1199 unittest.expect(o.locationId, unittest.equals('foo')); 1199 unittest.expect(o.locationId, unittest.equals('foo'));
1200 checkUnnamed3590(o.metadata); 1200 checkUnnamed3622(o.metadata);
1201 unittest.expect(o.name, unittest.equals('foo')); 1201 unittest.expect(o.name, unittest.equals('foo'));
1202 } 1202 }
1203 buildCounterLocation--; 1203 buildCounterLocation--;
1204 } 1204 }
1205 1205
1206 core.int buildCounterLocationMetadata = 0; 1206 core.int buildCounterLocationMetadata = 0;
1207 buildLocationMetadata() { 1207 buildLocationMetadata() {
1208 var o = new api.LocationMetadata(); 1208 var o = new api.LocationMetadata();
1209 buildCounterLocationMetadata++; 1209 buildCounterLocationMetadata++;
1210 if (buildCounterLocationMetadata < 3) { 1210 if (buildCounterLocationMetadata < 3) {
(...skipping 25 matching lines...) Expand all
1236 } 1236 }
1237 1237
1238 checkManualScaling(api.ManualScaling o) { 1238 checkManualScaling(api.ManualScaling o) {
1239 buildCounterManualScaling++; 1239 buildCounterManualScaling++;
1240 if (buildCounterManualScaling < 3) { 1240 if (buildCounterManualScaling < 3) {
1241 unittest.expect(o.instances, unittest.equals(42)); 1241 unittest.expect(o.instances, unittest.equals(42));
1242 } 1242 }
1243 buildCounterManualScaling--; 1243 buildCounterManualScaling--;
1244 } 1244 }
1245 1245
1246 buildUnnamed3591() { 1246 buildUnnamed3623() {
1247 var o = new core.List<core.String>(); 1247 var o = new core.List<core.String>();
1248 o.add("foo"); 1248 o.add("foo");
1249 o.add("foo"); 1249 o.add("foo");
1250 return o; 1250 return o;
1251 } 1251 }
1252 1252
1253 checkUnnamed3591(core.List<core.String> o) { 1253 checkUnnamed3623(core.List<core.String> o) {
1254 unittest.expect(o, unittest.hasLength(2)); 1254 unittest.expect(o, unittest.hasLength(2));
1255 unittest.expect(o[0], unittest.equals('foo')); 1255 unittest.expect(o[0], unittest.equals('foo'));
1256 unittest.expect(o[1], unittest.equals('foo')); 1256 unittest.expect(o[1], unittest.equals('foo'));
1257 } 1257 }
1258 1258
1259 core.int buildCounterNetwork = 0; 1259 core.int buildCounterNetwork = 0;
1260 buildNetwork() { 1260 buildNetwork() {
1261 var o = new api.Network(); 1261 var o = new api.Network();
1262 buildCounterNetwork++; 1262 buildCounterNetwork++;
1263 if (buildCounterNetwork < 3) { 1263 if (buildCounterNetwork < 3) {
1264 o.forwardedPorts = buildUnnamed3591(); 1264 o.forwardedPorts = buildUnnamed3623();
1265 o.instanceTag = "foo"; 1265 o.instanceTag = "foo";
1266 o.name = "foo"; 1266 o.name = "foo";
1267 o.subnetworkName = "foo"; 1267 o.subnetworkName = "foo";
1268 } 1268 }
1269 buildCounterNetwork--; 1269 buildCounterNetwork--;
1270 return o; 1270 return o;
1271 } 1271 }
1272 1272
1273 checkNetwork(api.Network o) { 1273 checkNetwork(api.Network o) {
1274 buildCounterNetwork++; 1274 buildCounterNetwork++;
1275 if (buildCounterNetwork < 3) { 1275 if (buildCounterNetwork < 3) {
1276 checkUnnamed3591(o.forwardedPorts); 1276 checkUnnamed3623(o.forwardedPorts);
1277 unittest.expect(o.instanceTag, unittest.equals('foo')); 1277 unittest.expect(o.instanceTag, unittest.equals('foo'));
1278 unittest.expect(o.name, unittest.equals('foo')); 1278 unittest.expect(o.name, unittest.equals('foo'));
1279 unittest.expect(o.subnetworkName, unittest.equals('foo')); 1279 unittest.expect(o.subnetworkName, unittest.equals('foo'));
1280 } 1280 }
1281 buildCounterNetwork--; 1281 buildCounterNetwork--;
1282 } 1282 }
1283 1283
1284 core.int buildCounterNetworkUtilization = 0; 1284 core.int buildCounterNetworkUtilization = 0;
1285 buildNetworkUtilization() { 1285 buildNetworkUtilization() {
1286 var o = new api.NetworkUtilization(); 1286 var o = new api.NetworkUtilization();
(...skipping 12 matching lines...) Expand all
1299 buildCounterNetworkUtilization++; 1299 buildCounterNetworkUtilization++;
1300 if (buildCounterNetworkUtilization < 3) { 1300 if (buildCounterNetworkUtilization < 3) {
1301 unittest.expect(o.targetReceivedBytesPerSecond, unittest.equals(42)); 1301 unittest.expect(o.targetReceivedBytesPerSecond, unittest.equals(42));
1302 unittest.expect(o.targetReceivedPacketsPerSecond, unittest.equals(42)); 1302 unittest.expect(o.targetReceivedPacketsPerSecond, unittest.equals(42));
1303 unittest.expect(o.targetSentBytesPerSecond, unittest.equals(42)); 1303 unittest.expect(o.targetSentBytesPerSecond, unittest.equals(42));
1304 unittest.expect(o.targetSentPacketsPerSecond, unittest.equals(42)); 1304 unittest.expect(o.targetSentPacketsPerSecond, unittest.equals(42));
1305 } 1305 }
1306 buildCounterNetworkUtilization--; 1306 buildCounterNetworkUtilization--;
1307 } 1307 }
1308 1308
1309 buildUnnamed3592() { 1309 buildUnnamed3624() {
1310 var o = new core.Map<core.String, core.Object>(); 1310 var o = new core.Map<core.String, core.Object>();
1311 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1311 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1312 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1312 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1313 return o; 1313 return o;
1314 } 1314 }
1315 1315
1316 checkUnnamed3592(core.Map<core.String, core.Object> o) { 1316 checkUnnamed3624(core.Map<core.String, core.Object> o) {
1317 unittest.expect(o, unittest.hasLength(2)); 1317 unittest.expect(o, unittest.hasLength(2));
1318 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo')); 1318 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
1319 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo')); 1319 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
1320 } 1320 }
1321 1321
1322 buildUnnamed3593() { 1322 buildUnnamed3625() {
1323 var o = new core.Map<core.String, core.Object>(); 1323 var o = new core.Map<core.String, core.Object>();
1324 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1324 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1325 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1325 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1326 return o; 1326 return o;
1327 } 1327 }
1328 1328
1329 checkUnnamed3593(core.Map<core.String, core.Object> o) { 1329 checkUnnamed3625(core.Map<core.String, core.Object> o) {
1330 unittest.expect(o, unittest.hasLength(2)); 1330 unittest.expect(o, unittest.hasLength(2));
1331 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo')); 1331 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
1332 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo')); 1332 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
1333 } 1333 }
1334 1334
1335 core.int buildCounterOperation = 0; 1335 core.int buildCounterOperation = 0;
1336 buildOperation() { 1336 buildOperation() {
1337 var o = new api.Operation(); 1337 var o = new api.Operation();
1338 buildCounterOperation++; 1338 buildCounterOperation++;
1339 if (buildCounterOperation < 3) { 1339 if (buildCounterOperation < 3) {
1340 o.done = true; 1340 o.done = true;
1341 o.error = buildStatus(); 1341 o.error = buildStatus();
1342 o.metadata = buildUnnamed3592(); 1342 o.metadata = buildUnnamed3624();
1343 o.name = "foo"; 1343 o.name = "foo";
1344 o.response = buildUnnamed3593(); 1344 o.response = buildUnnamed3625();
1345 } 1345 }
1346 buildCounterOperation--; 1346 buildCounterOperation--;
1347 return o; 1347 return o;
1348 } 1348 }
1349 1349
1350 checkOperation(api.Operation o) { 1350 checkOperation(api.Operation o) {
1351 buildCounterOperation++; 1351 buildCounterOperation++;
1352 if (buildCounterOperation < 3) { 1352 if (buildCounterOperation < 3) {
1353 unittest.expect(o.done, unittest.isTrue); 1353 unittest.expect(o.done, unittest.isTrue);
1354 checkStatus(o.error); 1354 checkStatus(o.error);
1355 checkUnnamed3592(o.metadata); 1355 checkUnnamed3624(o.metadata);
1356 unittest.expect(o.name, unittest.equals('foo')); 1356 unittest.expect(o.name, unittest.equals('foo'));
1357 checkUnnamed3593(o.response); 1357 checkUnnamed3625(o.response);
1358 } 1358 }
1359 buildCounterOperation--; 1359 buildCounterOperation--;
1360 } 1360 }
1361 1361
1362 core.int buildCounterOperationMetadata = 0; 1362 core.int buildCounterOperationMetadata = 0;
1363 buildOperationMetadata() { 1363 buildOperationMetadata() {
1364 var o = new api.OperationMetadata(); 1364 var o = new api.OperationMetadata();
1365 buildCounterOperationMetadata++; 1365 buildCounterOperationMetadata++;
1366 if (buildCounterOperationMetadata < 3) { 1366 if (buildCounterOperationMetadata < 3) {
1367 o.endTime = "foo"; 1367 o.endTime = "foo";
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1408 if (buildCounterOperationMetadataExperimental < 3) { 1408 if (buildCounterOperationMetadataExperimental < 3) {
1409 unittest.expect(o.endTime, unittest.equals('foo')); 1409 unittest.expect(o.endTime, unittest.equals('foo'));
1410 unittest.expect(o.insertTime, unittest.equals('foo')); 1410 unittest.expect(o.insertTime, unittest.equals('foo'));
1411 unittest.expect(o.method, unittest.equals('foo')); 1411 unittest.expect(o.method, unittest.equals('foo'));
1412 unittest.expect(o.target, unittest.equals('foo')); 1412 unittest.expect(o.target, unittest.equals('foo'));
1413 unittest.expect(o.user, unittest.equals('foo')); 1413 unittest.expect(o.user, unittest.equals('foo'));
1414 } 1414 }
1415 buildCounterOperationMetadataExperimental--; 1415 buildCounterOperationMetadataExperimental--;
1416 } 1416 }
1417 1417
1418 buildUnnamed3594() { 1418 buildUnnamed3626() {
1419 var o = new core.List<core.String>(); 1419 var o = new core.List<core.String>();
1420 o.add("foo"); 1420 o.add("foo");
1421 o.add("foo"); 1421 o.add("foo");
1422 return o; 1422 return o;
1423 } 1423 }
1424 1424
1425 checkUnnamed3594(core.List<core.String> o) { 1425 checkUnnamed3626(core.List<core.String> o) {
1426 unittest.expect(o, unittest.hasLength(2)); 1426 unittest.expect(o, unittest.hasLength(2));
1427 unittest.expect(o[0], unittest.equals('foo')); 1427 unittest.expect(o[0], unittest.equals('foo'));
1428 unittest.expect(o[1], unittest.equals('foo')); 1428 unittest.expect(o[1], unittest.equals('foo'));
1429 } 1429 }
1430 1430
1431 core.int buildCounterOperationMetadataV1 = 0; 1431 core.int buildCounterOperationMetadataV1 = 0;
1432 buildOperationMetadataV1() { 1432 buildOperationMetadataV1() {
1433 var o = new api.OperationMetadataV1(); 1433 var o = new api.OperationMetadataV1();
1434 buildCounterOperationMetadataV1++; 1434 buildCounterOperationMetadataV1++;
1435 if (buildCounterOperationMetadataV1 < 3) { 1435 if (buildCounterOperationMetadataV1 < 3) {
1436 o.endTime = "foo"; 1436 o.endTime = "foo";
1437 o.ephemeralMessage = "foo"; 1437 o.ephemeralMessage = "foo";
1438 o.insertTime = "foo"; 1438 o.insertTime = "foo";
1439 o.method = "foo"; 1439 o.method = "foo";
1440 o.target = "foo"; 1440 o.target = "foo";
1441 o.user = "foo"; 1441 o.user = "foo";
1442 o.warning = buildUnnamed3594(); 1442 o.warning = buildUnnamed3626();
1443 } 1443 }
1444 buildCounterOperationMetadataV1--; 1444 buildCounterOperationMetadataV1--;
1445 return o; 1445 return o;
1446 } 1446 }
1447 1447
1448 checkOperationMetadataV1(api.OperationMetadataV1 o) { 1448 checkOperationMetadataV1(api.OperationMetadataV1 o) {
1449 buildCounterOperationMetadataV1++; 1449 buildCounterOperationMetadataV1++;
1450 if (buildCounterOperationMetadataV1 < 3) { 1450 if (buildCounterOperationMetadataV1 < 3) {
1451 unittest.expect(o.endTime, unittest.equals('foo')); 1451 unittest.expect(o.endTime, unittest.equals('foo'));
1452 unittest.expect(o.ephemeralMessage, unittest.equals('foo')); 1452 unittest.expect(o.ephemeralMessage, unittest.equals('foo'));
1453 unittest.expect(o.insertTime, unittest.equals('foo')); 1453 unittest.expect(o.insertTime, unittest.equals('foo'));
1454 unittest.expect(o.method, unittest.equals('foo')); 1454 unittest.expect(o.method, unittest.equals('foo'));
1455 unittest.expect(o.target, unittest.equals('foo')); 1455 unittest.expect(o.target, unittest.equals('foo'));
1456 unittest.expect(o.user, unittest.equals('foo')); 1456 unittest.expect(o.user, unittest.equals('foo'));
1457 checkUnnamed3594(o.warning); 1457 checkUnnamed3626(o.warning);
1458 } 1458 }
1459 buildCounterOperationMetadataV1--; 1459 buildCounterOperationMetadataV1--;
1460 } 1460 }
1461 1461
1462 buildUnnamed3595() { 1462 buildUnnamed3627() {
1463 var o = new core.List<core.String>(); 1463 var o = new core.List<core.String>();
1464 o.add("foo"); 1464 o.add("foo");
1465 o.add("foo"); 1465 o.add("foo");
1466 return o; 1466 return o;
1467 } 1467 }
1468 1468
1469 checkUnnamed3595(core.List<core.String> o) { 1469 checkUnnamed3627(core.List<core.String> o) {
1470 unittest.expect(o, unittest.hasLength(2)); 1470 unittest.expect(o, unittest.hasLength(2));
1471 unittest.expect(o[0], unittest.equals('foo')); 1471 unittest.expect(o[0], unittest.equals('foo'));
1472 unittest.expect(o[1], unittest.equals('foo')); 1472 unittest.expect(o[1], unittest.equals('foo'));
1473 } 1473 }
1474 1474
1475 core.int buildCounterOperationMetadataV1Alpha = 0; 1475 core.int buildCounterOperationMetadataV1Alpha = 0;
1476 buildOperationMetadataV1Alpha() { 1476 buildOperationMetadataV1Alpha() {
1477 var o = new api.OperationMetadataV1Alpha(); 1477 var o = new api.OperationMetadataV1Alpha();
1478 buildCounterOperationMetadataV1Alpha++; 1478 buildCounterOperationMetadataV1Alpha++;
1479 if (buildCounterOperationMetadataV1Alpha < 3) { 1479 if (buildCounterOperationMetadataV1Alpha < 3) {
1480 o.endTime = "foo"; 1480 o.endTime = "foo";
1481 o.ephemeralMessage = "foo"; 1481 o.ephemeralMessage = "foo";
1482 o.insertTime = "foo"; 1482 o.insertTime = "foo";
1483 o.method = "foo"; 1483 o.method = "foo";
1484 o.target = "foo"; 1484 o.target = "foo";
1485 o.user = "foo"; 1485 o.user = "foo";
1486 o.warning = buildUnnamed3595(); 1486 o.warning = buildUnnamed3627();
1487 } 1487 }
1488 buildCounterOperationMetadataV1Alpha--; 1488 buildCounterOperationMetadataV1Alpha--;
1489 return o; 1489 return o;
1490 } 1490 }
1491 1491
1492 checkOperationMetadataV1Alpha(api.OperationMetadataV1Alpha o) { 1492 checkOperationMetadataV1Alpha(api.OperationMetadataV1Alpha o) {
1493 buildCounterOperationMetadataV1Alpha++; 1493 buildCounterOperationMetadataV1Alpha++;
1494 if (buildCounterOperationMetadataV1Alpha < 3) { 1494 if (buildCounterOperationMetadataV1Alpha < 3) {
1495 unittest.expect(o.endTime, unittest.equals('foo')); 1495 unittest.expect(o.endTime, unittest.equals('foo'));
1496 unittest.expect(o.ephemeralMessage, unittest.equals('foo')); 1496 unittest.expect(o.ephemeralMessage, unittest.equals('foo'));
1497 unittest.expect(o.insertTime, unittest.equals('foo')); 1497 unittest.expect(o.insertTime, unittest.equals('foo'));
1498 unittest.expect(o.method, unittest.equals('foo')); 1498 unittest.expect(o.method, unittest.equals('foo'));
1499 unittest.expect(o.target, unittest.equals('foo')); 1499 unittest.expect(o.target, unittest.equals('foo'));
1500 unittest.expect(o.user, unittest.equals('foo')); 1500 unittest.expect(o.user, unittest.equals('foo'));
1501 checkUnnamed3595(o.warning); 1501 checkUnnamed3627(o.warning);
1502 } 1502 }
1503 buildCounterOperationMetadataV1Alpha--; 1503 buildCounterOperationMetadataV1Alpha--;
1504 } 1504 }
1505 1505
1506 buildUnnamed3596() { 1506 buildUnnamed3628() {
1507 var o = new core.List<core.String>(); 1507 var o = new core.List<core.String>();
1508 o.add("foo"); 1508 o.add("foo");
1509 o.add("foo"); 1509 o.add("foo");
1510 return o; 1510 return o;
1511 } 1511 }
1512 1512
1513 checkUnnamed3596(core.List<core.String> o) { 1513 checkUnnamed3628(core.List<core.String> o) {
1514 unittest.expect(o, unittest.hasLength(2)); 1514 unittest.expect(o, unittest.hasLength(2));
1515 unittest.expect(o[0], unittest.equals('foo')); 1515 unittest.expect(o[0], unittest.equals('foo'));
1516 unittest.expect(o[1], unittest.equals('foo')); 1516 unittest.expect(o[1], unittest.equals('foo'));
1517 } 1517 }
1518 1518
1519 core.int buildCounterOperationMetadataV1Beta = 0; 1519 core.int buildCounterOperationMetadataV1Beta = 0;
1520 buildOperationMetadataV1Beta() { 1520 buildOperationMetadataV1Beta() {
1521 var o = new api.OperationMetadataV1Beta(); 1521 var o = new api.OperationMetadataV1Beta();
1522 buildCounterOperationMetadataV1Beta++; 1522 buildCounterOperationMetadataV1Beta++;
1523 if (buildCounterOperationMetadataV1Beta < 3) { 1523 if (buildCounterOperationMetadataV1Beta < 3) {
1524 o.endTime = "foo"; 1524 o.endTime = "foo";
1525 o.ephemeralMessage = "foo"; 1525 o.ephemeralMessage = "foo";
1526 o.insertTime = "foo"; 1526 o.insertTime = "foo";
1527 o.method = "foo"; 1527 o.method = "foo";
1528 o.target = "foo"; 1528 o.target = "foo";
1529 o.user = "foo"; 1529 o.user = "foo";
1530 o.warning = buildUnnamed3596(); 1530 o.warning = buildUnnamed3628();
1531 } 1531 }
1532 buildCounterOperationMetadataV1Beta--; 1532 buildCounterOperationMetadataV1Beta--;
1533 return o; 1533 return o;
1534 } 1534 }
1535 1535
1536 checkOperationMetadataV1Beta(api.OperationMetadataV1Beta o) { 1536 checkOperationMetadataV1Beta(api.OperationMetadataV1Beta o) {
1537 buildCounterOperationMetadataV1Beta++; 1537 buildCounterOperationMetadataV1Beta++;
1538 if (buildCounterOperationMetadataV1Beta < 3) { 1538 if (buildCounterOperationMetadataV1Beta < 3) {
1539 unittest.expect(o.endTime, unittest.equals('foo')); 1539 unittest.expect(o.endTime, unittest.equals('foo'));
1540 unittest.expect(o.ephemeralMessage, unittest.equals('foo')); 1540 unittest.expect(o.ephemeralMessage, unittest.equals('foo'));
1541 unittest.expect(o.insertTime, unittest.equals('foo')); 1541 unittest.expect(o.insertTime, unittest.equals('foo'));
1542 unittest.expect(o.method, unittest.equals('foo')); 1542 unittest.expect(o.method, unittest.equals('foo'));
1543 unittest.expect(o.target, unittest.equals('foo')); 1543 unittest.expect(o.target, unittest.equals('foo'));
1544 unittest.expect(o.user, unittest.equals('foo')); 1544 unittest.expect(o.user, unittest.equals('foo'));
1545 checkUnnamed3596(o.warning); 1545 checkUnnamed3628(o.warning);
1546 } 1546 }
1547 buildCounterOperationMetadataV1Beta--; 1547 buildCounterOperationMetadataV1Beta--;
1548 } 1548 }
1549 1549
1550 core.int buildCounterOperationMetadataV1Beta5 = 0; 1550 core.int buildCounterOperationMetadataV1Beta5 = 0;
1551 buildOperationMetadataV1Beta5() { 1551 buildOperationMetadataV1Beta5() {
1552 var o = new api.OperationMetadataV1Beta5(); 1552 var o = new api.OperationMetadataV1Beta5();
1553 buildCounterOperationMetadataV1Beta5++; 1553 buildCounterOperationMetadataV1Beta5++;
1554 if (buildCounterOperationMetadataV1Beta5 < 3) { 1554 if (buildCounterOperationMetadataV1Beta5 < 3) {
1555 o.endTime = "foo"; 1555 o.endTime = "foo";
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1659 checkResourceRecord(api.ResourceRecord o) { 1659 checkResourceRecord(api.ResourceRecord o) {
1660 buildCounterResourceRecord++; 1660 buildCounterResourceRecord++;
1661 if (buildCounterResourceRecord < 3) { 1661 if (buildCounterResourceRecord < 3) {
1662 unittest.expect(o.name, unittest.equals('foo')); 1662 unittest.expect(o.name, unittest.equals('foo'));
1663 unittest.expect(o.rrdata, unittest.equals('foo')); 1663 unittest.expect(o.rrdata, unittest.equals('foo'));
1664 unittest.expect(o.type, unittest.equals('foo')); 1664 unittest.expect(o.type, unittest.equals('foo'));
1665 } 1665 }
1666 buildCounterResourceRecord--; 1666 buildCounterResourceRecord--;
1667 } 1667 }
1668 1668
1669 buildUnnamed3597() { 1669 buildUnnamed3629() {
1670 var o = new core.List<api.Volume>(); 1670 var o = new core.List<api.Volume>();
1671 o.add(buildVolume()); 1671 o.add(buildVolume());
1672 o.add(buildVolume()); 1672 o.add(buildVolume());
1673 return o; 1673 return o;
1674 } 1674 }
1675 1675
1676 checkUnnamed3597(core.List<api.Volume> o) { 1676 checkUnnamed3629(core.List<api.Volume> o) {
1677 unittest.expect(o, unittest.hasLength(2)); 1677 unittest.expect(o, unittest.hasLength(2));
1678 checkVolume(o[0]); 1678 checkVolume(o[0]);
1679 checkVolume(o[1]); 1679 checkVolume(o[1]);
1680 } 1680 }
1681 1681
1682 core.int buildCounterResources = 0; 1682 core.int buildCounterResources = 0;
1683 buildResources() { 1683 buildResources() {
1684 var o = new api.Resources(); 1684 var o = new api.Resources();
1685 buildCounterResources++; 1685 buildCounterResources++;
1686 if (buildCounterResources < 3) { 1686 if (buildCounterResources < 3) {
1687 o.cpu = 42.0; 1687 o.cpu = 42.0;
1688 o.diskGb = 42.0; 1688 o.diskGb = 42.0;
1689 o.memoryGb = 42.0; 1689 o.memoryGb = 42.0;
1690 o.volumes = buildUnnamed3597(); 1690 o.volumes = buildUnnamed3629();
1691 } 1691 }
1692 buildCounterResources--; 1692 buildCounterResources--;
1693 return o; 1693 return o;
1694 } 1694 }
1695 1695
1696 checkResources(api.Resources o) { 1696 checkResources(api.Resources o) {
1697 buildCounterResources++; 1697 buildCounterResources++;
1698 if (buildCounterResources < 3) { 1698 if (buildCounterResources < 3) {
1699 unittest.expect(o.cpu, unittest.equals(42.0)); 1699 unittest.expect(o.cpu, unittest.equals(42.0));
1700 unittest.expect(o.diskGb, unittest.equals(42.0)); 1700 unittest.expect(o.diskGb, unittest.equals(42.0));
1701 unittest.expect(o.memoryGb, unittest.equals(42.0)); 1701 unittest.expect(o.memoryGb, unittest.equals(42.0));
1702 checkUnnamed3597(o.volumes); 1702 checkUnnamed3629(o.volumes);
1703 } 1703 }
1704 buildCounterResources--; 1704 buildCounterResources--;
1705 } 1705 }
1706 1706
1707 core.int buildCounterScriptHandler = 0; 1707 core.int buildCounterScriptHandler = 0;
1708 buildScriptHandler() { 1708 buildScriptHandler() {
1709 var o = new api.ScriptHandler(); 1709 var o = new api.ScriptHandler();
1710 buildCounterScriptHandler++; 1710 buildCounterScriptHandler++;
1711 if (buildCounterScriptHandler < 3) { 1711 if (buildCounterScriptHandler < 3) {
1712 o.scriptPath = "foo"; 1712 o.scriptPath = "foo";
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1783 buildCounterStandardSchedulerSettings++; 1783 buildCounterStandardSchedulerSettings++;
1784 if (buildCounterStandardSchedulerSettings < 3) { 1784 if (buildCounterStandardSchedulerSettings < 3) {
1785 unittest.expect(o.maxInstances, unittest.equals(42)); 1785 unittest.expect(o.maxInstances, unittest.equals(42));
1786 unittest.expect(o.minInstances, unittest.equals(42)); 1786 unittest.expect(o.minInstances, unittest.equals(42));
1787 unittest.expect(o.targetCpuUtilization, unittest.equals(42.0)); 1787 unittest.expect(o.targetCpuUtilization, unittest.equals(42.0));
1788 unittest.expect(o.targetThroughputUtilization, unittest.equals(42.0)); 1788 unittest.expect(o.targetThroughputUtilization, unittest.equals(42.0));
1789 } 1789 }
1790 buildCounterStandardSchedulerSettings--; 1790 buildCounterStandardSchedulerSettings--;
1791 } 1791 }
1792 1792
1793 buildUnnamed3598() { 1793 buildUnnamed3630() {
1794 var o = new core.Map<core.String, core.String>(); 1794 var o = new core.Map<core.String, core.String>();
1795 o["x"] = "foo"; 1795 o["x"] = "foo";
1796 o["y"] = "foo"; 1796 o["y"] = "foo";
1797 return o; 1797 return o;
1798 } 1798 }
1799 1799
1800 checkUnnamed3598(core.Map<core.String, core.String> o) { 1800 checkUnnamed3630(core.Map<core.String, core.String> o) {
1801 unittest.expect(o, unittest.hasLength(2)); 1801 unittest.expect(o, unittest.hasLength(2));
1802 unittest.expect(o["x"], unittest.equals('foo')); 1802 unittest.expect(o["x"], unittest.equals('foo'));
1803 unittest.expect(o["y"], unittest.equals('foo')); 1803 unittest.expect(o["y"], unittest.equals('foo'));
1804 } 1804 }
1805 1805
1806 core.int buildCounterStaticFilesHandler = 0; 1806 core.int buildCounterStaticFilesHandler = 0;
1807 buildStaticFilesHandler() { 1807 buildStaticFilesHandler() {
1808 var o = new api.StaticFilesHandler(); 1808 var o = new api.StaticFilesHandler();
1809 buildCounterStaticFilesHandler++; 1809 buildCounterStaticFilesHandler++;
1810 if (buildCounterStaticFilesHandler < 3) { 1810 if (buildCounterStaticFilesHandler < 3) {
1811 o.applicationReadable = true; 1811 o.applicationReadable = true;
1812 o.expiration = "foo"; 1812 o.expiration = "foo";
1813 o.httpHeaders = buildUnnamed3598(); 1813 o.httpHeaders = buildUnnamed3630();
1814 o.mimeType = "foo"; 1814 o.mimeType = "foo";
1815 o.path = "foo"; 1815 o.path = "foo";
1816 o.requireMatchingFile = true; 1816 o.requireMatchingFile = true;
1817 o.uploadPathRegex = "foo"; 1817 o.uploadPathRegex = "foo";
1818 } 1818 }
1819 buildCounterStaticFilesHandler--; 1819 buildCounterStaticFilesHandler--;
1820 return o; 1820 return o;
1821 } 1821 }
1822 1822
1823 checkStaticFilesHandler(api.StaticFilesHandler o) { 1823 checkStaticFilesHandler(api.StaticFilesHandler o) {
1824 buildCounterStaticFilesHandler++; 1824 buildCounterStaticFilesHandler++;
1825 if (buildCounterStaticFilesHandler < 3) { 1825 if (buildCounterStaticFilesHandler < 3) {
1826 unittest.expect(o.applicationReadable, unittest.isTrue); 1826 unittest.expect(o.applicationReadable, unittest.isTrue);
1827 unittest.expect(o.expiration, unittest.equals('foo')); 1827 unittest.expect(o.expiration, unittest.equals('foo'));
1828 checkUnnamed3598(o.httpHeaders); 1828 checkUnnamed3630(o.httpHeaders);
1829 unittest.expect(o.mimeType, unittest.equals('foo')); 1829 unittest.expect(o.mimeType, unittest.equals('foo'));
1830 unittest.expect(o.path, unittest.equals('foo')); 1830 unittest.expect(o.path, unittest.equals('foo'));
1831 unittest.expect(o.requireMatchingFile, unittest.isTrue); 1831 unittest.expect(o.requireMatchingFile, unittest.isTrue);
1832 unittest.expect(o.uploadPathRegex, unittest.equals('foo')); 1832 unittest.expect(o.uploadPathRegex, unittest.equals('foo'));
1833 } 1833 }
1834 buildCounterStaticFilesHandler--; 1834 buildCounterStaticFilesHandler--;
1835 } 1835 }
1836 1836
1837 buildUnnamed3599() { 1837 buildUnnamed3631() {
1838 var o = new core.Map<core.String, core.Object>(); 1838 var o = new core.Map<core.String, core.Object>();
1839 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1839 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1840 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1840 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1841 return o; 1841 return o;
1842 } 1842 }
1843 1843
1844 checkUnnamed3599(core.Map<core.String, core.Object> o) { 1844 checkUnnamed3631(core.Map<core.String, core.Object> o) {
1845 unittest.expect(o, unittest.hasLength(2)); 1845 unittest.expect(o, unittest.hasLength(2));
1846 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo')); 1846 var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLengt h(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
1847 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo')); 1847 var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLengt h(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
1848 } 1848 }
1849 1849
1850 buildUnnamed3600() { 1850 buildUnnamed3632() {
1851 var o = new core.List<core.Map<core.String, core.Object>>(); 1851 var o = new core.List<core.Map<core.String, core.Object>>();
1852 o.add(buildUnnamed3599()); 1852 o.add(buildUnnamed3631());
1853 o.add(buildUnnamed3599()); 1853 o.add(buildUnnamed3631());
1854 return o; 1854 return o;
1855 } 1855 }
1856 1856
1857 checkUnnamed3600(core.List<core.Map<core.String, core.Object>> o) { 1857 checkUnnamed3632(core.List<core.Map<core.String, core.Object>> o) {
1858 unittest.expect(o, unittest.hasLength(2)); 1858 unittest.expect(o, unittest.hasLength(2));
1859 checkUnnamed3599(o[0]); 1859 checkUnnamed3631(o[0]);
1860 checkUnnamed3599(o[1]); 1860 checkUnnamed3631(o[1]);
1861 } 1861 }
1862 1862
1863 core.int buildCounterStatus = 0; 1863 core.int buildCounterStatus = 0;
1864 buildStatus() { 1864 buildStatus() {
1865 var o = new api.Status(); 1865 var o = new api.Status();
1866 buildCounterStatus++; 1866 buildCounterStatus++;
1867 if (buildCounterStatus < 3) { 1867 if (buildCounterStatus < 3) {
1868 o.code = 42; 1868 o.code = 42;
1869 o.details = buildUnnamed3600(); 1869 o.details = buildUnnamed3632();
1870 o.message = "foo"; 1870 o.message = "foo";
1871 } 1871 }
1872 buildCounterStatus--; 1872 buildCounterStatus--;
1873 return o; 1873 return o;
1874 } 1874 }
1875 1875
1876 checkStatus(api.Status o) { 1876 checkStatus(api.Status o) {
1877 buildCounterStatus++; 1877 buildCounterStatus++;
1878 if (buildCounterStatus < 3) { 1878 if (buildCounterStatus < 3) {
1879 unittest.expect(o.code, unittest.equals(42)); 1879 unittest.expect(o.code, unittest.equals(42));
1880 checkUnnamed3600(o.details); 1880 checkUnnamed3632(o.details);
1881 unittest.expect(o.message, unittest.equals('foo')); 1881 unittest.expect(o.message, unittest.equals('foo'));
1882 } 1882 }
1883 buildCounterStatus--; 1883 buildCounterStatus--;
1884 } 1884 }
1885 1885
1886 buildUnnamed3601() { 1886 buildUnnamed3633() {
1887 var o = new core.Map<core.String, core.double>(); 1887 var o = new core.Map<core.String, core.double>();
1888 o["x"] = 42.0; 1888 o["x"] = 42.0;
1889 o["y"] = 42.0; 1889 o["y"] = 42.0;
1890 return o; 1890 return o;
1891 } 1891 }
1892 1892
1893 checkUnnamed3601(core.Map<core.String, core.double> o) { 1893 checkUnnamed3633(core.Map<core.String, core.double> o) {
1894 unittest.expect(o, unittest.hasLength(2)); 1894 unittest.expect(o, unittest.hasLength(2));
1895 unittest.expect(o["x"], unittest.equals(42.0)); 1895 unittest.expect(o["x"], unittest.equals(42.0));
1896 unittest.expect(o["y"], unittest.equals(42.0)); 1896 unittest.expect(o["y"], unittest.equals(42.0));
1897 } 1897 }
1898 1898
1899 core.int buildCounterTrafficSplit = 0; 1899 core.int buildCounterTrafficSplit = 0;
1900 buildTrafficSplit() { 1900 buildTrafficSplit() {
1901 var o = new api.TrafficSplit(); 1901 var o = new api.TrafficSplit();
1902 buildCounterTrafficSplit++; 1902 buildCounterTrafficSplit++;
1903 if (buildCounterTrafficSplit < 3) { 1903 if (buildCounterTrafficSplit < 3) {
1904 o.allocations = buildUnnamed3601(); 1904 o.allocations = buildUnnamed3633();
1905 o.shardBy = "foo"; 1905 o.shardBy = "foo";
1906 } 1906 }
1907 buildCounterTrafficSplit--; 1907 buildCounterTrafficSplit--;
1908 return o; 1908 return o;
1909 } 1909 }
1910 1910
1911 checkTrafficSplit(api.TrafficSplit o) { 1911 checkTrafficSplit(api.TrafficSplit o) {
1912 buildCounterTrafficSplit++; 1912 buildCounterTrafficSplit++;
1913 if (buildCounterTrafficSplit < 3) { 1913 if (buildCounterTrafficSplit < 3) {
1914 checkUnnamed3601(o.allocations); 1914 checkUnnamed3633(o.allocations);
1915 unittest.expect(o.shardBy, unittest.equals('foo')); 1915 unittest.expect(o.shardBy, unittest.equals('foo'));
1916 } 1916 }
1917 buildCounterTrafficSplit--; 1917 buildCounterTrafficSplit--;
1918 } 1918 }
1919 1919
1920 core.int buildCounterUrlDispatchRule = 0; 1920 core.int buildCounterUrlDispatchRule = 0;
1921 buildUrlDispatchRule() { 1921 buildUrlDispatchRule() {
1922 var o = new api.UrlDispatchRule(); 1922 var o = new api.UrlDispatchRule();
1923 buildCounterUrlDispatchRule++; 1923 buildCounterUrlDispatchRule++;
1924 if (buildCounterUrlDispatchRule < 3) { 1924 if (buildCounterUrlDispatchRule < 3) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
1966 unittest.expect(o.login, unittest.equals('foo')); 1966 unittest.expect(o.login, unittest.equals('foo'));
1967 unittest.expect(o.redirectHttpResponseCode, unittest.equals('foo')); 1967 unittest.expect(o.redirectHttpResponseCode, unittest.equals('foo'));
1968 checkScriptHandler(o.script); 1968 checkScriptHandler(o.script);
1969 unittest.expect(o.securityLevel, unittest.equals('foo')); 1969 unittest.expect(o.securityLevel, unittest.equals('foo'));
1970 checkStaticFilesHandler(o.staticFiles); 1970 checkStaticFilesHandler(o.staticFiles);
1971 unittest.expect(o.urlRegex, unittest.equals('foo')); 1971 unittest.expect(o.urlRegex, unittest.equals('foo'));
1972 } 1972 }
1973 buildCounterUrlMap--; 1973 buildCounterUrlMap--;
1974 } 1974 }
1975 1975
1976 buildUnnamed3602() { 1976 buildUnnamed3634() {
1977 var o = new core.Map<core.String, core.String>(); 1977 var o = new core.Map<core.String, core.String>();
1978 o["x"] = "foo"; 1978 o["x"] = "foo";
1979 o["y"] = "foo"; 1979 o["y"] = "foo";
1980 return o; 1980 return o;
1981 } 1981 }
1982 1982
1983 checkUnnamed3602(core.Map<core.String, core.String> o) { 1983 checkUnnamed3634(core.Map<core.String, core.String> o) {
1984 unittest.expect(o, unittest.hasLength(2)); 1984 unittest.expect(o, unittest.hasLength(2));
1985 unittest.expect(o["x"], unittest.equals('foo')); 1985 unittest.expect(o["x"], unittest.equals('foo'));
1986 unittest.expect(o["y"], unittest.equals('foo')); 1986 unittest.expect(o["y"], unittest.equals('foo'));
1987 } 1987 }
1988 1988
1989 buildUnnamed3603() { 1989 buildUnnamed3635() {
1990 var o = new core.Map<core.String, core.String>(); 1990 var o = new core.Map<core.String, core.String>();
1991 o["x"] = "foo"; 1991 o["x"] = "foo";
1992 o["y"] = "foo"; 1992 o["y"] = "foo";
1993 return o; 1993 return o;
1994 } 1994 }
1995 1995
1996 checkUnnamed3603(core.Map<core.String, core.String> o) { 1996 checkUnnamed3635(core.Map<core.String, core.String> o) {
1997 unittest.expect(o, unittest.hasLength(2)); 1997 unittest.expect(o, unittest.hasLength(2));
1998 unittest.expect(o["x"], unittest.equals('foo')); 1998 unittest.expect(o["x"], unittest.equals('foo'));
1999 unittest.expect(o["y"], unittest.equals('foo')); 1999 unittest.expect(o["y"], unittest.equals('foo'));
2000 } 2000 }
2001 2001
2002 buildUnnamed3604() { 2002 buildUnnamed3636() {
2003 var o = new core.List<api.ErrorHandler>(); 2003 var o = new core.List<api.ErrorHandler>();
2004 o.add(buildErrorHandler()); 2004 o.add(buildErrorHandler());
2005 o.add(buildErrorHandler()); 2005 o.add(buildErrorHandler());
2006 return o; 2006 return o;
2007 } 2007 }
2008 2008
2009 checkUnnamed3604(core.List<api.ErrorHandler> o) { 2009 checkUnnamed3636(core.List<api.ErrorHandler> o) {
2010 unittest.expect(o, unittest.hasLength(2)); 2010 unittest.expect(o, unittest.hasLength(2));
2011 checkErrorHandler(o[0]); 2011 checkErrorHandler(o[0]);
2012 checkErrorHandler(o[1]); 2012 checkErrorHandler(o[1]);
2013 } 2013 }
2014 2014
2015 buildUnnamed3605() { 2015 buildUnnamed3637() {
2016 var o = new core.List<api.UrlMap>(); 2016 var o = new core.List<api.UrlMap>();
2017 o.add(buildUrlMap()); 2017 o.add(buildUrlMap());
2018 o.add(buildUrlMap()); 2018 o.add(buildUrlMap());
2019 return o; 2019 return o;
2020 } 2020 }
2021 2021
2022 checkUnnamed3605(core.List<api.UrlMap> o) { 2022 checkUnnamed3637(core.List<api.UrlMap> o) {
2023 unittest.expect(o, unittest.hasLength(2)); 2023 unittest.expect(o, unittest.hasLength(2));
2024 checkUrlMap(o[0]); 2024 checkUrlMap(o[0]);
2025 checkUrlMap(o[1]); 2025 checkUrlMap(o[1]);
2026 } 2026 }
2027 2027
2028 buildUnnamed3606() { 2028 buildUnnamed3638() {
2029 var o = new core.List<core.String>(); 2029 var o = new core.List<core.String>();
2030 o.add("foo"); 2030 o.add("foo");
2031 o.add("foo"); 2031 o.add("foo");
2032 return o; 2032 return o;
2033 } 2033 }
2034 2034
2035 checkUnnamed3606(core.List<core.String> o) { 2035 checkUnnamed3638(core.List<core.String> o) {
2036 unittest.expect(o, unittest.hasLength(2)); 2036 unittest.expect(o, unittest.hasLength(2));
2037 unittest.expect(o[0], unittest.equals('foo')); 2037 unittest.expect(o[0], unittest.equals('foo'));
2038 unittest.expect(o[1], unittest.equals('foo')); 2038 unittest.expect(o[1], unittest.equals('foo'));
2039 } 2039 }
2040 2040
2041 buildUnnamed3607() { 2041 buildUnnamed3639() {
2042 var o = new core.List<api.Library>(); 2042 var o = new core.List<api.Library>();
2043 o.add(buildLibrary()); 2043 o.add(buildLibrary());
2044 o.add(buildLibrary()); 2044 o.add(buildLibrary());
2045 return o; 2045 return o;
2046 } 2046 }
2047 2047
2048 checkUnnamed3607(core.List<api.Library> o) { 2048 checkUnnamed3639(core.List<api.Library> o) {
2049 unittest.expect(o, unittest.hasLength(2)); 2049 unittest.expect(o, unittest.hasLength(2));
2050 checkLibrary(o[0]); 2050 checkLibrary(o[0]);
2051 checkLibrary(o[1]); 2051 checkLibrary(o[1]);
2052 } 2052 }
2053 2053
2054 core.int buildCounterVersion = 0; 2054 core.int buildCounterVersion = 0;
2055 buildVersion() { 2055 buildVersion() {
2056 var o = new api.Version(); 2056 var o = new api.Version();
2057 buildCounterVersion++; 2057 buildCounterVersion++;
2058 if (buildCounterVersion < 3) { 2058 if (buildCounterVersion < 3) {
2059 o.apiConfig = buildApiConfigHandler(); 2059 o.apiConfig = buildApiConfigHandler();
2060 o.automaticScaling = buildAutomaticScaling(); 2060 o.automaticScaling = buildAutomaticScaling();
2061 o.basicScaling = buildBasicScaling(); 2061 o.basicScaling = buildBasicScaling();
2062 o.betaSettings = buildUnnamed3602(); 2062 o.betaSettings = buildUnnamed3634();
2063 o.createTime = "foo"; 2063 o.createTime = "foo";
2064 o.createdBy = "foo"; 2064 o.createdBy = "foo";
2065 o.defaultExpiration = "foo"; 2065 o.defaultExpiration = "foo";
2066 o.deployment = buildDeployment(); 2066 o.deployment = buildDeployment();
2067 o.diskUsageBytes = "foo"; 2067 o.diskUsageBytes = "foo";
2068 o.endpointsApiService = buildEndpointsApiService(); 2068 o.endpointsApiService = buildEndpointsApiService();
2069 o.env = "foo"; 2069 o.env = "foo";
2070 o.envVariables = buildUnnamed3603(); 2070 o.envVariables = buildUnnamed3635();
2071 o.errorHandlers = buildUnnamed3604(); 2071 o.errorHandlers = buildUnnamed3636();
2072 o.handlers = buildUnnamed3605(); 2072 o.handlers = buildUnnamed3637();
2073 o.healthCheck = buildHealthCheck(); 2073 o.healthCheck = buildHealthCheck();
2074 o.id = "foo"; 2074 o.id = "foo";
2075 o.inboundServices = buildUnnamed3606(); 2075 o.inboundServices = buildUnnamed3638();
2076 o.instanceClass = "foo"; 2076 o.instanceClass = "foo";
2077 o.libraries = buildUnnamed3607(); 2077 o.libraries = buildUnnamed3639();
2078 o.livenessCheck = buildLivenessCheck(); 2078 o.livenessCheck = buildLivenessCheck();
2079 o.manualScaling = buildManualScaling(); 2079 o.manualScaling = buildManualScaling();
2080 o.name = "foo"; 2080 o.name = "foo";
2081 o.network = buildNetwork(); 2081 o.network = buildNetwork();
2082 o.nobuildFilesRegex = "foo"; 2082 o.nobuildFilesRegex = "foo";
2083 o.readinessCheck = buildReadinessCheck(); 2083 o.readinessCheck = buildReadinessCheck();
2084 o.resources = buildResources(); 2084 o.resources = buildResources();
2085 o.runtime = "foo"; 2085 o.runtime = "foo";
2086 o.runtimeApiVersion = "foo"; 2086 o.runtimeApiVersion = "foo";
2087 o.servingStatus = "foo"; 2087 o.servingStatus = "foo";
2088 o.threadsafe = true; 2088 o.threadsafe = true;
2089 o.versionUrl = "foo"; 2089 o.versionUrl = "foo";
2090 o.vm = true; 2090 o.vm = true;
2091 } 2091 }
2092 buildCounterVersion--; 2092 buildCounterVersion--;
2093 return o; 2093 return o;
2094 } 2094 }
2095 2095
2096 checkVersion(api.Version o) { 2096 checkVersion(api.Version o) {
2097 buildCounterVersion++; 2097 buildCounterVersion++;
2098 if (buildCounterVersion < 3) { 2098 if (buildCounterVersion < 3) {
2099 checkApiConfigHandler(o.apiConfig); 2099 checkApiConfigHandler(o.apiConfig);
2100 checkAutomaticScaling(o.automaticScaling); 2100 checkAutomaticScaling(o.automaticScaling);
2101 checkBasicScaling(o.basicScaling); 2101 checkBasicScaling(o.basicScaling);
2102 checkUnnamed3602(o.betaSettings); 2102 checkUnnamed3634(o.betaSettings);
2103 unittest.expect(o.createTime, unittest.equals('foo')); 2103 unittest.expect(o.createTime, unittest.equals('foo'));
2104 unittest.expect(o.createdBy, unittest.equals('foo')); 2104 unittest.expect(o.createdBy, unittest.equals('foo'));
2105 unittest.expect(o.defaultExpiration, unittest.equals('foo')); 2105 unittest.expect(o.defaultExpiration, unittest.equals('foo'));
2106 checkDeployment(o.deployment); 2106 checkDeployment(o.deployment);
2107 unittest.expect(o.diskUsageBytes, unittest.equals('foo')); 2107 unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
2108 checkEndpointsApiService(o.endpointsApiService); 2108 checkEndpointsApiService(o.endpointsApiService);
2109 unittest.expect(o.env, unittest.equals('foo')); 2109 unittest.expect(o.env, unittest.equals('foo'));
2110 checkUnnamed3603(o.envVariables); 2110 checkUnnamed3635(o.envVariables);
2111 checkUnnamed3604(o.errorHandlers); 2111 checkUnnamed3636(o.errorHandlers);
2112 checkUnnamed3605(o.handlers); 2112 checkUnnamed3637(o.handlers);
2113 checkHealthCheck(o.healthCheck); 2113 checkHealthCheck(o.healthCheck);
2114 unittest.expect(o.id, unittest.equals('foo')); 2114 unittest.expect(o.id, unittest.equals('foo'));
2115 checkUnnamed3606(o.inboundServices); 2115 checkUnnamed3638(o.inboundServices);
2116 unittest.expect(o.instanceClass, unittest.equals('foo')); 2116 unittest.expect(o.instanceClass, unittest.equals('foo'));
2117 checkUnnamed3607(o.libraries); 2117 checkUnnamed3639(o.libraries);
2118 checkLivenessCheck(o.livenessCheck); 2118 checkLivenessCheck(o.livenessCheck);
2119 checkManualScaling(o.manualScaling); 2119 checkManualScaling(o.manualScaling);
2120 unittest.expect(o.name, unittest.equals('foo')); 2120 unittest.expect(o.name, unittest.equals('foo'));
2121 checkNetwork(o.network); 2121 checkNetwork(o.network);
2122 unittest.expect(o.nobuildFilesRegex, unittest.equals('foo')); 2122 unittest.expect(o.nobuildFilesRegex, unittest.equals('foo'));
2123 checkReadinessCheck(o.readinessCheck); 2123 checkReadinessCheck(o.readinessCheck);
2124 checkResources(o.resources); 2124 checkResources(o.resources);
2125 unittest.expect(o.runtime, unittest.equals('foo')); 2125 unittest.expect(o.runtime, unittest.equals('foo'));
2126 unittest.expect(o.runtimeApiVersion, unittest.equals('foo')); 2126 unittest.expect(o.runtimeApiVersion, unittest.equals('foo'));
2127 unittest.expect(o.servingStatus, unittest.equals('foo')); 2127 unittest.expect(o.servingStatus, unittest.equals('foo'));
(...skipping 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after
3144 res.get(arg_appsId, arg_authorizedCertificatesId, view: arg_view).then(uni ttest.expectAsync1(((api.AuthorizedCertificate response) { 3144 res.get(arg_appsId, arg_authorizedCertificatesId, view: arg_view).then(uni ttest.expectAsync1(((api.AuthorizedCertificate response) {
3145 checkAuthorizedCertificate(response); 3145 checkAuthorizedCertificate(response);
3146 }))); 3146 })));
3147 }); 3147 });
3148 3148
3149 unittest.test("method--list", () { 3149 unittest.test("method--list", () {
3150 3150
3151 var mock = new HttpServerMock(); 3151 var mock = new HttpServerMock();
3152 api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock) .apps.authorizedCertificates; 3152 api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock) .apps.authorizedCertificates;
3153 var arg_appsId = "foo"; 3153 var arg_appsId = "foo";
3154 var arg_pageToken = "foo";
3154 var arg_pageSize = 42; 3155 var arg_pageSize = 42;
3155 var arg_view = "foo"; 3156 var arg_view = "foo";
3156 var arg_pageToken = "foo";
3157 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 3157 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
3158 var path = (req.url).path; 3158 var path = (req.url).path;
3159 var pathOffset = 0; 3159 var pathOffset = 0;
3160 var index; 3160 var index;
3161 var subPart; 3161 var subPart;
3162 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 3162 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
3163 pathOffset += 1; 3163 pathOffset += 1;
3164 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1beta/apps/")); 3164 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1beta/apps/"));
3165 pathOffset += 12; 3165 pathOffset += 12;
3166 index = path.indexOf("/authorizedCertificates", pathOffset); 3166 index = path.indexOf("/authorizedCertificates", pathOffset);
(...skipping 13 matching lines...) Expand all
3180 if (n == "false") return false; 3180 if (n == "false") return false;
3181 if (n == null) return null; 3181 if (n == null) return null;
3182 throw new core.ArgumentError("Invalid boolean: $n"); 3182 throw new core.ArgumentError("Invalid boolean: $n");
3183 } 3183 }
3184 if (query.length > 0) { 3184 if (query.length > 0) {
3185 for (var part in query.split("&")) { 3185 for (var part in query.split("&")) {
3186 var keyvalue = part.split("="); 3186 var keyvalue = part.split("=");
3187 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 3187 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3188 } 3188 }
3189 } 3189 }
3190 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
3190 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize)); 3191 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
3191 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); 3192 unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
3192 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
3193 3193
3194 3194
3195 var h = { 3195 var h = {
3196 "content-type" : "application/json; charset=utf-8", 3196 "content-type" : "application/json; charset=utf-8",
3197 }; 3197 };
3198 var resp = convert.JSON.encode(buildListAuthorizedCertificatesResponse() ); 3198 var resp = convert.JSON.encode(buildListAuthorizedCertificatesResponse() );
3199 return new async.Future.value(stringResponse(200, h, resp)); 3199 return new async.Future.value(stringResponse(200, h, resp));
3200 }), true); 3200 }), true);
3201 res.list(arg_appsId, pageSize: arg_pageSize, view: arg_view, pageToken: ar g_pageToken).then(unittest.expectAsync1(((api.ListAuthorizedCertificatesResponse response) { 3201 res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, vie w: arg_view).then(unittest.expectAsync1(((api.ListAuthorizedCertificatesResponse response) {
3202 checkListAuthorizedCertificatesResponse(response); 3202 checkListAuthorizedCertificatesResponse(response);
3203 }))); 3203 })));
3204 }); 3204 });
3205 3205
3206 unittest.test("method--patch", () { 3206 unittest.test("method--patch", () {
3207 3207
3208 var mock = new HttpServerMock(); 3208 var mock = new HttpServerMock();
3209 api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock) .apps.authorizedCertificates; 3209 api.AppsAuthorizedCertificatesResourceApi res = new api.AppengineApi(mock) .apps.authorizedCertificates;
3210 var arg_request = buildAuthorizedCertificate(); 3210 var arg_request = buildAuthorizedCertificate();
3211 var arg_appsId = "foo"; 3211 var arg_appsId = "foo";
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
4007 res.get(arg_appsId, arg_locationsId).then(unittest.expectAsync1(((api.Loca tion response) { 4007 res.get(arg_appsId, arg_locationsId).then(unittest.expectAsync1(((api.Loca tion response) {
4008 checkLocation(response); 4008 checkLocation(response);
4009 }))); 4009 })));
4010 }); 4010 });
4011 4011
4012 unittest.test("method--list", () { 4012 unittest.test("method--list", () {
4013 4013
4014 var mock = new HttpServerMock(); 4014 var mock = new HttpServerMock();
4015 api.AppsLocationsResourceApi res = new api.AppengineApi(mock).apps.locatio ns; 4015 api.AppsLocationsResourceApi res = new api.AppengineApi(mock).apps.locatio ns;
4016 var arg_appsId = "foo"; 4016 var arg_appsId = "foo";
4017 var arg_pageSize = 42;
4018 var arg_filter = "foo"; 4017 var arg_filter = "foo";
4019 var arg_pageToken = "foo"; 4018 var arg_pageToken = "foo";
4019 var arg_pageSize = 42;
4020 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 4020 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
4021 var path = (req.url).path; 4021 var path = (req.url).path;
4022 var pathOffset = 0; 4022 var pathOffset = 0;
4023 var index; 4023 var index;
4024 var subPart; 4024 var subPart;
4025 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4025 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4026 pathOffset += 1; 4026 pathOffset += 1;
4027 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1beta/apps/")); 4027 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1beta/apps/"));
4028 pathOffset += 12; 4028 pathOffset += 12;
4029 index = path.indexOf("/locations", pathOffset); 4029 index = path.indexOf("/locations", pathOffset);
(...skipping 13 matching lines...) Expand all
4043 if (n == "false") return false; 4043 if (n == "false") return false;
4044 if (n == null) return null; 4044 if (n == null) return null;
4045 throw new core.ArgumentError("Invalid boolean: $n"); 4045 throw new core.ArgumentError("Invalid boolean: $n");
4046 } 4046 }
4047 if (query.length > 0) { 4047 if (query.length > 0) {
4048 for (var part in query.split("&")) { 4048 for (var part in query.split("&")) {
4049 var keyvalue = part.split("="); 4049 var keyvalue = part.split("=");
4050 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4050 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4051 } 4051 }
4052 } 4052 }
4053 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
4054 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); 4053 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
4055 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en)); 4054 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
4055 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
4056 4056
4057 4057
4058 var h = { 4058 var h = {
4059 "content-type" : "application/json; charset=utf-8", 4059 "content-type" : "application/json; charset=utf-8",
4060 }; 4060 };
4061 var resp = convert.JSON.encode(buildListLocationsResponse()); 4061 var resp = convert.JSON.encode(buildListLocationsResponse());
4062 return new async.Future.value(stringResponse(200, h, resp)); 4062 return new async.Future.value(stringResponse(200, h, resp));
4063 }), true); 4063 }), true);
4064 res.list(arg_appsId, pageSize: arg_pageSize, filter: arg_filter, pageToken : arg_pageToken).then(unittest.expectAsync1(((api.ListLocationsResponse response ) { 4064 res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSiz e: arg_pageSize).then(unittest.expectAsync1(((api.ListLocationsResponse response ) {
4065 checkListLocationsResponse(response); 4065 checkListLocationsResponse(response);
4066 }))); 4066 })));
4067 }); 4067 });
4068 4068
4069 }); 4069 });
4070 4070
4071 4071
4072 unittest.group("resource-AppsOperationsResourceApi", () { 4072 unittest.group("resource-AppsOperationsResourceApi", () {
4073 unittest.test("method--get", () { 4073 unittest.test("method--get", () {
4074 4074
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
4123 res.get(arg_appsId, arg_operationsId).then(unittest.expectAsync1(((api.Ope ration response) { 4123 res.get(arg_appsId, arg_operationsId).then(unittest.expectAsync1(((api.Ope ration response) {
4124 checkOperation(response); 4124 checkOperation(response);
4125 }))); 4125 })));
4126 }); 4126 });
4127 4127
4128 unittest.test("method--list", () { 4128 unittest.test("method--list", () {
4129 4129
4130 var mock = new HttpServerMock(); 4130 var mock = new HttpServerMock();
4131 api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operat ions; 4131 api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operat ions;
4132 var arg_appsId = "foo"; 4132 var arg_appsId = "foo";
4133 var arg_filter = "foo";
4134 var arg_pageToken = "foo"; 4133 var arg_pageToken = "foo";
4135 var arg_pageSize = 42; 4134 var arg_pageSize = 42;
4135 var arg_filter = "foo";
4136 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 4136 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
4137 var path = (req.url).path; 4137 var path = (req.url).path;
4138 var pathOffset = 0; 4138 var pathOffset = 0;
4139 var index; 4139 var index;
4140 var subPart; 4140 var subPart;
4141 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4141 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4142 pathOffset += 1; 4142 pathOffset += 1;
4143 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1beta/apps/")); 4143 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1beta/apps/"));
4144 pathOffset += 12; 4144 pathOffset += 12;
4145 index = path.indexOf("/operations", pathOffset); 4145 index = path.indexOf("/operations", pathOffset);
(...skipping 13 matching lines...) Expand all
4159 if (n == "false") return false; 4159 if (n == "false") return false;
4160 if (n == null) return null; 4160 if (n == null) return null;
4161 throw new core.ArgumentError("Invalid boolean: $n"); 4161 throw new core.ArgumentError("Invalid boolean: $n");
4162 } 4162 }
4163 if (query.length > 0) { 4163 if (query.length > 0) {
4164 for (var part in query.split("&")) { 4164 for (var part in query.split("&")) {
4165 var keyvalue = part.split("="); 4165 var keyvalue = part.split("=");
4166 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4166 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4167 } 4167 }
4168 } 4168 }
4169 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
4170 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en)); 4169 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
4171 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize)); 4170 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
4171 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
4172 4172
4173 4173
4174 var h = { 4174 var h = {
4175 "content-type" : "application/json; charset=utf-8", 4175 "content-type" : "application/json; charset=utf-8",
4176 }; 4176 };
4177 var resp = convert.JSON.encode(buildListOperationsResponse()); 4177 var resp = convert.JSON.encode(buildListOperationsResponse());
4178 return new async.Future.value(stringResponse(200, h, resp)); 4178 return new async.Future.value(stringResponse(200, h, resp));
4179 }), true); 4179 }), true);
4180 res.list(arg_appsId, filter: arg_filter, pageToken: arg_pageToken, pageSiz e: arg_pageSize).then(unittest.expectAsync1(((api.ListOperationsResponse respons e) { 4180 res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, fil ter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse respons e) {
4181 checkListOperationsResponse(response); 4181 checkListOperationsResponse(response);
4182 }))); 4182 })));
4183 }); 4183 });
4184 4184
4185 }); 4185 });
4186 4186
4187 4187
4188 unittest.group("resource-AppsServicesResourceApi", () { 4188 unittest.group("resource-AppsServicesResourceApi", () {
4189 unittest.test("method--delete", () { 4189 unittest.test("method--delete", () {
4190 4190
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
4608 checkVersion(response); 4608 checkVersion(response);
4609 }))); 4609 })));
4610 }); 4610 });
4611 4611
4612 unittest.test("method--list", () { 4612 unittest.test("method--list", () {
4613 4613
4614 var mock = new HttpServerMock(); 4614 var mock = new HttpServerMock();
4615 api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps. services.versions; 4615 api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps. services.versions;
4616 var arg_appsId = "foo"; 4616 var arg_appsId = "foo";
4617 var arg_servicesId = "foo"; 4617 var arg_servicesId = "foo";
4618 var arg_pageToken = "foo";
4618 var arg_pageSize = 42; 4619 var arg_pageSize = 42;
4619 var arg_view = "foo"; 4620 var arg_view = "foo";
4620 var arg_pageToken = "foo";
4621 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 4621 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
4622 var path = (req.url).path; 4622 var path = (req.url).path;
4623 var pathOffset = 0; 4623 var pathOffset = 0;
4624 var index; 4624 var index;
4625 var subPart; 4625 var subPart;
4626 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 4626 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
4627 pathOffset += 1; 4627 pathOffset += 1;
4628 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1beta/apps/")); 4628 unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.eq uals("v1beta/apps/"));
4629 pathOffset += 12; 4629 pathOffset += 12;
4630 index = path.indexOf("/services/", pathOffset); 4630 index = path.indexOf("/services/", pathOffset);
(...skipping 20 matching lines...) Expand all
4651 if (n == "false") return false; 4651 if (n == "false") return false;
4652 if (n == null) return null; 4652 if (n == null) return null;
4653 throw new core.ArgumentError("Invalid boolean: $n"); 4653 throw new core.ArgumentError("Invalid boolean: $n");
4654 } 4654 }
4655 if (query.length > 0) { 4655 if (query.length > 0) {
4656 for (var part in query.split("&")) { 4656 for (var part in query.split("&")) {
4657 var keyvalue = part.split("="); 4657 var keyvalue = part.split("=");
4658 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 4658 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
4659 } 4659 }
4660 } 4660 }
4661 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
4661 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize)); 4662 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
4662 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); 4663 unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
4663 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
4664 4664
4665 4665
4666 var h = { 4666 var h = {
4667 "content-type" : "application/json; charset=utf-8", 4667 "content-type" : "application/json; charset=utf-8",
4668 }; 4668 };
4669 var resp = convert.JSON.encode(buildListVersionsResponse()); 4669 var resp = convert.JSON.encode(buildListVersionsResponse());
4670 return new async.Future.value(stringResponse(200, h, resp)); 4670 return new async.Future.value(stringResponse(200, h, resp));
4671 }), true); 4671 }), true);
4672 res.list(arg_appsId, arg_servicesId, pageSize: arg_pageSize, view: arg_vie w, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListVersionsRespon se response) { 4672 res.list(arg_appsId, arg_servicesId, pageToken: arg_pageToken, pageSize: a rg_pageSize, view: arg_view).then(unittest.expectAsync1(((api.ListVersionsRespon se response) {
4673 checkListVersionsResponse(response); 4673 checkListVersionsResponse(response);
4674 }))); 4674 })));
4675 }); 4675 });
4676 4676
4677 unittest.test("method--patch", () { 4677 unittest.test("method--patch", () {
4678 4678
4679 var mock = new HttpServerMock(); 4679 var mock = new HttpServerMock();
4680 api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps. services.versions; 4680 api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps. services.versions;
4681 var arg_request = buildVersion(); 4681 var arg_request = buildVersion();
4682 var arg_appsId = "foo"; 4682 var arg_appsId = "foo";
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
5037 res.list(arg_appsId, arg_servicesId, arg_versionsId, pageToken: arg_pageTo ken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListInstancesRespo nse response) { 5037 res.list(arg_appsId, arg_servicesId, arg_versionsId, pageToken: arg_pageTo ken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListInstancesRespo nse response) {
5038 checkListInstancesResponse(response); 5038 checkListInstancesResponse(response);
5039 }))); 5039 })));
5040 }); 5040 });
5041 5041
5042 }); 5042 });
5043 5043
5044 5044
5045 } 5045 }
5046 5046
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698