| 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 36681688a098a78b5585496e6e6bb88a7888cd78..faa9efba8d57cebc275b62a17636283673d3e6fa 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--;
|
| }
|
|
|
| -buildUnnamed1654() {
|
| +buildUnnamed1421() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1654(core.List<api.QuotaError> o) {
|
| +checkUnnamed1421(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| }
|
|
|
| -buildUnnamed1655() {
|
| +buildUnnamed1422() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1655(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1422(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 = buildUnnamed1654();
|
| + o.allocateErrors = buildUnnamed1421();
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1655();
|
| + o.quotaMetrics = buildUnnamed1422();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterAllocateQuotaResponse--;
|
| @@ -117,61 +117,61 @@ buildAllocateQuotaResponse() {
|
| checkAllocateQuotaResponse(api.AllocateQuotaResponse o) {
|
| buildCounterAllocateQuotaResponse++;
|
| if (buildCounterAllocateQuotaResponse < 3) {
|
| - checkUnnamed1654(o.allocateErrors);
|
| + checkUnnamed1421(o.allocateErrors);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1655(o.quotaMetrics);
|
| + checkUnnamed1422(o.quotaMetrics);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterAllocateQuotaResponse--;
|
| }
|
|
|
| -buildUnnamed1656() {
|
| +buildUnnamed1423() {
|
| var o = new core.List<api.AuthorizationInfo>();
|
| o.add(buildAuthorizationInfo());
|
| o.add(buildAuthorizationInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1656(core.List<api.AuthorizationInfo> o) {
|
| +checkUnnamed1423(core.List<api.AuthorizationInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthorizationInfo(o[0]);
|
| checkAuthorizationInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed1657() {
|
| +buildUnnamed1424() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1657(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1424(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'));
|
| }
|
|
|
| -buildUnnamed1658() {
|
| +buildUnnamed1425() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1658(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1425(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'));
|
| }
|
|
|
| -buildUnnamed1659() {
|
| +buildUnnamed1426() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1659(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1426(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 = buildUnnamed1656();
|
| + o.authorizationInfo = buildUnnamed1423();
|
| o.methodName = "foo";
|
| o.numResponseItems = "foo";
|
| - o.request = buildUnnamed1657();
|
| + o.request = buildUnnamed1424();
|
| o.requestMetadata = buildRequestMetadata();
|
| o.resourceName = "foo";
|
| - o.response = buildUnnamed1658();
|
| - o.serviceData = buildUnnamed1659();
|
| + o.response = buildUnnamed1425();
|
| + o.serviceData = buildUnnamed1426();
|
| o.serviceName = "foo";
|
| o.status = buildStatus();
|
| }
|
| @@ -202,14 +202,14 @@ checkAuditLog(api.AuditLog o) {
|
| buildCounterAuditLog++;
|
| if (buildCounterAuditLog < 3) {
|
| checkAuthenticationInfo(o.authenticationInfo);
|
| - checkUnnamed1656(o.authorizationInfo);
|
| + checkUnnamed1423(o.authorizationInfo);
|
| unittest.expect(o.methodName, unittest.equals('foo'));
|
| unittest.expect(o.numResponseItems, unittest.equals('foo'));
|
| - checkUnnamed1657(o.request);
|
| + checkUnnamed1424(o.request);
|
| checkRequestMetadata(o.requestMetadata);
|
| unittest.expect(o.resourceName, unittest.equals('foo'));
|
| - checkUnnamed1658(o.response);
|
| - checkUnnamed1659(o.serviceData);
|
| + checkUnnamed1425(o.response);
|
| + checkUnnamed1426(o.serviceData);
|
| unittest.expect(o.serviceName, unittest.equals('foo'));
|
| checkStatus(o.status);
|
| }
|
| @@ -281,14 +281,14 @@ checkCheckError(api.CheckError o) {
|
| buildCounterCheckError--;
|
| }
|
|
|
| -buildUnnamed1660() {
|
| +buildUnnamed1427() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1660(core.List<core.String> o) {
|
| +checkUnnamed1427(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'));
|
| @@ -299,7 +299,7 @@ buildCheckInfo() {
|
| var o = new api.CheckInfo();
|
| buildCounterCheckInfo++;
|
| if (buildCounterCheckInfo < 3) {
|
| - o.unusedArguments = buildUnnamed1660();
|
| + o.unusedArguments = buildUnnamed1427();
|
| }
|
| buildCounterCheckInfo--;
|
| return o;
|
| @@ -308,7 +308,7 @@ buildCheckInfo() {
|
| checkCheckInfo(api.CheckInfo o) {
|
| buildCounterCheckInfo++;
|
| if (buildCounterCheckInfo < 3) {
|
| - checkUnnamed1660(o.unusedArguments);
|
| + checkUnnamed1427(o.unusedArguments);
|
| }
|
| buildCounterCheckInfo--;
|
| }
|
| @@ -338,14 +338,14 @@ checkCheckRequest(api.CheckRequest o) {
|
| buildCounterCheckRequest--;
|
| }
|
|
|
| -buildUnnamed1661() {
|
| +buildUnnamed1428() {
|
| var o = new core.List<api.CheckError>();
|
| o.add(buildCheckError());
|
| o.add(buildCheckError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1661(core.List<api.CheckError> o) {
|
| +checkUnnamed1428(core.List<api.CheckError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCheckError(o[0]);
|
| checkCheckError(o[1]);
|
| @@ -356,7 +356,7 @@ buildCheckResponse() {
|
| var o = new api.CheckResponse();
|
| buildCounterCheckResponse++;
|
| if (buildCounterCheckResponse < 3) {
|
| - o.checkErrors = buildUnnamed1661();
|
| + o.checkErrors = buildUnnamed1428();
|
| o.checkInfo = buildCheckInfo();
|
| o.operationId = "foo";
|
| o.quotaInfo = buildQuotaInfo();
|
| @@ -369,7 +369,7 @@ buildCheckResponse() {
|
| checkCheckResponse(api.CheckResponse o) {
|
| buildCounterCheckResponse++;
|
| if (buildCounterCheckResponse < 3) {
|
| - checkUnnamed1661(o.checkErrors);
|
| + checkUnnamed1428(o.checkErrors);
|
| checkCheckInfo(o.checkInfo);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| checkQuotaInfo(o.quotaInfo);
|
| @@ -378,14 +378,14 @@ checkCheckResponse(api.CheckResponse o) {
|
| buildCounterCheckResponse--;
|
| }
|
|
|
| -buildUnnamed1662() {
|
| +buildUnnamed1429() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1662(core.List<core.String> o) {
|
| +checkUnnamed1429(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'));
|
| @@ -396,7 +396,7 @@ buildDistribution() {
|
| var o = new api.Distribution();
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - o.bucketCounts = buildUnnamed1662();
|
| + o.bucketCounts = buildUnnamed1429();
|
| o.count = "foo";
|
| o.explicitBuckets = buildExplicitBuckets();
|
| o.exponentialBuckets = buildExponentialBuckets();
|
| @@ -413,7 +413,7 @@ buildDistribution() {
|
| checkDistribution(api.Distribution o) {
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - checkUnnamed1662(o.bucketCounts);
|
| + checkUnnamed1429(o.bucketCounts);
|
| unittest.expect(o.count, unittest.equals('foo'));
|
| checkExplicitBuckets(o.explicitBuckets);
|
| checkExponentialBuckets(o.exponentialBuckets);
|
| @@ -447,27 +447,27 @@ checkEndReconciliationRequest(api.EndReconciliationRequest o) {
|
| buildCounterEndReconciliationRequest--;
|
| }
|
|
|
| -buildUnnamed1663() {
|
| +buildUnnamed1430() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1663(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1430(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1664() {
|
| +buildUnnamed1431() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1664(core.List<api.QuotaError> o) {
|
| +checkUnnamed1431(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| @@ -479,8 +479,8 @@ buildEndReconciliationResponse() {
|
| buildCounterEndReconciliationResponse++;
|
| if (buildCounterEndReconciliationResponse < 3) {
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1663();
|
| - o.reconciliationErrors = buildUnnamed1664();
|
| + o.quotaMetrics = buildUnnamed1430();
|
| + o.reconciliationErrors = buildUnnamed1431();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterEndReconciliationResponse--;
|
| @@ -491,21 +491,21 @@ checkEndReconciliationResponse(api.EndReconciliationResponse o) {
|
| buildCounterEndReconciliationResponse++;
|
| if (buildCounterEndReconciliationResponse < 3) {
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1663(o.quotaMetrics);
|
| - checkUnnamed1664(o.reconciliationErrors);
|
| + checkUnnamed1430(o.quotaMetrics);
|
| + checkUnnamed1431(o.reconciliationErrors);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterEndReconciliationResponse--;
|
| }
|
|
|
| -buildUnnamed1665() {
|
| +buildUnnamed1432() {
|
| var o = new core.List<core.double>();
|
| o.add(42.0);
|
| o.add(42.0);
|
| return o;
|
| }
|
|
|
| -checkUnnamed1665(core.List<core.double> o) {
|
| +checkUnnamed1432(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));
|
| @@ -516,7 +516,7 @@ buildExplicitBuckets() {
|
| var o = new api.ExplicitBuckets();
|
| buildCounterExplicitBuckets++;
|
| if (buildCounterExplicitBuckets < 3) {
|
| - o.bounds = buildUnnamed1665();
|
| + o.bounds = buildUnnamed1432();
|
| }
|
| buildCounterExplicitBuckets--;
|
| return o;
|
| @@ -525,7 +525,7 @@ buildExplicitBuckets() {
|
| checkExplicitBuckets(api.ExplicitBuckets o) {
|
| buildCounterExplicitBuckets++;
|
| if (buildCounterExplicitBuckets < 3) {
|
| - checkUnnamed1665(o.bounds);
|
| + checkUnnamed1432(o.bounds);
|
| }
|
| buildCounterExplicitBuckets--;
|
| }
|
| @@ -576,40 +576,40 @@ checkLinearBuckets(api.LinearBuckets o) {
|
| buildCounterLinearBuckets--;
|
| }
|
|
|
| -buildUnnamed1666() {
|
| +buildUnnamed1433() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1666(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1433(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'));
|
| }
|
|
|
| -buildUnnamed1667() {
|
| +buildUnnamed1434() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1667(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1434(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'));
|
| }
|
|
|
| -buildUnnamed1668() {
|
| +buildUnnamed1435() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1668(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1435(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'));
|
| @@ -621,11 +621,11 @@ buildLogEntry() {
|
| buildCounterLogEntry++;
|
| if (buildCounterLogEntry < 3) {
|
| o.insertId = "foo";
|
| - o.labels = buildUnnamed1666();
|
| + o.labels = buildUnnamed1433();
|
| o.name = "foo";
|
| - o.protoPayload = buildUnnamed1667();
|
| + o.protoPayload = buildUnnamed1434();
|
| o.severity = "foo";
|
| - o.structPayload = buildUnnamed1668();
|
| + o.structPayload = buildUnnamed1435();
|
| o.textPayload = "foo";
|
| o.timestamp = "foo";
|
| }
|
| @@ -637,25 +637,25 @@ checkLogEntry(api.LogEntry o) {
|
| buildCounterLogEntry++;
|
| if (buildCounterLogEntry < 3) {
|
| unittest.expect(o.insertId, unittest.equals('foo'));
|
| - checkUnnamed1666(o.labels);
|
| + checkUnnamed1433(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1667(o.protoPayload);
|
| + checkUnnamed1434(o.protoPayload);
|
| unittest.expect(o.severity, unittest.equals('foo'));
|
| - checkUnnamed1668(o.structPayload);
|
| + checkUnnamed1435(o.structPayload);
|
| unittest.expect(o.textPayload, unittest.equals('foo'));
|
| unittest.expect(o.timestamp, unittest.equals('foo'));
|
| }
|
| buildCounterLogEntry--;
|
| }
|
|
|
| -buildUnnamed1669() {
|
| +buildUnnamed1436() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1669(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1436(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'));
|
| @@ -671,7 +671,7 @@ buildMetricValue() {
|
| o.doubleValue = 42.0;
|
| o.endTime = "foo";
|
| o.int64Value = "foo";
|
| - o.labels = buildUnnamed1669();
|
| + o.labels = buildUnnamed1436();
|
| o.moneyValue = buildMoney();
|
| o.startTime = "foo";
|
| o.stringValue = "foo";
|
| @@ -688,7 +688,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'));
|
| - checkUnnamed1669(o.labels);
|
| + checkUnnamed1436(o.labels);
|
| checkMoney(o.moneyValue);
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| unittest.expect(o.stringValue, unittest.equals('foo'));
|
| @@ -696,14 +696,14 @@ checkMetricValue(api.MetricValue o) {
|
| buildCounterMetricValue--;
|
| }
|
|
|
| -buildUnnamed1670() {
|
| +buildUnnamed1437() {
|
| var o = new core.List<api.MetricValue>();
|
| o.add(buildMetricValue());
|
| o.add(buildMetricValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1670(core.List<api.MetricValue> o) {
|
| +checkUnnamed1437(core.List<api.MetricValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValue(o[0]);
|
| checkMetricValue(o[1]);
|
| @@ -715,7 +715,7 @@ buildMetricValueSet() {
|
| buildCounterMetricValueSet++;
|
| if (buildCounterMetricValueSet < 3) {
|
| o.metricName = "foo";
|
| - o.metricValues = buildUnnamed1670();
|
| + o.metricValues = buildUnnamed1437();
|
| }
|
| buildCounterMetricValueSet--;
|
| return o;
|
| @@ -725,7 +725,7 @@ checkMetricValueSet(api.MetricValueSet o) {
|
| buildCounterMetricValueSet++;
|
| if (buildCounterMetricValueSet < 3) {
|
| unittest.expect(o.metricName, unittest.equals('foo'));
|
| - checkUnnamed1670(o.metricValues);
|
| + checkUnnamed1437(o.metricValues);
|
| }
|
| buildCounterMetricValueSet--;
|
| }
|
| @@ -753,53 +753,53 @@ checkMoney(api.Money o) {
|
| buildCounterMoney--;
|
| }
|
|
|
| -buildUnnamed1671() {
|
| +buildUnnamed1438() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1671(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1438(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'));
|
| }
|
|
|
| -buildUnnamed1672() {
|
| +buildUnnamed1439() {
|
| var o = new core.List<api.LogEntry>();
|
| o.add(buildLogEntry());
|
| o.add(buildLogEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1672(core.List<api.LogEntry> o) {
|
| +checkUnnamed1439(core.List<api.LogEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogEntry(o[0]);
|
| checkLogEntry(o[1]);
|
| }
|
|
|
| -buildUnnamed1673() {
|
| +buildUnnamed1440() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1673(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1440(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1674() {
|
| +buildUnnamed1441() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1674(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1441(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'));
|
| @@ -813,15 +813,15 @@ buildOperation() {
|
| o.consumerId = "foo";
|
| o.endTime = "foo";
|
| o.importance = "foo";
|
| - o.labels = buildUnnamed1671();
|
| - o.logEntries = buildUnnamed1672();
|
| - o.metricValueSets = buildUnnamed1673();
|
| + o.labels = buildUnnamed1438();
|
| + o.logEntries = buildUnnamed1439();
|
| + o.metricValueSets = buildUnnamed1440();
|
| o.operationId = "foo";
|
| o.operationName = "foo";
|
| o.quotaProperties = buildQuotaProperties();
|
| o.resourceContainer = "foo";
|
| o.startTime = "foo";
|
| - o.userLabels = buildUnnamed1674();
|
| + o.userLabels = buildUnnamed1441();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -833,15 +833,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'));
|
| - checkUnnamed1671(o.labels);
|
| - checkUnnamed1672(o.logEntries);
|
| - checkUnnamed1673(o.metricValueSets);
|
| + checkUnnamed1438(o.labels);
|
| + checkUnnamed1439(o.logEntries);
|
| + checkUnnamed1440(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'));
|
| - checkUnnamed1674(o.userLabels);
|
| + checkUnnamed1441(o.userLabels);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -869,40 +869,40 @@ checkQuotaError(api.QuotaError o) {
|
| buildCounterQuotaError--;
|
| }
|
|
|
| -buildUnnamed1675() {
|
| +buildUnnamed1442() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1675(core.List<core.String> o) {
|
| +checkUnnamed1442(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'));
|
| }
|
|
|
| -buildUnnamed1676() {
|
| +buildUnnamed1443() {
|
| var o = new core.Map<core.String, core.int>();
|
| o["x"] = 42;
|
| o["y"] = 42;
|
| return o;
|
| }
|
|
|
| -checkUnnamed1676(core.Map<core.String, core.int> o) {
|
| +checkUnnamed1443(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));
|
| }
|
|
|
| -buildUnnamed1677() {
|
| +buildUnnamed1444() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1677(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1444(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| @@ -913,9 +913,9 @@ buildQuotaInfo() {
|
| var o = new api.QuotaInfo();
|
| buildCounterQuotaInfo++;
|
| if (buildCounterQuotaInfo < 3) {
|
| - o.limitExceeded = buildUnnamed1675();
|
| - o.quotaConsumed = buildUnnamed1676();
|
| - o.quotaMetrics = buildUnnamed1677();
|
| + o.limitExceeded = buildUnnamed1442();
|
| + o.quotaConsumed = buildUnnamed1443();
|
| + o.quotaMetrics = buildUnnamed1444();
|
| }
|
| buildCounterQuotaInfo--;
|
| return o;
|
| @@ -924,34 +924,34 @@ buildQuotaInfo() {
|
| checkQuotaInfo(api.QuotaInfo o) {
|
| buildCounterQuotaInfo++;
|
| if (buildCounterQuotaInfo < 3) {
|
| - checkUnnamed1675(o.limitExceeded);
|
| - checkUnnamed1676(o.quotaConsumed);
|
| - checkUnnamed1677(o.quotaMetrics);
|
| + checkUnnamed1442(o.limitExceeded);
|
| + checkUnnamed1443(o.quotaConsumed);
|
| + checkUnnamed1444(o.quotaMetrics);
|
| }
|
| buildCounterQuotaInfo--;
|
| }
|
|
|
| -buildUnnamed1678() {
|
| +buildUnnamed1445() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1678(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1445(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'));
|
| }
|
|
|
| -buildUnnamed1679() {
|
| +buildUnnamed1446() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1679(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1446(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| @@ -963,10 +963,10 @@ buildQuotaOperation() {
|
| buildCounterQuotaOperation++;
|
| if (buildCounterQuotaOperation < 3) {
|
| o.consumerId = "foo";
|
| - o.labels = buildUnnamed1678();
|
| + o.labels = buildUnnamed1445();
|
| o.methodName = "foo";
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1679();
|
| + o.quotaMetrics = buildUnnamed1446();
|
| o.quotaMode = "foo";
|
| }
|
| buildCounterQuotaOperation--;
|
| @@ -977,23 +977,23 @@ checkQuotaOperation(api.QuotaOperation o) {
|
| buildCounterQuotaOperation++;
|
| if (buildCounterQuotaOperation < 3) {
|
| unittest.expect(o.consumerId, unittest.equals('foo'));
|
| - checkUnnamed1678(o.labels);
|
| + checkUnnamed1445(o.labels);
|
| unittest.expect(o.methodName, unittest.equals('foo'));
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1679(o.quotaMetrics);
|
| + checkUnnamed1446(o.quotaMetrics);
|
| unittest.expect(o.quotaMode, unittest.equals('foo'));
|
| }
|
| buildCounterQuotaOperation--;
|
| }
|
|
|
| -buildUnnamed1680() {
|
| +buildUnnamed1447() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1680(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1447(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'));
|
| @@ -1004,7 +1004,7 @@ buildQuotaProperties() {
|
| var o = new api.QuotaProperties();
|
| buildCounterQuotaProperties++;
|
| if (buildCounterQuotaProperties < 3) {
|
| - o.limitByIds = buildUnnamed1680();
|
| + o.limitByIds = buildUnnamed1447();
|
| o.quotaMode = "foo";
|
| }
|
| buildCounterQuotaProperties--;
|
| @@ -1014,7 +1014,7 @@ buildQuotaProperties() {
|
| checkQuotaProperties(api.QuotaProperties o) {
|
| buildCounterQuotaProperties++;
|
| if (buildCounterQuotaProperties < 3) {
|
| - checkUnnamed1680(o.limitByIds);
|
| + checkUnnamed1447(o.limitByIds);
|
| unittest.expect(o.quotaMode, unittest.equals('foo'));
|
| }
|
| buildCounterQuotaProperties--;
|
| @@ -1041,27 +1041,27 @@ checkReleaseQuotaRequest(api.ReleaseQuotaRequest o) {
|
| buildCounterReleaseQuotaRequest--;
|
| }
|
|
|
| -buildUnnamed1681() {
|
| +buildUnnamed1448() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1681(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1448(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1682() {
|
| +buildUnnamed1449() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1682(core.List<api.QuotaError> o) {
|
| +checkUnnamed1449(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| @@ -1073,8 +1073,8 @@ buildReleaseQuotaResponse() {
|
| buildCounterReleaseQuotaResponse++;
|
| if (buildCounterReleaseQuotaResponse < 3) {
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1681();
|
| - o.releaseErrors = buildUnnamed1682();
|
| + o.quotaMetrics = buildUnnamed1448();
|
| + o.releaseErrors = buildUnnamed1449();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterReleaseQuotaResponse--;
|
| @@ -1085,8 +1085,8 @@ checkReleaseQuotaResponse(api.ReleaseQuotaResponse o) {
|
| buildCounterReleaseQuotaResponse++;
|
| if (buildCounterReleaseQuotaResponse < 3) {
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1681(o.quotaMetrics);
|
| - checkUnnamed1682(o.releaseErrors);
|
| + checkUnnamed1448(o.quotaMetrics);
|
| + checkUnnamed1449(o.releaseErrors);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterReleaseQuotaResponse--;
|
| @@ -1134,14 +1134,14 @@ checkReportInfo(api.ReportInfo o) {
|
| buildCounterReportInfo--;
|
| }
|
|
|
| -buildUnnamed1683() {
|
| +buildUnnamed1450() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1683(core.List<api.Operation> o) {
|
| +checkUnnamed1450(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -1152,7 +1152,7 @@ buildReportRequest() {
|
| var o = new api.ReportRequest();
|
| buildCounterReportRequest++;
|
| if (buildCounterReportRequest < 3) {
|
| - o.operations = buildUnnamed1683();
|
| + o.operations = buildUnnamed1450();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterReportRequest--;
|
| @@ -1162,33 +1162,33 @@ buildReportRequest() {
|
| checkReportRequest(api.ReportRequest o) {
|
| buildCounterReportRequest++;
|
| if (buildCounterReportRequest < 3) {
|
| - checkUnnamed1683(o.operations);
|
| + checkUnnamed1450(o.operations);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterReportRequest--;
|
| }
|
|
|
| -buildUnnamed1684() {
|
| +buildUnnamed1451() {
|
| var o = new core.List<api.ReportError>();
|
| o.add(buildReportError());
|
| o.add(buildReportError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1684(core.List<api.ReportError> o) {
|
| +checkUnnamed1451(core.List<api.ReportError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkReportError(o[0]);
|
| checkReportError(o[1]);
|
| }
|
|
|
| -buildUnnamed1685() {
|
| +buildUnnamed1452() {
|
| var o = new core.List<api.ReportInfo>();
|
| o.add(buildReportInfo());
|
| o.add(buildReportInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1685(core.List<api.ReportInfo> o) {
|
| +checkUnnamed1452(core.List<api.ReportInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkReportInfo(o[0]);
|
| checkReportInfo(o[1]);
|
| @@ -1199,8 +1199,8 @@ buildReportResponse() {
|
| var o = new api.ReportResponse();
|
| buildCounterReportResponse++;
|
| if (buildCounterReportResponse < 3) {
|
| - o.reportErrors = buildUnnamed1684();
|
| - o.reportInfos = buildUnnamed1685();
|
| + o.reportErrors = buildUnnamed1451();
|
| + o.reportInfos = buildUnnamed1452();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterReportResponse--;
|
| @@ -1210,8 +1210,8 @@ buildReportResponse() {
|
| checkReportResponse(api.ReportResponse o) {
|
| buildCounterReportResponse++;
|
| if (buildCounterReportResponse < 3) {
|
| - checkUnnamed1684(o.reportErrors);
|
| - checkUnnamed1685(o.reportInfos);
|
| + checkUnnamed1451(o.reportErrors);
|
| + checkUnnamed1452(o.reportInfos);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterReportResponse--;
|
| @@ -1259,27 +1259,27 @@ checkStartReconciliationRequest(api.StartReconciliationRequest o) {
|
| buildCounterStartReconciliationRequest--;
|
| }
|
|
|
| -buildUnnamed1686() {
|
| +buildUnnamed1453() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1686(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1453(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1687() {
|
| +buildUnnamed1454() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1687(core.List<api.QuotaError> o) {
|
| +checkUnnamed1454(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| @@ -1291,8 +1291,8 @@ buildStartReconciliationResponse() {
|
| buildCounterStartReconciliationResponse++;
|
| if (buildCounterStartReconciliationResponse < 3) {
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1686();
|
| - o.reconciliationErrors = buildUnnamed1687();
|
| + o.quotaMetrics = buildUnnamed1453();
|
| + o.reconciliationErrors = buildUnnamed1454();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterStartReconciliationResponse--;
|
| @@ -1303,37 +1303,37 @@ checkStartReconciliationResponse(api.StartReconciliationResponse o) {
|
| buildCounterStartReconciliationResponse++;
|
| if (buildCounterStartReconciliationResponse < 3) {
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1686(o.quotaMetrics);
|
| - checkUnnamed1687(o.reconciliationErrors);
|
| + checkUnnamed1453(o.quotaMetrics);
|
| + checkUnnamed1454(o.reconciliationErrors);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterStartReconciliationResponse--;
|
| }
|
|
|
| -buildUnnamed1688() {
|
| +buildUnnamed1455() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1688(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1455(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'));
|
| }
|
|
|
| -buildUnnamed1689() {
|
| +buildUnnamed1456() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1688());
|
| - o.add(buildUnnamed1688());
|
| + o.add(buildUnnamed1455());
|
| + o.add(buildUnnamed1455());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1689(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1456(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1688(o[0]);
|
| - checkUnnamed1688(o[1]);
|
| + checkUnnamed1455(o[0]);
|
| + checkUnnamed1455(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1342,7 +1342,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed1689();
|
| + o.details = buildUnnamed1456();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1353,7 +1353,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1689(o.details);
|
| + checkUnnamed1456(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
|
|