| Index: generated/googleapis/test/monitoring/v3_test.dart
|
| diff --git a/generated/googleapis/test/monitoring/v3_test.dart b/generated/googleapis/test/monitoring/v3_test.dart
|
| index 70b164001006f8d871dfb653c3041392d293cba4..20b10ace95d79741bca057642228c166550a3d06 100644
|
| --- a/generated/googleapis/test/monitoring/v3_test.dart
|
| +++ b/generated/googleapis/test/monitoring/v3_test.dart
|
| @@ -74,27 +74,27 @@ checkBucketOptions(api.BucketOptions o) {
|
| buildCounterBucketOptions--;
|
| }
|
|
|
| -buildUnnamed1521() {
|
| +buildUnnamed1274() {
|
| var o = new core.Map<core.String, api.TypedValue>();
|
| o["x"] = buildTypedValue();
|
| o["y"] = buildTypedValue();
|
| return o;
|
| }
|
|
|
| -checkUnnamed1521(core.Map<core.String, api.TypedValue> o) {
|
| +checkUnnamed1274(core.Map<core.String, api.TypedValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTypedValue(o["x"]);
|
| checkTypedValue(o["y"]);
|
| }
|
|
|
| -buildUnnamed1522() {
|
| +buildUnnamed1275() {
|
| var o = new core.List<api.CollectdValue>();
|
| o.add(buildCollectdValue());
|
| o.add(buildCollectdValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1522(core.List<api.CollectdValue> o) {
|
| +checkUnnamed1275(core.List<api.CollectdValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCollectdValue(o[0]);
|
| checkCollectdValue(o[1]);
|
| @@ -106,13 +106,13 @@ buildCollectdPayload() {
|
| buildCounterCollectdPayload++;
|
| if (buildCounterCollectdPayload < 3) {
|
| o.endTime = "foo";
|
| - o.metadata = buildUnnamed1521();
|
| + o.metadata = buildUnnamed1274();
|
| o.plugin = "foo";
|
| o.pluginInstance = "foo";
|
| o.startTime = "foo";
|
| o.type = "foo";
|
| o.typeInstance = "foo";
|
| - o.values = buildUnnamed1522();
|
| + o.values = buildUnnamed1275();
|
| }
|
| buildCounterCollectdPayload--;
|
| return o;
|
| @@ -122,13 +122,13 @@ checkCollectdPayload(api.CollectdPayload o) {
|
| buildCounterCollectdPayload++;
|
| if (buildCounterCollectdPayload < 3) {
|
| unittest.expect(o.endTime, unittest.equals('foo'));
|
| - checkUnnamed1521(o.metadata);
|
| + checkUnnamed1274(o.metadata);
|
| unittest.expect(o.plugin, unittest.equals('foo'));
|
| unittest.expect(o.pluginInstance, unittest.equals('foo'));
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| unittest.expect(o.typeInstance, unittest.equals('foo'));
|
| - checkUnnamed1522(o.values);
|
| + checkUnnamed1275(o.values);
|
| }
|
| buildCounterCollectdPayload--;
|
| }
|
| @@ -156,14 +156,14 @@ checkCollectdValue(api.CollectdValue o) {
|
| buildCounterCollectdValue--;
|
| }
|
|
|
| -buildUnnamed1523() {
|
| +buildUnnamed1276() {
|
| var o = new core.List<api.CollectdPayload>();
|
| o.add(buildCollectdPayload());
|
| o.add(buildCollectdPayload());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1523(core.List<api.CollectdPayload> o) {
|
| +checkUnnamed1276(core.List<api.CollectdPayload> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkCollectdPayload(o[0]);
|
| checkCollectdPayload(o[1]);
|
| @@ -174,7 +174,7 @@ buildCreateCollectdTimeSeriesRequest() {
|
| var o = new api.CreateCollectdTimeSeriesRequest();
|
| buildCounterCreateCollectdTimeSeriesRequest++;
|
| if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
|
| - o.collectdPayloads = buildUnnamed1523();
|
| + o.collectdPayloads = buildUnnamed1276();
|
| o.collectdVersion = "foo";
|
| o.resource = buildMonitoredResource();
|
| }
|
| @@ -185,21 +185,21 @@ buildCreateCollectdTimeSeriesRequest() {
|
| checkCreateCollectdTimeSeriesRequest(api.CreateCollectdTimeSeriesRequest o) {
|
| buildCounterCreateCollectdTimeSeriesRequest++;
|
| if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
|
| - checkUnnamed1523(o.collectdPayloads);
|
| + checkUnnamed1276(o.collectdPayloads);
|
| unittest.expect(o.collectdVersion, unittest.equals('foo'));
|
| checkMonitoredResource(o.resource);
|
| }
|
| buildCounterCreateCollectdTimeSeriesRequest--;
|
| }
|
|
|
| -buildUnnamed1524() {
|
| +buildUnnamed1277() {
|
| var o = new core.List<api.TimeSeries>();
|
| o.add(buildTimeSeries());
|
| o.add(buildTimeSeries());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1524(core.List<api.TimeSeries> o) {
|
| +checkUnnamed1277(core.List<api.TimeSeries> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTimeSeries(o[0]);
|
| checkTimeSeries(o[1]);
|
| @@ -210,7 +210,7 @@ buildCreateTimeSeriesRequest() {
|
| var o = new api.CreateTimeSeriesRequest();
|
| buildCounterCreateTimeSeriesRequest++;
|
| if (buildCounterCreateTimeSeriesRequest < 3) {
|
| - o.timeSeries = buildUnnamed1524();
|
| + o.timeSeries = buildUnnamed1277();
|
| }
|
| buildCounterCreateTimeSeriesRequest--;
|
| return o;
|
| @@ -219,19 +219,19 @@ buildCreateTimeSeriesRequest() {
|
| checkCreateTimeSeriesRequest(api.CreateTimeSeriesRequest o) {
|
| buildCounterCreateTimeSeriesRequest++;
|
| if (buildCounterCreateTimeSeriesRequest < 3) {
|
| - checkUnnamed1524(o.timeSeries);
|
| + checkUnnamed1277(o.timeSeries);
|
| }
|
| buildCounterCreateTimeSeriesRequest--;
|
| }
|
|
|
| -buildUnnamed1525() {
|
| +buildUnnamed1278() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1525(core.List<core.String> o) {
|
| +checkUnnamed1278(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'));
|
| @@ -242,7 +242,7 @@ buildDistribution() {
|
| var o = new api.Distribution();
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - o.bucketCounts = buildUnnamed1525();
|
| + o.bucketCounts = buildUnnamed1278();
|
| o.bucketOptions = buildBucketOptions();
|
| o.count = "foo";
|
| o.mean = 42.0;
|
| @@ -256,7 +256,7 @@ buildDistribution() {
|
| checkDistribution(api.Distribution o) {
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - checkUnnamed1525(o.bucketCounts);
|
| + checkUnnamed1278(o.bucketCounts);
|
| checkBucketOptions(o.bucketOptions);
|
| unittest.expect(o.count, unittest.equals('foo'));
|
| unittest.expect(o.mean, unittest.equals(42.0));
|
| @@ -283,14 +283,14 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed1526() {
|
| +buildUnnamed1279() {
|
| var o = new core.List<core.double>();
|
| o.add(42.0);
|
| o.add(42.0);
|
| return o;
|
| }
|
|
|
| -checkUnnamed1526(core.List<core.double> o) {
|
| +checkUnnamed1279(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));
|
| @@ -301,7 +301,7 @@ buildExplicit() {
|
| var o = new api.Explicit();
|
| buildCounterExplicit++;
|
| if (buildCounterExplicit < 3) {
|
| - o.bounds = buildUnnamed1526();
|
| + o.bounds = buildUnnamed1279();
|
| }
|
| buildCounterExplicit--;
|
| return o;
|
| @@ -310,7 +310,7 @@ buildExplicit() {
|
| checkExplicit(api.Explicit o) {
|
| buildCounterExplicit++;
|
| if (buildCounterExplicit < 3) {
|
| - checkUnnamed1526(o.bounds);
|
| + checkUnnamed1279(o.bounds);
|
| }
|
| buildCounterExplicit--;
|
| }
|
| @@ -338,14 +338,14 @@ checkExponential(api.Exponential o) {
|
| buildCounterExponential--;
|
| }
|
|
|
| -buildUnnamed1527() {
|
| +buildUnnamed1280() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1527(core.List<api.Option> o) {
|
| +checkUnnamed1280(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -363,7 +363,7 @@ buildField() {
|
| o.name = "foo";
|
| o.number = 42;
|
| o.oneofIndex = 42;
|
| - o.options = buildUnnamed1527();
|
| + o.options = buildUnnamed1280();
|
| o.packed = true;
|
| o.typeUrl = "foo";
|
| }
|
| @@ -381,7 +381,7 @@ checkField(api.Field o) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.number, unittest.equals(42));
|
| unittest.expect(o.oneofIndex, unittest.equals(42));
|
| - checkUnnamed1527(o.options);
|
| + checkUnnamed1280(o.options);
|
| unittest.expect(o.packed, unittest.isTrue);
|
| unittest.expect(o.typeUrl, unittest.equals('foo'));
|
| }
|
| @@ -461,14 +461,14 @@ checkLinear(api.Linear o) {
|
| buildCounterLinear--;
|
| }
|
|
|
| -buildUnnamed1528() {
|
| +buildUnnamed1281() {
|
| var o = new core.List<api.MonitoredResource>();
|
| o.add(buildMonitoredResource());
|
| o.add(buildMonitoredResource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1528(core.List<api.MonitoredResource> o) {
|
| +checkUnnamed1281(core.List<api.MonitoredResource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoredResource(o[0]);
|
| checkMonitoredResource(o[1]);
|
| @@ -479,7 +479,7 @@ buildListGroupMembersResponse() {
|
| var o = new api.ListGroupMembersResponse();
|
| buildCounterListGroupMembersResponse++;
|
| if (buildCounterListGroupMembersResponse < 3) {
|
| - o.members = buildUnnamed1528();
|
| + o.members = buildUnnamed1281();
|
| o.nextPageToken = "foo";
|
| o.totalSize = 42;
|
| }
|
| @@ -490,21 +490,21 @@ buildListGroupMembersResponse() {
|
| checkListGroupMembersResponse(api.ListGroupMembersResponse o) {
|
| buildCounterListGroupMembersResponse++;
|
| if (buildCounterListGroupMembersResponse < 3) {
|
| - checkUnnamed1528(o.members);
|
| + checkUnnamed1281(o.members);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.totalSize, unittest.equals(42));
|
| }
|
| buildCounterListGroupMembersResponse--;
|
| }
|
|
|
| -buildUnnamed1529() {
|
| +buildUnnamed1282() {
|
| var o = new core.List<api.Group>();
|
| o.add(buildGroup());
|
| o.add(buildGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1529(core.List<api.Group> o) {
|
| +checkUnnamed1282(core.List<api.Group> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGroup(o[0]);
|
| checkGroup(o[1]);
|
| @@ -515,7 +515,7 @@ buildListGroupsResponse() {
|
| var o = new api.ListGroupsResponse();
|
| buildCounterListGroupsResponse++;
|
| if (buildCounterListGroupsResponse < 3) {
|
| - o.group = buildUnnamed1529();
|
| + o.group = buildUnnamed1282();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListGroupsResponse--;
|
| @@ -525,20 +525,20 @@ buildListGroupsResponse() {
|
| checkListGroupsResponse(api.ListGroupsResponse o) {
|
| buildCounterListGroupsResponse++;
|
| if (buildCounterListGroupsResponse < 3) {
|
| - checkUnnamed1529(o.group);
|
| + checkUnnamed1282(o.group);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListGroupsResponse--;
|
| }
|
|
|
| -buildUnnamed1530() {
|
| +buildUnnamed1283() {
|
| var o = new core.List<api.MetricDescriptor>();
|
| o.add(buildMetricDescriptor());
|
| o.add(buildMetricDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1530(core.List<api.MetricDescriptor> o) {
|
| +checkUnnamed1283(core.List<api.MetricDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetricDescriptor(o[0]);
|
| checkMetricDescriptor(o[1]);
|
| @@ -549,7 +549,7 @@ buildListMetricDescriptorsResponse() {
|
| var o = new api.ListMetricDescriptorsResponse();
|
| buildCounterListMetricDescriptorsResponse++;
|
| if (buildCounterListMetricDescriptorsResponse < 3) {
|
| - o.metricDescriptors = buildUnnamed1530();
|
| + o.metricDescriptors = buildUnnamed1283();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListMetricDescriptorsResponse--;
|
| @@ -559,20 +559,20 @@ buildListMetricDescriptorsResponse() {
|
| checkListMetricDescriptorsResponse(api.ListMetricDescriptorsResponse o) {
|
| buildCounterListMetricDescriptorsResponse++;
|
| if (buildCounterListMetricDescriptorsResponse < 3) {
|
| - checkUnnamed1530(o.metricDescriptors);
|
| + checkUnnamed1283(o.metricDescriptors);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListMetricDescriptorsResponse--;
|
| }
|
|
|
| -buildUnnamed1531() {
|
| +buildUnnamed1284() {
|
| var o = new core.List<api.MonitoredResourceDescriptor>();
|
| o.add(buildMonitoredResourceDescriptor());
|
| o.add(buildMonitoredResourceDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1531(core.List<api.MonitoredResourceDescriptor> o) {
|
| +checkUnnamed1284(core.List<api.MonitoredResourceDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMonitoredResourceDescriptor(o[0]);
|
| checkMonitoredResourceDescriptor(o[1]);
|
| @@ -584,7 +584,7 @@ buildListMonitoredResourceDescriptorsResponse() {
|
| buildCounterListMonitoredResourceDescriptorsResponse++;
|
| if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.resourceDescriptors = buildUnnamed1531();
|
| + o.resourceDescriptors = buildUnnamed1284();
|
| }
|
| buildCounterListMonitoredResourceDescriptorsResponse--;
|
| return o;
|
| @@ -594,19 +594,19 @@ checkListMonitoredResourceDescriptorsResponse(api.ListMonitoredResourceDescripto
|
| buildCounterListMonitoredResourceDescriptorsResponse++;
|
| if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1531(o.resourceDescriptors);
|
| + checkUnnamed1284(o.resourceDescriptors);
|
| }
|
| buildCounterListMonitoredResourceDescriptorsResponse--;
|
| }
|
|
|
| -buildUnnamed1532() {
|
| +buildUnnamed1285() {
|
| var o = new core.List<api.TimeSeries>();
|
| o.add(buildTimeSeries());
|
| o.add(buildTimeSeries());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1532(core.List<api.TimeSeries> o) {
|
| +checkUnnamed1285(core.List<api.TimeSeries> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTimeSeries(o[0]);
|
| checkTimeSeries(o[1]);
|
| @@ -618,7 +618,7 @@ buildListTimeSeriesResponse() {
|
| buildCounterListTimeSeriesResponse++;
|
| if (buildCounterListTimeSeriesResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.timeSeries = buildUnnamed1532();
|
| + o.timeSeries = buildUnnamed1285();
|
| }
|
| buildCounterListTimeSeriesResponse--;
|
| return o;
|
| @@ -628,19 +628,19 @@ checkListTimeSeriesResponse(api.ListTimeSeriesResponse o) {
|
| buildCounterListTimeSeriesResponse++;
|
| if (buildCounterListTimeSeriesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1532(o.timeSeries);
|
| + checkUnnamed1285(o.timeSeries);
|
| }
|
| buildCounterListTimeSeriesResponse--;
|
| }
|
|
|
| -buildUnnamed1533() {
|
| +buildUnnamed1286() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1533(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1286(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'));
|
| @@ -651,7 +651,7 @@ buildMetric() {
|
| var o = new api.Metric();
|
| buildCounterMetric++;
|
| if (buildCounterMetric < 3) {
|
| - o.labels = buildUnnamed1533();
|
| + o.labels = buildUnnamed1286();
|
| o.type = "foo";
|
| }
|
| buildCounterMetric--;
|
| @@ -661,20 +661,20 @@ buildMetric() {
|
| checkMetric(api.Metric o) {
|
| buildCounterMetric++;
|
| if (buildCounterMetric < 3) {
|
| - checkUnnamed1533(o.labels);
|
| + checkUnnamed1286(o.labels);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMetric--;
|
| }
|
|
|
| -buildUnnamed1534() {
|
| +buildUnnamed1287() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1534(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1287(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -687,7 +687,7 @@ buildMetricDescriptor() {
|
| if (buildCounterMetricDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1534();
|
| + o.labels = buildUnnamed1287();
|
| o.metricKind = "foo";
|
| o.name = "foo";
|
| o.type = "foo";
|
| @@ -703,7 +703,7 @@ checkMetricDescriptor(api.MetricDescriptor o) {
|
| if (buildCounterMetricDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1534(o.labels);
|
| + checkUnnamed1287(o.labels);
|
| unittest.expect(o.metricKind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -713,14 +713,14 @@ checkMetricDescriptor(api.MetricDescriptor o) {
|
| buildCounterMetricDescriptor--;
|
| }
|
|
|
| -buildUnnamed1535() {
|
| +buildUnnamed1288() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1535(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1288(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'));
|
| @@ -731,7 +731,7 @@ buildMonitoredResource() {
|
| var o = new api.MonitoredResource();
|
| buildCounterMonitoredResource++;
|
| if (buildCounterMonitoredResource < 3) {
|
| - o.labels = buildUnnamed1535();
|
| + o.labels = buildUnnamed1288();
|
| o.type = "foo";
|
| }
|
| buildCounterMonitoredResource--;
|
| @@ -741,20 +741,20 @@ buildMonitoredResource() {
|
| checkMonitoredResource(api.MonitoredResource o) {
|
| buildCounterMonitoredResource++;
|
| if (buildCounterMonitoredResource < 3) {
|
| - checkUnnamed1535(o.labels);
|
| + checkUnnamed1288(o.labels);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoredResource--;
|
| }
|
|
|
| -buildUnnamed1536() {
|
| +buildUnnamed1289() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1536(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1289(core.List<api.LabelDescriptor> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkLabelDescriptor(o[0]);
|
| checkLabelDescriptor(o[1]);
|
| @@ -767,7 +767,7 @@ buildMonitoredResourceDescriptor() {
|
| if (buildCounterMonitoredResourceDescriptor < 3) {
|
| o.description = "foo";
|
| o.displayName = "foo";
|
| - o.labels = buildUnnamed1536();
|
| + o.labels = buildUnnamed1289();
|
| o.name = "foo";
|
| o.type = "foo";
|
| }
|
| @@ -780,21 +780,21 @@ checkMonitoredResourceDescriptor(api.MonitoredResourceDescriptor o) {
|
| if (buildCounterMonitoredResourceDescriptor < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.displayName, unittest.equals('foo'));
|
| - checkUnnamed1536(o.labels);
|
| + checkUnnamed1289(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoredResourceDescriptor--;
|
| }
|
|
|
| -buildUnnamed1537() {
|
| +buildUnnamed1290() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1537(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1290(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'));
|
| @@ -806,7 +806,7 @@ buildOption() {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| o.name = "foo";
|
| - o.value = buildUnnamed1537();
|
| + o.value = buildUnnamed1290();
|
| }
|
| buildCounterOption--;
|
| return o;
|
| @@ -816,7 +816,7 @@ checkOption(api.Option o) {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1537(o.value);
|
| + checkUnnamed1290(o.value);
|
| }
|
| buildCounterOption--;
|
| }
|
| @@ -903,14 +903,14 @@ checkTimeInterval(api.TimeInterval o) {
|
| buildCounterTimeInterval--;
|
| }
|
|
|
| -buildUnnamed1538() {
|
| +buildUnnamed1291() {
|
| var o = new core.List<api.Point>();
|
| o.add(buildPoint());
|
| o.add(buildPoint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1538(core.List<api.Point> o) {
|
| +checkUnnamed1291(core.List<api.Point> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPoint(o[0]);
|
| checkPoint(o[1]);
|
| @@ -923,7 +923,7 @@ buildTimeSeries() {
|
| if (buildCounterTimeSeries < 3) {
|
| o.metric = buildMetric();
|
| o.metricKind = "foo";
|
| - o.points = buildUnnamed1538();
|
| + o.points = buildUnnamed1291();
|
| o.resource = buildMonitoredResource();
|
| o.valueType = "foo";
|
| }
|
| @@ -936,47 +936,47 @@ checkTimeSeries(api.TimeSeries o) {
|
| if (buildCounterTimeSeries < 3) {
|
| checkMetric(o.metric);
|
| unittest.expect(o.metricKind, unittest.equals('foo'));
|
| - checkUnnamed1538(o.points);
|
| + checkUnnamed1291(o.points);
|
| checkMonitoredResource(o.resource);
|
| unittest.expect(o.valueType, unittest.equals('foo'));
|
| }
|
| buildCounterTimeSeries--;
|
| }
|
|
|
| -buildUnnamed1539() {
|
| +buildUnnamed1292() {
|
| var o = new core.List<api.Field>();
|
| o.add(buildField());
|
| o.add(buildField());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1539(core.List<api.Field> o) {
|
| +checkUnnamed1292(core.List<api.Field> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkField(o[0]);
|
| checkField(o[1]);
|
| }
|
|
|
| -buildUnnamed1540() {
|
| +buildUnnamed1293() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1540(core.List<core.String> o) {
|
| +checkUnnamed1293(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'));
|
| }
|
|
|
| -buildUnnamed1541() {
|
| +buildUnnamed1294() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1541(core.List<api.Option> o) {
|
| +checkUnnamed1294(core.List<api.Option> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOption(o[0]);
|
| checkOption(o[1]);
|
| @@ -987,10 +987,10 @@ buildType() {
|
| var o = new api.Type();
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - o.fields = buildUnnamed1539();
|
| + o.fields = buildUnnamed1292();
|
| o.name = "foo";
|
| - o.oneofs = buildUnnamed1540();
|
| - o.options = buildUnnamed1541();
|
| + o.oneofs = buildUnnamed1293();
|
| + o.options = buildUnnamed1294();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| }
|
| @@ -1001,10 +1001,10 @@ buildType() {
|
| checkType(api.Type o) {
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - checkUnnamed1539(o.fields);
|
| + checkUnnamed1292(o.fields);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1540(o.oneofs);
|
| - checkUnnamed1541(o.options);
|
| + checkUnnamed1293(o.oneofs);
|
| + checkUnnamed1294(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| }
|
| @@ -1038,14 +1038,14 @@ checkTypedValue(api.TypedValue o) {
|
| buildCounterTypedValue--;
|
| }
|
|
|
| -buildUnnamed1542() {
|
| +buildUnnamed1295() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1542(core.List<core.String> o) {
|
| +checkUnnamed1295(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'));
|
| @@ -2036,7 +2036,7 @@ main() {
|
| api.ProjectsTimeSeriesResourceApi res = new api.MonitoringApi(mock).projects.timeSeries;
|
| var arg_name = "foo";
|
| var arg_filter = "foo";
|
| - var arg_aggregation_groupByFields = buildUnnamed1542();
|
| + var arg_aggregation_groupByFields = buildUnnamed1295();
|
| var arg_aggregation_crossSeriesReducer = "foo";
|
| var arg_interval_endTime = "foo";
|
| var arg_interval_startTime = "foo";
|
|
|