| Index: generated/googleapis/test/servicecontrol/v1_test.dart
|
| diff --git a/generated/googleapis/test/servicecontrol/v1_test.dart b/generated/googleapis/test/servicecontrol/v1_test.dart
|
| index e6bad664934d1933f237093f77d0889e2928f469..6f0235004370e44630c3873f000135fdf44ebf2f 100644
|
| --- a/generated/googleapis/test/servicecontrol/v1_test.dart
|
| +++ b/generated/googleapis/test/servicecontrol/v1_test.dart
|
| @@ -74,27 +74,27 @@ checkAllocateQuotaRequest(api.AllocateQuotaRequest o) {
|
| buildCounterAllocateQuotaRequest--;
|
| }
|
|
|
| -buildUnnamed1677() {
|
| +buildUnnamed1694() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1677(core.List<api.QuotaError> o) {
|
| +checkUnnamed1694(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| }
|
|
|
| -buildUnnamed1678() {
|
| +buildUnnamed1695() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1678(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1695(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| @@ -105,9 +105,9 @@ buildAllocateQuotaResponse() {
|
| var o = new api.AllocateQuotaResponse();
|
| buildCounterAllocateQuotaResponse++;
|
| if (buildCounterAllocateQuotaResponse < 3) {
|
| - o.allocateErrors = buildUnnamed1677();
|
| + o.allocateErrors = buildUnnamed1694();
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1678();
|
| + o.quotaMetrics = buildUnnamed1695();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterAllocateQuotaResponse--;
|
| @@ -117,61 +117,61 @@ buildAllocateQuotaResponse() {
|
| checkAllocateQuotaResponse(api.AllocateQuotaResponse o) {
|
| buildCounterAllocateQuotaResponse++;
|
| if (buildCounterAllocateQuotaResponse < 3) {
|
| - checkUnnamed1677(o.allocateErrors);
|
| + checkUnnamed1694(o.allocateErrors);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1678(o.quotaMetrics);
|
| + checkUnnamed1695(o.quotaMetrics);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterAllocateQuotaResponse--;
|
| }
|
|
|
| -buildUnnamed1679() {
|
| +buildUnnamed1696() {
|
| var o = new core.List<api.AuthorizationInfo>();
|
| o.add(buildAuthorizationInfo());
|
| o.add(buildAuthorizationInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1679(core.List<api.AuthorizationInfo> o) {
|
| +checkUnnamed1696(core.List<api.AuthorizationInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthorizationInfo(o[0]);
|
| checkAuthorizationInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed1680() {
|
| +buildUnnamed1697() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed1680(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1697(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
|
| var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1681() {
|
| +buildUnnamed1698() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed1681(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1698(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
|
| var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1682() {
|
| +buildUnnamed1699() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed1682(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1699(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
|
| var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
|
| @@ -183,14 +183,14 @@ buildAuditLog() {
|
| buildCounterAuditLog++;
|
| if (buildCounterAuditLog < 3) {
|
| o.authenticationInfo = buildAuthenticationInfo();
|
| - o.authorizationInfo = buildUnnamed1679();
|
| + o.authorizationInfo = buildUnnamed1696();
|
| o.methodName = "foo";
|
| o.numResponseItems = "foo";
|
| - o.request = buildUnnamed1680();
|
| + o.request = buildUnnamed1697();
|
| o.requestMetadata = buildRequestMetadata();
|
| o.resourceName = "foo";
|
| - o.response = buildUnnamed1681();
|
| - o.serviceData = buildUnnamed1682();
|
| + o.response = buildUnnamed1698();
|
| + o.serviceData = buildUnnamed1699();
|
| o.serviceName = "foo";
|
| o.status = buildStatus();
|
| }
|
| @@ -202,14 +202,14 @@ checkAuditLog(api.AuditLog o) {
|
| buildCounterAuditLog++;
|
| if (buildCounterAuditLog < 3) {
|
| checkAuthenticationInfo(o.authenticationInfo);
|
| - checkUnnamed1679(o.authorizationInfo);
|
| + checkUnnamed1696(o.authorizationInfo);
|
| unittest.expect(o.methodName, unittest.equals('foo'));
|
| unittest.expect(o.numResponseItems, unittest.equals('foo'));
|
| - checkUnnamed1680(o.request);
|
| + checkUnnamed1697(o.request);
|
| checkRequestMetadata(o.requestMetadata);
|
| unittest.expect(o.resourceName, unittest.equals('foo'));
|
| - checkUnnamed1681(o.response);
|
| - checkUnnamed1682(o.serviceData);
|
| + checkUnnamed1698(o.response);
|
| + checkUnnamed1699(o.serviceData);
|
| unittest.expect(o.serviceName, unittest.equals('foo'));
|
| checkStatus(o.status);
|
| }
|
| @@ -281,14 +281,14 @@ checkCheckError(api.CheckError o) {
|
| buildCounterCheckError--;
|
| }
|
|
|
| -buildUnnamed1683() {
|
| +buildUnnamed1700() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1683(core.List<core.String> o) {
|
| +checkUnnamed1700(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -300,7 +300,7 @@ buildCheckInfo() {
|
| buildCounterCheckInfo++;
|
| if (buildCounterCheckInfo < 3) {
|
| o.consumerInfo = buildConsumerInfo();
|
| - o.unusedArguments = buildUnnamed1683();
|
| + o.unusedArguments = buildUnnamed1700();
|
| }
|
| buildCounterCheckInfo--;
|
| return o;
|
| @@ -310,7 +310,7 @@ checkCheckInfo(api.CheckInfo o) {
|
| buildCounterCheckInfo++;
|
| if (buildCounterCheckInfo < 3) {
|
| checkConsumerInfo(o.consumerInfo);
|
| - checkUnnamed1683(o.unusedArguments);
|
| + checkUnnamed1700(o.unusedArguments);
|
| }
|
| buildCounterCheckInfo--;
|
| }
|
| @@ -340,14 +340,14 @@ checkCheckRequest(api.CheckRequest o) {
|
| buildCounterCheckRequest--;
|
| }
|
|
|
| -buildUnnamed1684() {
|
| +buildUnnamed1701() {
|
| var o = new core.List<api.CheckError>();
|
| o.add(buildCheckError());
|
| o.add(buildCheckError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1684(core.List<api.CheckError> o) {
|
| +checkUnnamed1701(core.List<api.CheckError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCheckError(o[0]);
|
| checkCheckError(o[1]);
|
| @@ -358,7 +358,7 @@ buildCheckResponse() {
|
| var o = new api.CheckResponse();
|
| buildCounterCheckResponse++;
|
| if (buildCounterCheckResponse < 3) {
|
| - o.checkErrors = buildUnnamed1684();
|
| + o.checkErrors = buildUnnamed1701();
|
| o.checkInfo = buildCheckInfo();
|
| o.operationId = "foo";
|
| o.quotaInfo = buildQuotaInfo();
|
| @@ -371,7 +371,7 @@ buildCheckResponse() {
|
| checkCheckResponse(api.CheckResponse o) {
|
| buildCounterCheckResponse++;
|
| if (buildCounterCheckResponse < 3) {
|
| - checkUnnamed1684(o.checkErrors);
|
| + checkUnnamed1701(o.checkErrors);
|
| checkCheckInfo(o.checkInfo);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| checkQuotaInfo(o.quotaInfo);
|
| @@ -399,14 +399,14 @@ checkConsumerInfo(api.ConsumerInfo o) {
|
| buildCounterConsumerInfo--;
|
| }
|
|
|
| -buildUnnamed1685() {
|
| +buildUnnamed1702() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1685(core.List<core.String> o) {
|
| +checkUnnamed1702(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -417,7 +417,7 @@ buildDistribution() {
|
| var o = new api.Distribution();
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - o.bucketCounts = buildUnnamed1685();
|
| + o.bucketCounts = buildUnnamed1702();
|
| o.count = "foo";
|
| o.explicitBuckets = buildExplicitBuckets();
|
| o.exponentialBuckets = buildExponentialBuckets();
|
| @@ -434,7 +434,7 @@ buildDistribution() {
|
| checkDistribution(api.Distribution o) {
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - checkUnnamed1685(o.bucketCounts);
|
| + checkUnnamed1702(o.bucketCounts);
|
| unittest.expect(o.count, unittest.equals('foo'));
|
| checkExplicitBuckets(o.explicitBuckets);
|
| checkExponentialBuckets(o.exponentialBuckets);
|
| @@ -468,27 +468,27 @@ checkEndReconciliationRequest(api.EndReconciliationRequest o) {
|
| buildCounterEndReconciliationRequest--;
|
| }
|
|
|
| -buildUnnamed1686() {
|
| +buildUnnamed1703() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1686(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1703(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1687() {
|
| +buildUnnamed1704() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1687(core.List<api.QuotaError> o) {
|
| +checkUnnamed1704(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| @@ -500,8 +500,8 @@ buildEndReconciliationResponse() {
|
| buildCounterEndReconciliationResponse++;
|
| if (buildCounterEndReconciliationResponse < 3) {
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1686();
|
| - o.reconciliationErrors = buildUnnamed1687();
|
| + o.quotaMetrics = buildUnnamed1703();
|
| + o.reconciliationErrors = buildUnnamed1704();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterEndReconciliationResponse--;
|
| @@ -512,21 +512,21 @@ checkEndReconciliationResponse(api.EndReconciliationResponse o) {
|
| buildCounterEndReconciliationResponse++;
|
| if (buildCounterEndReconciliationResponse < 3) {
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1686(o.quotaMetrics);
|
| - checkUnnamed1687(o.reconciliationErrors);
|
| + checkUnnamed1703(o.quotaMetrics);
|
| + checkUnnamed1704(o.reconciliationErrors);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterEndReconciliationResponse--;
|
| }
|
|
|
| -buildUnnamed1688() {
|
| +buildUnnamed1705() {
|
| var o = new core.List<core.double>();
|
| o.add(42.0);
|
| o.add(42.0);
|
| return o;
|
| }
|
|
|
| -checkUnnamed1688(core.List<core.double> o) {
|
| +checkUnnamed1705(core.List<core.double> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals(42.0));
|
| unittest.expect(o[1], unittest.equals(42.0));
|
| @@ -537,7 +537,7 @@ buildExplicitBuckets() {
|
| var o = new api.ExplicitBuckets();
|
| buildCounterExplicitBuckets++;
|
| if (buildCounterExplicitBuckets < 3) {
|
| - o.bounds = buildUnnamed1688();
|
| + o.bounds = buildUnnamed1705();
|
| }
|
| buildCounterExplicitBuckets--;
|
| return o;
|
| @@ -546,7 +546,7 @@ buildExplicitBuckets() {
|
| checkExplicitBuckets(api.ExplicitBuckets o) {
|
| buildCounterExplicitBuckets++;
|
| if (buildCounterExplicitBuckets < 3) {
|
| - checkUnnamed1688(o.bounds);
|
| + checkUnnamed1705(o.bounds);
|
| }
|
| buildCounterExplicitBuckets--;
|
| }
|
| @@ -597,40 +597,40 @@ checkLinearBuckets(api.LinearBuckets o) {
|
| buildCounterLinearBuckets--;
|
| }
|
|
|
| -buildUnnamed1689() {
|
| +buildUnnamed1706() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1689(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1706(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1690() {
|
| +buildUnnamed1707() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed1690(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1707(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted7 = (o["x"]) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
|
| var casted8 = (o["y"]) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1691() {
|
| +buildUnnamed1708() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed1691(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1708(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted9 = (o["x"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
|
| var casted10 = (o["y"]) as core.Map; unittest.expect(casted10, unittest.hasLength(3)); unittest.expect(casted10["list"], unittest.equals([1, 2, 3])); unittest.expect(casted10["bool"], unittest.equals(true)); unittest.expect(casted10["string"], unittest.equals('foo'));
|
| @@ -642,11 +642,11 @@ buildLogEntry() {
|
| buildCounterLogEntry++;
|
| if (buildCounterLogEntry < 3) {
|
| o.insertId = "foo";
|
| - o.labels = buildUnnamed1689();
|
| + o.labels = buildUnnamed1706();
|
| o.name = "foo";
|
| - o.protoPayload = buildUnnamed1690();
|
| + o.protoPayload = buildUnnamed1707();
|
| o.severity = "foo";
|
| - o.structPayload = buildUnnamed1691();
|
| + o.structPayload = buildUnnamed1708();
|
| o.textPayload = "foo";
|
| o.timestamp = "foo";
|
| }
|
| @@ -658,25 +658,25 @@ checkLogEntry(api.LogEntry o) {
|
| buildCounterLogEntry++;
|
| if (buildCounterLogEntry < 3) {
|
| unittest.expect(o.insertId, unittest.equals('foo'));
|
| - checkUnnamed1689(o.labels);
|
| + checkUnnamed1706(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1690(o.protoPayload);
|
| + checkUnnamed1707(o.protoPayload);
|
| unittest.expect(o.severity, unittest.equals('foo'));
|
| - checkUnnamed1691(o.structPayload);
|
| + checkUnnamed1708(o.structPayload);
|
| unittest.expect(o.textPayload, unittest.equals('foo'));
|
| unittest.expect(o.timestamp, unittest.equals('foo'));
|
| }
|
| buildCounterLogEntry--;
|
| }
|
|
|
| -buildUnnamed1692() {
|
| +buildUnnamed1709() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1692(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1709(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -692,7 +692,7 @@ buildMetricValue() {
|
| o.doubleValue = 42.0;
|
| o.endTime = "foo";
|
| o.int64Value = "foo";
|
| - o.labels = buildUnnamed1692();
|
| + o.labels = buildUnnamed1709();
|
| o.moneyValue = buildMoney();
|
| o.startTime = "foo";
|
| o.stringValue = "foo";
|
| @@ -709,7 +709,7 @@ checkMetricValue(api.MetricValue o) {
|
| unittest.expect(o.doubleValue, unittest.equals(42.0));
|
| unittest.expect(o.endTime, unittest.equals('foo'));
|
| unittest.expect(o.int64Value, unittest.equals('foo'));
|
| - checkUnnamed1692(o.labels);
|
| + checkUnnamed1709(o.labels);
|
| checkMoney(o.moneyValue);
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| unittest.expect(o.stringValue, unittest.equals('foo'));
|
| @@ -717,14 +717,14 @@ checkMetricValue(api.MetricValue o) {
|
| buildCounterMetricValue--;
|
| }
|
|
|
| -buildUnnamed1693() {
|
| +buildUnnamed1710() {
|
| var o = new core.List<api.MetricValue>();
|
| o.add(buildMetricValue());
|
| o.add(buildMetricValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1693(core.List<api.MetricValue> o) {
|
| +checkUnnamed1710(core.List<api.MetricValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValue(o[0]);
|
| checkMetricValue(o[1]);
|
| @@ -736,7 +736,7 @@ buildMetricValueSet() {
|
| buildCounterMetricValueSet++;
|
| if (buildCounterMetricValueSet < 3) {
|
| o.metricName = "foo";
|
| - o.metricValues = buildUnnamed1693();
|
| + o.metricValues = buildUnnamed1710();
|
| }
|
| buildCounterMetricValueSet--;
|
| return o;
|
| @@ -746,7 +746,7 @@ checkMetricValueSet(api.MetricValueSet o) {
|
| buildCounterMetricValueSet++;
|
| if (buildCounterMetricValueSet < 3) {
|
| unittest.expect(o.metricName, unittest.equals('foo'));
|
| - checkUnnamed1693(o.metricValues);
|
| + checkUnnamed1710(o.metricValues);
|
| }
|
| buildCounterMetricValueSet--;
|
| }
|
| @@ -774,53 +774,53 @@ checkMoney(api.Money o) {
|
| buildCounterMoney--;
|
| }
|
|
|
| -buildUnnamed1694() {
|
| +buildUnnamed1711() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1694(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1711(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1695() {
|
| +buildUnnamed1712() {
|
| var o = new core.List<api.LogEntry>();
|
| o.add(buildLogEntry());
|
| o.add(buildLogEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1695(core.List<api.LogEntry> o) {
|
| +checkUnnamed1712(core.List<api.LogEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogEntry(o[0]);
|
| checkLogEntry(o[1]);
|
| }
|
|
|
| -buildUnnamed1696() {
|
| +buildUnnamed1713() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1696(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1713(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1697() {
|
| +buildUnnamed1714() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1697(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1714(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -834,15 +834,15 @@ buildOperation() {
|
| o.consumerId = "foo";
|
| o.endTime = "foo";
|
| o.importance = "foo";
|
| - o.labels = buildUnnamed1694();
|
| - o.logEntries = buildUnnamed1695();
|
| - o.metricValueSets = buildUnnamed1696();
|
| + o.labels = buildUnnamed1711();
|
| + o.logEntries = buildUnnamed1712();
|
| + o.metricValueSets = buildUnnamed1713();
|
| o.operationId = "foo";
|
| o.operationName = "foo";
|
| o.quotaProperties = buildQuotaProperties();
|
| o.resourceContainer = "foo";
|
| o.startTime = "foo";
|
| - o.userLabels = buildUnnamed1697();
|
| + o.userLabels = buildUnnamed1714();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -854,15 +854,15 @@ checkOperation(api.Operation o) {
|
| unittest.expect(o.consumerId, unittest.equals('foo'));
|
| unittest.expect(o.endTime, unittest.equals('foo'));
|
| unittest.expect(o.importance, unittest.equals('foo'));
|
| - checkUnnamed1694(o.labels);
|
| - checkUnnamed1695(o.logEntries);
|
| - checkUnnamed1696(o.metricValueSets);
|
| + checkUnnamed1711(o.labels);
|
| + checkUnnamed1712(o.logEntries);
|
| + checkUnnamed1713(o.metricValueSets);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| unittest.expect(o.operationName, unittest.equals('foo'));
|
| checkQuotaProperties(o.quotaProperties);
|
| unittest.expect(o.resourceContainer, unittest.equals('foo'));
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| - checkUnnamed1697(o.userLabels);
|
| + checkUnnamed1714(o.userLabels);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -890,40 +890,40 @@ checkQuotaError(api.QuotaError o) {
|
| buildCounterQuotaError--;
|
| }
|
|
|
| -buildUnnamed1698() {
|
| +buildUnnamed1715() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1698(core.List<core.String> o) {
|
| +checkUnnamed1715(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1699() {
|
| +buildUnnamed1716() {
|
| var o = new core.Map<core.String, core.int>();
|
| o["x"] = 42;
|
| o["y"] = 42;
|
| return o;
|
| }
|
|
|
| -checkUnnamed1699(core.Map<core.String, core.int> o) {
|
| +checkUnnamed1716(core.Map<core.String, core.int> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals(42));
|
| unittest.expect(o["y"], unittest.equals(42));
|
| }
|
|
|
| -buildUnnamed1700() {
|
| +buildUnnamed1717() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1700(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1717(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| @@ -934,9 +934,9 @@ buildQuotaInfo() {
|
| var o = new api.QuotaInfo();
|
| buildCounterQuotaInfo++;
|
| if (buildCounterQuotaInfo < 3) {
|
| - o.limitExceeded = buildUnnamed1698();
|
| - o.quotaConsumed = buildUnnamed1699();
|
| - o.quotaMetrics = buildUnnamed1700();
|
| + o.limitExceeded = buildUnnamed1715();
|
| + o.quotaConsumed = buildUnnamed1716();
|
| + o.quotaMetrics = buildUnnamed1717();
|
| }
|
| buildCounterQuotaInfo--;
|
| return o;
|
| @@ -945,34 +945,34 @@ buildQuotaInfo() {
|
| checkQuotaInfo(api.QuotaInfo o) {
|
| buildCounterQuotaInfo++;
|
| if (buildCounterQuotaInfo < 3) {
|
| - checkUnnamed1698(o.limitExceeded);
|
| - checkUnnamed1699(o.quotaConsumed);
|
| - checkUnnamed1700(o.quotaMetrics);
|
| + checkUnnamed1715(o.limitExceeded);
|
| + checkUnnamed1716(o.quotaConsumed);
|
| + checkUnnamed1717(o.quotaMetrics);
|
| }
|
| buildCounterQuotaInfo--;
|
| }
|
|
|
| -buildUnnamed1701() {
|
| +buildUnnamed1718() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1701(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1718(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1702() {
|
| +buildUnnamed1719() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1702(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1719(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| @@ -984,10 +984,10 @@ buildQuotaOperation() {
|
| buildCounterQuotaOperation++;
|
| if (buildCounterQuotaOperation < 3) {
|
| o.consumerId = "foo";
|
| - o.labels = buildUnnamed1701();
|
| + o.labels = buildUnnamed1718();
|
| o.methodName = "foo";
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1702();
|
| + o.quotaMetrics = buildUnnamed1719();
|
| o.quotaMode = "foo";
|
| }
|
| buildCounterQuotaOperation--;
|
| @@ -998,23 +998,23 @@ checkQuotaOperation(api.QuotaOperation o) {
|
| buildCounterQuotaOperation++;
|
| if (buildCounterQuotaOperation < 3) {
|
| unittest.expect(o.consumerId, unittest.equals('foo'));
|
| - checkUnnamed1701(o.labels);
|
| + checkUnnamed1718(o.labels);
|
| unittest.expect(o.methodName, unittest.equals('foo'));
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1702(o.quotaMetrics);
|
| + checkUnnamed1719(o.quotaMetrics);
|
| unittest.expect(o.quotaMode, unittest.equals('foo'));
|
| }
|
| buildCounterQuotaOperation--;
|
| }
|
|
|
| -buildUnnamed1703() {
|
| +buildUnnamed1720() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1703(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1720(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -1025,7 +1025,7 @@ buildQuotaProperties() {
|
| var o = new api.QuotaProperties();
|
| buildCounterQuotaProperties++;
|
| if (buildCounterQuotaProperties < 3) {
|
| - o.limitByIds = buildUnnamed1703();
|
| + o.limitByIds = buildUnnamed1720();
|
| o.quotaMode = "foo";
|
| }
|
| buildCounterQuotaProperties--;
|
| @@ -1035,7 +1035,7 @@ buildQuotaProperties() {
|
| checkQuotaProperties(api.QuotaProperties o) {
|
| buildCounterQuotaProperties++;
|
| if (buildCounterQuotaProperties < 3) {
|
| - checkUnnamed1703(o.limitByIds);
|
| + checkUnnamed1720(o.limitByIds);
|
| unittest.expect(o.quotaMode, unittest.equals('foo'));
|
| }
|
| buildCounterQuotaProperties--;
|
| @@ -1062,27 +1062,27 @@ checkReleaseQuotaRequest(api.ReleaseQuotaRequest o) {
|
| buildCounterReleaseQuotaRequest--;
|
| }
|
|
|
| -buildUnnamed1704() {
|
| +buildUnnamed1721() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1704(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1721(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1705() {
|
| +buildUnnamed1722() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1705(core.List<api.QuotaError> o) {
|
| +checkUnnamed1722(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| @@ -1094,8 +1094,8 @@ buildReleaseQuotaResponse() {
|
| buildCounterReleaseQuotaResponse++;
|
| if (buildCounterReleaseQuotaResponse < 3) {
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1704();
|
| - o.releaseErrors = buildUnnamed1705();
|
| + o.quotaMetrics = buildUnnamed1721();
|
| + o.releaseErrors = buildUnnamed1722();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterReleaseQuotaResponse--;
|
| @@ -1106,8 +1106,8 @@ checkReleaseQuotaResponse(api.ReleaseQuotaResponse o) {
|
| buildCounterReleaseQuotaResponse++;
|
| if (buildCounterReleaseQuotaResponse < 3) {
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1704(o.quotaMetrics);
|
| - checkUnnamed1705(o.releaseErrors);
|
| + checkUnnamed1721(o.quotaMetrics);
|
| + checkUnnamed1722(o.releaseErrors);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterReleaseQuotaResponse--;
|
| @@ -1155,14 +1155,14 @@ checkReportInfo(api.ReportInfo o) {
|
| buildCounterReportInfo--;
|
| }
|
|
|
| -buildUnnamed1706() {
|
| +buildUnnamed1723() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1706(core.List<api.Operation> o) {
|
| +checkUnnamed1723(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -1173,7 +1173,7 @@ buildReportRequest() {
|
| var o = new api.ReportRequest();
|
| buildCounterReportRequest++;
|
| if (buildCounterReportRequest < 3) {
|
| - o.operations = buildUnnamed1706();
|
| + o.operations = buildUnnamed1723();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterReportRequest--;
|
| @@ -1183,33 +1183,33 @@ buildReportRequest() {
|
| checkReportRequest(api.ReportRequest o) {
|
| buildCounterReportRequest++;
|
| if (buildCounterReportRequest < 3) {
|
| - checkUnnamed1706(o.operations);
|
| + checkUnnamed1723(o.operations);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterReportRequest--;
|
| }
|
|
|
| -buildUnnamed1707() {
|
| +buildUnnamed1724() {
|
| var o = new core.List<api.ReportError>();
|
| o.add(buildReportError());
|
| o.add(buildReportError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1707(core.List<api.ReportError> o) {
|
| +checkUnnamed1724(core.List<api.ReportError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkReportError(o[0]);
|
| checkReportError(o[1]);
|
| }
|
|
|
| -buildUnnamed1708() {
|
| +buildUnnamed1725() {
|
| var o = new core.List<api.ReportInfo>();
|
| o.add(buildReportInfo());
|
| o.add(buildReportInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1708(core.List<api.ReportInfo> o) {
|
| +checkUnnamed1725(core.List<api.ReportInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkReportInfo(o[0]);
|
| checkReportInfo(o[1]);
|
| @@ -1220,8 +1220,8 @@ buildReportResponse() {
|
| var o = new api.ReportResponse();
|
| buildCounterReportResponse++;
|
| if (buildCounterReportResponse < 3) {
|
| - o.reportErrors = buildUnnamed1707();
|
| - o.reportInfos = buildUnnamed1708();
|
| + o.reportErrors = buildUnnamed1724();
|
| + o.reportInfos = buildUnnamed1725();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterReportResponse--;
|
| @@ -1231,8 +1231,8 @@ buildReportResponse() {
|
| checkReportResponse(api.ReportResponse o) {
|
| buildCounterReportResponse++;
|
| if (buildCounterReportResponse < 3) {
|
| - checkUnnamed1707(o.reportErrors);
|
| - checkUnnamed1708(o.reportInfos);
|
| + checkUnnamed1724(o.reportErrors);
|
| + checkUnnamed1725(o.reportInfos);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterReportResponse--;
|
| @@ -1280,27 +1280,27 @@ checkStartReconciliationRequest(api.StartReconciliationRequest o) {
|
| buildCounterStartReconciliationRequest--;
|
| }
|
|
|
| -buildUnnamed1709() {
|
| +buildUnnamed1726() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1709(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1726(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1710() {
|
| +buildUnnamed1727() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1710(core.List<api.QuotaError> o) {
|
| +checkUnnamed1727(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| @@ -1312,8 +1312,8 @@ buildStartReconciliationResponse() {
|
| buildCounterStartReconciliationResponse++;
|
| if (buildCounterStartReconciliationResponse < 3) {
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1709();
|
| - o.reconciliationErrors = buildUnnamed1710();
|
| + o.quotaMetrics = buildUnnamed1726();
|
| + o.reconciliationErrors = buildUnnamed1727();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterStartReconciliationResponse--;
|
| @@ -1324,37 +1324,37 @@ checkStartReconciliationResponse(api.StartReconciliationResponse o) {
|
| buildCounterStartReconciliationResponse++;
|
| if (buildCounterStartReconciliationResponse < 3) {
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1709(o.quotaMetrics);
|
| - checkUnnamed1710(o.reconciliationErrors);
|
| + checkUnnamed1726(o.quotaMetrics);
|
| + checkUnnamed1727(o.reconciliationErrors);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterStartReconciliationResponse--;
|
| }
|
|
|
| -buildUnnamed1711() {
|
| +buildUnnamed1728() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed1711(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1728(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted11 = (o["x"]) as core.Map; unittest.expect(casted11, unittest.hasLength(3)); unittest.expect(casted11["list"], unittest.equals([1, 2, 3])); unittest.expect(casted11["bool"], unittest.equals(true)); unittest.expect(casted11["string"], unittest.equals('foo'));
|
| var casted12 = (o["y"]) as core.Map; unittest.expect(casted12, unittest.hasLength(3)); unittest.expect(casted12["list"], unittest.equals([1, 2, 3])); unittest.expect(casted12["bool"], unittest.equals(true)); unittest.expect(casted12["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1712() {
|
| +buildUnnamed1729() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1711());
|
| - o.add(buildUnnamed1711());
|
| + o.add(buildUnnamed1728());
|
| + o.add(buildUnnamed1728());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1712(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1729(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1711(o[0]);
|
| - checkUnnamed1711(o[1]);
|
| + checkUnnamed1728(o[0]);
|
| + checkUnnamed1728(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1363,7 +1363,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed1712();
|
| + o.details = buildUnnamed1729();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1374,7 +1374,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1712(o.details);
|
| + checkUnnamed1729(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
|
|