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

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

Issue 2987103002: Api-Roll 52: 2017-07-31 (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.appengine.v1.test; 1 library googleapis.appengine.v1.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:test/test.dart' as unittest; 10 import 'package:test/test.dart' as unittest;
(...skipping 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 buildUnnamed2623() { 100 buildUnnamed2660() {
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 checkUnnamed2623(core.List<api.UrlDispatchRule> o) { 107 checkUnnamed2660(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 = buildUnnamed2623(); 123 o.dispatchRules = buildUnnamed2660();
124 o.gcrDomain = "foo"; 124 o.gcrDomain = "foo";
125 o.iap = buildIdentityAwareProxy(); 125 o.iap = buildIdentityAwareProxy();
126 o.id = "foo"; 126 o.id = "foo";
127 o.locationId = "foo"; 127 o.locationId = "foo";
128 o.name = "foo"; 128 o.name = "foo";
129 o.servingStatus = "foo"; 129 o.servingStatus = "foo";
130 } 130 }
131 buildCounterApplication--; 131 buildCounterApplication--;
132 return o; 132 return o;
133 } 133 }
134 134
135 checkApplication(api.Application o) { 135 checkApplication(api.Application o) {
136 buildCounterApplication++; 136 buildCounterApplication++;
137 if (buildCounterApplication < 3) { 137 if (buildCounterApplication < 3) {
138 unittest.expect(o.authDomain, unittest.equals('foo')); 138 unittest.expect(o.authDomain, unittest.equals('foo'));
139 unittest.expect(o.codeBucket, unittest.equals('foo')); 139 unittest.expect(o.codeBucket, unittest.equals('foo'));
140 unittest.expect(o.defaultBucket, unittest.equals('foo')); 140 unittest.expect(o.defaultBucket, unittest.equals('foo'));
141 unittest.expect(o.defaultCookieExpiration, unittest.equals('foo')); 141 unittest.expect(o.defaultCookieExpiration, unittest.equals('foo'));
142 unittest.expect(o.defaultHostname, unittest.equals('foo')); 142 unittest.expect(o.defaultHostname, unittest.equals('foo'));
143 checkUnnamed2623(o.dispatchRules); 143 checkUnnamed2660(o.dispatchRules);
144 unittest.expect(o.gcrDomain, unittest.equals('foo')); 144 unittest.expect(o.gcrDomain, unittest.equals('foo'));
145 checkIdentityAwareProxy(o.iap); 145 checkIdentityAwareProxy(o.iap);
146 unittest.expect(o.id, unittest.equals('foo')); 146 unittest.expect(o.id, unittest.equals('foo'));
147 unittest.expect(o.locationId, unittest.equals('foo')); 147 unittest.expect(o.locationId, unittest.equals('foo'));
148 unittest.expect(o.name, unittest.equals('foo')); 148 unittest.expect(o.name, unittest.equals('foo'));
149 unittest.expect(o.servingStatus, unittest.equals('foo')); 149 unittest.expect(o.servingStatus, unittest.equals('foo'));
150 } 150 }
151 buildCounterApplication--; 151 buildCounterApplication--;
152 } 152 }
153 153
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 } 265 }
266 266
267 checkDebugInstanceRequest(api.DebugInstanceRequest o) { 267 checkDebugInstanceRequest(api.DebugInstanceRequest o) {
268 buildCounterDebugInstanceRequest++; 268 buildCounterDebugInstanceRequest++;
269 if (buildCounterDebugInstanceRequest < 3) { 269 if (buildCounterDebugInstanceRequest < 3) {
270 unittest.expect(o.sshKey, unittest.equals('foo')); 270 unittest.expect(o.sshKey, unittest.equals('foo'));
271 } 271 }
272 buildCounterDebugInstanceRequest--; 272 buildCounterDebugInstanceRequest--;
273 } 273 }
274 274
275 buildUnnamed2624() { 275 buildUnnamed2661() {
276 var o = new core.Map<core.String, api.FileInfo>(); 276 var o = new core.Map<core.String, api.FileInfo>();
277 o["x"] = buildFileInfo(); 277 o["x"] = buildFileInfo();
278 o["y"] = buildFileInfo(); 278 o["y"] = buildFileInfo();
279 return o; 279 return o;
280 } 280 }
281 281
282 checkUnnamed2624(core.Map<core.String, api.FileInfo> o) { 282 checkUnnamed2661(core.Map<core.String, api.FileInfo> o) {
283 unittest.expect(o, unittest.hasLength(2)); 283 unittest.expect(o, unittest.hasLength(2));
284 checkFileInfo(o["x"]); 284 checkFileInfo(o["x"]);
285 checkFileInfo(o["y"]); 285 checkFileInfo(o["y"]);
286 } 286 }
287 287
288 core.int buildCounterDeployment = 0; 288 core.int buildCounterDeployment = 0;
289 buildDeployment() { 289 buildDeployment() {
290 var o = new api.Deployment(); 290 var o = new api.Deployment();
291 buildCounterDeployment++; 291 buildCounterDeployment++;
292 if (buildCounterDeployment < 3) { 292 if (buildCounterDeployment < 3) {
293 o.container = buildContainerInfo(); 293 o.container = buildContainerInfo();
294 o.files = buildUnnamed2624(); 294 o.files = buildUnnamed2661();
295 o.zip = buildZipInfo(); 295 o.zip = buildZipInfo();
296 } 296 }
297 buildCounterDeployment--; 297 buildCounterDeployment--;
298 return o; 298 return o;
299 } 299 }
300 300
301 checkDeployment(api.Deployment o) { 301 checkDeployment(api.Deployment o) {
302 buildCounterDeployment++; 302 buildCounterDeployment++;
303 if (buildCounterDeployment < 3) { 303 if (buildCounterDeployment < 3) {
304 checkContainerInfo(o.container); 304 checkContainerInfo(o.container);
305 checkUnnamed2624(o.files); 305 checkUnnamed2661(o.files);
306 checkZipInfo(o.zip); 306 checkZipInfo(o.zip);
307 } 307 }
308 buildCounterDeployment--; 308 buildCounterDeployment--;
309 } 309 }
310 310
311 core.int buildCounterDiskUtilization = 0; 311 core.int buildCounterDiskUtilization = 0;
312 buildDiskUtilization() { 312 buildDiskUtilization() {
313 var o = new api.DiskUtilization(); 313 var o = new api.DiskUtilization();
314 buildCounterDiskUtilization++; 314 buildCounterDiskUtilization++;
315 if (buildCounterDiskUtilization < 3) { 315 if (buildCounterDiskUtilization < 3) {
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 519
520 checkLibrary(api.Library o) { 520 checkLibrary(api.Library o) {
521 buildCounterLibrary++; 521 buildCounterLibrary++;
522 if (buildCounterLibrary < 3) { 522 if (buildCounterLibrary < 3) {
523 unittest.expect(o.name, unittest.equals('foo')); 523 unittest.expect(o.name, unittest.equals('foo'));
524 unittest.expect(o.version, unittest.equals('foo')); 524 unittest.expect(o.version, unittest.equals('foo'));
525 } 525 }
526 buildCounterLibrary--; 526 buildCounterLibrary--;
527 } 527 }
528 528
529 buildUnnamed2625() { 529 buildUnnamed2662() {
530 var o = new core.List<api.Instance>(); 530 var o = new core.List<api.Instance>();
531 o.add(buildInstance()); 531 o.add(buildInstance());
532 o.add(buildInstance()); 532 o.add(buildInstance());
533 return o; 533 return o;
534 } 534 }
535 535
536 checkUnnamed2625(core.List<api.Instance> o) { 536 checkUnnamed2662(core.List<api.Instance> o) {
537 unittest.expect(o, unittest.hasLength(2)); 537 unittest.expect(o, unittest.hasLength(2));
538 checkInstance(o[0]); 538 checkInstance(o[0]);
539 checkInstance(o[1]); 539 checkInstance(o[1]);
540 } 540 }
541 541
542 core.int buildCounterListInstancesResponse = 0; 542 core.int buildCounterListInstancesResponse = 0;
543 buildListInstancesResponse() { 543 buildListInstancesResponse() {
544 var o = new api.ListInstancesResponse(); 544 var o = new api.ListInstancesResponse();
545 buildCounterListInstancesResponse++; 545 buildCounterListInstancesResponse++;
546 if (buildCounterListInstancesResponse < 3) { 546 if (buildCounterListInstancesResponse < 3) {
547 o.instances = buildUnnamed2625(); 547 o.instances = buildUnnamed2662();
548 o.nextPageToken = "foo"; 548 o.nextPageToken = "foo";
549 } 549 }
550 buildCounterListInstancesResponse--; 550 buildCounterListInstancesResponse--;
551 return o; 551 return o;
552 } 552 }
553 553
554 checkListInstancesResponse(api.ListInstancesResponse o) { 554 checkListInstancesResponse(api.ListInstancesResponse o) {
555 buildCounterListInstancesResponse++; 555 buildCounterListInstancesResponse++;
556 if (buildCounterListInstancesResponse < 3) { 556 if (buildCounterListInstancesResponse < 3) {
557 checkUnnamed2625(o.instances); 557 checkUnnamed2662(o.instances);
558 unittest.expect(o.nextPageToken, unittest.equals('foo')); 558 unittest.expect(o.nextPageToken, unittest.equals('foo'));
559 } 559 }
560 buildCounterListInstancesResponse--; 560 buildCounterListInstancesResponse--;
561 } 561 }
562 562
563 buildUnnamed2626() { 563 buildUnnamed2663() {
564 var o = new core.List<api.Location>(); 564 var o = new core.List<api.Location>();
565 o.add(buildLocation()); 565 o.add(buildLocation());
566 o.add(buildLocation()); 566 o.add(buildLocation());
567 return o; 567 return o;
568 } 568 }
569 569
570 checkUnnamed2626(core.List<api.Location> o) { 570 checkUnnamed2663(core.List<api.Location> o) {
571 unittest.expect(o, unittest.hasLength(2)); 571 unittest.expect(o, unittest.hasLength(2));
572 checkLocation(o[0]); 572 checkLocation(o[0]);
573 checkLocation(o[1]); 573 checkLocation(o[1]);
574 } 574 }
575 575
576 core.int buildCounterListLocationsResponse = 0; 576 core.int buildCounterListLocationsResponse = 0;
577 buildListLocationsResponse() { 577 buildListLocationsResponse() {
578 var o = new api.ListLocationsResponse(); 578 var o = new api.ListLocationsResponse();
579 buildCounterListLocationsResponse++; 579 buildCounterListLocationsResponse++;
580 if (buildCounterListLocationsResponse < 3) { 580 if (buildCounterListLocationsResponse < 3) {
581 o.locations = buildUnnamed2626(); 581 o.locations = buildUnnamed2663();
582 o.nextPageToken = "foo"; 582 o.nextPageToken = "foo";
583 } 583 }
584 buildCounterListLocationsResponse--; 584 buildCounterListLocationsResponse--;
585 return o; 585 return o;
586 } 586 }
587 587
588 checkListLocationsResponse(api.ListLocationsResponse o) { 588 checkListLocationsResponse(api.ListLocationsResponse o) {
589 buildCounterListLocationsResponse++; 589 buildCounterListLocationsResponse++;
590 if (buildCounterListLocationsResponse < 3) { 590 if (buildCounterListLocationsResponse < 3) {
591 checkUnnamed2626(o.locations); 591 checkUnnamed2663(o.locations);
592 unittest.expect(o.nextPageToken, unittest.equals('foo')); 592 unittest.expect(o.nextPageToken, unittest.equals('foo'));
593 } 593 }
594 buildCounterListLocationsResponse--; 594 buildCounterListLocationsResponse--;
595 } 595 }
596 596
597 buildUnnamed2627() { 597 buildUnnamed2664() {
598 var o = new core.List<api.Operation>(); 598 var o = new core.List<api.Operation>();
599 o.add(buildOperation()); 599 o.add(buildOperation());
600 o.add(buildOperation()); 600 o.add(buildOperation());
601 return o; 601 return o;
602 } 602 }
603 603
604 checkUnnamed2627(core.List<api.Operation> o) { 604 checkUnnamed2664(core.List<api.Operation> o) {
605 unittest.expect(o, unittest.hasLength(2)); 605 unittest.expect(o, unittest.hasLength(2));
606 checkOperation(o[0]); 606 checkOperation(o[0]);
607 checkOperation(o[1]); 607 checkOperation(o[1]);
608 } 608 }
609 609
610 core.int buildCounterListOperationsResponse = 0; 610 core.int buildCounterListOperationsResponse = 0;
611 buildListOperationsResponse() { 611 buildListOperationsResponse() {
612 var o = new api.ListOperationsResponse(); 612 var o = new api.ListOperationsResponse();
613 buildCounterListOperationsResponse++; 613 buildCounterListOperationsResponse++;
614 if (buildCounterListOperationsResponse < 3) { 614 if (buildCounterListOperationsResponse < 3) {
615 o.nextPageToken = "foo"; 615 o.nextPageToken = "foo";
616 o.operations = buildUnnamed2627(); 616 o.operations = buildUnnamed2664();
617 } 617 }
618 buildCounterListOperationsResponse--; 618 buildCounterListOperationsResponse--;
619 return o; 619 return o;
620 } 620 }
621 621
622 checkListOperationsResponse(api.ListOperationsResponse o) { 622 checkListOperationsResponse(api.ListOperationsResponse o) {
623 buildCounterListOperationsResponse++; 623 buildCounterListOperationsResponse++;
624 if (buildCounterListOperationsResponse < 3) { 624 if (buildCounterListOperationsResponse < 3) {
625 unittest.expect(o.nextPageToken, unittest.equals('foo')); 625 unittest.expect(o.nextPageToken, unittest.equals('foo'));
626 checkUnnamed2627(o.operations); 626 checkUnnamed2664(o.operations);
627 } 627 }
628 buildCounterListOperationsResponse--; 628 buildCounterListOperationsResponse--;
629 } 629 }
630 630
631 buildUnnamed2628() { 631 buildUnnamed2665() {
632 var o = new core.List<api.Service>(); 632 var o = new core.List<api.Service>();
633 o.add(buildService()); 633 o.add(buildService());
634 o.add(buildService()); 634 o.add(buildService());
635 return o; 635 return o;
636 } 636 }
637 637
638 checkUnnamed2628(core.List<api.Service> o) { 638 checkUnnamed2665(core.List<api.Service> o) {
639 unittest.expect(o, unittest.hasLength(2)); 639 unittest.expect(o, unittest.hasLength(2));
640 checkService(o[0]); 640 checkService(o[0]);
641 checkService(o[1]); 641 checkService(o[1]);
642 } 642 }
643 643
644 core.int buildCounterListServicesResponse = 0; 644 core.int buildCounterListServicesResponse = 0;
645 buildListServicesResponse() { 645 buildListServicesResponse() {
646 var o = new api.ListServicesResponse(); 646 var o = new api.ListServicesResponse();
647 buildCounterListServicesResponse++; 647 buildCounterListServicesResponse++;
648 if (buildCounterListServicesResponse < 3) { 648 if (buildCounterListServicesResponse < 3) {
649 o.nextPageToken = "foo"; 649 o.nextPageToken = "foo";
650 o.services = buildUnnamed2628(); 650 o.services = buildUnnamed2665();
651 } 651 }
652 buildCounterListServicesResponse--; 652 buildCounterListServicesResponse--;
653 return o; 653 return o;
654 } 654 }
655 655
656 checkListServicesResponse(api.ListServicesResponse o) { 656 checkListServicesResponse(api.ListServicesResponse o) {
657 buildCounterListServicesResponse++; 657 buildCounterListServicesResponse++;
658 if (buildCounterListServicesResponse < 3) { 658 if (buildCounterListServicesResponse < 3) {
659 unittest.expect(o.nextPageToken, unittest.equals('foo')); 659 unittest.expect(o.nextPageToken, unittest.equals('foo'));
660 checkUnnamed2628(o.services); 660 checkUnnamed2665(o.services);
661 } 661 }
662 buildCounterListServicesResponse--; 662 buildCounterListServicesResponse--;
663 } 663 }
664 664
665 buildUnnamed2629() { 665 buildUnnamed2666() {
666 var o = new core.List<api.Version>(); 666 var o = new core.List<api.Version>();
667 o.add(buildVersion()); 667 o.add(buildVersion());
668 o.add(buildVersion()); 668 o.add(buildVersion());
669 return o; 669 return o;
670 } 670 }
671 671
672 checkUnnamed2629(core.List<api.Version> o) { 672 checkUnnamed2666(core.List<api.Version> o) {
673 unittest.expect(o, unittest.hasLength(2)); 673 unittest.expect(o, unittest.hasLength(2));
674 checkVersion(o[0]); 674 checkVersion(o[0]);
675 checkVersion(o[1]); 675 checkVersion(o[1]);
676 } 676 }
677 677
678 core.int buildCounterListVersionsResponse = 0; 678 core.int buildCounterListVersionsResponse = 0;
679 buildListVersionsResponse() { 679 buildListVersionsResponse() {
680 var o = new api.ListVersionsResponse(); 680 var o = new api.ListVersionsResponse();
681 buildCounterListVersionsResponse++; 681 buildCounterListVersionsResponse++;
682 if (buildCounterListVersionsResponse < 3) { 682 if (buildCounterListVersionsResponse < 3) {
683 o.nextPageToken = "foo"; 683 o.nextPageToken = "foo";
684 o.versions = buildUnnamed2629(); 684 o.versions = buildUnnamed2666();
685 } 685 }
686 buildCounterListVersionsResponse--; 686 buildCounterListVersionsResponse--;
687 return o; 687 return o;
688 } 688 }
689 689
690 checkListVersionsResponse(api.ListVersionsResponse o) { 690 checkListVersionsResponse(api.ListVersionsResponse o) {
691 buildCounterListVersionsResponse++; 691 buildCounterListVersionsResponse++;
692 if (buildCounterListVersionsResponse < 3) { 692 if (buildCounterListVersionsResponse < 3) {
693 unittest.expect(o.nextPageToken, unittest.equals('foo')); 693 unittest.expect(o.nextPageToken, unittest.equals('foo'));
694 checkUnnamed2629(o.versions); 694 checkUnnamed2666(o.versions);
695 } 695 }
696 buildCounterListVersionsResponse--; 696 buildCounterListVersionsResponse--;
697 } 697 }
698 698
699 core.int buildCounterLivenessCheck = 0; 699 core.int buildCounterLivenessCheck = 0;
700 buildLivenessCheck() { 700 buildLivenessCheck() {
701 var o = new api.LivenessCheck(); 701 var o = new api.LivenessCheck();
702 buildCounterLivenessCheck++; 702 buildCounterLivenessCheck++;
703 if (buildCounterLivenessCheck < 3) { 703 if (buildCounterLivenessCheck < 3) {
704 o.checkInterval = "foo"; 704 o.checkInterval = "foo";
(...skipping 15 matching lines...) Expand all
720 unittest.expect(o.failureThreshold, unittest.equals(42)); 720 unittest.expect(o.failureThreshold, unittest.equals(42));
721 unittest.expect(o.host, unittest.equals('foo')); 721 unittest.expect(o.host, unittest.equals('foo'));
722 unittest.expect(o.initialDelay, unittest.equals('foo')); 722 unittest.expect(o.initialDelay, unittest.equals('foo'));
723 unittest.expect(o.path, unittest.equals('foo')); 723 unittest.expect(o.path, unittest.equals('foo'));
724 unittest.expect(o.successThreshold, unittest.equals(42)); 724 unittest.expect(o.successThreshold, unittest.equals(42));
725 unittest.expect(o.timeout, unittest.equals('foo')); 725 unittest.expect(o.timeout, unittest.equals('foo'));
726 } 726 }
727 buildCounterLivenessCheck--; 727 buildCounterLivenessCheck--;
728 } 728 }
729 729
730 buildUnnamed2630() { 730 buildUnnamed2667() {
731 var o = new core.Map<core.String, core.String>(); 731 var o = new core.Map<core.String, core.String>();
732 o["x"] = "foo"; 732 o["x"] = "foo";
733 o["y"] = "foo"; 733 o["y"] = "foo";
734 return o; 734 return o;
735 } 735 }
736 736
737 checkUnnamed2630(core.Map<core.String, core.String> o) { 737 checkUnnamed2667(core.Map<core.String, core.String> o) {
738 unittest.expect(o, unittest.hasLength(2)); 738 unittest.expect(o, unittest.hasLength(2));
739 unittest.expect(o["x"], unittest.equals('foo')); 739 unittest.expect(o["x"], unittest.equals('foo'));
740 unittest.expect(o["y"], unittest.equals('foo')); 740 unittest.expect(o["y"], unittest.equals('foo'));
741 } 741 }
742 742
743 buildUnnamed2631() { 743 buildUnnamed2668() {
744 var o = new core.Map<core.String, core.Object>(); 744 var o = new core.Map<core.String, core.Object>();
745 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 745 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
746 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 746 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
747 return o; 747 return o;
748 } 748 }
749 749
750 checkUnnamed2631(core.Map<core.String, core.Object> o) { 750 checkUnnamed2668(core.Map<core.String, core.Object> o) {
751 unittest.expect(o, unittest.hasLength(2)); 751 unittest.expect(o, unittest.hasLength(2));
752 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')); 752 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'));
753 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')); 753 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'));
754 } 754 }
755 755
756 core.int buildCounterLocation = 0; 756 core.int buildCounterLocation = 0;
757 buildLocation() { 757 buildLocation() {
758 var o = new api.Location(); 758 var o = new api.Location();
759 buildCounterLocation++; 759 buildCounterLocation++;
760 if (buildCounterLocation < 3) { 760 if (buildCounterLocation < 3) {
761 o.labels = buildUnnamed2630(); 761 o.labels = buildUnnamed2667();
762 o.locationId = "foo"; 762 o.locationId = "foo";
763 o.metadata = buildUnnamed2631(); 763 o.metadata = buildUnnamed2668();
764 o.name = "foo"; 764 o.name = "foo";
765 } 765 }
766 buildCounterLocation--; 766 buildCounterLocation--;
767 return o; 767 return o;
768 } 768 }
769 769
770 checkLocation(api.Location o) { 770 checkLocation(api.Location o) {
771 buildCounterLocation++; 771 buildCounterLocation++;
772 if (buildCounterLocation < 3) { 772 if (buildCounterLocation < 3) {
773 checkUnnamed2630(o.labels); 773 checkUnnamed2667(o.labels);
774 unittest.expect(o.locationId, unittest.equals('foo')); 774 unittest.expect(o.locationId, unittest.equals('foo'));
775 checkUnnamed2631(o.metadata); 775 checkUnnamed2668(o.metadata);
776 unittest.expect(o.name, unittest.equals('foo')); 776 unittest.expect(o.name, unittest.equals('foo'));
777 } 777 }
778 buildCounterLocation--; 778 buildCounterLocation--;
779 } 779 }
780 780
781 core.int buildCounterLocationMetadata = 0; 781 core.int buildCounterLocationMetadata = 0;
782 buildLocationMetadata() { 782 buildLocationMetadata() {
783 var o = new api.LocationMetadata(); 783 var o = new api.LocationMetadata();
784 buildCounterLocationMetadata++; 784 buildCounterLocationMetadata++;
785 if (buildCounterLocationMetadata < 3) { 785 if (buildCounterLocationMetadata < 3) {
(...skipping 25 matching lines...) Expand all
811 } 811 }
812 812
813 checkManualScaling(api.ManualScaling o) { 813 checkManualScaling(api.ManualScaling o) {
814 buildCounterManualScaling++; 814 buildCounterManualScaling++;
815 if (buildCounterManualScaling < 3) { 815 if (buildCounterManualScaling < 3) {
816 unittest.expect(o.instances, unittest.equals(42)); 816 unittest.expect(o.instances, unittest.equals(42));
817 } 817 }
818 buildCounterManualScaling--; 818 buildCounterManualScaling--;
819 } 819 }
820 820
821 buildUnnamed2632() { 821 buildUnnamed2669() {
822 var o = new core.List<core.String>(); 822 var o = new core.List<core.String>();
823 o.add("foo"); 823 o.add("foo");
824 o.add("foo"); 824 o.add("foo");
825 return o; 825 return o;
826 } 826 }
827 827
828 checkUnnamed2632(core.List<core.String> o) { 828 checkUnnamed2669(core.List<core.String> o) {
829 unittest.expect(o, unittest.hasLength(2)); 829 unittest.expect(o, unittest.hasLength(2));
830 unittest.expect(o[0], unittest.equals('foo')); 830 unittest.expect(o[0], unittest.equals('foo'));
831 unittest.expect(o[1], unittest.equals('foo')); 831 unittest.expect(o[1], unittest.equals('foo'));
832 } 832 }
833 833
834 core.int buildCounterNetwork = 0; 834 core.int buildCounterNetwork = 0;
835 buildNetwork() { 835 buildNetwork() {
836 var o = new api.Network(); 836 var o = new api.Network();
837 buildCounterNetwork++; 837 buildCounterNetwork++;
838 if (buildCounterNetwork < 3) { 838 if (buildCounterNetwork < 3) {
839 o.forwardedPorts = buildUnnamed2632(); 839 o.forwardedPorts = buildUnnamed2669();
840 o.instanceTag = "foo"; 840 o.instanceTag = "foo";
841 o.name = "foo"; 841 o.name = "foo";
842 o.subnetworkName = "foo"; 842 o.subnetworkName = "foo";
843 } 843 }
844 buildCounterNetwork--; 844 buildCounterNetwork--;
845 return o; 845 return o;
846 } 846 }
847 847
848 checkNetwork(api.Network o) { 848 checkNetwork(api.Network o) {
849 buildCounterNetwork++; 849 buildCounterNetwork++;
850 if (buildCounterNetwork < 3) { 850 if (buildCounterNetwork < 3) {
851 checkUnnamed2632(o.forwardedPorts); 851 checkUnnamed2669(o.forwardedPorts);
852 unittest.expect(o.instanceTag, unittest.equals('foo')); 852 unittest.expect(o.instanceTag, unittest.equals('foo'));
853 unittest.expect(o.name, unittest.equals('foo')); 853 unittest.expect(o.name, unittest.equals('foo'));
854 unittest.expect(o.subnetworkName, unittest.equals('foo')); 854 unittest.expect(o.subnetworkName, unittest.equals('foo'));
855 } 855 }
856 buildCounterNetwork--; 856 buildCounterNetwork--;
857 } 857 }
858 858
859 core.int buildCounterNetworkUtilization = 0; 859 core.int buildCounterNetworkUtilization = 0;
860 buildNetworkUtilization() { 860 buildNetworkUtilization() {
861 var o = new api.NetworkUtilization(); 861 var o = new api.NetworkUtilization();
(...skipping 12 matching lines...) Expand all
874 buildCounterNetworkUtilization++; 874 buildCounterNetworkUtilization++;
875 if (buildCounterNetworkUtilization < 3) { 875 if (buildCounterNetworkUtilization < 3) {
876 unittest.expect(o.targetReceivedBytesPerSecond, unittest.equals(42)); 876 unittest.expect(o.targetReceivedBytesPerSecond, unittest.equals(42));
877 unittest.expect(o.targetReceivedPacketsPerSecond, unittest.equals(42)); 877 unittest.expect(o.targetReceivedPacketsPerSecond, unittest.equals(42));
878 unittest.expect(o.targetSentBytesPerSecond, unittest.equals(42)); 878 unittest.expect(o.targetSentBytesPerSecond, unittest.equals(42));
879 unittest.expect(o.targetSentPacketsPerSecond, unittest.equals(42)); 879 unittest.expect(o.targetSentPacketsPerSecond, unittest.equals(42));
880 } 880 }
881 buildCounterNetworkUtilization--; 881 buildCounterNetworkUtilization--;
882 } 882 }
883 883
884 buildUnnamed2633() { 884 buildUnnamed2670() {
885 var o = new core.Map<core.String, core.Object>(); 885 var o = new core.Map<core.String, core.Object>();
886 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 886 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
887 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 887 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
888 return o; 888 return o;
889 } 889 }
890 890
891 checkUnnamed2633(core.Map<core.String, core.Object> o) { 891 checkUnnamed2670(core.Map<core.String, core.Object> o) {
892 unittest.expect(o, unittest.hasLength(2)); 892 unittest.expect(o, unittest.hasLength(2));
893 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')); 893 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'));
894 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')); 894 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'));
895 } 895 }
896 896
897 buildUnnamed2634() { 897 buildUnnamed2671() {
898 var o = new core.Map<core.String, core.Object>(); 898 var o = new core.Map<core.String, core.Object>();
899 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 899 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
900 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 900 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
901 return o; 901 return o;
902 } 902 }
903 903
904 checkUnnamed2634(core.Map<core.String, core.Object> o) { 904 checkUnnamed2671(core.Map<core.String, core.Object> o) {
905 unittest.expect(o, unittest.hasLength(2)); 905 unittest.expect(o, unittest.hasLength(2));
906 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')); 906 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'));
907 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')); 907 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'));
908 } 908 }
909 909
910 core.int buildCounterOperation = 0; 910 core.int buildCounterOperation = 0;
911 buildOperation() { 911 buildOperation() {
912 var o = new api.Operation(); 912 var o = new api.Operation();
913 buildCounterOperation++; 913 buildCounterOperation++;
914 if (buildCounterOperation < 3) { 914 if (buildCounterOperation < 3) {
915 o.done = true; 915 o.done = true;
916 o.error = buildStatus(); 916 o.error = buildStatus();
917 o.metadata = buildUnnamed2633(); 917 o.metadata = buildUnnamed2670();
918 o.name = "foo"; 918 o.name = "foo";
919 o.response = buildUnnamed2634(); 919 o.response = buildUnnamed2671();
920 } 920 }
921 buildCounterOperation--; 921 buildCounterOperation--;
922 return o; 922 return o;
923 } 923 }
924 924
925 checkOperation(api.Operation o) { 925 checkOperation(api.Operation o) {
926 buildCounterOperation++; 926 buildCounterOperation++;
927 if (buildCounterOperation < 3) { 927 if (buildCounterOperation < 3) {
928 unittest.expect(o.done, unittest.isTrue); 928 unittest.expect(o.done, unittest.isTrue);
929 checkStatus(o.error); 929 checkStatus(o.error);
930 checkUnnamed2633(o.metadata); 930 checkUnnamed2670(o.metadata);
931 unittest.expect(o.name, unittest.equals('foo')); 931 unittest.expect(o.name, unittest.equals('foo'));
932 checkUnnamed2634(o.response); 932 checkUnnamed2671(o.response);
933 } 933 }
934 buildCounterOperation--; 934 buildCounterOperation--;
935 } 935 }
936 936
937 core.int buildCounterOperationMetadata = 0; 937 core.int buildCounterOperationMetadata = 0;
938 buildOperationMetadata() { 938 buildOperationMetadata() {
939 var o = new api.OperationMetadata(); 939 var o = new api.OperationMetadata();
940 buildCounterOperationMetadata++; 940 buildCounterOperationMetadata++;
941 if (buildCounterOperationMetadata < 3) { 941 if (buildCounterOperationMetadata < 3) {
942 o.endTime = "foo"; 942 o.endTime = "foo";
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
983 if (buildCounterOperationMetadataExperimental < 3) { 983 if (buildCounterOperationMetadataExperimental < 3) {
984 unittest.expect(o.endTime, unittest.equals('foo')); 984 unittest.expect(o.endTime, unittest.equals('foo'));
985 unittest.expect(o.insertTime, unittest.equals('foo')); 985 unittest.expect(o.insertTime, unittest.equals('foo'));
986 unittest.expect(o.method, unittest.equals('foo')); 986 unittest.expect(o.method, unittest.equals('foo'));
987 unittest.expect(o.target, unittest.equals('foo')); 987 unittest.expect(o.target, unittest.equals('foo'));
988 unittest.expect(o.user, unittest.equals('foo')); 988 unittest.expect(o.user, unittest.equals('foo'));
989 } 989 }
990 buildCounterOperationMetadataExperimental--; 990 buildCounterOperationMetadataExperimental--;
991 } 991 }
992 992
993 buildUnnamed2635() { 993 buildUnnamed2672() {
994 var o = new core.List<core.String>(); 994 var o = new core.List<core.String>();
995 o.add("foo"); 995 o.add("foo");
996 o.add("foo"); 996 o.add("foo");
997 return o; 997 return o;
998 } 998 }
999 999
1000 checkUnnamed2635(core.List<core.String> o) { 1000 checkUnnamed2672(core.List<core.String> o) {
1001 unittest.expect(o, unittest.hasLength(2)); 1001 unittest.expect(o, unittest.hasLength(2));
1002 unittest.expect(o[0], unittest.equals('foo')); 1002 unittest.expect(o[0], unittest.equals('foo'));
1003 unittest.expect(o[1], unittest.equals('foo')); 1003 unittest.expect(o[1], unittest.equals('foo'));
1004 } 1004 }
1005 1005
1006 core.int buildCounterOperationMetadataV1 = 0; 1006 core.int buildCounterOperationMetadataV1 = 0;
1007 buildOperationMetadataV1() { 1007 buildOperationMetadataV1() {
1008 var o = new api.OperationMetadataV1(); 1008 var o = new api.OperationMetadataV1();
1009 buildCounterOperationMetadataV1++; 1009 buildCounterOperationMetadataV1++;
1010 if (buildCounterOperationMetadataV1 < 3) { 1010 if (buildCounterOperationMetadataV1 < 3) {
1011 o.endTime = "foo"; 1011 o.endTime = "foo";
1012 o.ephemeralMessage = "foo"; 1012 o.ephemeralMessage = "foo";
1013 o.insertTime = "foo"; 1013 o.insertTime = "foo";
1014 o.method = "foo"; 1014 o.method = "foo";
1015 o.target = "foo"; 1015 o.target = "foo";
1016 o.user = "foo"; 1016 o.user = "foo";
1017 o.warning = buildUnnamed2635(); 1017 o.warning = buildUnnamed2672();
1018 } 1018 }
1019 buildCounterOperationMetadataV1--; 1019 buildCounterOperationMetadataV1--;
1020 return o; 1020 return o;
1021 } 1021 }
1022 1022
1023 checkOperationMetadataV1(api.OperationMetadataV1 o) { 1023 checkOperationMetadataV1(api.OperationMetadataV1 o) {
1024 buildCounterOperationMetadataV1++; 1024 buildCounterOperationMetadataV1++;
1025 if (buildCounterOperationMetadataV1 < 3) { 1025 if (buildCounterOperationMetadataV1 < 3) {
1026 unittest.expect(o.endTime, unittest.equals('foo')); 1026 unittest.expect(o.endTime, unittest.equals('foo'));
1027 unittest.expect(o.ephemeralMessage, unittest.equals('foo')); 1027 unittest.expect(o.ephemeralMessage, unittest.equals('foo'));
1028 unittest.expect(o.insertTime, unittest.equals('foo')); 1028 unittest.expect(o.insertTime, unittest.equals('foo'));
1029 unittest.expect(o.method, unittest.equals('foo')); 1029 unittest.expect(o.method, unittest.equals('foo'));
1030 unittest.expect(o.target, unittest.equals('foo')); 1030 unittest.expect(o.target, unittest.equals('foo'));
1031 unittest.expect(o.user, unittest.equals('foo')); 1031 unittest.expect(o.user, unittest.equals('foo'));
1032 checkUnnamed2635(o.warning); 1032 checkUnnamed2672(o.warning);
1033 } 1033 }
1034 buildCounterOperationMetadataV1--; 1034 buildCounterOperationMetadataV1--;
1035 } 1035 }
1036 1036
1037 buildUnnamed2636() { 1037 buildUnnamed2673() {
1038 var o = new core.List<core.String>(); 1038 var o = new core.List<core.String>();
1039 o.add("foo"); 1039 o.add("foo");
1040 o.add("foo"); 1040 o.add("foo");
1041 return o; 1041 return o;
1042 } 1042 }
1043 1043
1044 checkUnnamed2636(core.List<core.String> o) { 1044 checkUnnamed2673(core.List<core.String> o) {
1045 unittest.expect(o, unittest.hasLength(2)); 1045 unittest.expect(o, unittest.hasLength(2));
1046 unittest.expect(o[0], unittest.equals('foo')); 1046 unittest.expect(o[0], unittest.equals('foo'));
1047 unittest.expect(o[1], unittest.equals('foo')); 1047 unittest.expect(o[1], unittest.equals('foo'));
1048 } 1048 }
1049 1049
1050 core.int buildCounterOperationMetadataV1Alpha = 0; 1050 core.int buildCounterOperationMetadataV1Alpha = 0;
1051 buildOperationMetadataV1Alpha() { 1051 buildOperationMetadataV1Alpha() {
1052 var o = new api.OperationMetadataV1Alpha(); 1052 var o = new api.OperationMetadataV1Alpha();
1053 buildCounterOperationMetadataV1Alpha++; 1053 buildCounterOperationMetadataV1Alpha++;
1054 if (buildCounterOperationMetadataV1Alpha < 3) { 1054 if (buildCounterOperationMetadataV1Alpha < 3) {
1055 o.endTime = "foo"; 1055 o.endTime = "foo";
1056 o.ephemeralMessage = "foo"; 1056 o.ephemeralMessage = "foo";
1057 o.insertTime = "foo"; 1057 o.insertTime = "foo";
1058 o.method = "foo"; 1058 o.method = "foo";
1059 o.target = "foo"; 1059 o.target = "foo";
1060 o.user = "foo"; 1060 o.user = "foo";
1061 o.warning = buildUnnamed2636(); 1061 o.warning = buildUnnamed2673();
1062 } 1062 }
1063 buildCounterOperationMetadataV1Alpha--; 1063 buildCounterOperationMetadataV1Alpha--;
1064 return o; 1064 return o;
1065 } 1065 }
1066 1066
1067 checkOperationMetadataV1Alpha(api.OperationMetadataV1Alpha o) { 1067 checkOperationMetadataV1Alpha(api.OperationMetadataV1Alpha o) {
1068 buildCounterOperationMetadataV1Alpha++; 1068 buildCounterOperationMetadataV1Alpha++;
1069 if (buildCounterOperationMetadataV1Alpha < 3) { 1069 if (buildCounterOperationMetadataV1Alpha < 3) {
1070 unittest.expect(o.endTime, unittest.equals('foo')); 1070 unittest.expect(o.endTime, unittest.equals('foo'));
1071 unittest.expect(o.ephemeralMessage, unittest.equals('foo')); 1071 unittest.expect(o.ephemeralMessage, unittest.equals('foo'));
1072 unittest.expect(o.insertTime, unittest.equals('foo')); 1072 unittest.expect(o.insertTime, unittest.equals('foo'));
1073 unittest.expect(o.method, unittest.equals('foo')); 1073 unittest.expect(o.method, unittest.equals('foo'));
1074 unittest.expect(o.target, unittest.equals('foo')); 1074 unittest.expect(o.target, unittest.equals('foo'));
1075 unittest.expect(o.user, unittest.equals('foo')); 1075 unittest.expect(o.user, unittest.equals('foo'));
1076 checkUnnamed2636(o.warning); 1076 checkUnnamed2673(o.warning);
1077 } 1077 }
1078 buildCounterOperationMetadataV1Alpha--; 1078 buildCounterOperationMetadataV1Alpha--;
1079 } 1079 }
1080 1080
1081 buildUnnamed2637() { 1081 buildUnnamed2674() {
1082 var o = new core.List<core.String>(); 1082 var o = new core.List<core.String>();
1083 o.add("foo"); 1083 o.add("foo");
1084 o.add("foo"); 1084 o.add("foo");
1085 return o; 1085 return o;
1086 } 1086 }
1087 1087
1088 checkUnnamed2637(core.List<core.String> o) { 1088 checkUnnamed2674(core.List<core.String> o) {
1089 unittest.expect(o, unittest.hasLength(2)); 1089 unittest.expect(o, unittest.hasLength(2));
1090 unittest.expect(o[0], unittest.equals('foo')); 1090 unittest.expect(o[0], unittest.equals('foo'));
1091 unittest.expect(o[1], unittest.equals('foo')); 1091 unittest.expect(o[1], unittest.equals('foo'));
1092 } 1092 }
1093 1093
1094 core.int buildCounterOperationMetadataV1Beta = 0; 1094 core.int buildCounterOperationMetadataV1Beta = 0;
1095 buildOperationMetadataV1Beta() { 1095 buildOperationMetadataV1Beta() {
1096 var o = new api.OperationMetadataV1Beta(); 1096 var o = new api.OperationMetadataV1Beta();
1097 buildCounterOperationMetadataV1Beta++; 1097 buildCounterOperationMetadataV1Beta++;
1098 if (buildCounterOperationMetadataV1Beta < 3) { 1098 if (buildCounterOperationMetadataV1Beta < 3) {
1099 o.endTime = "foo"; 1099 o.endTime = "foo";
1100 o.ephemeralMessage = "foo"; 1100 o.ephemeralMessage = "foo";
1101 o.insertTime = "foo"; 1101 o.insertTime = "foo";
1102 o.method = "foo"; 1102 o.method = "foo";
1103 o.target = "foo"; 1103 o.target = "foo";
1104 o.user = "foo"; 1104 o.user = "foo";
1105 o.warning = buildUnnamed2637(); 1105 o.warning = buildUnnamed2674();
1106 } 1106 }
1107 buildCounterOperationMetadataV1Beta--; 1107 buildCounterOperationMetadataV1Beta--;
1108 return o; 1108 return o;
1109 } 1109 }
1110 1110
1111 checkOperationMetadataV1Beta(api.OperationMetadataV1Beta o) { 1111 checkOperationMetadataV1Beta(api.OperationMetadataV1Beta o) {
1112 buildCounterOperationMetadataV1Beta++; 1112 buildCounterOperationMetadataV1Beta++;
1113 if (buildCounterOperationMetadataV1Beta < 3) { 1113 if (buildCounterOperationMetadataV1Beta < 3) {
1114 unittest.expect(o.endTime, unittest.equals('foo')); 1114 unittest.expect(o.endTime, unittest.equals('foo'));
1115 unittest.expect(o.ephemeralMessage, unittest.equals('foo')); 1115 unittest.expect(o.ephemeralMessage, unittest.equals('foo'));
1116 unittest.expect(o.insertTime, unittest.equals('foo')); 1116 unittest.expect(o.insertTime, unittest.equals('foo'));
1117 unittest.expect(o.method, unittest.equals('foo')); 1117 unittest.expect(o.method, unittest.equals('foo'));
1118 unittest.expect(o.target, unittest.equals('foo')); 1118 unittest.expect(o.target, unittest.equals('foo'));
1119 unittest.expect(o.user, unittest.equals('foo')); 1119 unittest.expect(o.user, unittest.equals('foo'));
1120 checkUnnamed2637(o.warning); 1120 checkUnnamed2674(o.warning);
1121 } 1121 }
1122 buildCounterOperationMetadataV1Beta--; 1122 buildCounterOperationMetadataV1Beta--;
1123 } 1123 }
1124 1124
1125 core.int buildCounterOperationMetadataV1Beta5 = 0; 1125 core.int buildCounterOperationMetadataV1Beta5 = 0;
1126 buildOperationMetadataV1Beta5() { 1126 buildOperationMetadataV1Beta5() {
1127 var o = new api.OperationMetadataV1Beta5(); 1127 var o = new api.OperationMetadataV1Beta5();
1128 buildCounterOperationMetadataV1Beta5++; 1128 buildCounterOperationMetadataV1Beta5++;
1129 if (buildCounterOperationMetadataV1Beta5 < 3) { 1129 if (buildCounterOperationMetadataV1Beta5 < 3) {
1130 o.endTime = "foo"; 1130 o.endTime = "foo";
(...skipping 16 matching lines...) Expand all
1147 unittest.expect(o.user, unittest.equals('foo')); 1147 unittest.expect(o.user, unittest.equals('foo'));
1148 } 1148 }
1149 buildCounterOperationMetadataV1Beta5--; 1149 buildCounterOperationMetadataV1Beta5--;
1150 } 1150 }
1151 1151
1152 core.int buildCounterReadinessCheck = 0; 1152 core.int buildCounterReadinessCheck = 0;
1153 buildReadinessCheck() { 1153 buildReadinessCheck() {
1154 var o = new api.ReadinessCheck(); 1154 var o = new api.ReadinessCheck();
1155 buildCounterReadinessCheck++; 1155 buildCounterReadinessCheck++;
1156 if (buildCounterReadinessCheck < 3) { 1156 if (buildCounterReadinessCheck < 3) {
1157 o.appStartTimeout = "foo";
1157 o.checkInterval = "foo"; 1158 o.checkInterval = "foo";
1158 o.failureThreshold = 42; 1159 o.failureThreshold = 42;
1159 o.host = "foo"; 1160 o.host = "foo";
1160 o.path = "foo"; 1161 o.path = "foo";
1161 o.successThreshold = 42; 1162 o.successThreshold = 42;
1162 o.timeout = "foo"; 1163 o.timeout = "foo";
1163 } 1164 }
1164 buildCounterReadinessCheck--; 1165 buildCounterReadinessCheck--;
1165 return o; 1166 return o;
1166 } 1167 }
1167 1168
1168 checkReadinessCheck(api.ReadinessCheck o) { 1169 checkReadinessCheck(api.ReadinessCheck o) {
1169 buildCounterReadinessCheck++; 1170 buildCounterReadinessCheck++;
1170 if (buildCounterReadinessCheck < 3) { 1171 if (buildCounterReadinessCheck < 3) {
1172 unittest.expect(o.appStartTimeout, unittest.equals('foo'));
1171 unittest.expect(o.checkInterval, unittest.equals('foo')); 1173 unittest.expect(o.checkInterval, unittest.equals('foo'));
1172 unittest.expect(o.failureThreshold, unittest.equals(42)); 1174 unittest.expect(o.failureThreshold, unittest.equals(42));
1173 unittest.expect(o.host, unittest.equals('foo')); 1175 unittest.expect(o.host, unittest.equals('foo'));
1174 unittest.expect(o.path, unittest.equals('foo')); 1176 unittest.expect(o.path, unittest.equals('foo'));
1175 unittest.expect(o.successThreshold, unittest.equals(42)); 1177 unittest.expect(o.successThreshold, unittest.equals(42));
1176 unittest.expect(o.timeout, unittest.equals('foo')); 1178 unittest.expect(o.timeout, unittest.equals('foo'));
1177 } 1179 }
1178 buildCounterReadinessCheck--; 1180 buildCounterReadinessCheck--;
1179 } 1181 }
1180 1182
(...skipping 28 matching lines...) Expand all
1209 1211
1210 checkRequestUtilization(api.RequestUtilization o) { 1212 checkRequestUtilization(api.RequestUtilization o) {
1211 buildCounterRequestUtilization++; 1213 buildCounterRequestUtilization++;
1212 if (buildCounterRequestUtilization < 3) { 1214 if (buildCounterRequestUtilization < 3) {
1213 unittest.expect(o.targetConcurrentRequests, unittest.equals(42)); 1215 unittest.expect(o.targetConcurrentRequests, unittest.equals(42));
1214 unittest.expect(o.targetRequestCountPerSecond, unittest.equals(42)); 1216 unittest.expect(o.targetRequestCountPerSecond, unittest.equals(42));
1215 } 1217 }
1216 buildCounterRequestUtilization--; 1218 buildCounterRequestUtilization--;
1217 } 1219 }
1218 1220
1219 buildUnnamed2638() { 1221 buildUnnamed2675() {
1220 var o = new core.List<api.Volume>(); 1222 var o = new core.List<api.Volume>();
1221 o.add(buildVolume()); 1223 o.add(buildVolume());
1222 o.add(buildVolume()); 1224 o.add(buildVolume());
1223 return o; 1225 return o;
1224 } 1226 }
1225 1227
1226 checkUnnamed2638(core.List<api.Volume> o) { 1228 checkUnnamed2675(core.List<api.Volume> o) {
1227 unittest.expect(o, unittest.hasLength(2)); 1229 unittest.expect(o, unittest.hasLength(2));
1228 checkVolume(o[0]); 1230 checkVolume(o[0]);
1229 checkVolume(o[1]); 1231 checkVolume(o[1]);
1230 } 1232 }
1231 1233
1232 core.int buildCounterResources = 0; 1234 core.int buildCounterResources = 0;
1233 buildResources() { 1235 buildResources() {
1234 var o = new api.Resources(); 1236 var o = new api.Resources();
1235 buildCounterResources++; 1237 buildCounterResources++;
1236 if (buildCounterResources < 3) { 1238 if (buildCounterResources < 3) {
1237 o.cpu = 42.0; 1239 o.cpu = 42.0;
1238 o.diskGb = 42.0; 1240 o.diskGb = 42.0;
1239 o.memoryGb = 42.0; 1241 o.memoryGb = 42.0;
1240 o.volumes = buildUnnamed2638(); 1242 o.volumes = buildUnnamed2675();
1241 } 1243 }
1242 buildCounterResources--; 1244 buildCounterResources--;
1243 return o; 1245 return o;
1244 } 1246 }
1245 1247
1246 checkResources(api.Resources o) { 1248 checkResources(api.Resources o) {
1247 buildCounterResources++; 1249 buildCounterResources++;
1248 if (buildCounterResources < 3) { 1250 if (buildCounterResources < 3) {
1249 unittest.expect(o.cpu, unittest.equals(42.0)); 1251 unittest.expect(o.cpu, unittest.equals(42.0));
1250 unittest.expect(o.diskGb, unittest.equals(42.0)); 1252 unittest.expect(o.diskGb, unittest.equals(42.0));
1251 unittest.expect(o.memoryGb, unittest.equals(42.0)); 1253 unittest.expect(o.memoryGb, unittest.equals(42.0));
1252 checkUnnamed2638(o.volumes); 1254 checkUnnamed2675(o.volumes);
1253 } 1255 }
1254 buildCounterResources--; 1256 buildCounterResources--;
1255 } 1257 }
1256 1258
1257 core.int buildCounterScriptHandler = 0; 1259 core.int buildCounterScriptHandler = 0;
1258 buildScriptHandler() { 1260 buildScriptHandler() {
1259 var o = new api.ScriptHandler(); 1261 var o = new api.ScriptHandler();
1260 buildCounterScriptHandler++; 1262 buildCounterScriptHandler++;
1261 if (buildCounterScriptHandler < 3) { 1263 if (buildCounterScriptHandler < 3) {
1262 o.scriptPath = "foo"; 1264 o.scriptPath = "foo";
(...skipping 26 matching lines...) Expand all
1289 checkService(api.Service o) { 1291 checkService(api.Service o) {
1290 buildCounterService++; 1292 buildCounterService++;
1291 if (buildCounterService < 3) { 1293 if (buildCounterService < 3) {
1292 unittest.expect(o.id, unittest.equals('foo')); 1294 unittest.expect(o.id, unittest.equals('foo'));
1293 unittest.expect(o.name, unittest.equals('foo')); 1295 unittest.expect(o.name, unittest.equals('foo'));
1294 checkTrafficSplit(o.split); 1296 checkTrafficSplit(o.split);
1295 } 1297 }
1296 buildCounterService--; 1298 buildCounterService--;
1297 } 1299 }
1298 1300
1299 buildUnnamed2639() { 1301 buildUnnamed2676() {
1300 var o = new core.Map<core.String, core.String>(); 1302 var o = new core.Map<core.String, core.String>();
1301 o["x"] = "foo"; 1303 o["x"] = "foo";
1302 o["y"] = "foo"; 1304 o["y"] = "foo";
1303 return o; 1305 return o;
1304 } 1306 }
1305 1307
1306 checkUnnamed2639(core.Map<core.String, core.String> o) { 1308 checkUnnamed2676(core.Map<core.String, core.String> o) {
1307 unittest.expect(o, unittest.hasLength(2)); 1309 unittest.expect(o, unittest.hasLength(2));
1308 unittest.expect(o["x"], unittest.equals('foo')); 1310 unittest.expect(o["x"], unittest.equals('foo'));
1309 unittest.expect(o["y"], unittest.equals('foo')); 1311 unittest.expect(o["y"], unittest.equals('foo'));
1310 } 1312 }
1311 1313
1312 core.int buildCounterStaticFilesHandler = 0; 1314 core.int buildCounterStaticFilesHandler = 0;
1313 buildStaticFilesHandler() { 1315 buildStaticFilesHandler() {
1314 var o = new api.StaticFilesHandler(); 1316 var o = new api.StaticFilesHandler();
1315 buildCounterStaticFilesHandler++; 1317 buildCounterStaticFilesHandler++;
1316 if (buildCounterStaticFilesHandler < 3) { 1318 if (buildCounterStaticFilesHandler < 3) {
1317 o.applicationReadable = true; 1319 o.applicationReadable = true;
1318 o.expiration = "foo"; 1320 o.expiration = "foo";
1319 o.httpHeaders = buildUnnamed2639(); 1321 o.httpHeaders = buildUnnamed2676();
1320 o.mimeType = "foo"; 1322 o.mimeType = "foo";
1321 o.path = "foo"; 1323 o.path = "foo";
1322 o.requireMatchingFile = true; 1324 o.requireMatchingFile = true;
1323 o.uploadPathRegex = "foo"; 1325 o.uploadPathRegex = "foo";
1324 } 1326 }
1325 buildCounterStaticFilesHandler--; 1327 buildCounterStaticFilesHandler--;
1326 return o; 1328 return o;
1327 } 1329 }
1328 1330
1329 checkStaticFilesHandler(api.StaticFilesHandler o) { 1331 checkStaticFilesHandler(api.StaticFilesHandler o) {
1330 buildCounterStaticFilesHandler++; 1332 buildCounterStaticFilesHandler++;
1331 if (buildCounterStaticFilesHandler < 3) { 1333 if (buildCounterStaticFilesHandler < 3) {
1332 unittest.expect(o.applicationReadable, unittest.isTrue); 1334 unittest.expect(o.applicationReadable, unittest.isTrue);
1333 unittest.expect(o.expiration, unittest.equals('foo')); 1335 unittest.expect(o.expiration, unittest.equals('foo'));
1334 checkUnnamed2639(o.httpHeaders); 1336 checkUnnamed2676(o.httpHeaders);
1335 unittest.expect(o.mimeType, unittest.equals('foo')); 1337 unittest.expect(o.mimeType, unittest.equals('foo'));
1336 unittest.expect(o.path, unittest.equals('foo')); 1338 unittest.expect(o.path, unittest.equals('foo'));
1337 unittest.expect(o.requireMatchingFile, unittest.isTrue); 1339 unittest.expect(o.requireMatchingFile, unittest.isTrue);
1338 unittest.expect(o.uploadPathRegex, unittest.equals('foo')); 1340 unittest.expect(o.uploadPathRegex, unittest.equals('foo'));
1339 } 1341 }
1340 buildCounterStaticFilesHandler--; 1342 buildCounterStaticFilesHandler--;
1341 } 1343 }
1342 1344
1343 buildUnnamed2640() { 1345 buildUnnamed2677() {
1344 var o = new core.Map<core.String, core.Object>(); 1346 var o = new core.Map<core.String, core.Object>();
1345 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1347 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1346 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1348 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1347 return o; 1349 return o;
1348 } 1350 }
1349 1351
1350 checkUnnamed2640(core.Map<core.String, core.Object> o) { 1352 checkUnnamed2677(core.Map<core.String, core.Object> o) {
1351 unittest.expect(o, unittest.hasLength(2)); 1353 unittest.expect(o, unittest.hasLength(2));
1352 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')); 1354 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'));
1353 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')); 1355 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'));
1354 } 1356 }
1355 1357
1356 buildUnnamed2641() { 1358 buildUnnamed2678() {
1357 var o = new core.List<core.Map<core.String, core.Object>>(); 1359 var o = new core.List<core.Map<core.String, core.Object>>();
1358 o.add(buildUnnamed2640()); 1360 o.add(buildUnnamed2677());
1359 o.add(buildUnnamed2640()); 1361 o.add(buildUnnamed2677());
1360 return o; 1362 return o;
1361 } 1363 }
1362 1364
1363 checkUnnamed2641(core.List<core.Map<core.String, core.Object>> o) { 1365 checkUnnamed2678(core.List<core.Map<core.String, core.Object>> o) {
1364 unittest.expect(o, unittest.hasLength(2)); 1366 unittest.expect(o, unittest.hasLength(2));
1365 checkUnnamed2640(o[0]); 1367 checkUnnamed2677(o[0]);
1366 checkUnnamed2640(o[1]); 1368 checkUnnamed2677(o[1]);
1367 } 1369 }
1368 1370
1369 core.int buildCounterStatus = 0; 1371 core.int buildCounterStatus = 0;
1370 buildStatus() { 1372 buildStatus() {
1371 var o = new api.Status(); 1373 var o = new api.Status();
1372 buildCounterStatus++; 1374 buildCounterStatus++;
1373 if (buildCounterStatus < 3) { 1375 if (buildCounterStatus < 3) {
1374 o.code = 42; 1376 o.code = 42;
1375 o.details = buildUnnamed2641(); 1377 o.details = buildUnnamed2678();
1376 o.message = "foo"; 1378 o.message = "foo";
1377 } 1379 }
1378 buildCounterStatus--; 1380 buildCounterStatus--;
1379 return o; 1381 return o;
1380 } 1382 }
1381 1383
1382 checkStatus(api.Status o) { 1384 checkStatus(api.Status o) {
1383 buildCounterStatus++; 1385 buildCounterStatus++;
1384 if (buildCounterStatus < 3) { 1386 if (buildCounterStatus < 3) {
1385 unittest.expect(o.code, unittest.equals(42)); 1387 unittest.expect(o.code, unittest.equals(42));
1386 checkUnnamed2641(o.details); 1388 checkUnnamed2678(o.details);
1387 unittest.expect(o.message, unittest.equals('foo')); 1389 unittest.expect(o.message, unittest.equals('foo'));
1388 } 1390 }
1389 buildCounterStatus--; 1391 buildCounterStatus--;
1390 } 1392 }
1391 1393
1392 buildUnnamed2642() { 1394 buildUnnamed2679() {
1393 var o = new core.Map<core.String, core.double>(); 1395 var o = new core.Map<core.String, core.double>();
1394 o["x"] = 42.0; 1396 o["x"] = 42.0;
1395 o["y"] = 42.0; 1397 o["y"] = 42.0;
1396 return o; 1398 return o;
1397 } 1399 }
1398 1400
1399 checkUnnamed2642(core.Map<core.String, core.double> o) { 1401 checkUnnamed2679(core.Map<core.String, core.double> o) {
1400 unittest.expect(o, unittest.hasLength(2)); 1402 unittest.expect(o, unittest.hasLength(2));
1401 unittest.expect(o["x"], unittest.equals(42.0)); 1403 unittest.expect(o["x"], unittest.equals(42.0));
1402 unittest.expect(o["y"], unittest.equals(42.0)); 1404 unittest.expect(o["y"], unittest.equals(42.0));
1403 } 1405 }
1404 1406
1405 core.int buildCounterTrafficSplit = 0; 1407 core.int buildCounterTrafficSplit = 0;
1406 buildTrafficSplit() { 1408 buildTrafficSplit() {
1407 var o = new api.TrafficSplit(); 1409 var o = new api.TrafficSplit();
1408 buildCounterTrafficSplit++; 1410 buildCounterTrafficSplit++;
1409 if (buildCounterTrafficSplit < 3) { 1411 if (buildCounterTrafficSplit < 3) {
1410 o.allocations = buildUnnamed2642(); 1412 o.allocations = buildUnnamed2679();
1411 o.shardBy = "foo"; 1413 o.shardBy = "foo";
1412 } 1414 }
1413 buildCounterTrafficSplit--; 1415 buildCounterTrafficSplit--;
1414 return o; 1416 return o;
1415 } 1417 }
1416 1418
1417 checkTrafficSplit(api.TrafficSplit o) { 1419 checkTrafficSplit(api.TrafficSplit o) {
1418 buildCounterTrafficSplit++; 1420 buildCounterTrafficSplit++;
1419 if (buildCounterTrafficSplit < 3) { 1421 if (buildCounterTrafficSplit < 3) {
1420 checkUnnamed2642(o.allocations); 1422 checkUnnamed2679(o.allocations);
1421 unittest.expect(o.shardBy, unittest.equals('foo')); 1423 unittest.expect(o.shardBy, unittest.equals('foo'));
1422 } 1424 }
1423 buildCounterTrafficSplit--; 1425 buildCounterTrafficSplit--;
1424 } 1426 }
1425 1427
1426 core.int buildCounterUrlDispatchRule = 0; 1428 core.int buildCounterUrlDispatchRule = 0;
1427 buildUrlDispatchRule() { 1429 buildUrlDispatchRule() {
1428 var o = new api.UrlDispatchRule(); 1430 var o = new api.UrlDispatchRule();
1429 buildCounterUrlDispatchRule++; 1431 buildCounterUrlDispatchRule++;
1430 if (buildCounterUrlDispatchRule < 3) { 1432 if (buildCounterUrlDispatchRule < 3) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
1472 unittest.expect(o.login, unittest.equals('foo')); 1474 unittest.expect(o.login, unittest.equals('foo'));
1473 unittest.expect(o.redirectHttpResponseCode, unittest.equals('foo')); 1475 unittest.expect(o.redirectHttpResponseCode, unittest.equals('foo'));
1474 checkScriptHandler(o.script); 1476 checkScriptHandler(o.script);
1475 unittest.expect(o.securityLevel, unittest.equals('foo')); 1477 unittest.expect(o.securityLevel, unittest.equals('foo'));
1476 checkStaticFilesHandler(o.staticFiles); 1478 checkStaticFilesHandler(o.staticFiles);
1477 unittest.expect(o.urlRegex, unittest.equals('foo')); 1479 unittest.expect(o.urlRegex, unittest.equals('foo'));
1478 } 1480 }
1479 buildCounterUrlMap--; 1481 buildCounterUrlMap--;
1480 } 1482 }
1481 1483
1482 buildUnnamed2643() { 1484 buildUnnamed2680() {
1483 var o = new core.Map<core.String, core.String>(); 1485 var o = new core.Map<core.String, core.String>();
1484 o["x"] = "foo"; 1486 o["x"] = "foo";
1485 o["y"] = "foo"; 1487 o["y"] = "foo";
1486 return o; 1488 return o;
1487 } 1489 }
1488 1490
1489 checkUnnamed2643(core.Map<core.String, core.String> o) { 1491 checkUnnamed2680(core.Map<core.String, core.String> o) {
1490 unittest.expect(o, unittest.hasLength(2)); 1492 unittest.expect(o, unittest.hasLength(2));
1491 unittest.expect(o["x"], unittest.equals('foo')); 1493 unittest.expect(o["x"], unittest.equals('foo'));
1492 unittest.expect(o["y"], unittest.equals('foo')); 1494 unittest.expect(o["y"], unittest.equals('foo'));
1493 } 1495 }
1494 1496
1495 buildUnnamed2644() { 1497 buildUnnamed2681() {
1496 var o = new core.Map<core.String, core.String>(); 1498 var o = new core.Map<core.String, core.String>();
1497 o["x"] = "foo"; 1499 o["x"] = "foo";
1498 o["y"] = "foo"; 1500 o["y"] = "foo";
1499 return o; 1501 return o;
1500 } 1502 }
1501 1503
1502 checkUnnamed2644(core.Map<core.String, core.String> o) { 1504 checkUnnamed2681(core.Map<core.String, core.String> o) {
1503 unittest.expect(o, unittest.hasLength(2)); 1505 unittest.expect(o, unittest.hasLength(2));
1504 unittest.expect(o["x"], unittest.equals('foo')); 1506 unittest.expect(o["x"], unittest.equals('foo'));
1505 unittest.expect(o["y"], unittest.equals('foo')); 1507 unittest.expect(o["y"], unittest.equals('foo'));
1506 } 1508 }
1507 1509
1508 buildUnnamed2645() { 1510 buildUnnamed2682() {
1509 var o = new core.List<api.ErrorHandler>(); 1511 var o = new core.List<api.ErrorHandler>();
1510 o.add(buildErrorHandler()); 1512 o.add(buildErrorHandler());
1511 o.add(buildErrorHandler()); 1513 o.add(buildErrorHandler());
1512 return o; 1514 return o;
1513 } 1515 }
1514 1516
1515 checkUnnamed2645(core.List<api.ErrorHandler> o) { 1517 checkUnnamed2682(core.List<api.ErrorHandler> o) {
1516 unittest.expect(o, unittest.hasLength(2)); 1518 unittest.expect(o, unittest.hasLength(2));
1517 checkErrorHandler(o[0]); 1519 checkErrorHandler(o[0]);
1518 checkErrorHandler(o[1]); 1520 checkErrorHandler(o[1]);
1519 } 1521 }
1520 1522
1521 buildUnnamed2646() { 1523 buildUnnamed2683() {
1522 var o = new core.List<api.UrlMap>(); 1524 var o = new core.List<api.UrlMap>();
1523 o.add(buildUrlMap()); 1525 o.add(buildUrlMap());
1524 o.add(buildUrlMap()); 1526 o.add(buildUrlMap());
1525 return o; 1527 return o;
1526 } 1528 }
1527 1529
1528 checkUnnamed2646(core.List<api.UrlMap> o) { 1530 checkUnnamed2683(core.List<api.UrlMap> o) {
1529 unittest.expect(o, unittest.hasLength(2)); 1531 unittest.expect(o, unittest.hasLength(2));
1530 checkUrlMap(o[0]); 1532 checkUrlMap(o[0]);
1531 checkUrlMap(o[1]); 1533 checkUrlMap(o[1]);
1532 } 1534 }
1533 1535
1534 buildUnnamed2647() { 1536 buildUnnamed2684() {
1535 var o = new core.List<core.String>(); 1537 var o = new core.List<core.String>();
1536 o.add("foo"); 1538 o.add("foo");
1537 o.add("foo"); 1539 o.add("foo");
1538 return o; 1540 return o;
1539 } 1541 }
1540 1542
1541 checkUnnamed2647(core.List<core.String> o) { 1543 checkUnnamed2684(core.List<core.String> o) {
1542 unittest.expect(o, unittest.hasLength(2)); 1544 unittest.expect(o, unittest.hasLength(2));
1543 unittest.expect(o[0], unittest.equals('foo')); 1545 unittest.expect(o[0], unittest.equals('foo'));
1544 unittest.expect(o[1], unittest.equals('foo')); 1546 unittest.expect(o[1], unittest.equals('foo'));
1545 } 1547 }
1546 1548
1547 buildUnnamed2648() { 1549 buildUnnamed2685() {
1548 var o = new core.List<api.Library>(); 1550 var o = new core.List<api.Library>();
1549 o.add(buildLibrary()); 1551 o.add(buildLibrary());
1550 o.add(buildLibrary()); 1552 o.add(buildLibrary());
1551 return o; 1553 return o;
1552 } 1554 }
1553 1555
1554 checkUnnamed2648(core.List<api.Library> o) { 1556 checkUnnamed2685(core.List<api.Library> o) {
1555 unittest.expect(o, unittest.hasLength(2)); 1557 unittest.expect(o, unittest.hasLength(2));
1556 checkLibrary(o[0]); 1558 checkLibrary(o[0]);
1557 checkLibrary(o[1]); 1559 checkLibrary(o[1]);
1558 } 1560 }
1559 1561
1560 core.int buildCounterVersion = 0; 1562 core.int buildCounterVersion = 0;
1561 buildVersion() { 1563 buildVersion() {
1562 var o = new api.Version(); 1564 var o = new api.Version();
1563 buildCounterVersion++; 1565 buildCounterVersion++;
1564 if (buildCounterVersion < 3) { 1566 if (buildCounterVersion < 3) {
1565 o.apiConfig = buildApiConfigHandler(); 1567 o.apiConfig = buildApiConfigHandler();
1566 o.automaticScaling = buildAutomaticScaling(); 1568 o.automaticScaling = buildAutomaticScaling();
1567 o.basicScaling = buildBasicScaling(); 1569 o.basicScaling = buildBasicScaling();
1568 o.betaSettings = buildUnnamed2643(); 1570 o.betaSettings = buildUnnamed2680();
1569 o.createTime = "foo"; 1571 o.createTime = "foo";
1570 o.createdBy = "foo"; 1572 o.createdBy = "foo";
1571 o.defaultExpiration = "foo"; 1573 o.defaultExpiration = "foo";
1572 o.deployment = buildDeployment(); 1574 o.deployment = buildDeployment();
1573 o.diskUsageBytes = "foo"; 1575 o.diskUsageBytes = "foo";
1574 o.endpointsApiService = buildEndpointsApiService(); 1576 o.endpointsApiService = buildEndpointsApiService();
1575 o.env = "foo"; 1577 o.env = "foo";
1576 o.envVariables = buildUnnamed2644(); 1578 o.envVariables = buildUnnamed2681();
1577 o.errorHandlers = buildUnnamed2645(); 1579 o.errorHandlers = buildUnnamed2682();
1578 o.handlers = buildUnnamed2646(); 1580 o.handlers = buildUnnamed2683();
1579 o.healthCheck = buildHealthCheck(); 1581 o.healthCheck = buildHealthCheck();
1580 o.id = "foo"; 1582 o.id = "foo";
1581 o.inboundServices = buildUnnamed2647(); 1583 o.inboundServices = buildUnnamed2684();
1582 o.instanceClass = "foo"; 1584 o.instanceClass = "foo";
1583 o.libraries = buildUnnamed2648(); 1585 o.libraries = buildUnnamed2685();
1584 o.livenessCheck = buildLivenessCheck(); 1586 o.livenessCheck = buildLivenessCheck();
1585 o.manualScaling = buildManualScaling(); 1587 o.manualScaling = buildManualScaling();
1586 o.name = "foo"; 1588 o.name = "foo";
1587 o.network = buildNetwork(); 1589 o.network = buildNetwork();
1588 o.nobuildFilesRegex = "foo"; 1590 o.nobuildFilesRegex = "foo";
1589 o.readinessCheck = buildReadinessCheck(); 1591 o.readinessCheck = buildReadinessCheck();
1590 o.resources = buildResources(); 1592 o.resources = buildResources();
1591 o.runtime = "foo"; 1593 o.runtime = "foo";
1592 o.runtimeApiVersion = "foo"; 1594 o.runtimeApiVersion = "foo";
1593 o.servingStatus = "foo"; 1595 o.servingStatus = "foo";
1594 o.threadsafe = true; 1596 o.threadsafe = true;
1595 o.versionUrl = "foo"; 1597 o.versionUrl = "foo";
1596 o.vm = true; 1598 o.vm = true;
1597 } 1599 }
1598 buildCounterVersion--; 1600 buildCounterVersion--;
1599 return o; 1601 return o;
1600 } 1602 }
1601 1603
1602 checkVersion(api.Version o) { 1604 checkVersion(api.Version o) {
1603 buildCounterVersion++; 1605 buildCounterVersion++;
1604 if (buildCounterVersion < 3) { 1606 if (buildCounterVersion < 3) {
1605 checkApiConfigHandler(o.apiConfig); 1607 checkApiConfigHandler(o.apiConfig);
1606 checkAutomaticScaling(o.automaticScaling); 1608 checkAutomaticScaling(o.automaticScaling);
1607 checkBasicScaling(o.basicScaling); 1609 checkBasicScaling(o.basicScaling);
1608 checkUnnamed2643(o.betaSettings); 1610 checkUnnamed2680(o.betaSettings);
1609 unittest.expect(o.createTime, unittest.equals('foo')); 1611 unittest.expect(o.createTime, unittest.equals('foo'));
1610 unittest.expect(o.createdBy, unittest.equals('foo')); 1612 unittest.expect(o.createdBy, unittest.equals('foo'));
1611 unittest.expect(o.defaultExpiration, unittest.equals('foo')); 1613 unittest.expect(o.defaultExpiration, unittest.equals('foo'));
1612 checkDeployment(o.deployment); 1614 checkDeployment(o.deployment);
1613 unittest.expect(o.diskUsageBytes, unittest.equals('foo')); 1615 unittest.expect(o.diskUsageBytes, unittest.equals('foo'));
1614 checkEndpointsApiService(o.endpointsApiService); 1616 checkEndpointsApiService(o.endpointsApiService);
1615 unittest.expect(o.env, unittest.equals('foo')); 1617 unittest.expect(o.env, unittest.equals('foo'));
1616 checkUnnamed2644(o.envVariables); 1618 checkUnnamed2681(o.envVariables);
1617 checkUnnamed2645(o.errorHandlers); 1619 checkUnnamed2682(o.errorHandlers);
1618 checkUnnamed2646(o.handlers); 1620 checkUnnamed2683(o.handlers);
1619 checkHealthCheck(o.healthCheck); 1621 checkHealthCheck(o.healthCheck);
1620 unittest.expect(o.id, unittest.equals('foo')); 1622 unittest.expect(o.id, unittest.equals('foo'));
1621 checkUnnamed2647(o.inboundServices); 1623 checkUnnamed2684(o.inboundServices);
1622 unittest.expect(o.instanceClass, unittest.equals('foo')); 1624 unittest.expect(o.instanceClass, unittest.equals('foo'));
1623 checkUnnamed2648(o.libraries); 1625 checkUnnamed2685(o.libraries);
1624 checkLivenessCheck(o.livenessCheck); 1626 checkLivenessCheck(o.livenessCheck);
1625 checkManualScaling(o.manualScaling); 1627 checkManualScaling(o.manualScaling);
1626 unittest.expect(o.name, unittest.equals('foo')); 1628 unittest.expect(o.name, unittest.equals('foo'));
1627 checkNetwork(o.network); 1629 checkNetwork(o.network);
1628 unittest.expect(o.nobuildFilesRegex, unittest.equals('foo')); 1630 unittest.expect(o.nobuildFilesRegex, unittest.equals('foo'));
1629 checkReadinessCheck(o.readinessCheck); 1631 checkReadinessCheck(o.readinessCheck);
1630 checkResources(o.resources); 1632 checkResources(o.resources);
1631 unittest.expect(o.runtime, unittest.equals('foo')); 1633 unittest.expect(o.runtime, unittest.equals('foo'));
1632 unittest.expect(o.runtimeApiVersion, unittest.equals('foo')); 1634 unittest.expect(o.runtimeApiVersion, unittest.equals('foo'));
1633 unittest.expect(o.servingStatus, unittest.equals('foo')); 1635 unittest.expect(o.servingStatus, unittest.equals('foo'));
(...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after
2501 res.get(arg_appsId, arg_operationsId).then(unittest.expectAsync1(((api.Ope ration response) { 2503 res.get(arg_appsId, arg_operationsId).then(unittest.expectAsync1(((api.Ope ration response) {
2502 checkOperation(response); 2504 checkOperation(response);
2503 }))); 2505 })));
2504 }); 2506 });
2505 2507
2506 unittest.test("method--list", () { 2508 unittest.test("method--list", () {
2507 2509
2508 var mock = new HttpServerMock(); 2510 var mock = new HttpServerMock();
2509 api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operat ions; 2511 api.AppsOperationsResourceApi res = new api.AppengineApi(mock).apps.operat ions;
2510 var arg_appsId = "foo"; 2512 var arg_appsId = "foo";
2513 var arg_pageToken = "foo";
2511 var arg_pageSize = 42; 2514 var arg_pageSize = 42;
2512 var arg_filter = "foo"; 2515 var arg_filter = "foo";
2513 var arg_pageToken = "foo";
2514 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 2516 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
2515 var path = (req.url).path; 2517 var path = (req.url).path;
2516 var pathOffset = 0; 2518 var pathOffset = 0;
2517 var index; 2519 var index;
2518 var subPart; 2520 var subPart;
2519 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 2521 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
2520 pathOffset += 1; 2522 pathOffset += 1;
2521 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ als("v1/apps/")); 2523 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ als("v1/apps/"));
2522 pathOffset += 8; 2524 pathOffset += 8;
2523 index = path.indexOf("/operations", pathOffset); 2525 index = path.indexOf("/operations", pathOffset);
(...skipping 13 matching lines...) Expand all
2537 if (n == "false") return false; 2539 if (n == "false") return false;
2538 if (n == null) return null; 2540 if (n == null) return null;
2539 throw new core.ArgumentError("Invalid boolean: $n"); 2541 throw new core.ArgumentError("Invalid boolean: $n");
2540 } 2542 }
2541 if (query.length > 0) { 2543 if (query.length > 0) {
2542 for (var part in query.split("&")) { 2544 for (var part in query.split("&")) {
2543 var keyvalue = part.split("="); 2545 var keyvalue = part.split("=");
2544 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 2546 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
2545 } 2547 }
2546 } 2548 }
2549 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
2547 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize)); 2550 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
2548 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); 2551 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
2549 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
2550 2552
2551 2553
2552 var h = { 2554 var h = {
2553 "content-type" : "application/json; charset=utf-8", 2555 "content-type" : "application/json; charset=utf-8",
2554 }; 2556 };
2555 var resp = convert.JSON.encode(buildListOperationsResponse()); 2557 var resp = convert.JSON.encode(buildListOperationsResponse());
2556 return new async.Future.value(stringResponse(200, h, resp)); 2558 return new async.Future.value(stringResponse(200, h, resp));
2557 }), true); 2559 }), true);
2558 res.list(arg_appsId, pageSize: arg_pageSize, filter: arg_filter, pageToken : arg_pageToken).then(unittest.expectAsync1(((api.ListOperationsResponse respons e) { 2560 res.list(arg_appsId, pageToken: arg_pageToken, pageSize: arg_pageSize, fil ter: arg_filter).then(unittest.expectAsync1(((api.ListOperationsResponse respons e) {
2559 checkListOperationsResponse(response); 2561 checkListOperationsResponse(response);
2560 }))); 2562 })));
2561 }); 2563 });
2562 2564
2563 }); 2565 });
2564 2566
2565 2567
2566 unittest.group("resource-AppsServicesResourceApi", () { 2568 unittest.group("resource-AppsServicesResourceApi", () {
2567 unittest.test("method--delete", () { 2569 unittest.test("method--delete", () {
2568 2570
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
2729 }))); 2731 })));
2730 }); 2732 });
2731 2733
2732 unittest.test("method--patch", () { 2734 unittest.test("method--patch", () {
2733 2735
2734 var mock = new HttpServerMock(); 2736 var mock = new HttpServerMock();
2735 api.AppsServicesResourceApi res = new api.AppengineApi(mock).apps.services ; 2737 api.AppsServicesResourceApi res = new api.AppengineApi(mock).apps.services ;
2736 var arg_request = buildService(); 2738 var arg_request = buildService();
2737 var arg_appsId = "foo"; 2739 var arg_appsId = "foo";
2738 var arg_servicesId = "foo"; 2740 var arg_servicesId = "foo";
2741 var arg_updateMask = "foo";
2739 var arg_migrateTraffic = true; 2742 var arg_migrateTraffic = true;
2740 var arg_updateMask = "foo";
2741 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 2743 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
2742 var obj = new api.Service.fromJson(json); 2744 var obj = new api.Service.fromJson(json);
2743 checkService(obj); 2745 checkService(obj);
2744 2746
2745 var path = (req.url).path; 2747 var path = (req.url).path;
2746 var pathOffset = 0; 2748 var pathOffset = 0;
2747 var index; 2749 var index;
2748 var subPart; 2750 var subPart;
2749 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 2751 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
2750 pathOffset += 1; 2752 pathOffset += 1;
(...skipping 19 matching lines...) Expand all
2770 if (n == "false") return false; 2772 if (n == "false") return false;
2771 if (n == null) return null; 2773 if (n == null) return null;
2772 throw new core.ArgumentError("Invalid boolean: $n"); 2774 throw new core.ArgumentError("Invalid boolean: $n");
2773 } 2775 }
2774 if (query.length > 0) { 2776 if (query.length > 0) {
2775 for (var part in query.split("&")) { 2777 for (var part in query.split("&")) {
2776 var keyvalue = part.split("="); 2778 var keyvalue = part.split("=");
2777 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 2779 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
2778 } 2780 }
2779 } 2781 }
2782 unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_update Mask));
2780 unittest.expect(queryMap["migrateTraffic"].first, unittest.equals("$arg_ migrateTraffic")); 2783 unittest.expect(queryMap["migrateTraffic"].first, unittest.equals("$arg_ migrateTraffic"));
2781 unittest.expect(queryMap["updateMask"].first, unittest.equals(arg_update Mask));
2782 2784
2783 2785
2784 var h = { 2786 var h = {
2785 "content-type" : "application/json; charset=utf-8", 2787 "content-type" : "application/json; charset=utf-8",
2786 }; 2788 };
2787 var resp = convert.JSON.encode(buildOperation()); 2789 var resp = convert.JSON.encode(buildOperation());
2788 return new async.Future.value(stringResponse(200, h, resp)); 2790 return new async.Future.value(stringResponse(200, h, resp));
2789 }), true); 2791 }), true);
2790 res.patch(arg_request, arg_appsId, arg_servicesId, migrateTraffic: arg_mig rateTraffic, updateMask: arg_updateMask).then(unittest.expectAsync1(((api.Operat ion response) { 2792 res.patch(arg_request, arg_appsId, arg_servicesId, updateMask: arg_updateM ask, migrateTraffic: arg_migrateTraffic).then(unittest.expectAsync1(((api.Operat ion response) {
2791 checkOperation(response); 2793 checkOperation(response);
2792 }))); 2794 })));
2793 }); 2795 });
2794 2796
2795 }); 2797 });
2796 2798
2797 2799
2798 unittest.group("resource-AppsServicesVersionsResourceApi", () { 2800 unittest.group("resource-AppsServicesVersionsResourceApi", () {
2799 unittest.test("method--create", () { 2801 unittest.test("method--create", () {
2800 2802
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
2986 checkVersion(response); 2988 checkVersion(response);
2987 }))); 2989 })));
2988 }); 2990 });
2989 2991
2990 unittest.test("method--list", () { 2992 unittest.test("method--list", () {
2991 2993
2992 var mock = new HttpServerMock(); 2994 var mock = new HttpServerMock();
2993 api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps. services.versions; 2995 api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps. services.versions;
2994 var arg_appsId = "foo"; 2996 var arg_appsId = "foo";
2995 var arg_servicesId = "foo"; 2997 var arg_servicesId = "foo";
2998 var arg_pageToken = "foo";
2996 var arg_pageSize = 42; 2999 var arg_pageSize = 42;
2997 var arg_view = "foo"; 3000 var arg_view = "foo";
2998 var arg_pageToken = "foo";
2999 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 3001 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
3000 var path = (req.url).path; 3002 var path = (req.url).path;
3001 var pathOffset = 0; 3003 var pathOffset = 0;
3002 var index; 3004 var index;
3003 var subPart; 3005 var subPart;
3004 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 3006 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
3005 pathOffset += 1; 3007 pathOffset += 1;
3006 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ als("v1/apps/")); 3008 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ als("v1/apps/"));
3007 pathOffset += 8; 3009 pathOffset += 8;
3008 index = path.indexOf("/services/", pathOffset); 3010 index = path.indexOf("/services/", pathOffset);
(...skipping 20 matching lines...) Expand all
3029 if (n == "false") return false; 3031 if (n == "false") return false;
3030 if (n == null) return null; 3032 if (n == null) return null;
3031 throw new core.ArgumentError("Invalid boolean: $n"); 3033 throw new core.ArgumentError("Invalid boolean: $n");
3032 } 3034 }
3033 if (query.length > 0) { 3035 if (query.length > 0) {
3034 for (var part in query.split("&")) { 3036 for (var part in query.split("&")) {
3035 var keyvalue = part.split("="); 3037 var keyvalue = part.split("=");
3036 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 3038 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
3037 } 3039 }
3038 } 3040 }
3041 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
3039 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize)); 3042 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
3040 unittest.expect(queryMap["view"].first, unittest.equals(arg_view)); 3043 unittest.expect(queryMap["view"].first, unittest.equals(arg_view));
3041 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
3042 3044
3043 3045
3044 var h = { 3046 var h = {
3045 "content-type" : "application/json; charset=utf-8", 3047 "content-type" : "application/json; charset=utf-8",
3046 }; 3048 };
3047 var resp = convert.JSON.encode(buildListVersionsResponse()); 3049 var resp = convert.JSON.encode(buildListVersionsResponse());
3048 return new async.Future.value(stringResponse(200, h, resp)); 3050 return new async.Future.value(stringResponse(200, h, resp));
3049 }), true); 3051 }), true);
3050 res.list(arg_appsId, arg_servicesId, pageSize: arg_pageSize, view: arg_vie w, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListVersionsRespon se response) { 3052 res.list(arg_appsId, arg_servicesId, pageToken: arg_pageToken, pageSize: a rg_pageSize, view: arg_view).then(unittest.expectAsync1(((api.ListVersionsRespon se response) {
3051 checkListVersionsResponse(response); 3053 checkListVersionsResponse(response);
3052 }))); 3054 })));
3053 }); 3055 });
3054 3056
3055 unittest.test("method--patch", () { 3057 unittest.test("method--patch", () {
3056 3058
3057 var mock = new HttpServerMock(); 3059 var mock = new HttpServerMock();
3058 api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps. services.versions; 3060 api.AppsServicesVersionsResourceApi res = new api.AppengineApi(mock).apps. services.versions;
3059 var arg_request = buildVersion(); 3061 var arg_request = buildVersion();
3060 var arg_appsId = "foo"; 3062 var arg_appsId = "foo";
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
3415 res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSiz e, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListInstancesRespo nse response) { 3417 res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSiz e, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.ListInstancesRespo nse response) {
3416 checkListInstancesResponse(response); 3418 checkListInstancesResponse(response);
3417 }))); 3419 })));
3418 }); 3420 });
3419 3421
3420 }); 3422 });
3421 3423
3422 3424
3423 } 3425 }
3424 3426
OLDNEW
« no previous file with comments | « generated/googleapis/test/androidpublisher/v2_test.dart ('k') | generated/googleapis/test/appsactivity/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698