OLD | NEW |
1 library googleapis_beta.appengine.v1beta4.test; | 1 library googleapis_beta.appengine.v1beta4.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 Loading... |
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 buildUnnamed3753() { | 100 buildUnnamed3845() { |
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 checkUnnamed3753(core.List<api.UrlDispatchRule> o) { | 107 checkUnnamed3845(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 = buildUnnamed3753(); | 123 o.dispatchRules = buildUnnamed3845(); |
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 checkUnnamed3753(o.dispatchRules); | 140 checkUnnamed3845(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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 } | 259 } |
260 | 260 |
261 checkDebugInstanceRequest(api.DebugInstanceRequest o) { | 261 checkDebugInstanceRequest(api.DebugInstanceRequest o) { |
262 buildCounterDebugInstanceRequest++; | 262 buildCounterDebugInstanceRequest++; |
263 if (buildCounterDebugInstanceRequest < 3) { | 263 if (buildCounterDebugInstanceRequest < 3) { |
264 unittest.expect(o.sshKey, unittest.equals('foo')); | 264 unittest.expect(o.sshKey, unittest.equals('foo')); |
265 } | 265 } |
266 buildCounterDebugInstanceRequest--; | 266 buildCounterDebugInstanceRequest--; |
267 } | 267 } |
268 | 268 |
269 buildUnnamed3754() { | 269 buildUnnamed3846() { |
270 var o = new core.Map<core.String, api.FileInfo>(); | 270 var o = new core.Map<core.String, api.FileInfo>(); |
271 o["x"] = buildFileInfo(); | 271 o["x"] = buildFileInfo(); |
272 o["y"] = buildFileInfo(); | 272 o["y"] = buildFileInfo(); |
273 return o; | 273 return o; |
274 } | 274 } |
275 | 275 |
276 checkUnnamed3754(core.Map<core.String, api.FileInfo> o) { | 276 checkUnnamed3846(core.Map<core.String, api.FileInfo> o) { |
277 unittest.expect(o, unittest.hasLength(2)); | 277 unittest.expect(o, unittest.hasLength(2)); |
278 checkFileInfo(o["x"]); | 278 checkFileInfo(o["x"]); |
279 checkFileInfo(o["y"]); | 279 checkFileInfo(o["y"]); |
280 } | 280 } |
281 | 281 |
282 buildUnnamed3755() { | 282 buildUnnamed3847() { |
283 var o = new core.List<api.SourceReference>(); | 283 var o = new core.List<api.SourceReference>(); |
284 o.add(buildSourceReference()); | 284 o.add(buildSourceReference()); |
285 o.add(buildSourceReference()); | 285 o.add(buildSourceReference()); |
286 return o; | 286 return o; |
287 } | 287 } |
288 | 288 |
289 checkUnnamed3755(core.List<api.SourceReference> o) { | 289 checkUnnamed3847(core.List<api.SourceReference> o) { |
290 unittest.expect(o, unittest.hasLength(2)); | 290 unittest.expect(o, unittest.hasLength(2)); |
291 checkSourceReference(o[0]); | 291 checkSourceReference(o[0]); |
292 checkSourceReference(o[1]); | 292 checkSourceReference(o[1]); |
293 } | 293 } |
294 | 294 |
295 core.int buildCounterDeployment = 0; | 295 core.int buildCounterDeployment = 0; |
296 buildDeployment() { | 296 buildDeployment() { |
297 var o = new api.Deployment(); | 297 var o = new api.Deployment(); |
298 buildCounterDeployment++; | 298 buildCounterDeployment++; |
299 if (buildCounterDeployment < 3) { | 299 if (buildCounterDeployment < 3) { |
300 o.container = buildContainerInfo(); | 300 o.container = buildContainerInfo(); |
301 o.files = buildUnnamed3754(); | 301 o.files = buildUnnamed3846(); |
302 o.sourceReferences = buildUnnamed3755(); | 302 o.sourceReferences = buildUnnamed3847(); |
303 } | 303 } |
304 buildCounterDeployment--; | 304 buildCounterDeployment--; |
305 return o; | 305 return o; |
306 } | 306 } |
307 | 307 |
308 checkDeployment(api.Deployment o) { | 308 checkDeployment(api.Deployment o) { |
309 buildCounterDeployment++; | 309 buildCounterDeployment++; |
310 if (buildCounterDeployment < 3) { | 310 if (buildCounterDeployment < 3) { |
311 checkContainerInfo(o.container); | 311 checkContainerInfo(o.container); |
312 checkUnnamed3754(o.files); | 312 checkUnnamed3846(o.files); |
313 checkUnnamed3755(o.sourceReferences); | 313 checkUnnamed3847(o.sourceReferences); |
314 } | 314 } |
315 buildCounterDeployment--; | 315 buildCounterDeployment--; |
316 } | 316 } |
317 | 317 |
318 core.int buildCounterDiskUtilization = 0; | 318 core.int buildCounterDiskUtilization = 0; |
319 buildDiskUtilization() { | 319 buildDiskUtilization() { |
320 var o = new api.DiskUtilization(); | 320 var o = new api.DiskUtilization(); |
321 buildCounterDiskUtilization++; | 321 buildCounterDiskUtilization++; |
322 if (buildCounterDiskUtilization < 3) { | 322 if (buildCounterDiskUtilization < 3) { |
323 o.targetReadBytesPerSec = 42; | 323 o.targetReadBytesPerSec = 42; |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 | 480 |
481 checkLibrary(api.Library o) { | 481 checkLibrary(api.Library o) { |
482 buildCounterLibrary++; | 482 buildCounterLibrary++; |
483 if (buildCounterLibrary < 3) { | 483 if (buildCounterLibrary < 3) { |
484 unittest.expect(o.name, unittest.equals('foo')); | 484 unittest.expect(o.name, unittest.equals('foo')); |
485 unittest.expect(o.version, unittest.equals('foo')); | 485 unittest.expect(o.version, unittest.equals('foo')); |
486 } | 486 } |
487 buildCounterLibrary--; | 487 buildCounterLibrary--; |
488 } | 488 } |
489 | 489 |
490 buildUnnamed3756() { | 490 buildUnnamed3848() { |
491 var o = new core.List<api.Instance>(); | 491 var o = new core.List<api.Instance>(); |
492 o.add(buildInstance()); | 492 o.add(buildInstance()); |
493 o.add(buildInstance()); | 493 o.add(buildInstance()); |
494 return o; | 494 return o; |
495 } | 495 } |
496 | 496 |
497 checkUnnamed3756(core.List<api.Instance> o) { | 497 checkUnnamed3848(core.List<api.Instance> o) { |
498 unittest.expect(o, unittest.hasLength(2)); | 498 unittest.expect(o, unittest.hasLength(2)); |
499 checkInstance(o[0]); | 499 checkInstance(o[0]); |
500 checkInstance(o[1]); | 500 checkInstance(o[1]); |
501 } | 501 } |
502 | 502 |
503 core.int buildCounterListInstancesResponse = 0; | 503 core.int buildCounterListInstancesResponse = 0; |
504 buildListInstancesResponse() { | 504 buildListInstancesResponse() { |
505 var o = new api.ListInstancesResponse(); | 505 var o = new api.ListInstancesResponse(); |
506 buildCounterListInstancesResponse++; | 506 buildCounterListInstancesResponse++; |
507 if (buildCounterListInstancesResponse < 3) { | 507 if (buildCounterListInstancesResponse < 3) { |
508 o.instances = buildUnnamed3756(); | 508 o.instances = buildUnnamed3848(); |
509 o.nextPageToken = "foo"; | 509 o.nextPageToken = "foo"; |
510 } | 510 } |
511 buildCounterListInstancesResponse--; | 511 buildCounterListInstancesResponse--; |
512 return o; | 512 return o; |
513 } | 513 } |
514 | 514 |
515 checkListInstancesResponse(api.ListInstancesResponse o) { | 515 checkListInstancesResponse(api.ListInstancesResponse o) { |
516 buildCounterListInstancesResponse++; | 516 buildCounterListInstancesResponse++; |
517 if (buildCounterListInstancesResponse < 3) { | 517 if (buildCounterListInstancesResponse < 3) { |
518 checkUnnamed3756(o.instances); | 518 checkUnnamed3848(o.instances); |
519 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 519 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
520 } | 520 } |
521 buildCounterListInstancesResponse--; | 521 buildCounterListInstancesResponse--; |
522 } | 522 } |
523 | 523 |
524 buildUnnamed3757() { | 524 buildUnnamed3849() { |
525 var o = new core.List<api.Location>(); | 525 var o = new core.List<api.Location>(); |
526 o.add(buildLocation()); | 526 o.add(buildLocation()); |
527 o.add(buildLocation()); | 527 o.add(buildLocation()); |
528 return o; | 528 return o; |
529 } | 529 } |
530 | 530 |
531 checkUnnamed3757(core.List<api.Location> o) { | 531 checkUnnamed3849(core.List<api.Location> o) { |
532 unittest.expect(o, unittest.hasLength(2)); | 532 unittest.expect(o, unittest.hasLength(2)); |
533 checkLocation(o[0]); | 533 checkLocation(o[0]); |
534 checkLocation(o[1]); | 534 checkLocation(o[1]); |
535 } | 535 } |
536 | 536 |
537 core.int buildCounterListLocationsResponse = 0; | 537 core.int buildCounterListLocationsResponse = 0; |
538 buildListLocationsResponse() { | 538 buildListLocationsResponse() { |
539 var o = new api.ListLocationsResponse(); | 539 var o = new api.ListLocationsResponse(); |
540 buildCounterListLocationsResponse++; | 540 buildCounterListLocationsResponse++; |
541 if (buildCounterListLocationsResponse < 3) { | 541 if (buildCounterListLocationsResponse < 3) { |
542 o.locations = buildUnnamed3757(); | 542 o.locations = buildUnnamed3849(); |
543 o.nextPageToken = "foo"; | 543 o.nextPageToken = "foo"; |
544 } | 544 } |
545 buildCounterListLocationsResponse--; | 545 buildCounterListLocationsResponse--; |
546 return o; | 546 return o; |
547 } | 547 } |
548 | 548 |
549 checkListLocationsResponse(api.ListLocationsResponse o) { | 549 checkListLocationsResponse(api.ListLocationsResponse o) { |
550 buildCounterListLocationsResponse++; | 550 buildCounterListLocationsResponse++; |
551 if (buildCounterListLocationsResponse < 3) { | 551 if (buildCounterListLocationsResponse < 3) { |
552 checkUnnamed3757(o.locations); | 552 checkUnnamed3849(o.locations); |
553 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 553 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
554 } | 554 } |
555 buildCounterListLocationsResponse--; | 555 buildCounterListLocationsResponse--; |
556 } | 556 } |
557 | 557 |
558 buildUnnamed3758() { | 558 buildUnnamed3850() { |
559 var o = new core.List<api.Module>(); | 559 var o = new core.List<api.Module>(); |
560 o.add(buildModule()); | 560 o.add(buildModule()); |
561 o.add(buildModule()); | 561 o.add(buildModule()); |
562 return o; | 562 return o; |
563 } | 563 } |
564 | 564 |
565 checkUnnamed3758(core.List<api.Module> o) { | 565 checkUnnamed3850(core.List<api.Module> o) { |
566 unittest.expect(o, unittest.hasLength(2)); | 566 unittest.expect(o, unittest.hasLength(2)); |
567 checkModule(o[0]); | 567 checkModule(o[0]); |
568 checkModule(o[1]); | 568 checkModule(o[1]); |
569 } | 569 } |
570 | 570 |
571 core.int buildCounterListModulesResponse = 0; | 571 core.int buildCounterListModulesResponse = 0; |
572 buildListModulesResponse() { | 572 buildListModulesResponse() { |
573 var o = new api.ListModulesResponse(); | 573 var o = new api.ListModulesResponse(); |
574 buildCounterListModulesResponse++; | 574 buildCounterListModulesResponse++; |
575 if (buildCounterListModulesResponse < 3) { | 575 if (buildCounterListModulesResponse < 3) { |
576 o.modules = buildUnnamed3758(); | 576 o.modules = buildUnnamed3850(); |
577 o.nextPageToken = "foo"; | 577 o.nextPageToken = "foo"; |
578 } | 578 } |
579 buildCounterListModulesResponse--; | 579 buildCounterListModulesResponse--; |
580 return o; | 580 return o; |
581 } | 581 } |
582 | 582 |
583 checkListModulesResponse(api.ListModulesResponse o) { | 583 checkListModulesResponse(api.ListModulesResponse o) { |
584 buildCounterListModulesResponse++; | 584 buildCounterListModulesResponse++; |
585 if (buildCounterListModulesResponse < 3) { | 585 if (buildCounterListModulesResponse < 3) { |
586 checkUnnamed3758(o.modules); | 586 checkUnnamed3850(o.modules); |
587 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 587 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
588 } | 588 } |
589 buildCounterListModulesResponse--; | 589 buildCounterListModulesResponse--; |
590 } | 590 } |
591 | 591 |
592 buildUnnamed3759() { | 592 buildUnnamed3851() { |
593 var o = new core.List<api.Operation>(); | 593 var o = new core.List<api.Operation>(); |
594 o.add(buildOperation()); | 594 o.add(buildOperation()); |
595 o.add(buildOperation()); | 595 o.add(buildOperation()); |
596 return o; | 596 return o; |
597 } | 597 } |
598 | 598 |
599 checkUnnamed3759(core.List<api.Operation> o) { | 599 checkUnnamed3851(core.List<api.Operation> o) { |
600 unittest.expect(o, unittest.hasLength(2)); | 600 unittest.expect(o, unittest.hasLength(2)); |
601 checkOperation(o[0]); | 601 checkOperation(o[0]); |
602 checkOperation(o[1]); | 602 checkOperation(o[1]); |
603 } | 603 } |
604 | 604 |
605 core.int buildCounterListOperationsResponse = 0; | 605 core.int buildCounterListOperationsResponse = 0; |
606 buildListOperationsResponse() { | 606 buildListOperationsResponse() { |
607 var o = new api.ListOperationsResponse(); | 607 var o = new api.ListOperationsResponse(); |
608 buildCounterListOperationsResponse++; | 608 buildCounterListOperationsResponse++; |
609 if (buildCounterListOperationsResponse < 3) { | 609 if (buildCounterListOperationsResponse < 3) { |
610 o.nextPageToken = "foo"; | 610 o.nextPageToken = "foo"; |
611 o.operations = buildUnnamed3759(); | 611 o.operations = buildUnnamed3851(); |
612 } | 612 } |
613 buildCounterListOperationsResponse--; | 613 buildCounterListOperationsResponse--; |
614 return o; | 614 return o; |
615 } | 615 } |
616 | 616 |
617 checkListOperationsResponse(api.ListOperationsResponse o) { | 617 checkListOperationsResponse(api.ListOperationsResponse o) { |
618 buildCounterListOperationsResponse++; | 618 buildCounterListOperationsResponse++; |
619 if (buildCounterListOperationsResponse < 3) { | 619 if (buildCounterListOperationsResponse < 3) { |
620 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 620 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
621 checkUnnamed3759(o.operations); | 621 checkUnnamed3851(o.operations); |
622 } | 622 } |
623 buildCounterListOperationsResponse--; | 623 buildCounterListOperationsResponse--; |
624 } | 624 } |
625 | 625 |
626 buildUnnamed3760() { | 626 buildUnnamed3852() { |
627 var o = new core.List<api.Version>(); | 627 var o = new core.List<api.Version>(); |
628 o.add(buildVersion()); | 628 o.add(buildVersion()); |
629 o.add(buildVersion()); | 629 o.add(buildVersion()); |
630 return o; | 630 return o; |
631 } | 631 } |
632 | 632 |
633 checkUnnamed3760(core.List<api.Version> o) { | 633 checkUnnamed3852(core.List<api.Version> o) { |
634 unittest.expect(o, unittest.hasLength(2)); | 634 unittest.expect(o, unittest.hasLength(2)); |
635 checkVersion(o[0]); | 635 checkVersion(o[0]); |
636 checkVersion(o[1]); | 636 checkVersion(o[1]); |
637 } | 637 } |
638 | 638 |
639 core.int buildCounterListVersionsResponse = 0; | 639 core.int buildCounterListVersionsResponse = 0; |
640 buildListVersionsResponse() { | 640 buildListVersionsResponse() { |
641 var o = new api.ListVersionsResponse(); | 641 var o = new api.ListVersionsResponse(); |
642 buildCounterListVersionsResponse++; | 642 buildCounterListVersionsResponse++; |
643 if (buildCounterListVersionsResponse < 3) { | 643 if (buildCounterListVersionsResponse < 3) { |
644 o.nextPageToken = "foo"; | 644 o.nextPageToken = "foo"; |
645 o.versions = buildUnnamed3760(); | 645 o.versions = buildUnnamed3852(); |
646 } | 646 } |
647 buildCounterListVersionsResponse--; | 647 buildCounterListVersionsResponse--; |
648 return o; | 648 return o; |
649 } | 649 } |
650 | 650 |
651 checkListVersionsResponse(api.ListVersionsResponse o) { | 651 checkListVersionsResponse(api.ListVersionsResponse o) { |
652 buildCounterListVersionsResponse++; | 652 buildCounterListVersionsResponse++; |
653 if (buildCounterListVersionsResponse < 3) { | 653 if (buildCounterListVersionsResponse < 3) { |
654 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 654 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
655 checkUnnamed3760(o.versions); | 655 checkUnnamed3852(o.versions); |
656 } | 656 } |
657 buildCounterListVersionsResponse--; | 657 buildCounterListVersionsResponse--; |
658 } | 658 } |
659 | 659 |
660 buildUnnamed3761() { | 660 buildUnnamed3853() { |
661 var o = new core.Map<core.String, core.String>(); | 661 var o = new core.Map<core.String, core.String>(); |
662 o["x"] = "foo"; | 662 o["x"] = "foo"; |
663 o["y"] = "foo"; | 663 o["y"] = "foo"; |
664 return o; | 664 return o; |
665 } | 665 } |
666 | 666 |
667 checkUnnamed3761(core.Map<core.String, core.String> o) { | 667 checkUnnamed3853(core.Map<core.String, core.String> o) { |
668 unittest.expect(o, unittest.hasLength(2)); | 668 unittest.expect(o, unittest.hasLength(2)); |
669 unittest.expect(o["x"], unittest.equals('foo')); | 669 unittest.expect(o["x"], unittest.equals('foo')); |
670 unittest.expect(o["y"], unittest.equals('foo')); | 670 unittest.expect(o["y"], unittest.equals('foo')); |
671 } | 671 } |
672 | 672 |
673 buildUnnamed3762() { | 673 buildUnnamed3854() { |
674 var o = new core.Map<core.String, core.Object>(); | 674 var o = new core.Map<core.String, core.Object>(); |
675 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 675 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
676 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 676 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
677 return o; | 677 return o; |
678 } | 678 } |
679 | 679 |
680 checkUnnamed3762(core.Map<core.String, core.Object> o) { | 680 checkUnnamed3854(core.Map<core.String, core.Object> o) { |
681 unittest.expect(o, unittest.hasLength(2)); | 681 unittest.expect(o, unittest.hasLength(2)); |
682 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')); | 682 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')); |
683 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')); | 683 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')); |
684 } | 684 } |
685 | 685 |
686 core.int buildCounterLocation = 0; | 686 core.int buildCounterLocation = 0; |
687 buildLocation() { | 687 buildLocation() { |
688 var o = new api.Location(); | 688 var o = new api.Location(); |
689 buildCounterLocation++; | 689 buildCounterLocation++; |
690 if (buildCounterLocation < 3) { | 690 if (buildCounterLocation < 3) { |
691 o.labels = buildUnnamed3761(); | 691 o.labels = buildUnnamed3853(); |
692 o.locationId = "foo"; | 692 o.locationId = "foo"; |
693 o.metadata = buildUnnamed3762(); | 693 o.metadata = buildUnnamed3854(); |
694 o.name = "foo"; | 694 o.name = "foo"; |
695 } | 695 } |
696 buildCounterLocation--; | 696 buildCounterLocation--; |
697 return o; | 697 return o; |
698 } | 698 } |
699 | 699 |
700 checkLocation(api.Location o) { | 700 checkLocation(api.Location o) { |
701 buildCounterLocation++; | 701 buildCounterLocation++; |
702 if (buildCounterLocation < 3) { | 702 if (buildCounterLocation < 3) { |
703 checkUnnamed3761(o.labels); | 703 checkUnnamed3853(o.labels); |
704 unittest.expect(o.locationId, unittest.equals('foo')); | 704 unittest.expect(o.locationId, unittest.equals('foo')); |
705 checkUnnamed3762(o.metadata); | 705 checkUnnamed3854(o.metadata); |
706 unittest.expect(o.name, unittest.equals('foo')); | 706 unittest.expect(o.name, unittest.equals('foo')); |
707 } | 707 } |
708 buildCounterLocation--; | 708 buildCounterLocation--; |
709 } | 709 } |
710 | 710 |
711 core.int buildCounterLocationMetadata = 0; | 711 core.int buildCounterLocationMetadata = 0; |
712 buildLocationMetadata() { | 712 buildLocationMetadata() { |
713 var o = new api.LocationMetadata(); | 713 var o = new api.LocationMetadata(); |
714 buildCounterLocationMetadata++; | 714 buildCounterLocationMetadata++; |
715 if (buildCounterLocationMetadata < 3) { | 715 if (buildCounterLocationMetadata < 3) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 checkModule(api.Module o) { | 764 checkModule(api.Module o) { |
765 buildCounterModule++; | 765 buildCounterModule++; |
766 if (buildCounterModule < 3) { | 766 if (buildCounterModule < 3) { |
767 unittest.expect(o.id, unittest.equals('foo')); | 767 unittest.expect(o.id, unittest.equals('foo')); |
768 unittest.expect(o.name, unittest.equals('foo')); | 768 unittest.expect(o.name, unittest.equals('foo')); |
769 checkTrafficSplit(o.split); | 769 checkTrafficSplit(o.split); |
770 } | 770 } |
771 buildCounterModule--; | 771 buildCounterModule--; |
772 } | 772 } |
773 | 773 |
774 buildUnnamed3763() { | 774 buildUnnamed3855() { |
775 var o = new core.List<core.String>(); | 775 var o = new core.List<core.String>(); |
776 o.add("foo"); | 776 o.add("foo"); |
777 o.add("foo"); | 777 o.add("foo"); |
778 return o; | 778 return o; |
779 } | 779 } |
780 | 780 |
781 checkUnnamed3763(core.List<core.String> o) { | 781 checkUnnamed3855(core.List<core.String> o) { |
782 unittest.expect(o, unittest.hasLength(2)); | 782 unittest.expect(o, unittest.hasLength(2)); |
783 unittest.expect(o[0], unittest.equals('foo')); | 783 unittest.expect(o[0], unittest.equals('foo')); |
784 unittest.expect(o[1], unittest.equals('foo')); | 784 unittest.expect(o[1], unittest.equals('foo')); |
785 } | 785 } |
786 | 786 |
787 core.int buildCounterNetwork = 0; | 787 core.int buildCounterNetwork = 0; |
788 buildNetwork() { | 788 buildNetwork() { |
789 var o = new api.Network(); | 789 var o = new api.Network(); |
790 buildCounterNetwork++; | 790 buildCounterNetwork++; |
791 if (buildCounterNetwork < 3) { | 791 if (buildCounterNetwork < 3) { |
792 o.forwardedPorts = buildUnnamed3763(); | 792 o.forwardedPorts = buildUnnamed3855(); |
793 o.instanceTag = "foo"; | 793 o.instanceTag = "foo"; |
794 o.name = "foo"; | 794 o.name = "foo"; |
795 } | 795 } |
796 buildCounterNetwork--; | 796 buildCounterNetwork--; |
797 return o; | 797 return o; |
798 } | 798 } |
799 | 799 |
800 checkNetwork(api.Network o) { | 800 checkNetwork(api.Network o) { |
801 buildCounterNetwork++; | 801 buildCounterNetwork++; |
802 if (buildCounterNetwork < 3) { | 802 if (buildCounterNetwork < 3) { |
803 checkUnnamed3763(o.forwardedPorts); | 803 checkUnnamed3855(o.forwardedPorts); |
804 unittest.expect(o.instanceTag, unittest.equals('foo')); | 804 unittest.expect(o.instanceTag, unittest.equals('foo')); |
805 unittest.expect(o.name, unittest.equals('foo')); | 805 unittest.expect(o.name, unittest.equals('foo')); |
806 } | 806 } |
807 buildCounterNetwork--; | 807 buildCounterNetwork--; |
808 } | 808 } |
809 | 809 |
810 core.int buildCounterNetworkUtilization = 0; | 810 core.int buildCounterNetworkUtilization = 0; |
811 buildNetworkUtilization() { | 811 buildNetworkUtilization() { |
812 var o = new api.NetworkUtilization(); | 812 var o = new api.NetworkUtilization(); |
813 buildCounterNetworkUtilization++; | 813 buildCounterNetworkUtilization++; |
(...skipping 11 matching lines...) Expand all Loading... |
825 buildCounterNetworkUtilization++; | 825 buildCounterNetworkUtilization++; |
826 if (buildCounterNetworkUtilization < 3) { | 826 if (buildCounterNetworkUtilization < 3) { |
827 unittest.expect(o.targetReceivedBytesPerSec, unittest.equals(42)); | 827 unittest.expect(o.targetReceivedBytesPerSec, unittest.equals(42)); |
828 unittest.expect(o.targetReceivedPacketsPerSec, unittest.equals(42)); | 828 unittest.expect(o.targetReceivedPacketsPerSec, unittest.equals(42)); |
829 unittest.expect(o.targetSentBytesPerSec, unittest.equals(42)); | 829 unittest.expect(o.targetSentBytesPerSec, unittest.equals(42)); |
830 unittest.expect(o.targetSentPacketsPerSec, unittest.equals(42)); | 830 unittest.expect(o.targetSentPacketsPerSec, unittest.equals(42)); |
831 } | 831 } |
832 buildCounterNetworkUtilization--; | 832 buildCounterNetworkUtilization--; |
833 } | 833 } |
834 | 834 |
835 buildUnnamed3764() { | 835 buildUnnamed3856() { |
836 var o = new core.Map<core.String, core.Object>(); | 836 var o = new core.Map<core.String, core.Object>(); |
837 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 837 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
838 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 838 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
839 return o; | 839 return o; |
840 } | 840 } |
841 | 841 |
842 checkUnnamed3764(core.Map<core.String, core.Object> o) { | 842 checkUnnamed3856(core.Map<core.String, core.Object> o) { |
843 unittest.expect(o, unittest.hasLength(2)); | 843 unittest.expect(o, unittest.hasLength(2)); |
844 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')); | 844 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')); |
845 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')); | 845 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')); |
846 } | 846 } |
847 | 847 |
848 buildUnnamed3765() { | 848 buildUnnamed3857() { |
849 var o = new core.Map<core.String, core.Object>(); | 849 var o = new core.Map<core.String, core.Object>(); |
850 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 850 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
851 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 851 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
852 return o; | 852 return o; |
853 } | 853 } |
854 | 854 |
855 checkUnnamed3765(core.Map<core.String, core.Object> o) { | 855 checkUnnamed3857(core.Map<core.String, core.Object> o) { |
856 unittest.expect(o, unittest.hasLength(2)); | 856 unittest.expect(o, unittest.hasLength(2)); |
857 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')); | 857 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')); |
858 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')); | 858 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')); |
859 } | 859 } |
860 | 860 |
861 core.int buildCounterOperation = 0; | 861 core.int buildCounterOperation = 0; |
862 buildOperation() { | 862 buildOperation() { |
863 var o = new api.Operation(); | 863 var o = new api.Operation(); |
864 buildCounterOperation++; | 864 buildCounterOperation++; |
865 if (buildCounterOperation < 3) { | 865 if (buildCounterOperation < 3) { |
866 o.done = true; | 866 o.done = true; |
867 o.error = buildStatus(); | 867 o.error = buildStatus(); |
868 o.metadata = buildUnnamed3764(); | 868 o.metadata = buildUnnamed3856(); |
869 o.name = "foo"; | 869 o.name = "foo"; |
870 o.response = buildUnnamed3765(); | 870 o.response = buildUnnamed3857(); |
871 } | 871 } |
872 buildCounterOperation--; | 872 buildCounterOperation--; |
873 return o; | 873 return o; |
874 } | 874 } |
875 | 875 |
876 checkOperation(api.Operation o) { | 876 checkOperation(api.Operation o) { |
877 buildCounterOperation++; | 877 buildCounterOperation++; |
878 if (buildCounterOperation < 3) { | 878 if (buildCounterOperation < 3) { |
879 unittest.expect(o.done, unittest.isTrue); | 879 unittest.expect(o.done, unittest.isTrue); |
880 checkStatus(o.error); | 880 checkStatus(o.error); |
881 checkUnnamed3764(o.metadata); | 881 checkUnnamed3856(o.metadata); |
882 unittest.expect(o.name, unittest.equals('foo')); | 882 unittest.expect(o.name, unittest.equals('foo')); |
883 checkUnnamed3765(o.response); | 883 checkUnnamed3857(o.response); |
884 } | 884 } |
885 buildCounterOperation--; | 885 buildCounterOperation--; |
886 } | 886 } |
887 | 887 |
888 core.int buildCounterOperationMetadata = 0; | 888 core.int buildCounterOperationMetadata = 0; |
889 buildOperationMetadata() { | 889 buildOperationMetadata() { |
890 var o = new api.OperationMetadata(); | 890 var o = new api.OperationMetadata(); |
891 buildCounterOperationMetadata++; | 891 buildCounterOperationMetadata++; |
892 if (buildCounterOperationMetadata < 3) { | 892 if (buildCounterOperationMetadata < 3) { |
893 o.endTime = "foo"; | 893 o.endTime = "foo"; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 if (buildCounterOperationMetadataExperimental < 3) { | 934 if (buildCounterOperationMetadataExperimental < 3) { |
935 unittest.expect(o.endTime, unittest.equals('foo')); | 935 unittest.expect(o.endTime, unittest.equals('foo')); |
936 unittest.expect(o.insertTime, unittest.equals('foo')); | 936 unittest.expect(o.insertTime, unittest.equals('foo')); |
937 unittest.expect(o.method, unittest.equals('foo')); | 937 unittest.expect(o.method, unittest.equals('foo')); |
938 unittest.expect(o.target, unittest.equals('foo')); | 938 unittest.expect(o.target, unittest.equals('foo')); |
939 unittest.expect(o.user, unittest.equals('foo')); | 939 unittest.expect(o.user, unittest.equals('foo')); |
940 } | 940 } |
941 buildCounterOperationMetadataExperimental--; | 941 buildCounterOperationMetadataExperimental--; |
942 } | 942 } |
943 | 943 |
944 buildUnnamed3766() { | 944 buildUnnamed3858() { |
945 var o = new core.List<core.String>(); | 945 var o = new core.List<core.String>(); |
946 o.add("foo"); | 946 o.add("foo"); |
947 o.add("foo"); | 947 o.add("foo"); |
948 return o; | 948 return o; |
949 } | 949 } |
950 | 950 |
951 checkUnnamed3766(core.List<core.String> o) { | 951 checkUnnamed3858(core.List<core.String> o) { |
952 unittest.expect(o, unittest.hasLength(2)); | 952 unittest.expect(o, unittest.hasLength(2)); |
953 unittest.expect(o[0], unittest.equals('foo')); | 953 unittest.expect(o[0], unittest.equals('foo')); |
954 unittest.expect(o[1], unittest.equals('foo')); | 954 unittest.expect(o[1], unittest.equals('foo')); |
955 } | 955 } |
956 | 956 |
957 core.int buildCounterOperationMetadataV1 = 0; | 957 core.int buildCounterOperationMetadataV1 = 0; |
958 buildOperationMetadataV1() { | 958 buildOperationMetadataV1() { |
959 var o = new api.OperationMetadataV1(); | 959 var o = new api.OperationMetadataV1(); |
960 buildCounterOperationMetadataV1++; | 960 buildCounterOperationMetadataV1++; |
961 if (buildCounterOperationMetadataV1 < 3) { | 961 if (buildCounterOperationMetadataV1 < 3) { |
962 o.endTime = "foo"; | 962 o.endTime = "foo"; |
963 o.ephemeralMessage = "foo"; | 963 o.ephemeralMessage = "foo"; |
964 o.insertTime = "foo"; | 964 o.insertTime = "foo"; |
965 o.method = "foo"; | 965 o.method = "foo"; |
966 o.target = "foo"; | 966 o.target = "foo"; |
967 o.user = "foo"; | 967 o.user = "foo"; |
968 o.warning = buildUnnamed3766(); | 968 o.warning = buildUnnamed3858(); |
969 } | 969 } |
970 buildCounterOperationMetadataV1--; | 970 buildCounterOperationMetadataV1--; |
971 return o; | 971 return o; |
972 } | 972 } |
973 | 973 |
974 checkOperationMetadataV1(api.OperationMetadataV1 o) { | 974 checkOperationMetadataV1(api.OperationMetadataV1 o) { |
975 buildCounterOperationMetadataV1++; | 975 buildCounterOperationMetadataV1++; |
976 if (buildCounterOperationMetadataV1 < 3) { | 976 if (buildCounterOperationMetadataV1 < 3) { |
977 unittest.expect(o.endTime, unittest.equals('foo')); | 977 unittest.expect(o.endTime, unittest.equals('foo')); |
978 unittest.expect(o.ephemeralMessage, unittest.equals('foo')); | 978 unittest.expect(o.ephemeralMessage, unittest.equals('foo')); |
979 unittest.expect(o.insertTime, unittest.equals('foo')); | 979 unittest.expect(o.insertTime, unittest.equals('foo')); |
980 unittest.expect(o.method, unittest.equals('foo')); | 980 unittest.expect(o.method, unittest.equals('foo')); |
981 unittest.expect(o.target, unittest.equals('foo')); | 981 unittest.expect(o.target, unittest.equals('foo')); |
982 unittest.expect(o.user, unittest.equals('foo')); | 982 unittest.expect(o.user, unittest.equals('foo')); |
983 checkUnnamed3766(o.warning); | 983 checkUnnamed3858(o.warning); |
984 } | 984 } |
985 buildCounterOperationMetadataV1--; | 985 buildCounterOperationMetadataV1--; |
986 } | 986 } |
987 | 987 |
988 core.int buildCounterOperationMetadataV1Beta5 = 0; | 988 core.int buildCounterOperationMetadataV1Beta5 = 0; |
989 buildOperationMetadataV1Beta5() { | 989 buildOperationMetadataV1Beta5() { |
990 var o = new api.OperationMetadataV1Beta5(); | 990 var o = new api.OperationMetadataV1Beta5(); |
991 buildCounterOperationMetadataV1Beta5++; | 991 buildCounterOperationMetadataV1Beta5++; |
992 if (buildCounterOperationMetadataV1Beta5 < 3) { | 992 if (buildCounterOperationMetadataV1Beta5 < 3) { |
993 o.endTime = "foo"; | 993 o.endTime = "foo"; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 | 1026 |
1027 checkRequestUtilization(api.RequestUtilization o) { | 1027 checkRequestUtilization(api.RequestUtilization o) { |
1028 buildCounterRequestUtilization++; | 1028 buildCounterRequestUtilization++; |
1029 if (buildCounterRequestUtilization < 3) { | 1029 if (buildCounterRequestUtilization < 3) { |
1030 unittest.expect(o.targetConcurrentRequests, unittest.equals(42)); | 1030 unittest.expect(o.targetConcurrentRequests, unittest.equals(42)); |
1031 unittest.expect(o.targetRequestCountPerSec, unittest.equals(42)); | 1031 unittest.expect(o.targetRequestCountPerSec, unittest.equals(42)); |
1032 } | 1032 } |
1033 buildCounterRequestUtilization--; | 1033 buildCounterRequestUtilization--; |
1034 } | 1034 } |
1035 | 1035 |
1036 buildUnnamed3767() { | 1036 buildUnnamed3859() { |
1037 var o = new core.List<api.Volume>(); | 1037 var o = new core.List<api.Volume>(); |
1038 o.add(buildVolume()); | 1038 o.add(buildVolume()); |
1039 o.add(buildVolume()); | 1039 o.add(buildVolume()); |
1040 return o; | 1040 return o; |
1041 } | 1041 } |
1042 | 1042 |
1043 checkUnnamed3767(core.List<api.Volume> o) { | 1043 checkUnnamed3859(core.List<api.Volume> o) { |
1044 unittest.expect(o, unittest.hasLength(2)); | 1044 unittest.expect(o, unittest.hasLength(2)); |
1045 checkVolume(o[0]); | 1045 checkVolume(o[0]); |
1046 checkVolume(o[1]); | 1046 checkVolume(o[1]); |
1047 } | 1047 } |
1048 | 1048 |
1049 core.int buildCounterResources = 0; | 1049 core.int buildCounterResources = 0; |
1050 buildResources() { | 1050 buildResources() { |
1051 var o = new api.Resources(); | 1051 var o = new api.Resources(); |
1052 buildCounterResources++; | 1052 buildCounterResources++; |
1053 if (buildCounterResources < 3) { | 1053 if (buildCounterResources < 3) { |
1054 o.cpu = 42.0; | 1054 o.cpu = 42.0; |
1055 o.diskGb = 42.0; | 1055 o.diskGb = 42.0; |
1056 o.memoryGb = 42.0; | 1056 o.memoryGb = 42.0; |
1057 o.volumes = buildUnnamed3767(); | 1057 o.volumes = buildUnnamed3859(); |
1058 } | 1058 } |
1059 buildCounterResources--; | 1059 buildCounterResources--; |
1060 return o; | 1060 return o; |
1061 } | 1061 } |
1062 | 1062 |
1063 checkResources(api.Resources o) { | 1063 checkResources(api.Resources o) { |
1064 buildCounterResources++; | 1064 buildCounterResources++; |
1065 if (buildCounterResources < 3) { | 1065 if (buildCounterResources < 3) { |
1066 unittest.expect(o.cpu, unittest.equals(42.0)); | 1066 unittest.expect(o.cpu, unittest.equals(42.0)); |
1067 unittest.expect(o.diskGb, unittest.equals(42.0)); | 1067 unittest.expect(o.diskGb, unittest.equals(42.0)); |
1068 unittest.expect(o.memoryGb, unittest.equals(42.0)); | 1068 unittest.expect(o.memoryGb, unittest.equals(42.0)); |
1069 checkUnnamed3767(o.volumes); | 1069 checkUnnamed3859(o.volumes); |
1070 } | 1070 } |
1071 buildCounterResources--; | 1071 buildCounterResources--; |
1072 } | 1072 } |
1073 | 1073 |
1074 core.int buildCounterScriptHandler = 0; | 1074 core.int buildCounterScriptHandler = 0; |
1075 buildScriptHandler() { | 1075 buildScriptHandler() { |
1076 var o = new api.ScriptHandler(); | 1076 var o = new api.ScriptHandler(); |
1077 buildCounterScriptHandler++; | 1077 buildCounterScriptHandler++; |
1078 if (buildCounterScriptHandler < 3) { | 1078 if (buildCounterScriptHandler < 3) { |
1079 o.scriptPath = "foo"; | 1079 o.scriptPath = "foo"; |
(...skipping 24 matching lines...) Expand all Loading... |
1104 | 1104 |
1105 checkSourceReference(api.SourceReference o) { | 1105 checkSourceReference(api.SourceReference o) { |
1106 buildCounterSourceReference++; | 1106 buildCounterSourceReference++; |
1107 if (buildCounterSourceReference < 3) { | 1107 if (buildCounterSourceReference < 3) { |
1108 unittest.expect(o.repository, unittest.equals('foo')); | 1108 unittest.expect(o.repository, unittest.equals('foo')); |
1109 unittest.expect(o.revisionId, unittest.equals('foo')); | 1109 unittest.expect(o.revisionId, unittest.equals('foo')); |
1110 } | 1110 } |
1111 buildCounterSourceReference--; | 1111 buildCounterSourceReference--; |
1112 } | 1112 } |
1113 | 1113 |
1114 buildUnnamed3768() { | 1114 buildUnnamed3860() { |
1115 var o = new core.Map<core.String, core.String>(); | 1115 var o = new core.Map<core.String, core.String>(); |
1116 o["x"] = "foo"; | 1116 o["x"] = "foo"; |
1117 o["y"] = "foo"; | 1117 o["y"] = "foo"; |
1118 return o; | 1118 return o; |
1119 } | 1119 } |
1120 | 1120 |
1121 checkUnnamed3768(core.Map<core.String, core.String> o) { | 1121 checkUnnamed3860(core.Map<core.String, core.String> o) { |
1122 unittest.expect(o, unittest.hasLength(2)); | 1122 unittest.expect(o, unittest.hasLength(2)); |
1123 unittest.expect(o["x"], unittest.equals('foo')); | 1123 unittest.expect(o["x"], unittest.equals('foo')); |
1124 unittest.expect(o["y"], unittest.equals('foo')); | 1124 unittest.expect(o["y"], unittest.equals('foo')); |
1125 } | 1125 } |
1126 | 1126 |
1127 core.int buildCounterStaticDirectoryHandler = 0; | 1127 core.int buildCounterStaticDirectoryHandler = 0; |
1128 buildStaticDirectoryHandler() { | 1128 buildStaticDirectoryHandler() { |
1129 var o = new api.StaticDirectoryHandler(); | 1129 var o = new api.StaticDirectoryHandler(); |
1130 buildCounterStaticDirectoryHandler++; | 1130 buildCounterStaticDirectoryHandler++; |
1131 if (buildCounterStaticDirectoryHandler < 3) { | 1131 if (buildCounterStaticDirectoryHandler < 3) { |
1132 o.applicationReadable = true; | 1132 o.applicationReadable = true; |
1133 o.directory = "foo"; | 1133 o.directory = "foo"; |
1134 o.expiration = "foo"; | 1134 o.expiration = "foo"; |
1135 o.httpHeaders = buildUnnamed3768(); | 1135 o.httpHeaders = buildUnnamed3860(); |
1136 o.mimeType = "foo"; | 1136 o.mimeType = "foo"; |
1137 o.requireMatchingFile = true; | 1137 o.requireMatchingFile = true; |
1138 } | 1138 } |
1139 buildCounterStaticDirectoryHandler--; | 1139 buildCounterStaticDirectoryHandler--; |
1140 return o; | 1140 return o; |
1141 } | 1141 } |
1142 | 1142 |
1143 checkStaticDirectoryHandler(api.StaticDirectoryHandler o) { | 1143 checkStaticDirectoryHandler(api.StaticDirectoryHandler o) { |
1144 buildCounterStaticDirectoryHandler++; | 1144 buildCounterStaticDirectoryHandler++; |
1145 if (buildCounterStaticDirectoryHandler < 3) { | 1145 if (buildCounterStaticDirectoryHandler < 3) { |
1146 unittest.expect(o.applicationReadable, unittest.isTrue); | 1146 unittest.expect(o.applicationReadable, unittest.isTrue); |
1147 unittest.expect(o.directory, unittest.equals('foo')); | 1147 unittest.expect(o.directory, unittest.equals('foo')); |
1148 unittest.expect(o.expiration, unittest.equals('foo')); | 1148 unittest.expect(o.expiration, unittest.equals('foo')); |
1149 checkUnnamed3768(o.httpHeaders); | 1149 checkUnnamed3860(o.httpHeaders); |
1150 unittest.expect(o.mimeType, unittest.equals('foo')); | 1150 unittest.expect(o.mimeType, unittest.equals('foo')); |
1151 unittest.expect(o.requireMatchingFile, unittest.isTrue); | 1151 unittest.expect(o.requireMatchingFile, unittest.isTrue); |
1152 } | 1152 } |
1153 buildCounterStaticDirectoryHandler--; | 1153 buildCounterStaticDirectoryHandler--; |
1154 } | 1154 } |
1155 | 1155 |
1156 buildUnnamed3769() { | 1156 buildUnnamed3861() { |
1157 var o = new core.Map<core.String, core.String>(); | 1157 var o = new core.Map<core.String, core.String>(); |
1158 o["x"] = "foo"; | 1158 o["x"] = "foo"; |
1159 o["y"] = "foo"; | 1159 o["y"] = "foo"; |
1160 return o; | 1160 return o; |
1161 } | 1161 } |
1162 | 1162 |
1163 checkUnnamed3769(core.Map<core.String, core.String> o) { | 1163 checkUnnamed3861(core.Map<core.String, core.String> o) { |
1164 unittest.expect(o, unittest.hasLength(2)); | 1164 unittest.expect(o, unittest.hasLength(2)); |
1165 unittest.expect(o["x"], unittest.equals('foo')); | 1165 unittest.expect(o["x"], unittest.equals('foo')); |
1166 unittest.expect(o["y"], unittest.equals('foo')); | 1166 unittest.expect(o["y"], unittest.equals('foo')); |
1167 } | 1167 } |
1168 | 1168 |
1169 core.int buildCounterStaticFilesHandler = 0; | 1169 core.int buildCounterStaticFilesHandler = 0; |
1170 buildStaticFilesHandler() { | 1170 buildStaticFilesHandler() { |
1171 var o = new api.StaticFilesHandler(); | 1171 var o = new api.StaticFilesHandler(); |
1172 buildCounterStaticFilesHandler++; | 1172 buildCounterStaticFilesHandler++; |
1173 if (buildCounterStaticFilesHandler < 3) { | 1173 if (buildCounterStaticFilesHandler < 3) { |
1174 o.applicationReadable = true; | 1174 o.applicationReadable = true; |
1175 o.expiration = "foo"; | 1175 o.expiration = "foo"; |
1176 o.httpHeaders = buildUnnamed3769(); | 1176 o.httpHeaders = buildUnnamed3861(); |
1177 o.mimeType = "foo"; | 1177 o.mimeType = "foo"; |
1178 o.path = "foo"; | 1178 o.path = "foo"; |
1179 o.requireMatchingFile = true; | 1179 o.requireMatchingFile = true; |
1180 o.uploadPathRegex = "foo"; | 1180 o.uploadPathRegex = "foo"; |
1181 } | 1181 } |
1182 buildCounterStaticFilesHandler--; | 1182 buildCounterStaticFilesHandler--; |
1183 return o; | 1183 return o; |
1184 } | 1184 } |
1185 | 1185 |
1186 checkStaticFilesHandler(api.StaticFilesHandler o) { | 1186 checkStaticFilesHandler(api.StaticFilesHandler o) { |
1187 buildCounterStaticFilesHandler++; | 1187 buildCounterStaticFilesHandler++; |
1188 if (buildCounterStaticFilesHandler < 3) { | 1188 if (buildCounterStaticFilesHandler < 3) { |
1189 unittest.expect(o.applicationReadable, unittest.isTrue); | 1189 unittest.expect(o.applicationReadable, unittest.isTrue); |
1190 unittest.expect(o.expiration, unittest.equals('foo')); | 1190 unittest.expect(o.expiration, unittest.equals('foo')); |
1191 checkUnnamed3769(o.httpHeaders); | 1191 checkUnnamed3861(o.httpHeaders); |
1192 unittest.expect(o.mimeType, unittest.equals('foo')); | 1192 unittest.expect(o.mimeType, unittest.equals('foo')); |
1193 unittest.expect(o.path, unittest.equals('foo')); | 1193 unittest.expect(o.path, unittest.equals('foo')); |
1194 unittest.expect(o.requireMatchingFile, unittest.isTrue); | 1194 unittest.expect(o.requireMatchingFile, unittest.isTrue); |
1195 unittest.expect(o.uploadPathRegex, unittest.equals('foo')); | 1195 unittest.expect(o.uploadPathRegex, unittest.equals('foo')); |
1196 } | 1196 } |
1197 buildCounterStaticFilesHandler--; | 1197 buildCounterStaticFilesHandler--; |
1198 } | 1198 } |
1199 | 1199 |
1200 buildUnnamed3770() { | 1200 buildUnnamed3862() { |
1201 var o = new core.Map<core.String, core.Object>(); | 1201 var o = new core.Map<core.String, core.Object>(); |
1202 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1202 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1203 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1203 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
1204 return o; | 1204 return o; |
1205 } | 1205 } |
1206 | 1206 |
1207 checkUnnamed3770(core.Map<core.String, core.Object> o) { | 1207 checkUnnamed3862(core.Map<core.String, core.Object> o) { |
1208 unittest.expect(o, unittest.hasLength(2)); | 1208 unittest.expect(o, unittest.hasLength(2)); |
1209 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')); | 1209 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')); |
1210 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')); | 1210 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')); |
1211 } | 1211 } |
1212 | 1212 |
1213 buildUnnamed3771() { | 1213 buildUnnamed3863() { |
1214 var o = new core.List<core.Map<core.String, core.Object>>(); | 1214 var o = new core.List<core.Map<core.String, core.Object>>(); |
1215 o.add(buildUnnamed3770()); | 1215 o.add(buildUnnamed3862()); |
1216 o.add(buildUnnamed3770()); | 1216 o.add(buildUnnamed3862()); |
1217 return o; | 1217 return o; |
1218 } | 1218 } |
1219 | 1219 |
1220 checkUnnamed3771(core.List<core.Map<core.String, core.Object>> o) { | 1220 checkUnnamed3863(core.List<core.Map<core.String, core.Object>> o) { |
1221 unittest.expect(o, unittest.hasLength(2)); | 1221 unittest.expect(o, unittest.hasLength(2)); |
1222 checkUnnamed3770(o[0]); | 1222 checkUnnamed3862(o[0]); |
1223 checkUnnamed3770(o[1]); | 1223 checkUnnamed3862(o[1]); |
1224 } | 1224 } |
1225 | 1225 |
1226 core.int buildCounterStatus = 0; | 1226 core.int buildCounterStatus = 0; |
1227 buildStatus() { | 1227 buildStatus() { |
1228 var o = new api.Status(); | 1228 var o = new api.Status(); |
1229 buildCounterStatus++; | 1229 buildCounterStatus++; |
1230 if (buildCounterStatus < 3) { | 1230 if (buildCounterStatus < 3) { |
1231 o.code = 42; | 1231 o.code = 42; |
1232 o.details = buildUnnamed3771(); | 1232 o.details = buildUnnamed3863(); |
1233 o.message = "foo"; | 1233 o.message = "foo"; |
1234 } | 1234 } |
1235 buildCounterStatus--; | 1235 buildCounterStatus--; |
1236 return o; | 1236 return o; |
1237 } | 1237 } |
1238 | 1238 |
1239 checkStatus(api.Status o) { | 1239 checkStatus(api.Status o) { |
1240 buildCounterStatus++; | 1240 buildCounterStatus++; |
1241 if (buildCounterStatus < 3) { | 1241 if (buildCounterStatus < 3) { |
1242 unittest.expect(o.code, unittest.equals(42)); | 1242 unittest.expect(o.code, unittest.equals(42)); |
1243 checkUnnamed3771(o.details); | 1243 checkUnnamed3863(o.details); |
1244 unittest.expect(o.message, unittest.equals('foo')); | 1244 unittest.expect(o.message, unittest.equals('foo')); |
1245 } | 1245 } |
1246 buildCounterStatus--; | 1246 buildCounterStatus--; |
1247 } | 1247 } |
1248 | 1248 |
1249 buildUnnamed3772() { | 1249 buildUnnamed3864() { |
1250 var o = new core.Map<core.String, core.double>(); | 1250 var o = new core.Map<core.String, core.double>(); |
1251 o["x"] = 42.0; | 1251 o["x"] = 42.0; |
1252 o["y"] = 42.0; | 1252 o["y"] = 42.0; |
1253 return o; | 1253 return o; |
1254 } | 1254 } |
1255 | 1255 |
1256 checkUnnamed3772(core.Map<core.String, core.double> o) { | 1256 checkUnnamed3864(core.Map<core.String, core.double> o) { |
1257 unittest.expect(o, unittest.hasLength(2)); | 1257 unittest.expect(o, unittest.hasLength(2)); |
1258 unittest.expect(o["x"], unittest.equals(42.0)); | 1258 unittest.expect(o["x"], unittest.equals(42.0)); |
1259 unittest.expect(o["y"], unittest.equals(42.0)); | 1259 unittest.expect(o["y"], unittest.equals(42.0)); |
1260 } | 1260 } |
1261 | 1261 |
1262 core.int buildCounterTrafficSplit = 0; | 1262 core.int buildCounterTrafficSplit = 0; |
1263 buildTrafficSplit() { | 1263 buildTrafficSplit() { |
1264 var o = new api.TrafficSplit(); | 1264 var o = new api.TrafficSplit(); |
1265 buildCounterTrafficSplit++; | 1265 buildCounterTrafficSplit++; |
1266 if (buildCounterTrafficSplit < 3) { | 1266 if (buildCounterTrafficSplit < 3) { |
1267 o.allocations = buildUnnamed3772(); | 1267 o.allocations = buildUnnamed3864(); |
1268 o.shardBy = "foo"; | 1268 o.shardBy = "foo"; |
1269 } | 1269 } |
1270 buildCounterTrafficSplit--; | 1270 buildCounterTrafficSplit--; |
1271 return o; | 1271 return o; |
1272 } | 1272 } |
1273 | 1273 |
1274 checkTrafficSplit(api.TrafficSplit o) { | 1274 checkTrafficSplit(api.TrafficSplit o) { |
1275 buildCounterTrafficSplit++; | 1275 buildCounterTrafficSplit++; |
1276 if (buildCounterTrafficSplit < 3) { | 1276 if (buildCounterTrafficSplit < 3) { |
1277 checkUnnamed3772(o.allocations); | 1277 checkUnnamed3864(o.allocations); |
1278 unittest.expect(o.shardBy, unittest.equals('foo')); | 1278 unittest.expect(o.shardBy, unittest.equals('foo')); |
1279 } | 1279 } |
1280 buildCounterTrafficSplit--; | 1280 buildCounterTrafficSplit--; |
1281 } | 1281 } |
1282 | 1282 |
1283 core.int buildCounterUrlDispatchRule = 0; | 1283 core.int buildCounterUrlDispatchRule = 0; |
1284 buildUrlDispatchRule() { | 1284 buildUrlDispatchRule() { |
1285 var o = new api.UrlDispatchRule(); | 1285 var o = new api.UrlDispatchRule(); |
1286 buildCounterUrlDispatchRule++; | 1286 buildCounterUrlDispatchRule++; |
1287 if (buildCounterUrlDispatchRule < 3) { | 1287 if (buildCounterUrlDispatchRule < 3) { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1331 unittest.expect(o.redirectHttpResponseCode, unittest.equals('foo')); | 1331 unittest.expect(o.redirectHttpResponseCode, unittest.equals('foo')); |
1332 checkScriptHandler(o.script); | 1332 checkScriptHandler(o.script); |
1333 unittest.expect(o.securityLevel, unittest.equals('foo')); | 1333 unittest.expect(o.securityLevel, unittest.equals('foo')); |
1334 checkStaticDirectoryHandler(o.staticDirectory); | 1334 checkStaticDirectoryHandler(o.staticDirectory); |
1335 checkStaticFilesHandler(o.staticFiles); | 1335 checkStaticFilesHandler(o.staticFiles); |
1336 unittest.expect(o.urlRegex, unittest.equals('foo')); | 1336 unittest.expect(o.urlRegex, unittest.equals('foo')); |
1337 } | 1337 } |
1338 buildCounterUrlMap--; | 1338 buildCounterUrlMap--; |
1339 } | 1339 } |
1340 | 1340 |
1341 buildUnnamed3773() { | 1341 buildUnnamed3865() { |
1342 var o = new core.Map<core.String, core.String>(); | 1342 var o = new core.Map<core.String, core.String>(); |
1343 o["x"] = "foo"; | 1343 o["x"] = "foo"; |
1344 o["y"] = "foo"; | 1344 o["y"] = "foo"; |
1345 return o; | 1345 return o; |
1346 } | 1346 } |
1347 | 1347 |
1348 checkUnnamed3773(core.Map<core.String, core.String> o) { | 1348 checkUnnamed3865(core.Map<core.String, core.String> o) { |
1349 unittest.expect(o, unittest.hasLength(2)); | 1349 unittest.expect(o, unittest.hasLength(2)); |
1350 unittest.expect(o["x"], unittest.equals('foo')); | 1350 unittest.expect(o["x"], unittest.equals('foo')); |
1351 unittest.expect(o["y"], unittest.equals('foo')); | 1351 unittest.expect(o["y"], unittest.equals('foo')); |
1352 } | 1352 } |
1353 | 1353 |
1354 buildUnnamed3774() { | 1354 buildUnnamed3866() { |
1355 var o = new core.Map<core.String, core.String>(); | 1355 var o = new core.Map<core.String, core.String>(); |
1356 o["x"] = "foo"; | 1356 o["x"] = "foo"; |
1357 o["y"] = "foo"; | 1357 o["y"] = "foo"; |
1358 return o; | 1358 return o; |
1359 } | 1359 } |
1360 | 1360 |
1361 checkUnnamed3774(core.Map<core.String, core.String> o) { | 1361 checkUnnamed3866(core.Map<core.String, core.String> o) { |
1362 unittest.expect(o, unittest.hasLength(2)); | 1362 unittest.expect(o, unittest.hasLength(2)); |
1363 unittest.expect(o["x"], unittest.equals('foo')); | 1363 unittest.expect(o["x"], unittest.equals('foo')); |
1364 unittest.expect(o["y"], unittest.equals('foo')); | 1364 unittest.expect(o["y"], unittest.equals('foo')); |
1365 } | 1365 } |
1366 | 1366 |
1367 buildUnnamed3775() { | 1367 buildUnnamed3867() { |
1368 var o = new core.List<api.ErrorHandler>(); | 1368 var o = new core.List<api.ErrorHandler>(); |
1369 o.add(buildErrorHandler()); | 1369 o.add(buildErrorHandler()); |
1370 o.add(buildErrorHandler()); | 1370 o.add(buildErrorHandler()); |
1371 return o; | 1371 return o; |
1372 } | 1372 } |
1373 | 1373 |
1374 checkUnnamed3775(core.List<api.ErrorHandler> o) { | 1374 checkUnnamed3867(core.List<api.ErrorHandler> o) { |
1375 unittest.expect(o, unittest.hasLength(2)); | 1375 unittest.expect(o, unittest.hasLength(2)); |
1376 checkErrorHandler(o[0]); | 1376 checkErrorHandler(o[0]); |
1377 checkErrorHandler(o[1]); | 1377 checkErrorHandler(o[1]); |
1378 } | 1378 } |
1379 | 1379 |
1380 buildUnnamed3776() { | 1380 buildUnnamed3868() { |
1381 var o = new core.List<api.UrlMap>(); | 1381 var o = new core.List<api.UrlMap>(); |
1382 o.add(buildUrlMap()); | 1382 o.add(buildUrlMap()); |
1383 o.add(buildUrlMap()); | 1383 o.add(buildUrlMap()); |
1384 return o; | 1384 return o; |
1385 } | 1385 } |
1386 | 1386 |
1387 checkUnnamed3776(core.List<api.UrlMap> o) { | 1387 checkUnnamed3868(core.List<api.UrlMap> o) { |
1388 unittest.expect(o, unittest.hasLength(2)); | 1388 unittest.expect(o, unittest.hasLength(2)); |
1389 checkUrlMap(o[0]); | 1389 checkUrlMap(o[0]); |
1390 checkUrlMap(o[1]); | 1390 checkUrlMap(o[1]); |
1391 } | 1391 } |
1392 | 1392 |
1393 buildUnnamed3777() { | 1393 buildUnnamed3869() { |
1394 var o = new core.List<core.String>(); | 1394 var o = new core.List<core.String>(); |
1395 o.add("foo"); | 1395 o.add("foo"); |
1396 o.add("foo"); | 1396 o.add("foo"); |
1397 return o; | 1397 return o; |
1398 } | 1398 } |
1399 | 1399 |
1400 checkUnnamed3777(core.List<core.String> o) { | 1400 checkUnnamed3869(core.List<core.String> o) { |
1401 unittest.expect(o, unittest.hasLength(2)); | 1401 unittest.expect(o, unittest.hasLength(2)); |
1402 unittest.expect(o[0], unittest.equals('foo')); | 1402 unittest.expect(o[0], unittest.equals('foo')); |
1403 unittest.expect(o[1], unittest.equals('foo')); | 1403 unittest.expect(o[1], unittest.equals('foo')); |
1404 } | 1404 } |
1405 | 1405 |
1406 buildUnnamed3778() { | 1406 buildUnnamed3870() { |
1407 var o = new core.List<api.Library>(); | 1407 var o = new core.List<api.Library>(); |
1408 o.add(buildLibrary()); | 1408 o.add(buildLibrary()); |
1409 o.add(buildLibrary()); | 1409 o.add(buildLibrary()); |
1410 return o; | 1410 return o; |
1411 } | 1411 } |
1412 | 1412 |
1413 checkUnnamed3778(core.List<api.Library> o) { | 1413 checkUnnamed3870(core.List<api.Library> o) { |
1414 unittest.expect(o, unittest.hasLength(2)); | 1414 unittest.expect(o, unittest.hasLength(2)); |
1415 checkLibrary(o[0]); | 1415 checkLibrary(o[0]); |
1416 checkLibrary(o[1]); | 1416 checkLibrary(o[1]); |
1417 } | 1417 } |
1418 | 1418 |
1419 core.int buildCounterVersion = 0; | 1419 core.int buildCounterVersion = 0; |
1420 buildVersion() { | 1420 buildVersion() { |
1421 var o = new api.Version(); | 1421 var o = new api.Version(); |
1422 buildCounterVersion++; | 1422 buildCounterVersion++; |
1423 if (buildCounterVersion < 3) { | 1423 if (buildCounterVersion < 3) { |
1424 o.apiConfig = buildApiConfigHandler(); | 1424 o.apiConfig = buildApiConfigHandler(); |
1425 o.automaticScaling = buildAutomaticScaling(); | 1425 o.automaticScaling = buildAutomaticScaling(); |
1426 o.basicScaling = buildBasicScaling(); | 1426 o.basicScaling = buildBasicScaling(); |
1427 o.betaSettings = buildUnnamed3773(); | 1427 o.betaSettings = buildUnnamed3865(); |
1428 o.creationTime = "foo"; | 1428 o.creationTime = "foo"; |
1429 o.defaultExpiration = "foo"; | 1429 o.defaultExpiration = "foo"; |
1430 o.deployer = "foo"; | 1430 o.deployer = "foo"; |
1431 o.deployment = buildDeployment(); | 1431 o.deployment = buildDeployment(); |
1432 o.env = "foo"; | 1432 o.env = "foo"; |
1433 o.envVariables = buildUnnamed3774(); | 1433 o.envVariables = buildUnnamed3866(); |
1434 o.errorHandlers = buildUnnamed3775(); | 1434 o.errorHandlers = buildUnnamed3867(); |
1435 o.handlers = buildUnnamed3776(); | 1435 o.handlers = buildUnnamed3868(); |
1436 o.healthCheck = buildHealthCheck(); | 1436 o.healthCheck = buildHealthCheck(); |
1437 o.id = "foo"; | 1437 o.id = "foo"; |
1438 o.inboundServices = buildUnnamed3777(); | 1438 o.inboundServices = buildUnnamed3869(); |
1439 o.instanceClass = "foo"; | 1439 o.instanceClass = "foo"; |
1440 o.libraries = buildUnnamed3778(); | 1440 o.libraries = buildUnnamed3870(); |
1441 o.manualScaling = buildManualScaling(); | 1441 o.manualScaling = buildManualScaling(); |
1442 o.name = "foo"; | 1442 o.name = "foo"; |
1443 o.network = buildNetwork(); | 1443 o.network = buildNetwork(); |
1444 o.nobuildFilesRegex = "foo"; | 1444 o.nobuildFilesRegex = "foo"; |
1445 o.resources = buildResources(); | 1445 o.resources = buildResources(); |
1446 o.runtime = "foo"; | 1446 o.runtime = "foo"; |
1447 o.servingStatus = "foo"; | 1447 o.servingStatus = "foo"; |
1448 o.threadsafe = true; | 1448 o.threadsafe = true; |
1449 o.vm = true; | 1449 o.vm = true; |
1450 } | 1450 } |
1451 buildCounterVersion--; | 1451 buildCounterVersion--; |
1452 return o; | 1452 return o; |
1453 } | 1453 } |
1454 | 1454 |
1455 checkVersion(api.Version o) { | 1455 checkVersion(api.Version o) { |
1456 buildCounterVersion++; | 1456 buildCounterVersion++; |
1457 if (buildCounterVersion < 3) { | 1457 if (buildCounterVersion < 3) { |
1458 checkApiConfigHandler(o.apiConfig); | 1458 checkApiConfigHandler(o.apiConfig); |
1459 checkAutomaticScaling(o.automaticScaling); | 1459 checkAutomaticScaling(o.automaticScaling); |
1460 checkBasicScaling(o.basicScaling); | 1460 checkBasicScaling(o.basicScaling); |
1461 checkUnnamed3773(o.betaSettings); | 1461 checkUnnamed3865(o.betaSettings); |
1462 unittest.expect(o.creationTime, unittest.equals('foo')); | 1462 unittest.expect(o.creationTime, unittest.equals('foo')); |
1463 unittest.expect(o.defaultExpiration, unittest.equals('foo')); | 1463 unittest.expect(o.defaultExpiration, unittest.equals('foo')); |
1464 unittest.expect(o.deployer, unittest.equals('foo')); | 1464 unittest.expect(o.deployer, unittest.equals('foo')); |
1465 checkDeployment(o.deployment); | 1465 checkDeployment(o.deployment); |
1466 unittest.expect(o.env, unittest.equals('foo')); | 1466 unittest.expect(o.env, unittest.equals('foo')); |
1467 checkUnnamed3774(o.envVariables); | 1467 checkUnnamed3866(o.envVariables); |
1468 checkUnnamed3775(o.errorHandlers); | 1468 checkUnnamed3867(o.errorHandlers); |
1469 checkUnnamed3776(o.handlers); | 1469 checkUnnamed3868(o.handlers); |
1470 checkHealthCheck(o.healthCheck); | 1470 checkHealthCheck(o.healthCheck); |
1471 unittest.expect(o.id, unittest.equals('foo')); | 1471 unittest.expect(o.id, unittest.equals('foo')); |
1472 checkUnnamed3777(o.inboundServices); | 1472 checkUnnamed3869(o.inboundServices); |
1473 unittest.expect(o.instanceClass, unittest.equals('foo')); | 1473 unittest.expect(o.instanceClass, unittest.equals('foo')); |
1474 checkUnnamed3778(o.libraries); | 1474 checkUnnamed3870(o.libraries); |
1475 checkManualScaling(o.manualScaling); | 1475 checkManualScaling(o.manualScaling); |
1476 unittest.expect(o.name, unittest.equals('foo')); | 1476 unittest.expect(o.name, unittest.equals('foo')); |
1477 checkNetwork(o.network); | 1477 checkNetwork(o.network); |
1478 unittest.expect(o.nobuildFilesRegex, unittest.equals('foo')); | 1478 unittest.expect(o.nobuildFilesRegex, unittest.equals('foo')); |
1479 checkResources(o.resources); | 1479 checkResources(o.resources); |
1480 unittest.expect(o.runtime, unittest.equals('foo')); | 1480 unittest.expect(o.runtime, unittest.equals('foo')); |
1481 unittest.expect(o.servingStatus, unittest.equals('foo')); | 1481 unittest.expect(o.servingStatus, unittest.equals('foo')); |
1482 unittest.expect(o.threadsafe, unittest.isTrue); | 1482 unittest.expect(o.threadsafe, unittest.isTrue); |
1483 unittest.expect(o.vm, unittest.isTrue); | 1483 unittest.expect(o.vm, unittest.isTrue); |
1484 } | 1484 } |
(...skipping 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3134 res.list(arg_appsId, filter: arg_filter, pageSize: arg_pageSize, pageToken
: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response
) { | 3134 res.list(arg_appsId, filter: arg_filter, pageSize: arg_pageSize, pageToken
: arg_pageToken).then(unittest.expectAsync(((api.ListOperationsResponse response
) { |
3135 checkListOperationsResponse(response); | 3135 checkListOperationsResponse(response); |
3136 }))); | 3136 }))); |
3137 }); | 3137 }); |
3138 | 3138 |
3139 }); | 3139 }); |
3140 | 3140 |
3141 | 3141 |
3142 } | 3142 } |
3143 | 3143 |
OLD | NEW |