| 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 4014faaadd6037a7415def8a56715f6136c029e3..e6bad664934d1933f237093f77d0889e2928f469 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--;
|
| }
|
|
|
| -buildUnnamed1645() {
|
| +buildUnnamed1677() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1645(core.List<api.QuotaError> o) {
|
| +checkUnnamed1677(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| }
|
|
|
| -buildUnnamed1646() {
|
| +buildUnnamed1678() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1646(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1678(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 = buildUnnamed1645();
|
| + o.allocateErrors = buildUnnamed1677();
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1646();
|
| + o.quotaMetrics = buildUnnamed1678();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterAllocateQuotaResponse--;
|
| @@ -117,61 +117,61 @@ buildAllocateQuotaResponse() {
|
| checkAllocateQuotaResponse(api.AllocateQuotaResponse o) {
|
| buildCounterAllocateQuotaResponse++;
|
| if (buildCounterAllocateQuotaResponse < 3) {
|
| - checkUnnamed1645(o.allocateErrors);
|
| + checkUnnamed1677(o.allocateErrors);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1646(o.quotaMetrics);
|
| + checkUnnamed1678(o.quotaMetrics);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterAllocateQuotaResponse--;
|
| }
|
|
|
| -buildUnnamed1647() {
|
| +buildUnnamed1679() {
|
| var o = new core.List<api.AuthorizationInfo>();
|
| o.add(buildAuthorizationInfo());
|
| o.add(buildAuthorizationInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1647(core.List<api.AuthorizationInfo> o) {
|
| +checkUnnamed1679(core.List<api.AuthorizationInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAuthorizationInfo(o[0]);
|
| checkAuthorizationInfo(o[1]);
|
| }
|
|
|
| -buildUnnamed1648() {
|
| +buildUnnamed1680() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1648(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1680(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'));
|
| }
|
|
|
| -buildUnnamed1649() {
|
| +buildUnnamed1681() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1649(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1681(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'));
|
| }
|
|
|
| -buildUnnamed1650() {
|
| +buildUnnamed1682() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1650(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1682(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 = buildUnnamed1647();
|
| + o.authorizationInfo = buildUnnamed1679();
|
| o.methodName = "foo";
|
| o.numResponseItems = "foo";
|
| - o.request = buildUnnamed1648();
|
| + o.request = buildUnnamed1680();
|
| o.requestMetadata = buildRequestMetadata();
|
| o.resourceName = "foo";
|
| - o.response = buildUnnamed1649();
|
| - o.serviceData = buildUnnamed1650();
|
| + o.response = buildUnnamed1681();
|
| + o.serviceData = buildUnnamed1682();
|
| o.serviceName = "foo";
|
| o.status = buildStatus();
|
| }
|
| @@ -202,14 +202,14 @@ checkAuditLog(api.AuditLog o) {
|
| buildCounterAuditLog++;
|
| if (buildCounterAuditLog < 3) {
|
| checkAuthenticationInfo(o.authenticationInfo);
|
| - checkUnnamed1647(o.authorizationInfo);
|
| + checkUnnamed1679(o.authorizationInfo);
|
| unittest.expect(o.methodName, unittest.equals('foo'));
|
| unittest.expect(o.numResponseItems, unittest.equals('foo'));
|
| - checkUnnamed1648(o.request);
|
| + checkUnnamed1680(o.request);
|
| checkRequestMetadata(o.requestMetadata);
|
| unittest.expect(o.resourceName, unittest.equals('foo'));
|
| - checkUnnamed1649(o.response);
|
| - checkUnnamed1650(o.serviceData);
|
| + checkUnnamed1681(o.response);
|
| + checkUnnamed1682(o.serviceData);
|
| unittest.expect(o.serviceName, unittest.equals('foo'));
|
| checkStatus(o.status);
|
| }
|
| @@ -281,14 +281,14 @@ checkCheckError(api.CheckError o) {
|
| buildCounterCheckError--;
|
| }
|
|
|
| -buildUnnamed1651() {
|
| +buildUnnamed1683() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1651(core.List<core.String> o) {
|
| +checkUnnamed1683(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,8 @@ buildCheckInfo() {
|
| var o = new api.CheckInfo();
|
| buildCounterCheckInfo++;
|
| if (buildCounterCheckInfo < 3) {
|
| - o.unusedArguments = buildUnnamed1651();
|
| + o.consumerInfo = buildConsumerInfo();
|
| + o.unusedArguments = buildUnnamed1683();
|
| }
|
| buildCounterCheckInfo--;
|
| return o;
|
| @@ -308,7 +309,8 @@ buildCheckInfo() {
|
| checkCheckInfo(api.CheckInfo o) {
|
| buildCounterCheckInfo++;
|
| if (buildCounterCheckInfo < 3) {
|
| - checkUnnamed1651(o.unusedArguments);
|
| + checkConsumerInfo(o.consumerInfo);
|
| + checkUnnamed1683(o.unusedArguments);
|
| }
|
| buildCounterCheckInfo--;
|
| }
|
| @@ -338,14 +340,14 @@ checkCheckRequest(api.CheckRequest o) {
|
| buildCounterCheckRequest--;
|
| }
|
|
|
| -buildUnnamed1652() {
|
| +buildUnnamed1684() {
|
| var o = new core.List<api.CheckError>();
|
| o.add(buildCheckError());
|
| o.add(buildCheckError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1652(core.List<api.CheckError> o) {
|
| +checkUnnamed1684(core.List<api.CheckError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCheckError(o[0]);
|
| checkCheckError(o[1]);
|
| @@ -356,7 +358,7 @@ buildCheckResponse() {
|
| var o = new api.CheckResponse();
|
| buildCounterCheckResponse++;
|
| if (buildCounterCheckResponse < 3) {
|
| - o.checkErrors = buildUnnamed1652();
|
| + o.checkErrors = buildUnnamed1684();
|
| o.checkInfo = buildCheckInfo();
|
| o.operationId = "foo";
|
| o.quotaInfo = buildQuotaInfo();
|
| @@ -369,7 +371,7 @@ buildCheckResponse() {
|
| checkCheckResponse(api.CheckResponse o) {
|
| buildCounterCheckResponse++;
|
| if (buildCounterCheckResponse < 3) {
|
| - checkUnnamed1652(o.checkErrors);
|
| + checkUnnamed1684(o.checkErrors);
|
| checkCheckInfo(o.checkInfo);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| checkQuotaInfo(o.quotaInfo);
|
| @@ -378,14 +380,33 @@ checkCheckResponse(api.CheckResponse o) {
|
| buildCounterCheckResponse--;
|
| }
|
|
|
| -buildUnnamed1653() {
|
| +core.int buildCounterConsumerInfo = 0;
|
| +buildConsumerInfo() {
|
| + var o = new api.ConsumerInfo();
|
| + buildCounterConsumerInfo++;
|
| + if (buildCounterConsumerInfo < 3) {
|
| + o.projectNumber = "foo";
|
| + }
|
| + buildCounterConsumerInfo--;
|
| + return o;
|
| +}
|
| +
|
| +checkConsumerInfo(api.ConsumerInfo o) {
|
| + buildCounterConsumerInfo++;
|
| + if (buildCounterConsumerInfo < 3) {
|
| + unittest.expect(o.projectNumber, unittest.equals('foo'));
|
| + }
|
| + buildCounterConsumerInfo--;
|
| +}
|
| +
|
| +buildUnnamed1685() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1653(core.List<core.String> o) {
|
| +checkUnnamed1685(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 +417,7 @@ buildDistribution() {
|
| var o = new api.Distribution();
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - o.bucketCounts = buildUnnamed1653();
|
| + o.bucketCounts = buildUnnamed1685();
|
| o.count = "foo";
|
| o.explicitBuckets = buildExplicitBuckets();
|
| o.exponentialBuckets = buildExponentialBuckets();
|
| @@ -413,7 +434,7 @@ buildDistribution() {
|
| checkDistribution(api.Distribution o) {
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - checkUnnamed1653(o.bucketCounts);
|
| + checkUnnamed1685(o.bucketCounts);
|
| unittest.expect(o.count, unittest.equals('foo'));
|
| checkExplicitBuckets(o.explicitBuckets);
|
| checkExponentialBuckets(o.exponentialBuckets);
|
| @@ -447,27 +468,27 @@ checkEndReconciliationRequest(api.EndReconciliationRequest o) {
|
| buildCounterEndReconciliationRequest--;
|
| }
|
|
|
| -buildUnnamed1654() {
|
| +buildUnnamed1686() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1654(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1686(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1655() {
|
| +buildUnnamed1687() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1655(core.List<api.QuotaError> o) {
|
| +checkUnnamed1687(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| @@ -479,8 +500,8 @@ buildEndReconciliationResponse() {
|
| buildCounterEndReconciliationResponse++;
|
| if (buildCounterEndReconciliationResponse < 3) {
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1654();
|
| - o.reconciliationErrors = buildUnnamed1655();
|
| + o.quotaMetrics = buildUnnamed1686();
|
| + o.reconciliationErrors = buildUnnamed1687();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterEndReconciliationResponse--;
|
| @@ -491,21 +512,21 @@ checkEndReconciliationResponse(api.EndReconciliationResponse o) {
|
| buildCounterEndReconciliationResponse++;
|
| if (buildCounterEndReconciliationResponse < 3) {
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1654(o.quotaMetrics);
|
| - checkUnnamed1655(o.reconciliationErrors);
|
| + checkUnnamed1686(o.quotaMetrics);
|
| + checkUnnamed1687(o.reconciliationErrors);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterEndReconciliationResponse--;
|
| }
|
|
|
| -buildUnnamed1656() {
|
| +buildUnnamed1688() {
|
| var o = new core.List<core.double>();
|
| o.add(42.0);
|
| o.add(42.0);
|
| return o;
|
| }
|
|
|
| -checkUnnamed1656(core.List<core.double> o) {
|
| +checkUnnamed1688(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 +537,7 @@ buildExplicitBuckets() {
|
| var o = new api.ExplicitBuckets();
|
| buildCounterExplicitBuckets++;
|
| if (buildCounterExplicitBuckets < 3) {
|
| - o.bounds = buildUnnamed1656();
|
| + o.bounds = buildUnnamed1688();
|
| }
|
| buildCounterExplicitBuckets--;
|
| return o;
|
| @@ -525,7 +546,7 @@ buildExplicitBuckets() {
|
| checkExplicitBuckets(api.ExplicitBuckets o) {
|
| buildCounterExplicitBuckets++;
|
| if (buildCounterExplicitBuckets < 3) {
|
| - checkUnnamed1656(o.bounds);
|
| + checkUnnamed1688(o.bounds);
|
| }
|
| buildCounterExplicitBuckets--;
|
| }
|
| @@ -576,40 +597,40 @@ checkLinearBuckets(api.LinearBuckets o) {
|
| buildCounterLinearBuckets--;
|
| }
|
|
|
| -buildUnnamed1657() {
|
| +buildUnnamed1689() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1657(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1689(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'));
|
| }
|
|
|
| -buildUnnamed1658() {
|
| +buildUnnamed1690() {
|
| 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) {
|
| +checkUnnamed1690(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'));
|
| }
|
|
|
| -buildUnnamed1659() {
|
| +buildUnnamed1691() {
|
| 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) {
|
| +checkUnnamed1691(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 +642,11 @@ buildLogEntry() {
|
| buildCounterLogEntry++;
|
| if (buildCounterLogEntry < 3) {
|
| o.insertId = "foo";
|
| - o.labels = buildUnnamed1657();
|
| + o.labels = buildUnnamed1689();
|
| o.name = "foo";
|
| - o.protoPayload = buildUnnamed1658();
|
| + o.protoPayload = buildUnnamed1690();
|
| o.severity = "foo";
|
| - o.structPayload = buildUnnamed1659();
|
| + o.structPayload = buildUnnamed1691();
|
| o.textPayload = "foo";
|
| o.timestamp = "foo";
|
| }
|
| @@ -637,25 +658,25 @@ checkLogEntry(api.LogEntry o) {
|
| buildCounterLogEntry++;
|
| if (buildCounterLogEntry < 3) {
|
| unittest.expect(o.insertId, unittest.equals('foo'));
|
| - checkUnnamed1657(o.labels);
|
| + checkUnnamed1689(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1658(o.protoPayload);
|
| + checkUnnamed1690(o.protoPayload);
|
| unittest.expect(o.severity, unittest.equals('foo'));
|
| - checkUnnamed1659(o.structPayload);
|
| + checkUnnamed1691(o.structPayload);
|
| unittest.expect(o.textPayload, unittest.equals('foo'));
|
| unittest.expect(o.timestamp, unittest.equals('foo'));
|
| }
|
| buildCounterLogEntry--;
|
| }
|
|
|
| -buildUnnamed1660() {
|
| +buildUnnamed1692() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1660(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1692(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 +692,7 @@ buildMetricValue() {
|
| o.doubleValue = 42.0;
|
| o.endTime = "foo";
|
| o.int64Value = "foo";
|
| - o.labels = buildUnnamed1660();
|
| + o.labels = buildUnnamed1692();
|
| o.moneyValue = buildMoney();
|
| o.startTime = "foo";
|
| o.stringValue = "foo";
|
| @@ -688,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'));
|
| - checkUnnamed1660(o.labels);
|
| + checkUnnamed1692(o.labels);
|
| checkMoney(o.moneyValue);
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| unittest.expect(o.stringValue, unittest.equals('foo'));
|
| @@ -696,14 +717,14 @@ checkMetricValue(api.MetricValue o) {
|
| buildCounterMetricValue--;
|
| }
|
|
|
| -buildUnnamed1661() {
|
| +buildUnnamed1693() {
|
| var o = new core.List<api.MetricValue>();
|
| o.add(buildMetricValue());
|
| o.add(buildMetricValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1661(core.List<api.MetricValue> o) {
|
| +checkUnnamed1693(core.List<api.MetricValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValue(o[0]);
|
| checkMetricValue(o[1]);
|
| @@ -715,7 +736,7 @@ buildMetricValueSet() {
|
| buildCounterMetricValueSet++;
|
| if (buildCounterMetricValueSet < 3) {
|
| o.metricName = "foo";
|
| - o.metricValues = buildUnnamed1661();
|
| + o.metricValues = buildUnnamed1693();
|
| }
|
| buildCounterMetricValueSet--;
|
| return o;
|
| @@ -725,7 +746,7 @@ checkMetricValueSet(api.MetricValueSet o) {
|
| buildCounterMetricValueSet++;
|
| if (buildCounterMetricValueSet < 3) {
|
| unittest.expect(o.metricName, unittest.equals('foo'));
|
| - checkUnnamed1661(o.metricValues);
|
| + checkUnnamed1693(o.metricValues);
|
| }
|
| buildCounterMetricValueSet--;
|
| }
|
| @@ -753,53 +774,53 @@ checkMoney(api.Money o) {
|
| buildCounterMoney--;
|
| }
|
|
|
| -buildUnnamed1662() {
|
| +buildUnnamed1694() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1662(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1694(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'));
|
| }
|
|
|
| -buildUnnamed1663() {
|
| +buildUnnamed1695() {
|
| var o = new core.List<api.LogEntry>();
|
| o.add(buildLogEntry());
|
| o.add(buildLogEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1663(core.List<api.LogEntry> o) {
|
| +checkUnnamed1695(core.List<api.LogEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogEntry(o[0]);
|
| checkLogEntry(o[1]);
|
| }
|
|
|
| -buildUnnamed1664() {
|
| +buildUnnamed1696() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1664(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1696(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1665() {
|
| +buildUnnamed1697() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1665(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1697(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 +834,15 @@ buildOperation() {
|
| o.consumerId = "foo";
|
| o.endTime = "foo";
|
| o.importance = "foo";
|
| - o.labels = buildUnnamed1662();
|
| - o.logEntries = buildUnnamed1663();
|
| - o.metricValueSets = buildUnnamed1664();
|
| + o.labels = buildUnnamed1694();
|
| + o.logEntries = buildUnnamed1695();
|
| + o.metricValueSets = buildUnnamed1696();
|
| o.operationId = "foo";
|
| o.operationName = "foo";
|
| o.quotaProperties = buildQuotaProperties();
|
| o.resourceContainer = "foo";
|
| o.startTime = "foo";
|
| - o.userLabels = buildUnnamed1665();
|
| + o.userLabels = buildUnnamed1697();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -833,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'));
|
| - checkUnnamed1662(o.labels);
|
| - checkUnnamed1663(o.logEntries);
|
| - checkUnnamed1664(o.metricValueSets);
|
| + checkUnnamed1694(o.labels);
|
| + checkUnnamed1695(o.logEntries);
|
| + checkUnnamed1696(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'));
|
| - checkUnnamed1665(o.userLabels);
|
| + checkUnnamed1697(o.userLabels);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -869,40 +890,40 @@ checkQuotaError(api.QuotaError o) {
|
| buildCounterQuotaError--;
|
| }
|
|
|
| -buildUnnamed1666() {
|
| +buildUnnamed1698() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1666(core.List<core.String> o) {
|
| +checkUnnamed1698(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'));
|
| }
|
|
|
| -buildUnnamed1667() {
|
| +buildUnnamed1699() {
|
| var o = new core.Map<core.String, core.int>();
|
| o["x"] = 42;
|
| o["y"] = 42;
|
| return o;
|
| }
|
|
|
| -checkUnnamed1667(core.Map<core.String, core.int> o) {
|
| +checkUnnamed1699(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));
|
| }
|
|
|
| -buildUnnamed1668() {
|
| +buildUnnamed1700() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1668(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1700(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| @@ -913,9 +934,9 @@ buildQuotaInfo() {
|
| var o = new api.QuotaInfo();
|
| buildCounterQuotaInfo++;
|
| if (buildCounterQuotaInfo < 3) {
|
| - o.limitExceeded = buildUnnamed1666();
|
| - o.quotaConsumed = buildUnnamed1667();
|
| - o.quotaMetrics = buildUnnamed1668();
|
| + o.limitExceeded = buildUnnamed1698();
|
| + o.quotaConsumed = buildUnnamed1699();
|
| + o.quotaMetrics = buildUnnamed1700();
|
| }
|
| buildCounterQuotaInfo--;
|
| return o;
|
| @@ -924,34 +945,34 @@ buildQuotaInfo() {
|
| checkQuotaInfo(api.QuotaInfo o) {
|
| buildCounterQuotaInfo++;
|
| if (buildCounterQuotaInfo < 3) {
|
| - checkUnnamed1666(o.limitExceeded);
|
| - checkUnnamed1667(o.quotaConsumed);
|
| - checkUnnamed1668(o.quotaMetrics);
|
| + checkUnnamed1698(o.limitExceeded);
|
| + checkUnnamed1699(o.quotaConsumed);
|
| + checkUnnamed1700(o.quotaMetrics);
|
| }
|
| buildCounterQuotaInfo--;
|
| }
|
|
|
| -buildUnnamed1669() {
|
| +buildUnnamed1701() {
|
| 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) {
|
| +checkUnnamed1701(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'));
|
| }
|
|
|
| -buildUnnamed1670() {
|
| +buildUnnamed1702() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1670(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1702(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| @@ -963,10 +984,10 @@ buildQuotaOperation() {
|
| buildCounterQuotaOperation++;
|
| if (buildCounterQuotaOperation < 3) {
|
| o.consumerId = "foo";
|
| - o.labels = buildUnnamed1669();
|
| + o.labels = buildUnnamed1701();
|
| o.methodName = "foo";
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1670();
|
| + o.quotaMetrics = buildUnnamed1702();
|
| o.quotaMode = "foo";
|
| }
|
| buildCounterQuotaOperation--;
|
| @@ -977,23 +998,23 @@ checkQuotaOperation(api.QuotaOperation o) {
|
| buildCounterQuotaOperation++;
|
| if (buildCounterQuotaOperation < 3) {
|
| unittest.expect(o.consumerId, unittest.equals('foo'));
|
| - checkUnnamed1669(o.labels);
|
| + checkUnnamed1701(o.labels);
|
| unittest.expect(o.methodName, unittest.equals('foo'));
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1670(o.quotaMetrics);
|
| + checkUnnamed1702(o.quotaMetrics);
|
| unittest.expect(o.quotaMode, unittest.equals('foo'));
|
| }
|
| buildCounterQuotaOperation--;
|
| }
|
|
|
| -buildUnnamed1671() {
|
| +buildUnnamed1703() {
|
| 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) {
|
| +checkUnnamed1703(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 +1025,7 @@ buildQuotaProperties() {
|
| var o = new api.QuotaProperties();
|
| buildCounterQuotaProperties++;
|
| if (buildCounterQuotaProperties < 3) {
|
| - o.limitByIds = buildUnnamed1671();
|
| + o.limitByIds = buildUnnamed1703();
|
| o.quotaMode = "foo";
|
| }
|
| buildCounterQuotaProperties--;
|
| @@ -1014,7 +1035,7 @@ buildQuotaProperties() {
|
| checkQuotaProperties(api.QuotaProperties o) {
|
| buildCounterQuotaProperties++;
|
| if (buildCounterQuotaProperties < 3) {
|
| - checkUnnamed1671(o.limitByIds);
|
| + checkUnnamed1703(o.limitByIds);
|
| unittest.expect(o.quotaMode, unittest.equals('foo'));
|
| }
|
| buildCounterQuotaProperties--;
|
| @@ -1041,27 +1062,27 @@ checkReleaseQuotaRequest(api.ReleaseQuotaRequest o) {
|
| buildCounterReleaseQuotaRequest--;
|
| }
|
|
|
| -buildUnnamed1672() {
|
| +buildUnnamed1704() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1672(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1704(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1673() {
|
| +buildUnnamed1705() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1673(core.List<api.QuotaError> o) {
|
| +checkUnnamed1705(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| @@ -1073,8 +1094,8 @@ buildReleaseQuotaResponse() {
|
| buildCounterReleaseQuotaResponse++;
|
| if (buildCounterReleaseQuotaResponse < 3) {
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1672();
|
| - o.releaseErrors = buildUnnamed1673();
|
| + o.quotaMetrics = buildUnnamed1704();
|
| + o.releaseErrors = buildUnnamed1705();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterReleaseQuotaResponse--;
|
| @@ -1085,8 +1106,8 @@ checkReleaseQuotaResponse(api.ReleaseQuotaResponse o) {
|
| buildCounterReleaseQuotaResponse++;
|
| if (buildCounterReleaseQuotaResponse < 3) {
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1672(o.quotaMetrics);
|
| - checkUnnamed1673(o.releaseErrors);
|
| + checkUnnamed1704(o.quotaMetrics);
|
| + checkUnnamed1705(o.releaseErrors);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterReleaseQuotaResponse--;
|
| @@ -1134,14 +1155,14 @@ checkReportInfo(api.ReportInfo o) {
|
| buildCounterReportInfo--;
|
| }
|
|
|
| -buildUnnamed1674() {
|
| +buildUnnamed1706() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1674(core.List<api.Operation> o) {
|
| +checkUnnamed1706(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -1152,7 +1173,7 @@ buildReportRequest() {
|
| var o = new api.ReportRequest();
|
| buildCounterReportRequest++;
|
| if (buildCounterReportRequest < 3) {
|
| - o.operations = buildUnnamed1674();
|
| + o.operations = buildUnnamed1706();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterReportRequest--;
|
| @@ -1162,33 +1183,33 @@ buildReportRequest() {
|
| checkReportRequest(api.ReportRequest o) {
|
| buildCounterReportRequest++;
|
| if (buildCounterReportRequest < 3) {
|
| - checkUnnamed1674(o.operations);
|
| + checkUnnamed1706(o.operations);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterReportRequest--;
|
| }
|
|
|
| -buildUnnamed1675() {
|
| +buildUnnamed1707() {
|
| var o = new core.List<api.ReportError>();
|
| o.add(buildReportError());
|
| o.add(buildReportError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1675(core.List<api.ReportError> o) {
|
| +checkUnnamed1707(core.List<api.ReportError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkReportError(o[0]);
|
| checkReportError(o[1]);
|
| }
|
|
|
| -buildUnnamed1676() {
|
| +buildUnnamed1708() {
|
| var o = new core.List<api.ReportInfo>();
|
| o.add(buildReportInfo());
|
| o.add(buildReportInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1676(core.List<api.ReportInfo> o) {
|
| +checkUnnamed1708(core.List<api.ReportInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkReportInfo(o[0]);
|
| checkReportInfo(o[1]);
|
| @@ -1199,8 +1220,8 @@ buildReportResponse() {
|
| var o = new api.ReportResponse();
|
| buildCounterReportResponse++;
|
| if (buildCounterReportResponse < 3) {
|
| - o.reportErrors = buildUnnamed1675();
|
| - o.reportInfos = buildUnnamed1676();
|
| + o.reportErrors = buildUnnamed1707();
|
| + o.reportInfos = buildUnnamed1708();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterReportResponse--;
|
| @@ -1210,8 +1231,8 @@ buildReportResponse() {
|
| checkReportResponse(api.ReportResponse o) {
|
| buildCounterReportResponse++;
|
| if (buildCounterReportResponse < 3) {
|
| - checkUnnamed1675(o.reportErrors);
|
| - checkUnnamed1676(o.reportInfos);
|
| + checkUnnamed1707(o.reportErrors);
|
| + checkUnnamed1708(o.reportInfos);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterReportResponse--;
|
| @@ -1259,27 +1280,27 @@ checkStartReconciliationRequest(api.StartReconciliationRequest o) {
|
| buildCounterStartReconciliationRequest--;
|
| }
|
|
|
| -buildUnnamed1677() {
|
| +buildUnnamed1709() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1677(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1709(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| }
|
|
|
| -buildUnnamed1678() {
|
| +buildUnnamed1710() {
|
| var o = new core.List<api.QuotaError>();
|
| o.add(buildQuotaError());
|
| o.add(buildQuotaError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1678(core.List<api.QuotaError> o) {
|
| +checkUnnamed1710(core.List<api.QuotaError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuotaError(o[0]);
|
| checkQuotaError(o[1]);
|
| @@ -1291,8 +1312,8 @@ buildStartReconciliationResponse() {
|
| buildCounterStartReconciliationResponse++;
|
| if (buildCounterStartReconciliationResponse < 3) {
|
| o.operationId = "foo";
|
| - o.quotaMetrics = buildUnnamed1677();
|
| - o.reconciliationErrors = buildUnnamed1678();
|
| + o.quotaMetrics = buildUnnamed1709();
|
| + o.reconciliationErrors = buildUnnamed1710();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterStartReconciliationResponse--;
|
| @@ -1303,37 +1324,37 @@ checkStartReconciliationResponse(api.StartReconciliationResponse o) {
|
| buildCounterStartReconciliationResponse++;
|
| if (buildCounterStartReconciliationResponse < 3) {
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| - checkUnnamed1677(o.quotaMetrics);
|
| - checkUnnamed1678(o.reconciliationErrors);
|
| + checkUnnamed1709(o.quotaMetrics);
|
| + checkUnnamed1710(o.reconciliationErrors);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterStartReconciliationResponse--;
|
| }
|
|
|
| -buildUnnamed1679() {
|
| +buildUnnamed1711() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1679(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1711(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'));
|
| }
|
|
|
| -buildUnnamed1680() {
|
| +buildUnnamed1712() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1679());
|
| - o.add(buildUnnamed1679());
|
| + o.add(buildUnnamed1711());
|
| + o.add(buildUnnamed1711());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1680(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1712(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1679(o[0]);
|
| - checkUnnamed1679(o[1]);
|
| + checkUnnamed1711(o[0]);
|
| + checkUnnamed1711(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -1342,7 +1363,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed1680();
|
| + o.details = buildUnnamed1712();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -1353,7 +1374,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1680(o.details);
|
| + checkUnnamed1712(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| @@ -1442,6 +1463,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-ConsumerInfo", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildConsumerInfo();
|
| + var od = new api.ConsumerInfo.fromJson(o.toJson());
|
| + checkConsumerInfo(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-Distribution", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildDistribution();
|
|
|