| 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 b850d2c95b20fdf05e8edd65cada72c41576150e..a9ff0ee48ddaaa8ca33c536dce4f360c6dbc78d5 100644
|
| --- a/generated/googleapis/test/servicecontrol/v1_test.dart
|
| +++ b/generated/googleapis/test/servicecontrol/v1_test.dart
|
| @@ -93,14 +93,14 @@ checkCheckRequest(api.CheckRequest o) {
|
| buildCounterCheckRequest--;
|
| }
|
|
|
| -buildUnnamed1889() {
|
| +buildUnnamed1642() {
|
| var o = new core.List<api.CheckError>();
|
| o.add(buildCheckError());
|
| o.add(buildCheckError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1889(core.List<api.CheckError> o) {
|
| +checkUnnamed1642(core.List<api.CheckError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCheckError(o[0]);
|
| checkCheckError(o[1]);
|
| @@ -111,7 +111,7 @@ buildCheckResponse() {
|
| var o = new api.CheckResponse();
|
| buildCounterCheckResponse++;
|
| if (buildCounterCheckResponse < 3) {
|
| - o.checkErrors = buildUnnamed1889();
|
| + o.checkErrors = buildUnnamed1642();
|
| o.operationId = "foo";
|
| o.serviceConfigId = "foo";
|
| }
|
| @@ -122,21 +122,21 @@ buildCheckResponse() {
|
| checkCheckResponse(api.CheckResponse o) {
|
| buildCounterCheckResponse++;
|
| if (buildCounterCheckResponse < 3) {
|
| - checkUnnamed1889(o.checkErrors);
|
| + checkUnnamed1642(o.checkErrors);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterCheckResponse--;
|
| }
|
|
|
| -buildUnnamed1890() {
|
| +buildUnnamed1643() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1890(core.List<core.String> o) {
|
| +checkUnnamed1643(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'));
|
| @@ -147,7 +147,7 @@ buildDistribution() {
|
| var o = new api.Distribution();
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - o.bucketCounts = buildUnnamed1890();
|
| + o.bucketCounts = buildUnnamed1643();
|
| o.count = "foo";
|
| o.explicitBuckets = buildExplicitBuckets();
|
| o.exponentialBuckets = buildExponentialBuckets();
|
| @@ -164,7 +164,7 @@ buildDistribution() {
|
| checkDistribution(api.Distribution o) {
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - checkUnnamed1890(o.bucketCounts);
|
| + checkUnnamed1643(o.bucketCounts);
|
| unittest.expect(o.count, unittest.equals('foo'));
|
| checkExplicitBuckets(o.explicitBuckets);
|
| checkExponentialBuckets(o.exponentialBuckets);
|
| @@ -177,14 +177,14 @@ checkDistribution(api.Distribution o) {
|
| buildCounterDistribution--;
|
| }
|
|
|
| -buildUnnamed1891() {
|
| +buildUnnamed1644() {
|
| var o = new core.List<core.double>();
|
| o.add(42.0);
|
| o.add(42.0);
|
| return o;
|
| }
|
|
|
| -checkUnnamed1891(core.List<core.double> o) {
|
| +checkUnnamed1644(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));
|
| @@ -195,7 +195,7 @@ buildExplicitBuckets() {
|
| var o = new api.ExplicitBuckets();
|
| buildCounterExplicitBuckets++;
|
| if (buildCounterExplicitBuckets < 3) {
|
| - o.bounds = buildUnnamed1891();
|
| + o.bounds = buildUnnamed1644();
|
| }
|
| buildCounterExplicitBuckets--;
|
| return o;
|
| @@ -204,7 +204,7 @@ buildExplicitBuckets() {
|
| checkExplicitBuckets(api.ExplicitBuckets o) {
|
| buildCounterExplicitBuckets++;
|
| if (buildCounterExplicitBuckets < 3) {
|
| - checkUnnamed1891(o.bounds);
|
| + checkUnnamed1644(o.bounds);
|
| }
|
| buildCounterExplicitBuckets--;
|
| }
|
| @@ -255,40 +255,40 @@ checkLinearBuckets(api.LinearBuckets o) {
|
| buildCounterLinearBuckets--;
|
| }
|
|
|
| -buildUnnamed1892() {
|
| +buildUnnamed1645() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1892(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1645(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'));
|
| }
|
|
|
| -buildUnnamed1893() {
|
| +buildUnnamed1646() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1893(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1646(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'));
|
| }
|
|
|
| -buildUnnamed1894() {
|
| +buildUnnamed1647() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1894(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1647(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'));
|
| @@ -300,11 +300,11 @@ buildLogEntry() {
|
| buildCounterLogEntry++;
|
| if (buildCounterLogEntry < 3) {
|
| o.insertId = "foo";
|
| - o.labels = buildUnnamed1892();
|
| + o.labels = buildUnnamed1645();
|
| o.name = "foo";
|
| - o.protoPayload = buildUnnamed1893();
|
| + o.protoPayload = buildUnnamed1646();
|
| o.severity = "foo";
|
| - o.structPayload = buildUnnamed1894();
|
| + o.structPayload = buildUnnamed1647();
|
| o.textPayload = "foo";
|
| o.timestamp = "foo";
|
| }
|
| @@ -316,25 +316,25 @@ checkLogEntry(api.LogEntry o) {
|
| buildCounterLogEntry++;
|
| if (buildCounterLogEntry < 3) {
|
| unittest.expect(o.insertId, unittest.equals('foo'));
|
| - checkUnnamed1892(o.labels);
|
| + checkUnnamed1645(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1893(o.protoPayload);
|
| + checkUnnamed1646(o.protoPayload);
|
| unittest.expect(o.severity, unittest.equals('foo'));
|
| - checkUnnamed1894(o.structPayload);
|
| + checkUnnamed1647(o.structPayload);
|
| unittest.expect(o.textPayload, unittest.equals('foo'));
|
| unittest.expect(o.timestamp, unittest.equals('foo'));
|
| }
|
| buildCounterLogEntry--;
|
| }
|
|
|
| -buildUnnamed1895() {
|
| +buildUnnamed1648() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1895(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1648(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'));
|
| @@ -350,7 +350,7 @@ buildMetricValue() {
|
| o.doubleValue = 42.0;
|
| o.endTime = "foo";
|
| o.int64Value = "foo";
|
| - o.labels = buildUnnamed1895();
|
| + o.labels = buildUnnamed1648();
|
| o.startTime = "foo";
|
| o.stringValue = "foo";
|
| }
|
| @@ -366,21 +366,21 @@ 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'));
|
| - checkUnnamed1895(o.labels);
|
| + checkUnnamed1648(o.labels);
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| unittest.expect(o.stringValue, unittest.equals('foo'));
|
| }
|
| buildCounterMetricValue--;
|
| }
|
|
|
| -buildUnnamed1896() {
|
| +buildUnnamed1649() {
|
| var o = new core.List<api.MetricValue>();
|
| o.add(buildMetricValue());
|
| o.add(buildMetricValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1896(core.List<api.MetricValue> o) {
|
| +checkUnnamed1649(core.List<api.MetricValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValue(o[0]);
|
| checkMetricValue(o[1]);
|
| @@ -392,7 +392,7 @@ buildMetricValueSet() {
|
| buildCounterMetricValueSet++;
|
| if (buildCounterMetricValueSet < 3) {
|
| o.metricName = "foo";
|
| - o.metricValues = buildUnnamed1896();
|
| + o.metricValues = buildUnnamed1649();
|
| }
|
| buildCounterMetricValueSet--;
|
| return o;
|
| @@ -402,45 +402,45 @@ checkMetricValueSet(api.MetricValueSet o) {
|
| buildCounterMetricValueSet++;
|
| if (buildCounterMetricValueSet < 3) {
|
| unittest.expect(o.metricName, unittest.equals('foo'));
|
| - checkUnnamed1896(o.metricValues);
|
| + checkUnnamed1649(o.metricValues);
|
| }
|
| buildCounterMetricValueSet--;
|
| }
|
|
|
| -buildUnnamed1897() {
|
| +buildUnnamed1650() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1897(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1650(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'));
|
| }
|
|
|
| -buildUnnamed1898() {
|
| +buildUnnamed1651() {
|
| var o = new core.List<api.LogEntry>();
|
| o.add(buildLogEntry());
|
| o.add(buildLogEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1898(core.List<api.LogEntry> o) {
|
| +checkUnnamed1651(core.List<api.LogEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLogEntry(o[0]);
|
| checkLogEntry(o[1]);
|
| }
|
|
|
| -buildUnnamed1899() {
|
| +buildUnnamed1652() {
|
| var o = new core.List<api.MetricValueSet>();
|
| o.add(buildMetricValueSet());
|
| o.add(buildMetricValueSet());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1899(core.List<api.MetricValueSet> o) {
|
| +checkUnnamed1652(core.List<api.MetricValueSet> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricValueSet(o[0]);
|
| checkMetricValueSet(o[1]);
|
| @@ -454,9 +454,9 @@ buildOperation() {
|
| o.consumerId = "foo";
|
| o.endTime = "foo";
|
| o.importance = "foo";
|
| - o.labels = buildUnnamed1897();
|
| - o.logEntries = buildUnnamed1898();
|
| - o.metricValueSets = buildUnnamed1899();
|
| + o.labels = buildUnnamed1650();
|
| + o.logEntries = buildUnnamed1651();
|
| + o.metricValueSets = buildUnnamed1652();
|
| o.operationId = "foo";
|
| o.operationName = "foo";
|
| o.startTime = "foo";
|
| @@ -471,9 +471,9 @@ 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'));
|
| - checkUnnamed1897(o.labels);
|
| - checkUnnamed1898(o.logEntries);
|
| - checkUnnamed1899(o.metricValueSets);
|
| + checkUnnamed1650(o.labels);
|
| + checkUnnamed1651(o.logEntries);
|
| + checkUnnamed1652(o.metricValueSets);
|
| unittest.expect(o.operationId, unittest.equals('foo'));
|
| unittest.expect(o.operationName, unittest.equals('foo'));
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| @@ -502,14 +502,14 @@ checkReportError(api.ReportError o) {
|
| buildCounterReportError--;
|
| }
|
|
|
| -buildUnnamed1900() {
|
| +buildUnnamed1653() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1900(core.List<api.Operation> o) {
|
| +checkUnnamed1653(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -520,7 +520,7 @@ buildReportRequest() {
|
| var o = new api.ReportRequest();
|
| buildCounterReportRequest++;
|
| if (buildCounterReportRequest < 3) {
|
| - o.operations = buildUnnamed1900();
|
| + o.operations = buildUnnamed1653();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterReportRequest--;
|
| @@ -530,20 +530,20 @@ buildReportRequest() {
|
| checkReportRequest(api.ReportRequest o) {
|
| buildCounterReportRequest++;
|
| if (buildCounterReportRequest < 3) {
|
| - checkUnnamed1900(o.operations);
|
| + checkUnnamed1653(o.operations);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterReportRequest--;
|
| }
|
|
|
| -buildUnnamed1901() {
|
| +buildUnnamed1654() {
|
| var o = new core.List<api.ReportError>();
|
| o.add(buildReportError());
|
| o.add(buildReportError());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1901(core.List<api.ReportError> o) {
|
| +checkUnnamed1654(core.List<api.ReportError> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkReportError(o[0]);
|
| checkReportError(o[1]);
|
| @@ -554,7 +554,7 @@ buildReportResponse() {
|
| var o = new api.ReportResponse();
|
| buildCounterReportResponse++;
|
| if (buildCounterReportResponse < 3) {
|
| - o.reportErrors = buildUnnamed1901();
|
| + o.reportErrors = buildUnnamed1654();
|
| o.serviceConfigId = "foo";
|
| }
|
| buildCounterReportResponse--;
|
| @@ -564,36 +564,36 @@ buildReportResponse() {
|
| checkReportResponse(api.ReportResponse o) {
|
| buildCounterReportResponse++;
|
| if (buildCounterReportResponse < 3) {
|
| - checkUnnamed1901(o.reportErrors);
|
| + checkUnnamed1654(o.reportErrors);
|
| unittest.expect(o.serviceConfigId, unittest.equals('foo'));
|
| }
|
| buildCounterReportResponse--;
|
| }
|
|
|
| -buildUnnamed1902() {
|
| +buildUnnamed1655() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1902(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1655(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'));
|
| }
|
|
|
| -buildUnnamed1903() {
|
| +buildUnnamed1656() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1902());
|
| - o.add(buildUnnamed1902());
|
| + o.add(buildUnnamed1655());
|
| + o.add(buildUnnamed1655());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1903(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1656(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1902(o[0]);
|
| - checkUnnamed1902(o[1]);
|
| + checkUnnamed1655(o[0]);
|
| + checkUnnamed1655(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -602,7 +602,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed1903();
|
| + o.details = buildUnnamed1656();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -613,7 +613,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1903(o.details);
|
| + checkUnnamed1656(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
|
|