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

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

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 3 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.v1beta5.test; 1 library googleapis_beta.appengine.v1beta5.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:unittest/unittest.dart' as unittest; 10 import 'package:unittest/unittest.dart' as unittest;
(...skipping 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 buildUnnamed3427() { 100 buildUnnamed4166() {
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 checkUnnamed3427(core.List<api.UrlDispatchRule> o) { 107 checkUnnamed4166(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 = buildUnnamed3427(); 123 o.dispatchRules = buildUnnamed4166();
124 o.id = "foo"; 124 o.id = "foo";
125 o.location = "foo"; 125 o.location = "foo";
126 o.name = "foo"; 126 o.name = "foo";
127 } 127 }
128 buildCounterApplication--; 128 buildCounterApplication--;
129 return o; 129 return o;
130 } 130 }
131 131
132 checkApplication(api.Application o) { 132 checkApplication(api.Application o) {
133 buildCounterApplication++; 133 buildCounterApplication++;
134 if (buildCounterApplication < 3) { 134 if (buildCounterApplication < 3) {
135 unittest.expect(o.authDomain, unittest.equals('foo')); 135 unittest.expect(o.authDomain, unittest.equals('foo'));
136 unittest.expect(o.codeBucket, unittest.equals('foo')); 136 unittest.expect(o.codeBucket, unittest.equals('foo'));
137 unittest.expect(o.defaultBucket, unittest.equals('foo')); 137 unittest.expect(o.defaultBucket, unittest.equals('foo'));
138 unittest.expect(o.defaultCookieExpiration, unittest.equals('foo')); 138 unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
139 unittest.expect(o.defaultHostname, unittest.equals('foo')); 139 unittest.expect(o.defaultHostname, unittest.equals('foo'));
140 checkUnnamed3427(o.dispatchRules); 140 checkUnnamed4166(o.dispatchRules);
141 unittest.expect(o.id, unittest.equals('foo')); 141 unittest.expect(o.id, unittest.equals('foo'));
142 unittest.expect(o.location, unittest.equals('foo')); 142 unittest.expect(o.location, unittest.equals('foo'));
143 unittest.expect(o.name, unittest.equals('foo')); 143 unittest.expect(o.name, unittest.equals('foo'));
144 } 144 }
145 buildCounterApplication--; 145 buildCounterApplication--;
146 } 146 }
147 147
148 core.int buildCounterAutomaticScaling = 0; 148 core.int buildCounterAutomaticScaling = 0;
149 buildAutomaticScaling() { 149 buildAutomaticScaling() {
150 var o = new api.AutomaticScaling(); 150 var o = new api.AutomaticScaling();
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 return o; 257 return o;
258 } 258 }
259 259
260 checkDebugInstanceRequest(api.DebugInstanceRequest o) { 260 checkDebugInstanceRequest(api.DebugInstanceRequest o) {
261 buildCounterDebugInstanceRequest++; 261 buildCounterDebugInstanceRequest++;
262 if (buildCounterDebugInstanceRequest < 3) { 262 if (buildCounterDebugInstanceRequest < 3) {
263 } 263 }
264 buildCounterDebugInstanceRequest--; 264 buildCounterDebugInstanceRequest--;
265 } 265 }
266 266
267 buildUnnamed3428() { 267 buildUnnamed4167() {
268 var o = new core.Map<core.String, api.FileInfo>(); 268 var o = new core.Map<core.String, api.FileInfo>();
269 o["x"] = buildFileInfo(); 269 o["x"] = buildFileInfo();
270 o["y"] = buildFileInfo(); 270 o["y"] = buildFileInfo();
271 return o; 271 return o;
272 } 272 }
273 273
274 checkUnnamed3428(core.Map<core.String, api.FileInfo> o) { 274 checkUnnamed4167(core.Map<core.String, api.FileInfo> o) {
275 unittest.expect(o, unittest.hasLength(2)); 275 unittest.expect(o, unittest.hasLength(2));
276 checkFileInfo(o["x"]); 276 checkFileInfo(o["x"]);
277 checkFileInfo(o["y"]); 277 checkFileInfo(o["y"]);
278 } 278 }
279 279
280 buildUnnamed3429() { 280 buildUnnamed4168() {
281 var o = new core.List<api.SourceReference>(); 281 var o = new core.List<api.SourceReference>();
282 o.add(buildSourceReference()); 282 o.add(buildSourceReference());
283 o.add(buildSourceReference()); 283 o.add(buildSourceReference());
284 return o; 284 return o;
285 } 285 }
286 286
287 checkUnnamed3429(core.List<api.SourceReference> o) { 287 checkUnnamed4168(core.List<api.SourceReference> o) {
288 unittest.expect(o, unittest.hasLength(2)); 288 unittest.expect(o, unittest.hasLength(2));
289 checkSourceReference(o[0]); 289 checkSourceReference(o[0]);
290 checkSourceReference(o[1]); 290 checkSourceReference(o[1]);
291 } 291 }
292 292
293 core.int buildCounterDeployment = 0; 293 core.int buildCounterDeployment = 0;
294 buildDeployment() { 294 buildDeployment() {
295 var o = new api.Deployment(); 295 var o = new api.Deployment();
296 buildCounterDeployment++; 296 buildCounterDeployment++;
297 if (buildCounterDeployment < 3) { 297 if (buildCounterDeployment < 3) {
298 o.container = buildContainerInfo(); 298 o.container = buildContainerInfo();
299 o.files = buildUnnamed3428(); 299 o.files = buildUnnamed4167();
300 o.sourceReferences = buildUnnamed3429(); 300 o.sourceReferences = buildUnnamed4168();
301 } 301 }
302 buildCounterDeployment--; 302 buildCounterDeployment--;
303 return o; 303 return o;
304 } 304 }
305 305
306 checkDeployment(api.Deployment o) { 306 checkDeployment(api.Deployment o) {
307 buildCounterDeployment++; 307 buildCounterDeployment++;
308 if (buildCounterDeployment < 3) { 308 if (buildCounterDeployment < 3) {
309 checkContainerInfo(o.container); 309 checkContainerInfo(o.container);
310 checkUnnamed3428(o.files); 310 checkUnnamed4167(o.files);
311 checkUnnamed3429(o.sourceReferences); 311 checkUnnamed4168(o.sourceReferences);
312 } 312 }
313 buildCounterDeployment--; 313 buildCounterDeployment--;
314 } 314 }
315 315
316 core.int buildCounterDiskUtilization = 0; 316 core.int buildCounterDiskUtilization = 0;
317 buildDiskUtilization() { 317 buildDiskUtilization() {
318 var o = new api.DiskUtilization(); 318 var o = new api.DiskUtilization();
319 buildCounterDiskUtilization++; 319 buildCounterDiskUtilization++;
320 if (buildCounterDiskUtilization < 3) { 320 if (buildCounterDiskUtilization < 3) {
321 o.targetReadBytesPerSec = 42; 321 o.targetReadBytesPerSec = 42;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 476
477 checkLibrary(api.Library o) { 477 checkLibrary(api.Library o) {
478 buildCounterLibrary++; 478 buildCounterLibrary++;
479 if (buildCounterLibrary < 3) { 479 if (buildCounterLibrary < 3) {
480 unittest.expect(o.name, unittest.equals('foo')); 480 unittest.expect(o.name, unittest.equals('foo'));
481 unittest.expect(o.version, unittest.equals('foo')); 481 unittest.expect(o.version, unittest.equals('foo'));
482 } 482 }
483 buildCounterLibrary--; 483 buildCounterLibrary--;
484 } 484 }
485 485
486 buildUnnamed3430() { 486 buildUnnamed4169() {
487 var o = new core.List<api.Instance>(); 487 var o = new core.List<api.Instance>();
488 o.add(buildInstance()); 488 o.add(buildInstance());
489 o.add(buildInstance()); 489 o.add(buildInstance());
490 return o; 490 return o;
491 } 491 }
492 492
493 checkUnnamed3430(core.List<api.Instance> o) { 493 checkUnnamed4169(core.List<api.Instance> o) {
494 unittest.expect(o, unittest.hasLength(2)); 494 unittest.expect(o, unittest.hasLength(2));
495 checkInstance(o[0]); 495 checkInstance(o[0]);
496 checkInstance(o[1]); 496 checkInstance(o[1]);
497 } 497 }
498 498
499 core.int buildCounterListInstancesResponse = 0; 499 core.int buildCounterListInstancesResponse = 0;
500 buildListInstancesResponse() { 500 buildListInstancesResponse() {
501 var o = new api.ListInstancesResponse(); 501 var o = new api.ListInstancesResponse();
502 buildCounterListInstancesResponse++; 502 buildCounterListInstancesResponse++;
503 if (buildCounterListInstancesResponse < 3) { 503 if (buildCounterListInstancesResponse < 3) {
504 o.instances = buildUnnamed3430(); 504 o.instances = buildUnnamed4169();
505 o.nextPageToken = "foo"; 505 o.nextPageToken = "foo";
506 } 506 }
507 buildCounterListInstancesResponse--; 507 buildCounterListInstancesResponse--;
508 return o; 508 return o;
509 } 509 }
510 510
511 checkListInstancesResponse(api.ListInstancesResponse o) { 511 checkListInstancesResponse(api.ListInstancesResponse o) {
512 buildCounterListInstancesResponse++; 512 buildCounterListInstancesResponse++;
513 if (buildCounterListInstancesResponse < 3) { 513 if (buildCounterListInstancesResponse < 3) {
514 checkUnnamed3430(o.instances); 514 checkUnnamed4169(o.instances);
515 unittest.expect(o.nextPageToken, unittest.equals('foo')); 515 unittest.expect(o.nextPageToken, unittest.equals('foo'));
516 } 516 }
517 buildCounterListInstancesResponse--; 517 buildCounterListInstancesResponse--;
518 } 518 }
519 519
520 buildUnnamed3431() { 520 buildUnnamed4170() {
521 var o = new core.List<api.Location>(); 521 var o = new core.List<api.Location>();
522 o.add(buildLocation()); 522 o.add(buildLocation());
523 o.add(buildLocation()); 523 o.add(buildLocation());
524 return o; 524 return o;
525 } 525 }
526 526
527 checkUnnamed3431(core.List<api.Location> o) { 527 checkUnnamed4170(core.List<api.Location> o) {
528 unittest.expect(o, unittest.hasLength(2)); 528 unittest.expect(o, unittest.hasLength(2));
529 checkLocation(o[0]); 529 checkLocation(o[0]);
530 checkLocation(o[1]); 530 checkLocation(o[1]);
531 } 531 }
532 532
533 core.int buildCounterListLocationsResponse = 0; 533 core.int buildCounterListLocationsResponse = 0;
534 buildListLocationsResponse() { 534 buildListLocationsResponse() {
535 var o = new api.ListLocationsResponse(); 535 var o = new api.ListLocationsResponse();
536 buildCounterListLocationsResponse++; 536 buildCounterListLocationsResponse++;
537 if (buildCounterListLocationsResponse < 3) { 537 if (buildCounterListLocationsResponse < 3) {
538 o.locations = buildUnnamed3431(); 538 o.locations = buildUnnamed4170();
539 o.nextPageToken = "foo"; 539 o.nextPageToken = "foo";
540 } 540 }
541 buildCounterListLocationsResponse--; 541 buildCounterListLocationsResponse--;
542 return o; 542 return o;
543 } 543 }
544 544
545 checkListLocationsResponse(api.ListLocationsResponse o) { 545 checkListLocationsResponse(api.ListLocationsResponse o) {
546 buildCounterListLocationsResponse++; 546 buildCounterListLocationsResponse++;
547 if (buildCounterListLocationsResponse < 3) { 547 if (buildCounterListLocationsResponse < 3) {
548 checkUnnamed3431(o.locations); 548 checkUnnamed4170(o.locations);
549 unittest.expect(o.nextPageToken, unittest.equals('foo')); 549 unittest.expect(o.nextPageToken, unittest.equals('foo'));
550 } 550 }
551 buildCounterListLocationsResponse--; 551 buildCounterListLocationsResponse--;
552 } 552 }
553 553
554 buildUnnamed3432() { 554 buildUnnamed4171() {
555 var o = new core.List<api.Operation>(); 555 var o = new core.List<api.Operation>();
556 o.add(buildOperation()); 556 o.add(buildOperation());
557 o.add(buildOperation()); 557 o.add(buildOperation());
558 return o; 558 return o;
559 } 559 }
560 560
561 checkUnnamed3432(core.List<api.Operation> o) { 561 checkUnnamed4171(core.List<api.Operation> o) {
562 unittest.expect(o, unittest.hasLength(2)); 562 unittest.expect(o, unittest.hasLength(2));
563 checkOperation(o[0]); 563 checkOperation(o[0]);
564 checkOperation(o[1]); 564 checkOperation(o[1]);
565 } 565 }
566 566
567 core.int buildCounterListOperationsResponse = 0; 567 core.int buildCounterListOperationsResponse = 0;
568 buildListOperationsResponse() { 568 buildListOperationsResponse() {
569 var o = new api.ListOperationsResponse(); 569 var o = new api.ListOperationsResponse();
570 buildCounterListOperationsResponse++; 570 buildCounterListOperationsResponse++;
571 if (buildCounterListOperationsResponse < 3) { 571 if (buildCounterListOperationsResponse < 3) {
572 o.nextPageToken = "foo"; 572 o.nextPageToken = "foo";
573 o.operations = buildUnnamed3432(); 573 o.operations = buildUnnamed4171();
574 } 574 }
575 buildCounterListOperationsResponse--; 575 buildCounterListOperationsResponse--;
576 return o; 576 return o;
577 } 577 }
578 578
579 checkListOperationsResponse(api.ListOperationsResponse o) { 579 checkListOperationsResponse(api.ListOperationsResponse o) {
580 buildCounterListOperationsResponse++; 580 buildCounterListOperationsResponse++;
581 if (buildCounterListOperationsResponse < 3) { 581 if (buildCounterListOperationsResponse < 3) {
582 unittest.expect(o.nextPageToken, unittest.equals('foo')); 582 unittest.expect(o.nextPageToken, unittest.equals('foo'));
583 checkUnnamed3432(o.operations); 583 checkUnnamed4171(o.operations);
584 } 584 }
585 buildCounterListOperationsResponse--; 585 buildCounterListOperationsResponse--;
586 } 586 }
587 587
588 buildUnnamed3433() { 588 buildUnnamed4172() {
589 var o = new core.List<api.Service>(); 589 var o = new core.List<api.Service>();
590 o.add(buildService()); 590 o.add(buildService());
591 o.add(buildService()); 591 o.add(buildService());
592 return o; 592 return o;
593 } 593 }
594 594
595 checkUnnamed3433(core.List<api.Service> o) { 595 checkUnnamed4172(core.List<api.Service> o) {
596 unittest.expect(o, unittest.hasLength(2)); 596 unittest.expect(o, unittest.hasLength(2));
597 checkService(o[0]); 597 checkService(o[0]);
598 checkService(o[1]); 598 checkService(o[1]);
599 } 599 }
600 600
601 core.int buildCounterListServicesResponse = 0; 601 core.int buildCounterListServicesResponse = 0;
602 buildListServicesResponse() { 602 buildListServicesResponse() {
603 var o = new api.ListServicesResponse(); 603 var o = new api.ListServicesResponse();
604 buildCounterListServicesResponse++; 604 buildCounterListServicesResponse++;
605 if (buildCounterListServicesResponse < 3) { 605 if (buildCounterListServicesResponse < 3) {
606 o.nextPageToken = "foo"; 606 o.nextPageToken = "foo";
607 o.services = buildUnnamed3433(); 607 o.services = buildUnnamed4172();
608 } 608 }
609 buildCounterListServicesResponse--; 609 buildCounterListServicesResponse--;
610 return o; 610 return o;
611 } 611 }
612 612
613 checkListServicesResponse(api.ListServicesResponse o) { 613 checkListServicesResponse(api.ListServicesResponse o) {
614 buildCounterListServicesResponse++; 614 buildCounterListServicesResponse++;
615 if (buildCounterListServicesResponse < 3) { 615 if (buildCounterListServicesResponse < 3) {
616 unittest.expect(o.nextPageToken, unittest.equals('foo')); 616 unittest.expect(o.nextPageToken, unittest.equals('foo'));
617 checkUnnamed3433(o.services); 617 checkUnnamed4172(o.services);
618 } 618 }
619 buildCounterListServicesResponse--; 619 buildCounterListServicesResponse--;
620 } 620 }
621 621
622 buildUnnamed3434() { 622 buildUnnamed4173() {
623 var o = new core.List<api.Version>(); 623 var o = new core.List<api.Version>();
624 o.add(buildVersion()); 624 o.add(buildVersion());
625 o.add(buildVersion()); 625 o.add(buildVersion());
626 return o; 626 return o;
627 } 627 }
628 628
629 checkUnnamed3434(core.List<api.Version> o) { 629 checkUnnamed4173(core.List<api.Version> o) {
630 unittest.expect(o, unittest.hasLength(2)); 630 unittest.expect(o, unittest.hasLength(2));
631 checkVersion(o[0]); 631 checkVersion(o[0]);
632 checkVersion(o[1]); 632 checkVersion(o[1]);
633 } 633 }
634 634
635 core.int buildCounterListVersionsResponse = 0; 635 core.int buildCounterListVersionsResponse = 0;
636 buildListVersionsResponse() { 636 buildListVersionsResponse() {
637 var o = new api.ListVersionsResponse(); 637 var o = new api.ListVersionsResponse();
638 buildCounterListVersionsResponse++; 638 buildCounterListVersionsResponse++;
639 if (buildCounterListVersionsResponse < 3) { 639 if (buildCounterListVersionsResponse < 3) {
640 o.nextPageToken = "foo"; 640 o.nextPageToken = "foo";
641 o.versions = buildUnnamed3434(); 641 o.versions = buildUnnamed4173();
642 } 642 }
643 buildCounterListVersionsResponse--; 643 buildCounterListVersionsResponse--;
644 return o; 644 return o;
645 } 645 }
646 646
647 checkListVersionsResponse(api.ListVersionsResponse o) { 647 checkListVersionsResponse(api.ListVersionsResponse o) {
648 buildCounterListVersionsResponse++; 648 buildCounterListVersionsResponse++;
649 if (buildCounterListVersionsResponse < 3) { 649 if (buildCounterListVersionsResponse < 3) {
650 unittest.expect(o.nextPageToken, unittest.equals('foo')); 650 unittest.expect(o.nextPageToken, unittest.equals('foo'));
651 checkUnnamed3434(o.versions); 651 checkUnnamed4173(o.versions);
652 } 652 }
653 buildCounterListVersionsResponse--; 653 buildCounterListVersionsResponse--;
654 } 654 }
655 655
656 buildUnnamed3435() { 656 buildUnnamed4174() {
657 var o = new core.Map<core.String, core.String>(); 657 var o = new core.Map<core.String, core.String>();
658 o["x"] = "foo"; 658 o["x"] = "foo";
659 o["y"] = "foo"; 659 o["y"] = "foo";
660 return o; 660 return o;
661 } 661 }
662 662
663 checkUnnamed3435(core.Map<core.String, core.String> o) { 663 checkUnnamed4174(core.Map<core.String, core.String> o) {
664 unittest.expect(o, unittest.hasLength(2)); 664 unittest.expect(o, unittest.hasLength(2));
665 unittest.expect(o["x"], unittest.equals('foo')); 665 unittest.expect(o["x"], unittest.equals('foo'));
666 unittest.expect(o["y"], unittest.equals('foo')); 666 unittest.expect(o["y"], unittest.equals('foo'));
667 } 667 }
668 668
669 buildUnnamed3436() { 669 buildUnnamed4175() {
670 var o = new core.Map<core.String, core.Object>(); 670 var o = new core.Map<core.String, core.Object>();
671 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 671 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
672 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 672 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
673 return o; 673 return o;
674 } 674 }
675 675
676 checkUnnamed3436(core.Map<core.String, core.Object> o) { 676 checkUnnamed4175(core.Map<core.String, core.Object> o) {
677 unittest.expect(o, unittest.hasLength(2)); 677 unittest.expect(o, unittest.hasLength(2));
678 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')); 678 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'));
679 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')); 679 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'));
680 } 680 }
681 681
682 core.int buildCounterLocation = 0; 682 core.int buildCounterLocation = 0;
683 buildLocation() { 683 buildLocation() {
684 var o = new api.Location(); 684 var o = new api.Location();
685 buildCounterLocation++; 685 buildCounterLocation++;
686 if (buildCounterLocation < 3) { 686 if (buildCounterLocation < 3) {
687 o.labels = buildUnnamed3435(); 687 o.labels = buildUnnamed4174();
688 o.locationId = "foo"; 688 o.locationId = "foo";
689 o.metadata = buildUnnamed3436(); 689 o.metadata = buildUnnamed4175();
690 o.name = "foo"; 690 o.name = "foo";
691 } 691 }
692 buildCounterLocation--; 692 buildCounterLocation--;
693 return o; 693 return o;
694 } 694 }
695 695
696 checkLocation(api.Location o) { 696 checkLocation(api.Location o) {
697 buildCounterLocation++; 697 buildCounterLocation++;
698 if (buildCounterLocation < 3) { 698 if (buildCounterLocation < 3) {
699 checkUnnamed3435(o.labels); 699 checkUnnamed4174(o.labels);
700 unittest.expect(o.locationId, unittest.equals('foo')); 700 unittest.expect(o.locationId, unittest.equals('foo'));
701 checkUnnamed3436(o.metadata); 701 checkUnnamed4175(o.metadata);
702 unittest.expect(o.name, unittest.equals('foo')); 702 unittest.expect(o.name, unittest.equals('foo'));
703 } 703 }
704 buildCounterLocation--; 704 buildCounterLocation--;
705 } 705 }
706 706
707 core.int buildCounterLocationMetadata = 0; 707 core.int buildCounterLocationMetadata = 0;
708 buildLocationMetadata() { 708 buildLocationMetadata() {
709 var o = new api.LocationMetadata(); 709 var o = new api.LocationMetadata();
710 buildCounterLocationMetadata++; 710 buildCounterLocationMetadata++;
711 if (buildCounterLocationMetadata < 3) { 711 if (buildCounterLocationMetadata < 3) {
(...skipping 25 matching lines...) Expand all
737 } 737 }
738 738
739 checkManualScaling(api.ManualScaling o) { 739 checkManualScaling(api.ManualScaling o) {
740 buildCounterManualScaling++; 740 buildCounterManualScaling++;
741 if (buildCounterManualScaling < 3) { 741 if (buildCounterManualScaling < 3) {
742 unittest.expect(o.instances, unittest.equals(42)); 742 unittest.expect(o.instances, unittest.equals(42));
743 } 743 }
744 buildCounterManualScaling--; 744 buildCounterManualScaling--;
745 } 745 }
746 746
747 buildUnnamed3437() { 747 buildUnnamed4176() {
748 var o = new core.List<core.String>(); 748 var o = new core.List<core.String>();
749 o.add("foo"); 749 o.add("foo");
750 o.add("foo"); 750 o.add("foo");
751 return o; 751 return o;
752 } 752 }
753 753
754 checkUnnamed3437(core.List<core.String> o) { 754 checkUnnamed4176(core.List<core.String> o) {
755 unittest.expect(o, unittest.hasLength(2)); 755 unittest.expect(o, unittest.hasLength(2));
756 unittest.expect(o[0], unittest.equals('foo')); 756 unittest.expect(o[0], unittest.equals('foo'));
757 unittest.expect(o[1], unittest.equals('foo')); 757 unittest.expect(o[1], unittest.equals('foo'));
758 } 758 }
759 759
760 core.int buildCounterNetwork = 0; 760 core.int buildCounterNetwork = 0;
761 buildNetwork() { 761 buildNetwork() {
762 var o = new api.Network(); 762 var o = new api.Network();
763 buildCounterNetwork++; 763 buildCounterNetwork++;
764 if (buildCounterNetwork < 3) { 764 if (buildCounterNetwork < 3) {
765 o.forwardedPorts = buildUnnamed3437(); 765 o.forwardedPorts = buildUnnamed4176();
766 o.instanceTag = "foo"; 766 o.instanceTag = "foo";
767 o.name = "foo"; 767 o.name = "foo";
768 } 768 }
769 buildCounterNetwork--; 769 buildCounterNetwork--;
770 return o; 770 return o;
771 } 771 }
772 772
773 checkNetwork(api.Network o) { 773 checkNetwork(api.Network o) {
774 buildCounterNetwork++; 774 buildCounterNetwork++;
775 if (buildCounterNetwork < 3) { 775 if (buildCounterNetwork < 3) {
776 checkUnnamed3437(o.forwardedPorts); 776 checkUnnamed4176(o.forwardedPorts);
777 unittest.expect(o.instanceTag, unittest.equals('foo')); 777 unittest.expect(o.instanceTag, unittest.equals('foo'));
778 unittest.expect(o.name, unittest.equals('foo')); 778 unittest.expect(o.name, unittest.equals('foo'));
779 } 779 }
780 buildCounterNetwork--; 780 buildCounterNetwork--;
781 } 781 }
782 782
783 core.int buildCounterNetworkUtilization = 0; 783 core.int buildCounterNetworkUtilization = 0;
784 buildNetworkUtilization() { 784 buildNetworkUtilization() {
785 var o = new api.NetworkUtilization(); 785 var o = new api.NetworkUtilization();
786 buildCounterNetworkUtilization++; 786 buildCounterNetworkUtilization++;
(...skipping 11 matching lines...) Expand all
798 buildCounterNetworkUtilization++; 798 buildCounterNetworkUtilization++;
799 if (buildCounterNetworkUtilization < 3) { 799 if (buildCounterNetworkUtilization < 3) {
800 unittest.expect(o.targetReceivedBytesPerSec, unittest.equals(42)); 800 unittest.expect(o.targetReceivedBytesPerSec, unittest.equals(42));
801 unittest.expect(o.targetReceivedPacketsPerSec, unittest.equals(42)); 801 unittest.expect(o.targetReceivedPacketsPerSec, unittest.equals(42));
802 unittest.expect(o.targetSentBytesPerSec, unittest.equals(42)); 802 unittest.expect(o.targetSentBytesPerSec, unittest.equals(42));
803 unittest.expect(o.targetSentPacketsPerSec, unittest.equals(42)); 803 unittest.expect(o.targetSentPacketsPerSec, unittest.equals(42));
804 } 804 }
805 buildCounterNetworkUtilization--; 805 buildCounterNetworkUtilization--;
806 } 806 }
807 807
808 buildUnnamed3438() { 808 buildUnnamed4177() {
809 var o = new core.Map<core.String, core.Object>(); 809 var o = new core.Map<core.String, core.Object>();
810 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 810 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
811 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 811 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
812 return o; 812 return o;
813 } 813 }
814 814
815 checkUnnamed3438(core.Map<core.String, core.Object> o) { 815 checkUnnamed4177(core.Map<core.String, core.Object> o) {
816 unittest.expect(o, unittest.hasLength(2)); 816 unittest.expect(o, unittest.hasLength(2));
817 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')); 817 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'));
818 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')); 818 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'));
819 } 819 }
820 820
821 buildUnnamed3439() { 821 buildUnnamed4178() {
822 var o = new core.Map<core.String, core.Object>(); 822 var o = new core.Map<core.String, core.Object>();
823 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 823 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
824 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 824 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
825 return o; 825 return o;
826 } 826 }
827 827
828 checkUnnamed3439(core.Map<core.String, core.Object> o) { 828 checkUnnamed4178(core.Map<core.String, core.Object> o) {
829 unittest.expect(o, unittest.hasLength(2)); 829 unittest.expect(o, unittest.hasLength(2));
830 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')); 830 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'));
831 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')); 831 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'));
832 } 832 }
833 833
834 core.int buildCounterOperation = 0; 834 core.int buildCounterOperation = 0;
835 buildOperation() { 835 buildOperation() {
836 var o = new api.Operation(); 836 var o = new api.Operation();
837 buildCounterOperation++; 837 buildCounterOperation++;
838 if (buildCounterOperation < 3) { 838 if (buildCounterOperation < 3) {
839 o.done = true; 839 o.done = true;
840 o.error = buildStatus(); 840 o.error = buildStatus();
841 o.metadata = buildUnnamed3438(); 841 o.metadata = buildUnnamed4177();
842 o.name = "foo"; 842 o.name = "foo";
843 o.response = buildUnnamed3439(); 843 o.response = buildUnnamed4178();
844 } 844 }
845 buildCounterOperation--; 845 buildCounterOperation--;
846 return o; 846 return o;
847 } 847 }
848 848
849 checkOperation(api.Operation o) { 849 checkOperation(api.Operation o) {
850 buildCounterOperation++; 850 buildCounterOperation++;
851 if (buildCounterOperation < 3) { 851 if (buildCounterOperation < 3) {
852 unittest.expect(o.done, unittest.isTrue); 852 unittest.expect(o.done, unittest.isTrue);
853 checkStatus(o.error); 853 checkStatus(o.error);
854 checkUnnamed3438(o.metadata); 854 checkUnnamed4177(o.metadata);
855 unittest.expect(o.name, unittest.equals('foo')); 855 unittest.expect(o.name, unittest.equals('foo'));
856 checkUnnamed3439(o.response); 856 checkUnnamed4178(o.response);
857 } 857 }
858 buildCounterOperation--; 858 buildCounterOperation--;
859 } 859 }
860 860
861 core.int buildCounterOperationMetadata = 0; 861 core.int buildCounterOperationMetadata = 0;
862 buildOperationMetadata() { 862 buildOperationMetadata() {
863 var o = new api.OperationMetadata(); 863 var o = new api.OperationMetadata();
864 buildCounterOperationMetadata++; 864 buildCounterOperationMetadata++;
865 if (buildCounterOperationMetadata < 3) { 865 if (buildCounterOperationMetadata < 3) {
866 o.endTime = "foo"; 866 o.endTime = "foo";
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 1041
1042 checkSourceReference(api.SourceReference o) { 1042 checkSourceReference(api.SourceReference o) {
1043 buildCounterSourceReference++; 1043 buildCounterSourceReference++;
1044 if (buildCounterSourceReference < 3) { 1044 if (buildCounterSourceReference < 3) {
1045 unittest.expect(o.repository, unittest.equals('foo')); 1045 unittest.expect(o.repository, unittest.equals('foo'));
1046 unittest.expect(o.revisionId, unittest.equals('foo')); 1046 unittest.expect(o.revisionId, unittest.equals('foo'));
1047 } 1047 }
1048 buildCounterSourceReference--; 1048 buildCounterSourceReference--;
1049 } 1049 }
1050 1050
1051 buildUnnamed3440() { 1051 buildUnnamed4179() {
1052 var o = new core.Map<core.String, core.String>(); 1052 var o = new core.Map<core.String, core.String>();
1053 o["x"] = "foo"; 1053 o["x"] = "foo";
1054 o["y"] = "foo"; 1054 o["y"] = "foo";
1055 return o; 1055 return o;
1056 } 1056 }
1057 1057
1058 checkUnnamed3440(core.Map<core.String, core.String> o) { 1058 checkUnnamed4179(core.Map<core.String, core.String> o) {
1059 unittest.expect(o, unittest.hasLength(2)); 1059 unittest.expect(o, unittest.hasLength(2));
1060 unittest.expect(o["x"], unittest.equals('foo')); 1060 unittest.expect(o["x"], unittest.equals('foo'));
1061 unittest.expect(o["y"], unittest.equals('foo')); 1061 unittest.expect(o["y"], unittest.equals('foo'));
1062 } 1062 }
1063 1063
1064 core.int buildCounterStaticFilesHandler = 0; 1064 core.int buildCounterStaticFilesHandler = 0;
1065 buildStaticFilesHandler() { 1065 buildStaticFilesHandler() {
1066 var o = new api.StaticFilesHandler(); 1066 var o = new api.StaticFilesHandler();
1067 buildCounterStaticFilesHandler++; 1067 buildCounterStaticFilesHandler++;
1068 if (buildCounterStaticFilesHandler < 3) { 1068 if (buildCounterStaticFilesHandler < 3) {
1069 o.applicationReadable = true; 1069 o.applicationReadable = true;
1070 o.expiration = "foo"; 1070 o.expiration = "foo";
1071 o.httpHeaders = buildUnnamed3440(); 1071 o.httpHeaders = buildUnnamed4179();
1072 o.mimeType = "foo"; 1072 o.mimeType = "foo";
1073 o.path = "foo"; 1073 o.path = "foo";
1074 o.requireMatchingFile = true; 1074 o.requireMatchingFile = true;
1075 o.uploadPathRegex = "foo"; 1075 o.uploadPathRegex = "foo";
1076 } 1076 }
1077 buildCounterStaticFilesHandler--; 1077 buildCounterStaticFilesHandler--;
1078 return o; 1078 return o;
1079 } 1079 }
1080 1080
1081 checkStaticFilesHandler(api.StaticFilesHandler o) { 1081 checkStaticFilesHandler(api.StaticFilesHandler o) {
1082 buildCounterStaticFilesHandler++; 1082 buildCounterStaticFilesHandler++;
1083 if (buildCounterStaticFilesHandler < 3) { 1083 if (buildCounterStaticFilesHandler < 3) {
1084 unittest.expect(o.applicationReadable, unittest.isTrue); 1084 unittest.expect(o.applicationReadable, unittest.isTrue);
1085 unittest.expect(o.expiration, unittest.equals('foo')); 1085 unittest.expect(o.expiration, unittest.equals('foo'));
1086 checkUnnamed3440(o.httpHeaders); 1086 checkUnnamed4179(o.httpHeaders);
1087 unittest.expect(o.mimeType, unittest.equals('foo')); 1087 unittest.expect(o.mimeType, unittest.equals('foo'));
1088 unittest.expect(o.path, unittest.equals('foo')); 1088 unittest.expect(o.path, unittest.equals('foo'));
1089 unittest.expect(o.requireMatchingFile, unittest.isTrue); 1089 unittest.expect(o.requireMatchingFile, unittest.isTrue);
1090 unittest.expect(o.uploadPathRegex, unittest.equals('foo')); 1090 unittest.expect(o.uploadPathRegex, unittest.equals('foo'));
1091 } 1091 }
1092 buildCounterStaticFilesHandler--; 1092 buildCounterStaticFilesHandler--;
1093 } 1093 }
1094 1094
1095 buildUnnamed3441() { 1095 buildUnnamed4180() {
1096 var o = new core.Map<core.String, core.Object>(); 1096 var o = new core.Map<core.String, core.Object>();
1097 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1097 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1098 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1098 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1099 return o; 1099 return o;
1100 } 1100 }
1101 1101
1102 checkUnnamed3441(core.Map<core.String, core.Object> o) { 1102 checkUnnamed4180(core.Map<core.String, core.Object> o) {
1103 unittest.expect(o, unittest.hasLength(2)); 1103 unittest.expect(o, unittest.hasLength(2));
1104 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')); 1104 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'));
1105 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')); 1105 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'));
1106 } 1106 }
1107 1107
1108 buildUnnamed3442() { 1108 buildUnnamed4181() {
1109 var o = new core.List<core.Map<core.String, core.Object>>(); 1109 var o = new core.List<core.Map<core.String, core.Object>>();
1110 o.add(buildUnnamed3441()); 1110 o.add(buildUnnamed4180());
1111 o.add(buildUnnamed3441()); 1111 o.add(buildUnnamed4180());
1112 return o; 1112 return o;
1113 } 1113 }
1114 1114
1115 checkUnnamed3442(core.List<core.Map<core.String, core.Object>> o) { 1115 checkUnnamed4181(core.List<core.Map<core.String, core.Object>> o) {
1116 unittest.expect(o, unittest.hasLength(2)); 1116 unittest.expect(o, unittest.hasLength(2));
1117 checkUnnamed3441(o[0]); 1117 checkUnnamed4180(o[0]);
1118 checkUnnamed3441(o[1]); 1118 checkUnnamed4180(o[1]);
1119 } 1119 }
1120 1120
1121 core.int buildCounterStatus = 0; 1121 core.int buildCounterStatus = 0;
1122 buildStatus() { 1122 buildStatus() {
1123 var o = new api.Status(); 1123 var o = new api.Status();
1124 buildCounterStatus++; 1124 buildCounterStatus++;
1125 if (buildCounterStatus < 3) { 1125 if (buildCounterStatus < 3) {
1126 o.code = 42; 1126 o.code = 42;
1127 o.details = buildUnnamed3442(); 1127 o.details = buildUnnamed4181();
1128 o.message = "foo"; 1128 o.message = "foo";
1129 } 1129 }
1130 buildCounterStatus--; 1130 buildCounterStatus--;
1131 return o; 1131 return o;
1132 } 1132 }
1133 1133
1134 checkStatus(api.Status o) { 1134 checkStatus(api.Status o) {
1135 buildCounterStatus++; 1135 buildCounterStatus++;
1136 if (buildCounterStatus < 3) { 1136 if (buildCounterStatus < 3) {
1137 unittest.expect(o.code, unittest.equals(42)); 1137 unittest.expect(o.code, unittest.equals(42));
1138 checkUnnamed3442(o.details); 1138 checkUnnamed4181(o.details);
1139 unittest.expect(o.message, unittest.equals('foo')); 1139 unittest.expect(o.message, unittest.equals('foo'));
1140 } 1140 }
1141 buildCounterStatus--; 1141 buildCounterStatus--;
1142 } 1142 }
1143 1143
1144 buildUnnamed3443() { 1144 buildUnnamed4182() {
1145 var o = new core.Map<core.String, core.double>(); 1145 var o = new core.Map<core.String, core.double>();
1146 o["x"] = 42.0; 1146 o["x"] = 42.0;
1147 o["y"] = 42.0; 1147 o["y"] = 42.0;
1148 return o; 1148 return o;
1149 } 1149 }
1150 1150
1151 checkUnnamed3443(core.Map<core.String, core.double> o) { 1151 checkUnnamed4182(core.Map<core.String, core.double> o) {
1152 unittest.expect(o, unittest.hasLength(2)); 1152 unittest.expect(o, unittest.hasLength(2));
1153 unittest.expect(o["x"], unittest.equals(42.0)); 1153 unittest.expect(o["x"], unittest.equals(42.0));
1154 unittest.expect(o["y"], unittest.equals(42.0)); 1154 unittest.expect(o["y"], unittest.equals(42.0));
1155 } 1155 }
1156 1156
1157 core.int buildCounterTrafficSplit = 0; 1157 core.int buildCounterTrafficSplit = 0;
1158 buildTrafficSplit() { 1158 buildTrafficSplit() {
1159 var o = new api.TrafficSplit(); 1159 var o = new api.TrafficSplit();
1160 buildCounterTrafficSplit++; 1160 buildCounterTrafficSplit++;
1161 if (buildCounterTrafficSplit < 3) { 1161 if (buildCounterTrafficSplit < 3) {
1162 o.allocations = buildUnnamed3443(); 1162 o.allocations = buildUnnamed4182();
1163 o.shardBy = "foo"; 1163 o.shardBy = "foo";
1164 } 1164 }
1165 buildCounterTrafficSplit--; 1165 buildCounterTrafficSplit--;
1166 return o; 1166 return o;
1167 } 1167 }
1168 1168
1169 checkTrafficSplit(api.TrafficSplit o) { 1169 checkTrafficSplit(api.TrafficSplit o) {
1170 buildCounterTrafficSplit++; 1170 buildCounterTrafficSplit++;
1171 if (buildCounterTrafficSplit < 3) { 1171 if (buildCounterTrafficSplit < 3) {
1172 checkUnnamed3443(o.allocations); 1172 checkUnnamed4182(o.allocations);
1173 unittest.expect(o.shardBy, unittest.equals('foo')); 1173 unittest.expect(o.shardBy, unittest.equals('foo'));
1174 } 1174 }
1175 buildCounterTrafficSplit--; 1175 buildCounterTrafficSplit--;
1176 } 1176 }
1177 1177
1178 core.int buildCounterUrlDispatchRule = 0; 1178 core.int buildCounterUrlDispatchRule = 0;
1179 buildUrlDispatchRule() { 1179 buildUrlDispatchRule() {
1180 var o = new api.UrlDispatchRule(); 1180 var o = new api.UrlDispatchRule();
1181 buildCounterUrlDispatchRule++; 1181 buildCounterUrlDispatchRule++;
1182 if (buildCounterUrlDispatchRule < 3) { 1182 if (buildCounterUrlDispatchRule < 3) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
1224 unittest.expect(o.login, unittest.equals('foo')); 1224 unittest.expect(o.login, unittest.equals('foo'));
1225 unittest.expect(o.redirectHttpResponseCode, unittest.equals('foo')); 1225 unittest.expect(o.redirectHttpResponseCode, unittest.equals('foo'));
1226 checkScriptHandler(o.script); 1226 checkScriptHandler(o.script);
1227 unittest.expect(o.securityLevel, unittest.equals('foo')); 1227 unittest.expect(o.securityLevel, unittest.equals('foo'));
1228 checkStaticFilesHandler(o.staticFiles); 1228 checkStaticFilesHandler(o.staticFiles);
1229 unittest.expect(o.urlRegex, unittest.equals('foo')); 1229 unittest.expect(o.urlRegex, unittest.equals('foo'));
1230 } 1230 }
1231 buildCounterUrlMap--; 1231 buildCounterUrlMap--;
1232 } 1232 }
1233 1233
1234 buildUnnamed3444() { 1234 buildUnnamed4183() {
1235 var o = new core.Map<core.String, core.String>(); 1235 var o = new core.Map<core.String, core.String>();
1236 o["x"] = "foo"; 1236 o["x"] = "foo";
1237 o["y"] = "foo"; 1237 o["y"] = "foo";
1238 return o; 1238 return o;
1239 } 1239 }
1240 1240
1241 checkUnnamed3444(core.Map<core.String, core.String> o) { 1241 checkUnnamed4183(core.Map<core.String, core.String> o) {
1242 unittest.expect(o, unittest.hasLength(2)); 1242 unittest.expect(o, unittest.hasLength(2));
1243 unittest.expect(o["x"], unittest.equals('foo')); 1243 unittest.expect(o["x"], unittest.equals('foo'));
1244 unittest.expect(o["y"], unittest.equals('foo')); 1244 unittest.expect(o["y"], unittest.equals('foo'));
1245 } 1245 }
1246 1246
1247 buildUnnamed3445() { 1247 buildUnnamed4184() {
1248 var o = new core.Map<core.String, core.String>(); 1248 var o = new core.Map<core.String, core.String>();
1249 o["x"] = "foo"; 1249 o["x"] = "foo";
1250 o["y"] = "foo"; 1250 o["y"] = "foo";
1251 return o; 1251 return o;
1252 } 1252 }
1253 1253
1254 checkUnnamed3445(core.Map<core.String, core.String> o) { 1254 checkUnnamed4184(core.Map<core.String, core.String> o) {
1255 unittest.expect(o, unittest.hasLength(2)); 1255 unittest.expect(o, unittest.hasLength(2));
1256 unittest.expect(o["x"], unittest.equals('foo')); 1256 unittest.expect(o["x"], unittest.equals('foo'));
1257 unittest.expect(o["y"], unittest.equals('foo')); 1257 unittest.expect(o["y"], unittest.equals('foo'));
1258 } 1258 }
1259 1259
1260 buildUnnamed3446() { 1260 buildUnnamed4185() {
1261 var o = new core.List<api.ErrorHandler>(); 1261 var o = new core.List<api.ErrorHandler>();
1262 o.add(buildErrorHandler()); 1262 o.add(buildErrorHandler());
1263 o.add(buildErrorHandler()); 1263 o.add(buildErrorHandler());
1264 return o; 1264 return o;
1265 } 1265 }
1266 1266
1267 checkUnnamed3446(core.List<api.ErrorHandler> o) { 1267 checkUnnamed4185(core.List<api.ErrorHandler> o) {
1268 unittest.expect(o, unittest.hasLength(2)); 1268 unittest.expect(o, unittest.hasLength(2));
1269 checkErrorHandler(o[0]); 1269 checkErrorHandler(o[0]);
1270 checkErrorHandler(o[1]); 1270 checkErrorHandler(o[1]);
1271 } 1271 }
1272 1272
1273 buildUnnamed3447() { 1273 buildUnnamed4186() {
1274 var o = new core.List<api.UrlMap>(); 1274 var o = new core.List<api.UrlMap>();
1275 o.add(buildUrlMap()); 1275 o.add(buildUrlMap());
1276 o.add(buildUrlMap()); 1276 o.add(buildUrlMap());
1277 return o; 1277 return o;
1278 } 1278 }
1279 1279
1280 checkUnnamed3447(core.List<api.UrlMap> o) { 1280 checkUnnamed4186(core.List<api.UrlMap> o) {
1281 unittest.expect(o, unittest.hasLength(2)); 1281 unittest.expect(o, unittest.hasLength(2));
1282 checkUrlMap(o[0]); 1282 checkUrlMap(o[0]);
1283 checkUrlMap(o[1]); 1283 checkUrlMap(o[1]);
1284 } 1284 }
1285 1285
1286 buildUnnamed3448() { 1286 buildUnnamed4187() {
1287 var o = new core.List<core.String>(); 1287 var o = new core.List<core.String>();
1288 o.add("foo"); 1288 o.add("foo");
1289 o.add("foo"); 1289 o.add("foo");
1290 return o; 1290 return o;
1291 } 1291 }
1292 1292
1293 checkUnnamed3448(core.List<core.String> o) { 1293 checkUnnamed4187(core.List<core.String> o) {
1294 unittest.expect(o, unittest.hasLength(2)); 1294 unittest.expect(o, unittest.hasLength(2));
1295 unittest.expect(o[0], unittest.equals('foo')); 1295 unittest.expect(o[0], unittest.equals('foo'));
1296 unittest.expect(o[1], unittest.equals('foo')); 1296 unittest.expect(o[1], unittest.equals('foo'));
1297 } 1297 }
1298 1298
1299 buildUnnamed3449() { 1299 buildUnnamed4188() {
1300 var o = new core.List<api.Library>(); 1300 var o = new core.List<api.Library>();
1301 o.add(buildLibrary()); 1301 o.add(buildLibrary());
1302 o.add(buildLibrary()); 1302 o.add(buildLibrary());
1303 return o; 1303 return o;
1304 } 1304 }
1305 1305
1306 checkUnnamed3449(core.List<api.Library> o) { 1306 checkUnnamed4188(core.List<api.Library> o) {
1307 unittest.expect(o, unittest.hasLength(2)); 1307 unittest.expect(o, unittest.hasLength(2));
1308 checkLibrary(o[0]); 1308 checkLibrary(o[0]);
1309 checkLibrary(o[1]); 1309 checkLibrary(o[1]);
1310 } 1310 }
1311 1311
1312 core.int buildCounterVersion = 0; 1312 core.int buildCounterVersion = 0;
1313 buildVersion() { 1313 buildVersion() {
1314 var o = new api.Version(); 1314 var o = new api.Version();
1315 buildCounterVersion++; 1315 buildCounterVersion++;
1316 if (buildCounterVersion < 3) { 1316 if (buildCounterVersion < 3) {
1317 o.apiConfig = buildApiConfigHandler(); 1317 o.apiConfig = buildApiConfigHandler();
1318 o.automaticScaling = buildAutomaticScaling(); 1318 o.automaticScaling = buildAutomaticScaling();
1319 o.basicScaling = buildBasicScaling(); 1319 o.basicScaling = buildBasicScaling();
1320 o.betaSettings = buildUnnamed3444(); 1320 o.betaSettings = buildUnnamed4183();
1321 o.creationTime = "foo"; 1321 o.creationTime = "foo";
1322 o.defaultExpiration = "foo"; 1322 o.defaultExpiration = "foo";
1323 o.deployer = "foo"; 1323 o.deployer = "foo";
1324 o.deployment = buildDeployment(); 1324 o.deployment = buildDeployment();
1325 o.diskUsageBytes = "foo"; 1325 o.diskUsageBytes = "foo";
1326 o.env = "foo"; 1326 o.env = "foo";
1327 o.envVariables = buildUnnamed3445(); 1327 o.envVariables = buildUnnamed4184();
1328 o.errorHandlers = buildUnnamed3446(); 1328 o.errorHandlers = buildUnnamed4185();
1329 o.handlers = buildUnnamed3447(); 1329 o.handlers = buildUnnamed4186();
1330 o.healthCheck = buildHealthCheck(); 1330 o.healthCheck = buildHealthCheck();
1331 o.id = "foo"; 1331 o.id = "foo";
1332 o.inboundServices = buildUnnamed3448(); 1332 o.inboundServices = buildUnnamed4187();
1333 o.instanceClass = "foo"; 1333 o.instanceClass = "foo";
1334 o.libraries = buildUnnamed3449(); 1334 o.libraries = buildUnnamed4188();
1335 o.manualScaling = buildManualScaling(); 1335 o.manualScaling = buildManualScaling();
1336 o.name = "foo"; 1336 o.name = "foo";
1337 o.network = buildNetwork(); 1337 o.network = buildNetwork();
1338 o.nobuildFilesRegex = "foo"; 1338 o.nobuildFilesRegex = "foo";
1339 o.resources = buildResources(); 1339 o.resources = buildResources();
1340 o.runtime = "foo"; 1340 o.runtime = "foo";
1341 o.servingStatus = "foo"; 1341 o.servingStatus = "foo";
1342 o.threadsafe = true; 1342 o.threadsafe = true;
1343 o.vm = true; 1343 o.vm = true;
1344 } 1344 }
1345 buildCounterVersion--; 1345 buildCounterVersion--;
1346 return o; 1346 return o;
1347 } 1347 }
1348 1348
1349 checkVersion(api.Version o) { 1349 checkVersion(api.Version o) {
1350 buildCounterVersion++; 1350 buildCounterVersion++;
1351 if (buildCounterVersion < 3) { 1351 if (buildCounterVersion < 3) {
1352 checkApiConfigHandler(o.apiConfig); 1352 checkApiConfigHandler(o.apiConfig);
1353 checkAutomaticScaling(o.automaticScaling); 1353 checkAutomaticScaling(o.automaticScaling);
1354 checkBasicScaling(o.basicScaling); 1354 checkBasicScaling(o.basicScaling);
1355 checkUnnamed3444(o.betaSettings); 1355 checkUnnamed4183(o.betaSettings);
1356 unittest.expect(o.creationTime, unittest.equals('foo')); 1356 unittest.expect(o.creationTime, unittest.equals('foo'));
1357 unittest.expect(o.defaultExpiration, unittest.equals('foo')); 1357 unittest.expect(o.defaultExpiration, unittest.equals('foo'));
1358 unittest.expect(o.deployer, unittest.equals('foo')); 1358 unittest.expect(o.deployer, unittest.equals('foo'));
1359 checkDeployment(o.deployment); 1359 checkDeployment(o.deployment);
1360 unittest.expect(o.diskUsageBytes, unittest.equals('foo')); 1360 unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
1361 unittest.expect(o.env, unittest.equals('foo')); 1361 unittest.expect(o.env, unittest.equals('foo'));
1362 checkUnnamed3445(o.envVariables); 1362 checkUnnamed4184(o.envVariables);
1363 checkUnnamed3446(o.errorHandlers); 1363 checkUnnamed4185(o.errorHandlers);
1364 checkUnnamed3447(o.handlers); 1364 checkUnnamed4186(o.handlers);
1365 checkHealthCheck(o.healthCheck); 1365 checkHealthCheck(o.healthCheck);
1366 unittest.expect(o.id, unittest.equals('foo')); 1366 unittest.expect(o.id, unittest.equals('foo'));
1367 checkUnnamed3448(o.inboundServices); 1367 checkUnnamed4187(o.inboundServices);
1368 unittest.expect(o.instanceClass, unittest.equals('foo')); 1368 unittest.expect(o.instanceClass, unittest.equals('foo'));
1369 checkUnnamed3449(o.libraries); 1369 checkUnnamed4188(o.libraries);
1370 checkManualScaling(o.manualScaling); 1370 checkManualScaling(o.manualScaling);
1371 unittest.expect(o.name, unittest.equals('foo')); 1371 unittest.expect(o.name, unittest.equals('foo'));
1372 checkNetwork(o.network); 1372 checkNetwork(o.network);
1373 unittest.expect(o.nobuildFilesRegex, unittest.equals('foo')); 1373 unittest.expect(o.nobuildFilesRegex, unittest.equals('foo'));
1374 checkResources(o.resources); 1374 checkResources(o.resources);
1375 unittest.expect(o.runtime, unittest.equals('foo')); 1375 unittest.expect(o.runtime, unittest.equals('foo'));
1376 unittest.expect(o.servingStatus, unittest.equals('foo')); 1376 unittest.expect(o.servingStatus, unittest.equals('foo'));
1377 unittest.expect(o.threadsafe, unittest.isTrue); 1377 unittest.expect(o.threadsafe, unittest.isTrue);
1378 unittest.expect(o.vm, unittest.isTrue); 1378 unittest.expect(o.vm, unittest.isTrue);
1379 } 1379 }
(...skipping 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after
2926 res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSiz e, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInstancesRespon se response) { 2926 res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSiz e, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInstancesRespon se response) {
2927 checkListInstancesResponse(response); 2927 checkListInstancesResponse(response);
2928 }))); 2928 })));
2929 }); 2929 });
2930 2930
2931 }); 2931 });
2932 2932
2933 2933
2934 } 2934 }
2935 2935
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698