| OLD | NEW |
| 1 library googleapis_beta.appengine.v1beta5.test; | 1 library googleapis_beta.appengine.v1beta5.test; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import 'package:http/http.dart' as http; | 8 import 'package:http/http.dart' as http; |
| 9 import 'package:http/testing.dart' as http_testing; | 9 import 'package:http/testing.dart' as http_testing; |
| 10 import 'package:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 buildUnnamed3728() { | 100 buildUnnamed3820() { |
| 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 checkUnnamed3728(core.List<api.UrlDispatchRule> o) { | 107 checkUnnamed3820(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 = buildUnnamed3728(); | 123 o.dispatchRules = buildUnnamed3820(); |
| 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 checkUnnamed3728(o.dispatchRules); | 140 checkUnnamed3820(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 buildUnnamed3729() { | 269 buildUnnamed3821() { |
| 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 checkUnnamed3729(core.Map<core.String, api.FileInfo> o) { | 276 checkUnnamed3821(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 buildUnnamed3730() { | 282 buildUnnamed3822() { |
| 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 checkUnnamed3730(core.List<api.SourceReference> o) { | 289 checkUnnamed3822(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 = buildUnnamed3729(); | 301 o.files = buildUnnamed3821(); |
| 302 o.sourceReferences = buildUnnamed3730(); | 302 o.sourceReferences = buildUnnamed3822(); |
| 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 checkUnnamed3729(o.files); | 312 checkUnnamed3821(o.files); |
| 313 checkUnnamed3730(o.sourceReferences); | 313 checkUnnamed3822(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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 501 | 501 |
| 502 checkLibrary(api.Library o) { | 502 checkLibrary(api.Library o) { |
| 503 buildCounterLibrary++; | 503 buildCounterLibrary++; |
| 504 if (buildCounterLibrary < 3) { | 504 if (buildCounterLibrary < 3) { |
| 505 unittest.expect(o.name, unittest.equals('foo')); | 505 unittest.expect(o.name, unittest.equals('foo')); |
| 506 unittest.expect(o.version, unittest.equals('foo')); | 506 unittest.expect(o.version, unittest.equals('foo')); |
| 507 } | 507 } |
| 508 buildCounterLibrary--; | 508 buildCounterLibrary--; |
| 509 } | 509 } |
| 510 | 510 |
| 511 buildUnnamed3731() { | 511 buildUnnamed3823() { |
| 512 var o = new core.List<api.Instance>(); | 512 var o = new core.List<api.Instance>(); |
| 513 o.add(buildInstance()); | 513 o.add(buildInstance()); |
| 514 o.add(buildInstance()); | 514 o.add(buildInstance()); |
| 515 return o; | 515 return o; |
| 516 } | 516 } |
| 517 | 517 |
| 518 checkUnnamed3731(core.List<api.Instance> o) { | 518 checkUnnamed3823(core.List<api.Instance> o) { |
| 519 unittest.expect(o, unittest.hasLength(2)); | 519 unittest.expect(o, unittest.hasLength(2)); |
| 520 checkInstance(o[0]); | 520 checkInstance(o[0]); |
| 521 checkInstance(o[1]); | 521 checkInstance(o[1]); |
| 522 } | 522 } |
| 523 | 523 |
| 524 core.int buildCounterListInstancesResponse = 0; | 524 core.int buildCounterListInstancesResponse = 0; |
| 525 buildListInstancesResponse() { | 525 buildListInstancesResponse() { |
| 526 var o = new api.ListInstancesResponse(); | 526 var o = new api.ListInstancesResponse(); |
| 527 buildCounterListInstancesResponse++; | 527 buildCounterListInstancesResponse++; |
| 528 if (buildCounterListInstancesResponse < 3) { | 528 if (buildCounterListInstancesResponse < 3) { |
| 529 o.instances = buildUnnamed3731(); | 529 o.instances = buildUnnamed3823(); |
| 530 o.nextPageToken = "foo"; | 530 o.nextPageToken = "foo"; |
| 531 } | 531 } |
| 532 buildCounterListInstancesResponse--; | 532 buildCounterListInstancesResponse--; |
| 533 return o; | 533 return o; |
| 534 } | 534 } |
| 535 | 535 |
| 536 checkListInstancesResponse(api.ListInstancesResponse o) { | 536 checkListInstancesResponse(api.ListInstancesResponse o) { |
| 537 buildCounterListInstancesResponse++; | 537 buildCounterListInstancesResponse++; |
| 538 if (buildCounterListInstancesResponse < 3) { | 538 if (buildCounterListInstancesResponse < 3) { |
| 539 checkUnnamed3731(o.instances); | 539 checkUnnamed3823(o.instances); |
| 540 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 540 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 541 } | 541 } |
| 542 buildCounterListInstancesResponse--; | 542 buildCounterListInstancesResponse--; |
| 543 } | 543 } |
| 544 | 544 |
| 545 buildUnnamed3732() { | 545 buildUnnamed3824() { |
| 546 var o = new core.List<api.Location>(); | 546 var o = new core.List<api.Location>(); |
| 547 o.add(buildLocation()); | 547 o.add(buildLocation()); |
| 548 o.add(buildLocation()); | 548 o.add(buildLocation()); |
| 549 return o; | 549 return o; |
| 550 } | 550 } |
| 551 | 551 |
| 552 checkUnnamed3732(core.List<api.Location> o) { | 552 checkUnnamed3824(core.List<api.Location> o) { |
| 553 unittest.expect(o, unittest.hasLength(2)); | 553 unittest.expect(o, unittest.hasLength(2)); |
| 554 checkLocation(o[0]); | 554 checkLocation(o[0]); |
| 555 checkLocation(o[1]); | 555 checkLocation(o[1]); |
| 556 } | 556 } |
| 557 | 557 |
| 558 core.int buildCounterListLocationsResponse = 0; | 558 core.int buildCounterListLocationsResponse = 0; |
| 559 buildListLocationsResponse() { | 559 buildListLocationsResponse() { |
| 560 var o = new api.ListLocationsResponse(); | 560 var o = new api.ListLocationsResponse(); |
| 561 buildCounterListLocationsResponse++; | 561 buildCounterListLocationsResponse++; |
| 562 if (buildCounterListLocationsResponse < 3) { | 562 if (buildCounterListLocationsResponse < 3) { |
| 563 o.locations = buildUnnamed3732(); | 563 o.locations = buildUnnamed3824(); |
| 564 o.nextPageToken = "foo"; | 564 o.nextPageToken = "foo"; |
| 565 } | 565 } |
| 566 buildCounterListLocationsResponse--; | 566 buildCounterListLocationsResponse--; |
| 567 return o; | 567 return o; |
| 568 } | 568 } |
| 569 | 569 |
| 570 checkListLocationsResponse(api.ListLocationsResponse o) { | 570 checkListLocationsResponse(api.ListLocationsResponse o) { |
| 571 buildCounterListLocationsResponse++; | 571 buildCounterListLocationsResponse++; |
| 572 if (buildCounterListLocationsResponse < 3) { | 572 if (buildCounterListLocationsResponse < 3) { |
| 573 checkUnnamed3732(o.locations); | 573 checkUnnamed3824(o.locations); |
| 574 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 574 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 575 } | 575 } |
| 576 buildCounterListLocationsResponse--; | 576 buildCounterListLocationsResponse--; |
| 577 } | 577 } |
| 578 | 578 |
| 579 buildUnnamed3733() { | 579 buildUnnamed3825() { |
| 580 var o = new core.List<api.Operation>(); | 580 var o = new core.List<api.Operation>(); |
| 581 o.add(buildOperation()); | 581 o.add(buildOperation()); |
| 582 o.add(buildOperation()); | 582 o.add(buildOperation()); |
| 583 return o; | 583 return o; |
| 584 } | 584 } |
| 585 | 585 |
| 586 checkUnnamed3733(core.List<api.Operation> o) { | 586 checkUnnamed3825(core.List<api.Operation> o) { |
| 587 unittest.expect(o, unittest.hasLength(2)); | 587 unittest.expect(o, unittest.hasLength(2)); |
| 588 checkOperation(o[0]); | 588 checkOperation(o[0]); |
| 589 checkOperation(o[1]); | 589 checkOperation(o[1]); |
| 590 } | 590 } |
| 591 | 591 |
| 592 core.int buildCounterListOperationsResponse = 0; | 592 core.int buildCounterListOperationsResponse = 0; |
| 593 buildListOperationsResponse() { | 593 buildListOperationsResponse() { |
| 594 var o = new api.ListOperationsResponse(); | 594 var o = new api.ListOperationsResponse(); |
| 595 buildCounterListOperationsResponse++; | 595 buildCounterListOperationsResponse++; |
| 596 if (buildCounterListOperationsResponse < 3) { | 596 if (buildCounterListOperationsResponse < 3) { |
| 597 o.nextPageToken = "foo"; | 597 o.nextPageToken = "foo"; |
| 598 o.operations = buildUnnamed3733(); | 598 o.operations = buildUnnamed3825(); |
| 599 } | 599 } |
| 600 buildCounterListOperationsResponse--; | 600 buildCounterListOperationsResponse--; |
| 601 return o; | 601 return o; |
| 602 } | 602 } |
| 603 | 603 |
| 604 checkListOperationsResponse(api.ListOperationsResponse o) { | 604 checkListOperationsResponse(api.ListOperationsResponse o) { |
| 605 buildCounterListOperationsResponse++; | 605 buildCounterListOperationsResponse++; |
| 606 if (buildCounterListOperationsResponse < 3) { | 606 if (buildCounterListOperationsResponse < 3) { |
| 607 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 607 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 608 checkUnnamed3733(o.operations); | 608 checkUnnamed3825(o.operations); |
| 609 } | 609 } |
| 610 buildCounterListOperationsResponse--; | 610 buildCounterListOperationsResponse--; |
| 611 } | 611 } |
| 612 | 612 |
| 613 buildUnnamed3734() { | 613 buildUnnamed3826() { |
| 614 var o = new core.List<api.Service>(); | 614 var o = new core.List<api.Service>(); |
| 615 o.add(buildService()); | 615 o.add(buildService()); |
| 616 o.add(buildService()); | 616 o.add(buildService()); |
| 617 return o; | 617 return o; |
| 618 } | 618 } |
| 619 | 619 |
| 620 checkUnnamed3734(core.List<api.Service> o) { | 620 checkUnnamed3826(core.List<api.Service> o) { |
| 621 unittest.expect(o, unittest.hasLength(2)); | 621 unittest.expect(o, unittest.hasLength(2)); |
| 622 checkService(o[0]); | 622 checkService(o[0]); |
| 623 checkService(o[1]); | 623 checkService(o[1]); |
| 624 } | 624 } |
| 625 | 625 |
| 626 core.int buildCounterListServicesResponse = 0; | 626 core.int buildCounterListServicesResponse = 0; |
| 627 buildListServicesResponse() { | 627 buildListServicesResponse() { |
| 628 var o = new api.ListServicesResponse(); | 628 var o = new api.ListServicesResponse(); |
| 629 buildCounterListServicesResponse++; | 629 buildCounterListServicesResponse++; |
| 630 if (buildCounterListServicesResponse < 3) { | 630 if (buildCounterListServicesResponse < 3) { |
| 631 o.nextPageToken = "foo"; | 631 o.nextPageToken = "foo"; |
| 632 o.services = buildUnnamed3734(); | 632 o.services = buildUnnamed3826(); |
| 633 } | 633 } |
| 634 buildCounterListServicesResponse--; | 634 buildCounterListServicesResponse--; |
| 635 return o; | 635 return o; |
| 636 } | 636 } |
| 637 | 637 |
| 638 checkListServicesResponse(api.ListServicesResponse o) { | 638 checkListServicesResponse(api.ListServicesResponse o) { |
| 639 buildCounterListServicesResponse++; | 639 buildCounterListServicesResponse++; |
| 640 if (buildCounterListServicesResponse < 3) { | 640 if (buildCounterListServicesResponse < 3) { |
| 641 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 641 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 642 checkUnnamed3734(o.services); | 642 checkUnnamed3826(o.services); |
| 643 } | 643 } |
| 644 buildCounterListServicesResponse--; | 644 buildCounterListServicesResponse--; |
| 645 } | 645 } |
| 646 | 646 |
| 647 buildUnnamed3735() { | 647 buildUnnamed3827() { |
| 648 var o = new core.List<api.Version>(); | 648 var o = new core.List<api.Version>(); |
| 649 o.add(buildVersion()); | 649 o.add(buildVersion()); |
| 650 o.add(buildVersion()); | 650 o.add(buildVersion()); |
| 651 return o; | 651 return o; |
| 652 } | 652 } |
| 653 | 653 |
| 654 checkUnnamed3735(core.List<api.Version> o) { | 654 checkUnnamed3827(core.List<api.Version> o) { |
| 655 unittest.expect(o, unittest.hasLength(2)); | 655 unittest.expect(o, unittest.hasLength(2)); |
| 656 checkVersion(o[0]); | 656 checkVersion(o[0]); |
| 657 checkVersion(o[1]); | 657 checkVersion(o[1]); |
| 658 } | 658 } |
| 659 | 659 |
| 660 core.int buildCounterListVersionsResponse = 0; | 660 core.int buildCounterListVersionsResponse = 0; |
| 661 buildListVersionsResponse() { | 661 buildListVersionsResponse() { |
| 662 var o = new api.ListVersionsResponse(); | 662 var o = new api.ListVersionsResponse(); |
| 663 buildCounterListVersionsResponse++; | 663 buildCounterListVersionsResponse++; |
| 664 if (buildCounterListVersionsResponse < 3) { | 664 if (buildCounterListVersionsResponse < 3) { |
| 665 o.nextPageToken = "foo"; | 665 o.nextPageToken = "foo"; |
| 666 o.versions = buildUnnamed3735(); | 666 o.versions = buildUnnamed3827(); |
| 667 } | 667 } |
| 668 buildCounterListVersionsResponse--; | 668 buildCounterListVersionsResponse--; |
| 669 return o; | 669 return o; |
| 670 } | 670 } |
| 671 | 671 |
| 672 checkListVersionsResponse(api.ListVersionsResponse o) { | 672 checkListVersionsResponse(api.ListVersionsResponse o) { |
| 673 buildCounterListVersionsResponse++; | 673 buildCounterListVersionsResponse++; |
| 674 if (buildCounterListVersionsResponse < 3) { | 674 if (buildCounterListVersionsResponse < 3) { |
| 675 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 675 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
| 676 checkUnnamed3735(o.versions); | 676 checkUnnamed3827(o.versions); |
| 677 } | 677 } |
| 678 buildCounterListVersionsResponse--; | 678 buildCounterListVersionsResponse--; |
| 679 } | 679 } |
| 680 | 680 |
| 681 buildUnnamed3736() { | 681 buildUnnamed3828() { |
| 682 var o = new core.Map<core.String, core.String>(); | 682 var o = new core.Map<core.String, core.String>(); |
| 683 o["x"] = "foo"; | 683 o["x"] = "foo"; |
| 684 o["y"] = "foo"; | 684 o["y"] = "foo"; |
| 685 return o; | 685 return o; |
| 686 } | 686 } |
| 687 | 687 |
| 688 checkUnnamed3736(core.Map<core.String, core.String> o) { | 688 checkUnnamed3828(core.Map<core.String, core.String> o) { |
| 689 unittest.expect(o, unittest.hasLength(2)); | 689 unittest.expect(o, unittest.hasLength(2)); |
| 690 unittest.expect(o["x"], unittest.equals('foo')); | 690 unittest.expect(o["x"], unittest.equals('foo')); |
| 691 unittest.expect(o["y"], unittest.equals('foo')); | 691 unittest.expect(o["y"], unittest.equals('foo')); |
| 692 } | 692 } |
| 693 | 693 |
| 694 buildUnnamed3737() { | 694 buildUnnamed3829() { |
| 695 var o = new core.Map<core.String, core.Object>(); | 695 var o = new core.Map<core.String, core.Object>(); |
| 696 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 696 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 697 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 697 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 698 return o; | 698 return o; |
| 699 } | 699 } |
| 700 | 700 |
| 701 checkUnnamed3737(core.Map<core.String, core.Object> o) { | 701 checkUnnamed3829(core.Map<core.String, core.Object> o) { |
| 702 unittest.expect(o, unittest.hasLength(2)); | 702 unittest.expect(o, unittest.hasLength(2)); |
| 703 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')); | 703 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')); |
| 704 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')); | 704 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')); |
| 705 } | 705 } |
| 706 | 706 |
| 707 core.int buildCounterLocation = 0; | 707 core.int buildCounterLocation = 0; |
| 708 buildLocation() { | 708 buildLocation() { |
| 709 var o = new api.Location(); | 709 var o = new api.Location(); |
| 710 buildCounterLocation++; | 710 buildCounterLocation++; |
| 711 if (buildCounterLocation < 3) { | 711 if (buildCounterLocation < 3) { |
| 712 o.labels = buildUnnamed3736(); | 712 o.labels = buildUnnamed3828(); |
| 713 o.locationId = "foo"; | 713 o.locationId = "foo"; |
| 714 o.metadata = buildUnnamed3737(); | 714 o.metadata = buildUnnamed3829(); |
| 715 o.name = "foo"; | 715 o.name = "foo"; |
| 716 } | 716 } |
| 717 buildCounterLocation--; | 717 buildCounterLocation--; |
| 718 return o; | 718 return o; |
| 719 } | 719 } |
| 720 | 720 |
| 721 checkLocation(api.Location o) { | 721 checkLocation(api.Location o) { |
| 722 buildCounterLocation++; | 722 buildCounterLocation++; |
| 723 if (buildCounterLocation < 3) { | 723 if (buildCounterLocation < 3) { |
| 724 checkUnnamed3736(o.labels); | 724 checkUnnamed3828(o.labels); |
| 725 unittest.expect(o.locationId, unittest.equals('foo')); | 725 unittest.expect(o.locationId, unittest.equals('foo')); |
| 726 checkUnnamed3737(o.metadata); | 726 checkUnnamed3829(o.metadata); |
| 727 unittest.expect(o.name, unittest.equals('foo')); | 727 unittest.expect(o.name, unittest.equals('foo')); |
| 728 } | 728 } |
| 729 buildCounterLocation--; | 729 buildCounterLocation--; |
| 730 } | 730 } |
| 731 | 731 |
| 732 core.int buildCounterLocationMetadata = 0; | 732 core.int buildCounterLocationMetadata = 0; |
| 733 buildLocationMetadata() { | 733 buildLocationMetadata() { |
| 734 var o = new api.LocationMetadata(); | 734 var o = new api.LocationMetadata(); |
| 735 buildCounterLocationMetadata++; | 735 buildCounterLocationMetadata++; |
| 736 if (buildCounterLocationMetadata < 3) { | 736 if (buildCounterLocationMetadata < 3) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 762 } | 762 } |
| 763 | 763 |
| 764 checkManualScaling(api.ManualScaling o) { | 764 checkManualScaling(api.ManualScaling o) { |
| 765 buildCounterManualScaling++; | 765 buildCounterManualScaling++; |
| 766 if (buildCounterManualScaling < 3) { | 766 if (buildCounterManualScaling < 3) { |
| 767 unittest.expect(o.instances, unittest.equals(42)); | 767 unittest.expect(o.instances, unittest.equals(42)); |
| 768 } | 768 } |
| 769 buildCounterManualScaling--; | 769 buildCounterManualScaling--; |
| 770 } | 770 } |
| 771 | 771 |
| 772 buildUnnamed3738() { | 772 buildUnnamed3830() { |
| 773 var o = new core.List<core.String>(); | 773 var o = new core.List<core.String>(); |
| 774 o.add("foo"); | 774 o.add("foo"); |
| 775 o.add("foo"); | 775 o.add("foo"); |
| 776 return o; | 776 return o; |
| 777 } | 777 } |
| 778 | 778 |
| 779 checkUnnamed3738(core.List<core.String> o) { | 779 checkUnnamed3830(core.List<core.String> o) { |
| 780 unittest.expect(o, unittest.hasLength(2)); | 780 unittest.expect(o, unittest.hasLength(2)); |
| 781 unittest.expect(o[0], unittest.equals('foo')); | 781 unittest.expect(o[0], unittest.equals('foo')); |
| 782 unittest.expect(o[1], unittest.equals('foo')); | 782 unittest.expect(o[1], unittest.equals('foo')); |
| 783 } | 783 } |
| 784 | 784 |
| 785 core.int buildCounterNetwork = 0; | 785 core.int buildCounterNetwork = 0; |
| 786 buildNetwork() { | 786 buildNetwork() { |
| 787 var o = new api.Network(); | 787 var o = new api.Network(); |
| 788 buildCounterNetwork++; | 788 buildCounterNetwork++; |
| 789 if (buildCounterNetwork < 3) { | 789 if (buildCounterNetwork < 3) { |
| 790 o.forwardedPorts = buildUnnamed3738(); | 790 o.forwardedPorts = buildUnnamed3830(); |
| 791 o.instanceTag = "foo"; | 791 o.instanceTag = "foo"; |
| 792 o.name = "foo"; | 792 o.name = "foo"; |
| 793 o.subnetworkName = "foo"; | 793 o.subnetworkName = "foo"; |
| 794 } | 794 } |
| 795 buildCounterNetwork--; | 795 buildCounterNetwork--; |
| 796 return o; | 796 return o; |
| 797 } | 797 } |
| 798 | 798 |
| 799 checkNetwork(api.Network o) { | 799 checkNetwork(api.Network o) { |
| 800 buildCounterNetwork++; | 800 buildCounterNetwork++; |
| 801 if (buildCounterNetwork < 3) { | 801 if (buildCounterNetwork < 3) { |
| 802 checkUnnamed3738(o.forwardedPorts); | 802 checkUnnamed3830(o.forwardedPorts); |
| 803 unittest.expect(o.instanceTag, unittest.equals('foo')); | 803 unittest.expect(o.instanceTag, unittest.equals('foo')); |
| 804 unittest.expect(o.name, unittest.equals('foo')); | 804 unittest.expect(o.name, unittest.equals('foo')); |
| 805 unittest.expect(o.subnetworkName, unittest.equals('foo')); | 805 unittest.expect(o.subnetworkName, 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(); |
| (...skipping 12 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 buildUnnamed3739() { | 835 buildUnnamed3831() { |
| 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 checkUnnamed3739(core.Map<core.String, core.Object> o) { | 842 checkUnnamed3831(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 buildUnnamed3740() { | 848 buildUnnamed3832() { |
| 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 checkUnnamed3740(core.Map<core.String, core.Object> o) { | 855 checkUnnamed3832(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 = buildUnnamed3739(); | 868 o.metadata = buildUnnamed3831(); |
| 869 o.name = "foo"; | 869 o.name = "foo"; |
| 870 o.response = buildUnnamed3740(); | 870 o.response = buildUnnamed3832(); |
| 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 checkUnnamed3739(o.metadata); | 881 checkUnnamed3831(o.metadata); |
| 882 unittest.expect(o.name, unittest.equals('foo')); | 882 unittest.expect(o.name, unittest.equals('foo')); |
| 883 checkUnnamed3740(o.response); | 883 checkUnnamed3832(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 buildUnnamed3741() { | 944 buildUnnamed3833() { |
| 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 checkUnnamed3741(core.List<core.String> o) { | 951 checkUnnamed3833(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 = buildUnnamed3741(); | 968 o.warning = buildUnnamed3833(); |
| 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 checkUnnamed3741(o.warning); | 983 checkUnnamed3833(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 buildUnnamed3742() { | 1036 buildUnnamed3834() { |
| 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 checkUnnamed3742(core.List<api.Volume> o) { | 1043 checkUnnamed3834(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 = buildUnnamed3742(); | 1057 o.volumes = buildUnnamed3834(); |
| 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 checkUnnamed3742(o.volumes); | 1069 checkUnnamed3834(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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1127 | 1127 |
| 1128 checkSourceReference(api.SourceReference o) { | 1128 checkSourceReference(api.SourceReference o) { |
| 1129 buildCounterSourceReference++; | 1129 buildCounterSourceReference++; |
| 1130 if (buildCounterSourceReference < 3) { | 1130 if (buildCounterSourceReference < 3) { |
| 1131 unittest.expect(o.repository, unittest.equals('foo')); | 1131 unittest.expect(o.repository, unittest.equals('foo')); |
| 1132 unittest.expect(o.revisionId, unittest.equals('foo')); | 1132 unittest.expect(o.revisionId, unittest.equals('foo')); |
| 1133 } | 1133 } |
| 1134 buildCounterSourceReference--; | 1134 buildCounterSourceReference--; |
| 1135 } | 1135 } |
| 1136 | 1136 |
| 1137 buildUnnamed3743() { | 1137 buildUnnamed3835() { |
| 1138 var o = new core.Map<core.String, core.String>(); | 1138 var o = new core.Map<core.String, core.String>(); |
| 1139 o["x"] = "foo"; | 1139 o["x"] = "foo"; |
| 1140 o["y"] = "foo"; | 1140 o["y"] = "foo"; |
| 1141 return o; | 1141 return o; |
| 1142 } | 1142 } |
| 1143 | 1143 |
| 1144 checkUnnamed3743(core.Map<core.String, core.String> o) { | 1144 checkUnnamed3835(core.Map<core.String, core.String> o) { |
| 1145 unittest.expect(o, unittest.hasLength(2)); | 1145 unittest.expect(o, unittest.hasLength(2)); |
| 1146 unittest.expect(o["x"], unittest.equals('foo')); | 1146 unittest.expect(o["x"], unittest.equals('foo')); |
| 1147 unittest.expect(o["y"], unittest.equals('foo')); | 1147 unittest.expect(o["y"], unittest.equals('foo')); |
| 1148 } | 1148 } |
| 1149 | 1149 |
| 1150 core.int buildCounterStaticFilesHandler = 0; | 1150 core.int buildCounterStaticFilesHandler = 0; |
| 1151 buildStaticFilesHandler() { | 1151 buildStaticFilesHandler() { |
| 1152 var o = new api.StaticFilesHandler(); | 1152 var o = new api.StaticFilesHandler(); |
| 1153 buildCounterStaticFilesHandler++; | 1153 buildCounterStaticFilesHandler++; |
| 1154 if (buildCounterStaticFilesHandler < 3) { | 1154 if (buildCounterStaticFilesHandler < 3) { |
| 1155 o.applicationReadable = true; | 1155 o.applicationReadable = true; |
| 1156 o.expiration = "foo"; | 1156 o.expiration = "foo"; |
| 1157 o.httpHeaders = buildUnnamed3743(); | 1157 o.httpHeaders = buildUnnamed3835(); |
| 1158 o.mimeType = "foo"; | 1158 o.mimeType = "foo"; |
| 1159 o.path = "foo"; | 1159 o.path = "foo"; |
| 1160 o.requireMatchingFile = true; | 1160 o.requireMatchingFile = true; |
| 1161 o.uploadPathRegex = "foo"; | 1161 o.uploadPathRegex = "foo"; |
| 1162 } | 1162 } |
| 1163 buildCounterStaticFilesHandler--; | 1163 buildCounterStaticFilesHandler--; |
| 1164 return o; | 1164 return o; |
| 1165 } | 1165 } |
| 1166 | 1166 |
| 1167 checkStaticFilesHandler(api.StaticFilesHandler o) { | 1167 checkStaticFilesHandler(api.StaticFilesHandler o) { |
| 1168 buildCounterStaticFilesHandler++; | 1168 buildCounterStaticFilesHandler++; |
| 1169 if (buildCounterStaticFilesHandler < 3) { | 1169 if (buildCounterStaticFilesHandler < 3) { |
| 1170 unittest.expect(o.applicationReadable, unittest.isTrue); | 1170 unittest.expect(o.applicationReadable, unittest.isTrue); |
| 1171 unittest.expect(o.expiration, unittest.equals('foo')); | 1171 unittest.expect(o.expiration, unittest.equals('foo')); |
| 1172 checkUnnamed3743(o.httpHeaders); | 1172 checkUnnamed3835(o.httpHeaders); |
| 1173 unittest.expect(o.mimeType, unittest.equals('foo')); | 1173 unittest.expect(o.mimeType, unittest.equals('foo')); |
| 1174 unittest.expect(o.path, unittest.equals('foo')); | 1174 unittest.expect(o.path, unittest.equals('foo')); |
| 1175 unittest.expect(o.requireMatchingFile, unittest.isTrue); | 1175 unittest.expect(o.requireMatchingFile, unittest.isTrue); |
| 1176 unittest.expect(o.uploadPathRegex, unittest.equals('foo')); | 1176 unittest.expect(o.uploadPathRegex, unittest.equals('foo')); |
| 1177 } | 1177 } |
| 1178 buildCounterStaticFilesHandler--; | 1178 buildCounterStaticFilesHandler--; |
| 1179 } | 1179 } |
| 1180 | 1180 |
| 1181 buildUnnamed3744() { | 1181 buildUnnamed3836() { |
| 1182 var o = new core.Map<core.String, core.Object>(); | 1182 var o = new core.Map<core.String, core.Object>(); |
| 1183 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1183 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1184 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; | 1184 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
| 1185 return o; | 1185 return o; |
| 1186 } | 1186 } |
| 1187 | 1187 |
| 1188 checkUnnamed3744(core.Map<core.String, core.Object> o) { | 1188 checkUnnamed3836(core.Map<core.String, core.Object> o) { |
| 1189 unittest.expect(o, unittest.hasLength(2)); | 1189 unittest.expect(o, unittest.hasLength(2)); |
| 1190 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')); | 1190 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')); |
| 1191 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')); | 1191 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')); |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 buildUnnamed3745() { | 1194 buildUnnamed3837() { |
| 1195 var o = new core.List<core.Map<core.String, core.Object>>(); | 1195 var o = new core.List<core.Map<core.String, core.Object>>(); |
| 1196 o.add(buildUnnamed3744()); | 1196 o.add(buildUnnamed3836()); |
| 1197 o.add(buildUnnamed3744()); | 1197 o.add(buildUnnamed3836()); |
| 1198 return o; | 1198 return o; |
| 1199 } | 1199 } |
| 1200 | 1200 |
| 1201 checkUnnamed3745(core.List<core.Map<core.String, core.Object>> o) { | 1201 checkUnnamed3837(core.List<core.Map<core.String, core.Object>> o) { |
| 1202 unittest.expect(o, unittest.hasLength(2)); | 1202 unittest.expect(o, unittest.hasLength(2)); |
| 1203 checkUnnamed3744(o[0]); | 1203 checkUnnamed3836(o[0]); |
| 1204 checkUnnamed3744(o[1]); | 1204 checkUnnamed3836(o[1]); |
| 1205 } | 1205 } |
| 1206 | 1206 |
| 1207 core.int buildCounterStatus = 0; | 1207 core.int buildCounterStatus = 0; |
| 1208 buildStatus() { | 1208 buildStatus() { |
| 1209 var o = new api.Status(); | 1209 var o = new api.Status(); |
| 1210 buildCounterStatus++; | 1210 buildCounterStatus++; |
| 1211 if (buildCounterStatus < 3) { | 1211 if (buildCounterStatus < 3) { |
| 1212 o.code = 42; | 1212 o.code = 42; |
| 1213 o.details = buildUnnamed3745(); | 1213 o.details = buildUnnamed3837(); |
| 1214 o.message = "foo"; | 1214 o.message = "foo"; |
| 1215 } | 1215 } |
| 1216 buildCounterStatus--; | 1216 buildCounterStatus--; |
| 1217 return o; | 1217 return o; |
| 1218 } | 1218 } |
| 1219 | 1219 |
| 1220 checkStatus(api.Status o) { | 1220 checkStatus(api.Status o) { |
| 1221 buildCounterStatus++; | 1221 buildCounterStatus++; |
| 1222 if (buildCounterStatus < 3) { | 1222 if (buildCounterStatus < 3) { |
| 1223 unittest.expect(o.code, unittest.equals(42)); | 1223 unittest.expect(o.code, unittest.equals(42)); |
| 1224 checkUnnamed3745(o.details); | 1224 checkUnnamed3837(o.details); |
| 1225 unittest.expect(o.message, unittest.equals('foo')); | 1225 unittest.expect(o.message, unittest.equals('foo')); |
| 1226 } | 1226 } |
| 1227 buildCounterStatus--; | 1227 buildCounterStatus--; |
| 1228 } | 1228 } |
| 1229 | 1229 |
| 1230 buildUnnamed3746() { | 1230 buildUnnamed3838() { |
| 1231 var o = new core.Map<core.String, core.double>(); | 1231 var o = new core.Map<core.String, core.double>(); |
| 1232 o["x"] = 42.0; | 1232 o["x"] = 42.0; |
| 1233 o["y"] = 42.0; | 1233 o["y"] = 42.0; |
| 1234 return o; | 1234 return o; |
| 1235 } | 1235 } |
| 1236 | 1236 |
| 1237 checkUnnamed3746(core.Map<core.String, core.double> o) { | 1237 checkUnnamed3838(core.Map<core.String, core.double> o) { |
| 1238 unittest.expect(o, unittest.hasLength(2)); | 1238 unittest.expect(o, unittest.hasLength(2)); |
| 1239 unittest.expect(o["x"], unittest.equals(42.0)); | 1239 unittest.expect(o["x"], unittest.equals(42.0)); |
| 1240 unittest.expect(o["y"], unittest.equals(42.0)); | 1240 unittest.expect(o["y"], unittest.equals(42.0)); |
| 1241 } | 1241 } |
| 1242 | 1242 |
| 1243 core.int buildCounterTrafficSplit = 0; | 1243 core.int buildCounterTrafficSplit = 0; |
| 1244 buildTrafficSplit() { | 1244 buildTrafficSplit() { |
| 1245 var o = new api.TrafficSplit(); | 1245 var o = new api.TrafficSplit(); |
| 1246 buildCounterTrafficSplit++; | 1246 buildCounterTrafficSplit++; |
| 1247 if (buildCounterTrafficSplit < 3) { | 1247 if (buildCounterTrafficSplit < 3) { |
| 1248 o.allocations = buildUnnamed3746(); | 1248 o.allocations = buildUnnamed3838(); |
| 1249 o.shardBy = "foo"; | 1249 o.shardBy = "foo"; |
| 1250 } | 1250 } |
| 1251 buildCounterTrafficSplit--; | 1251 buildCounterTrafficSplit--; |
| 1252 return o; | 1252 return o; |
| 1253 } | 1253 } |
| 1254 | 1254 |
| 1255 checkTrafficSplit(api.TrafficSplit o) { | 1255 checkTrafficSplit(api.TrafficSplit o) { |
| 1256 buildCounterTrafficSplit++; | 1256 buildCounterTrafficSplit++; |
| 1257 if (buildCounterTrafficSplit < 3) { | 1257 if (buildCounterTrafficSplit < 3) { |
| 1258 checkUnnamed3746(o.allocations); | 1258 checkUnnamed3838(o.allocations); |
| 1259 unittest.expect(o.shardBy, unittest.equals('foo')); | 1259 unittest.expect(o.shardBy, unittest.equals('foo')); |
| 1260 } | 1260 } |
| 1261 buildCounterTrafficSplit--; | 1261 buildCounterTrafficSplit--; |
| 1262 } | 1262 } |
| 1263 | 1263 |
| 1264 core.int buildCounterUrlDispatchRule = 0; | 1264 core.int buildCounterUrlDispatchRule = 0; |
| 1265 buildUrlDispatchRule() { | 1265 buildUrlDispatchRule() { |
| 1266 var o = new api.UrlDispatchRule(); | 1266 var o = new api.UrlDispatchRule(); |
| 1267 buildCounterUrlDispatchRule++; | 1267 buildCounterUrlDispatchRule++; |
| 1268 if (buildCounterUrlDispatchRule < 3) { | 1268 if (buildCounterUrlDispatchRule < 3) { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1310 unittest.expect(o.login, unittest.equals('foo')); | 1310 unittest.expect(o.login, unittest.equals('foo')); |
| 1311 unittest.expect(o.redirectHttpResponseCode, unittest.equals('foo')); | 1311 unittest.expect(o.redirectHttpResponseCode, unittest.equals('foo')); |
| 1312 checkScriptHandler(o.script); | 1312 checkScriptHandler(o.script); |
| 1313 unittest.expect(o.securityLevel, unittest.equals('foo')); | 1313 unittest.expect(o.securityLevel, unittest.equals('foo')); |
| 1314 checkStaticFilesHandler(o.staticFiles); | 1314 checkStaticFilesHandler(o.staticFiles); |
| 1315 unittest.expect(o.urlRegex, unittest.equals('foo')); | 1315 unittest.expect(o.urlRegex, unittest.equals('foo')); |
| 1316 } | 1316 } |
| 1317 buildCounterUrlMap--; | 1317 buildCounterUrlMap--; |
| 1318 } | 1318 } |
| 1319 | 1319 |
| 1320 buildUnnamed3747() { | 1320 buildUnnamed3839() { |
| 1321 var o = new core.Map<core.String, core.String>(); | 1321 var o = new core.Map<core.String, core.String>(); |
| 1322 o["x"] = "foo"; | 1322 o["x"] = "foo"; |
| 1323 o["y"] = "foo"; | 1323 o["y"] = "foo"; |
| 1324 return o; | 1324 return o; |
| 1325 } | 1325 } |
| 1326 | 1326 |
| 1327 checkUnnamed3747(core.Map<core.String, core.String> o) { | 1327 checkUnnamed3839(core.Map<core.String, core.String> o) { |
| 1328 unittest.expect(o, unittest.hasLength(2)); | 1328 unittest.expect(o, unittest.hasLength(2)); |
| 1329 unittest.expect(o["x"], unittest.equals('foo')); | 1329 unittest.expect(o["x"], unittest.equals('foo')); |
| 1330 unittest.expect(o["y"], unittest.equals('foo')); | 1330 unittest.expect(o["y"], unittest.equals('foo')); |
| 1331 } | 1331 } |
| 1332 | 1332 |
| 1333 buildUnnamed3748() { | 1333 buildUnnamed3840() { |
| 1334 var o = new core.Map<core.String, core.String>(); | 1334 var o = new core.Map<core.String, core.String>(); |
| 1335 o["x"] = "foo"; | 1335 o["x"] = "foo"; |
| 1336 o["y"] = "foo"; | 1336 o["y"] = "foo"; |
| 1337 return o; | 1337 return o; |
| 1338 } | 1338 } |
| 1339 | 1339 |
| 1340 checkUnnamed3748(core.Map<core.String, core.String> o) { | 1340 checkUnnamed3840(core.Map<core.String, core.String> o) { |
| 1341 unittest.expect(o, unittest.hasLength(2)); | 1341 unittest.expect(o, unittest.hasLength(2)); |
| 1342 unittest.expect(o["x"], unittest.equals('foo')); | 1342 unittest.expect(o["x"], unittest.equals('foo')); |
| 1343 unittest.expect(o["y"], unittest.equals('foo')); | 1343 unittest.expect(o["y"], unittest.equals('foo')); |
| 1344 } | 1344 } |
| 1345 | 1345 |
| 1346 buildUnnamed3749() { | 1346 buildUnnamed3841() { |
| 1347 var o = new core.List<api.ErrorHandler>(); | 1347 var o = new core.List<api.ErrorHandler>(); |
| 1348 o.add(buildErrorHandler()); | 1348 o.add(buildErrorHandler()); |
| 1349 o.add(buildErrorHandler()); | 1349 o.add(buildErrorHandler()); |
| 1350 return o; | 1350 return o; |
| 1351 } | 1351 } |
| 1352 | 1352 |
| 1353 checkUnnamed3749(core.List<api.ErrorHandler> o) { | 1353 checkUnnamed3841(core.List<api.ErrorHandler> o) { |
| 1354 unittest.expect(o, unittest.hasLength(2)); | 1354 unittest.expect(o, unittest.hasLength(2)); |
| 1355 checkErrorHandler(o[0]); | 1355 checkErrorHandler(o[0]); |
| 1356 checkErrorHandler(o[1]); | 1356 checkErrorHandler(o[1]); |
| 1357 } | 1357 } |
| 1358 | 1358 |
| 1359 buildUnnamed3750() { | 1359 buildUnnamed3842() { |
| 1360 var o = new core.List<api.UrlMap>(); | 1360 var o = new core.List<api.UrlMap>(); |
| 1361 o.add(buildUrlMap()); | 1361 o.add(buildUrlMap()); |
| 1362 o.add(buildUrlMap()); | 1362 o.add(buildUrlMap()); |
| 1363 return o; | 1363 return o; |
| 1364 } | 1364 } |
| 1365 | 1365 |
| 1366 checkUnnamed3750(core.List<api.UrlMap> o) { | 1366 checkUnnamed3842(core.List<api.UrlMap> o) { |
| 1367 unittest.expect(o, unittest.hasLength(2)); | 1367 unittest.expect(o, unittest.hasLength(2)); |
| 1368 checkUrlMap(o[0]); | 1368 checkUrlMap(o[0]); |
| 1369 checkUrlMap(o[1]); | 1369 checkUrlMap(o[1]); |
| 1370 } | 1370 } |
| 1371 | 1371 |
| 1372 buildUnnamed3751() { | 1372 buildUnnamed3843() { |
| 1373 var o = new core.List<core.String>(); | 1373 var o = new core.List<core.String>(); |
| 1374 o.add("foo"); | 1374 o.add("foo"); |
| 1375 o.add("foo"); | 1375 o.add("foo"); |
| 1376 return o; | 1376 return o; |
| 1377 } | 1377 } |
| 1378 | 1378 |
| 1379 checkUnnamed3751(core.List<core.String> o) { | 1379 checkUnnamed3843(core.List<core.String> o) { |
| 1380 unittest.expect(o, unittest.hasLength(2)); | 1380 unittest.expect(o, unittest.hasLength(2)); |
| 1381 unittest.expect(o[0], unittest.equals('foo')); | 1381 unittest.expect(o[0], unittest.equals('foo')); |
| 1382 unittest.expect(o[1], unittest.equals('foo')); | 1382 unittest.expect(o[1], unittest.equals('foo')); |
| 1383 } | 1383 } |
| 1384 | 1384 |
| 1385 buildUnnamed3752() { | 1385 buildUnnamed3844() { |
| 1386 var o = new core.List<api.Library>(); | 1386 var o = new core.List<api.Library>(); |
| 1387 o.add(buildLibrary()); | 1387 o.add(buildLibrary()); |
| 1388 o.add(buildLibrary()); | 1388 o.add(buildLibrary()); |
| 1389 return o; | 1389 return o; |
| 1390 } | 1390 } |
| 1391 | 1391 |
| 1392 checkUnnamed3752(core.List<api.Library> o) { | 1392 checkUnnamed3844(core.List<api.Library> o) { |
| 1393 unittest.expect(o, unittest.hasLength(2)); | 1393 unittest.expect(o, unittest.hasLength(2)); |
| 1394 checkLibrary(o[0]); | 1394 checkLibrary(o[0]); |
| 1395 checkLibrary(o[1]); | 1395 checkLibrary(o[1]); |
| 1396 } | 1396 } |
| 1397 | 1397 |
| 1398 core.int buildCounterVersion = 0; | 1398 core.int buildCounterVersion = 0; |
| 1399 buildVersion() { | 1399 buildVersion() { |
| 1400 var o = new api.Version(); | 1400 var o = new api.Version(); |
| 1401 buildCounterVersion++; | 1401 buildCounterVersion++; |
| 1402 if (buildCounterVersion < 3) { | 1402 if (buildCounterVersion < 3) { |
| 1403 o.apiConfig = buildApiConfigHandler(); | 1403 o.apiConfig = buildApiConfigHandler(); |
| 1404 o.automaticScaling = buildAutomaticScaling(); | 1404 o.automaticScaling = buildAutomaticScaling(); |
| 1405 o.basicScaling = buildBasicScaling(); | 1405 o.basicScaling = buildBasicScaling(); |
| 1406 o.betaSettings = buildUnnamed3747(); | 1406 o.betaSettings = buildUnnamed3839(); |
| 1407 o.creationTime = "foo"; | 1407 o.creationTime = "foo"; |
| 1408 o.defaultExpiration = "foo"; | 1408 o.defaultExpiration = "foo"; |
| 1409 o.deployer = "foo"; | 1409 o.deployer = "foo"; |
| 1410 o.deployment = buildDeployment(); | 1410 o.deployment = buildDeployment(); |
| 1411 o.diskUsageBytes = "foo"; | 1411 o.diskUsageBytes = "foo"; |
| 1412 o.endpointsApiService = buildEndpointsApiService(); | 1412 o.endpointsApiService = buildEndpointsApiService(); |
| 1413 o.env = "foo"; | 1413 o.env = "foo"; |
| 1414 o.envVariables = buildUnnamed3748(); | 1414 o.envVariables = buildUnnamed3840(); |
| 1415 o.errorHandlers = buildUnnamed3749(); | 1415 o.errorHandlers = buildUnnamed3841(); |
| 1416 o.handlers = buildUnnamed3750(); | 1416 o.handlers = buildUnnamed3842(); |
| 1417 o.healthCheck = buildHealthCheck(); | 1417 o.healthCheck = buildHealthCheck(); |
| 1418 o.id = "foo"; | 1418 o.id = "foo"; |
| 1419 o.inboundServices = buildUnnamed3751(); | 1419 o.inboundServices = buildUnnamed3843(); |
| 1420 o.instanceClass = "foo"; | 1420 o.instanceClass = "foo"; |
| 1421 o.libraries = buildUnnamed3752(); | 1421 o.libraries = buildUnnamed3844(); |
| 1422 o.manualScaling = buildManualScaling(); | 1422 o.manualScaling = buildManualScaling(); |
| 1423 o.name = "foo"; | 1423 o.name = "foo"; |
| 1424 o.network = buildNetwork(); | 1424 o.network = buildNetwork(); |
| 1425 o.nobuildFilesRegex = "foo"; | 1425 o.nobuildFilesRegex = "foo"; |
| 1426 o.resources = buildResources(); | 1426 o.resources = buildResources(); |
| 1427 o.runtime = "foo"; | 1427 o.runtime = "foo"; |
| 1428 o.servingStatus = "foo"; | 1428 o.servingStatus = "foo"; |
| 1429 o.threadsafe = true; | 1429 o.threadsafe = true; |
| 1430 o.vm = true; | 1430 o.vm = true; |
| 1431 } | 1431 } |
| 1432 buildCounterVersion--; | 1432 buildCounterVersion--; |
| 1433 return o; | 1433 return o; |
| 1434 } | 1434 } |
| 1435 | 1435 |
| 1436 checkVersion(api.Version o) { | 1436 checkVersion(api.Version o) { |
| 1437 buildCounterVersion++; | 1437 buildCounterVersion++; |
| 1438 if (buildCounterVersion < 3) { | 1438 if (buildCounterVersion < 3) { |
| 1439 checkApiConfigHandler(o.apiConfig); | 1439 checkApiConfigHandler(o.apiConfig); |
| 1440 checkAutomaticScaling(o.automaticScaling); | 1440 checkAutomaticScaling(o.automaticScaling); |
| 1441 checkBasicScaling(o.basicScaling); | 1441 checkBasicScaling(o.basicScaling); |
| 1442 checkUnnamed3747(o.betaSettings); | 1442 checkUnnamed3839(o.betaSettings); |
| 1443 unittest.expect(o.creationTime, unittest.equals('foo')); | 1443 unittest.expect(o.creationTime, unittest.equals('foo')); |
| 1444 unittest.expect(o.defaultExpiration, unittest.equals('foo')); | 1444 unittest.expect(o.defaultExpiration, unittest.equals('foo')); |
| 1445 unittest.expect(o.deployer, unittest.equals('foo')); | 1445 unittest.expect(o.deployer, unittest.equals('foo')); |
| 1446 checkDeployment(o.deployment); | 1446 checkDeployment(o.deployment); |
| 1447 unittest.expect(o.diskUsageBytes, unittest.equals('foo')); | 1447 unittest.expect(o.diskUsageBytes, unittest.equals('foo')); |
| 1448 checkEndpointsApiService(o.endpointsApiService); | 1448 checkEndpointsApiService(o.endpointsApiService); |
| 1449 unittest.expect(o.env, unittest.equals('foo')); | 1449 unittest.expect(o.env, unittest.equals('foo')); |
| 1450 checkUnnamed3748(o.envVariables); | 1450 checkUnnamed3840(o.envVariables); |
| 1451 checkUnnamed3749(o.errorHandlers); | 1451 checkUnnamed3841(o.errorHandlers); |
| 1452 checkUnnamed3750(o.handlers); | 1452 checkUnnamed3842(o.handlers); |
| 1453 checkHealthCheck(o.healthCheck); | 1453 checkHealthCheck(o.healthCheck); |
| 1454 unittest.expect(o.id, unittest.equals('foo')); | 1454 unittest.expect(o.id, unittest.equals('foo')); |
| 1455 checkUnnamed3751(o.inboundServices); | 1455 checkUnnamed3843(o.inboundServices); |
| 1456 unittest.expect(o.instanceClass, unittest.equals('foo')); | 1456 unittest.expect(o.instanceClass, unittest.equals('foo')); |
| 1457 checkUnnamed3752(o.libraries); | 1457 checkUnnamed3844(o.libraries); |
| 1458 checkManualScaling(o.manualScaling); | 1458 checkManualScaling(o.manualScaling); |
| 1459 unittest.expect(o.name, unittest.equals('foo')); | 1459 unittest.expect(o.name, unittest.equals('foo')); |
| 1460 checkNetwork(o.network); | 1460 checkNetwork(o.network); |
| 1461 unittest.expect(o.nobuildFilesRegex, unittest.equals('foo')); | 1461 unittest.expect(o.nobuildFilesRegex, unittest.equals('foo')); |
| 1462 checkResources(o.resources); | 1462 checkResources(o.resources); |
| 1463 unittest.expect(o.runtime, unittest.equals('foo')); | 1463 unittest.expect(o.runtime, unittest.equals('foo')); |
| 1464 unittest.expect(o.servingStatus, unittest.equals('foo')); | 1464 unittest.expect(o.servingStatus, unittest.equals('foo')); |
| 1465 unittest.expect(o.threadsafe, unittest.isTrue); | 1465 unittest.expect(o.threadsafe, unittest.isTrue); |
| 1466 unittest.expect(o.vm, unittest.isTrue); | 1466 unittest.expect(o.vm, unittest.isTrue); |
| 1467 } | 1467 } |
| (...skipping 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3117 res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSiz
e, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInstancesRespon
se response) { | 3117 res.list(arg_appsId, arg_servicesId, arg_versionsId, pageSize: arg_pageSiz
e, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListInstancesRespon
se response) { |
| 3118 checkListInstancesResponse(response); | 3118 checkListInstancesResponse(response); |
| 3119 }))); | 3119 }))); |
| 3120 }); | 3120 }); |
| 3121 | 3121 |
| 3122 }); | 3122 }); |
| 3123 | 3123 |
| 3124 | 3124 |
| 3125 } | 3125 } |
| 3126 | 3126 |
| OLD | NEW |