| 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 16e6f9fea3eec05b25d6590cd164a00fb3066654..fffa8b1d3938b949e8ed3227fc0014ed4aa08114 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--;
|
| }
|
|
|
| -buildUnnamed2826() {
|
| +buildUnnamed1511() {
|
| var o = new core.Map<core.String, api.TypedValue>();
|
| o["x"] = buildTypedValue();
|
| o["y"] = buildTypedValue();
|
| return o;
|
| }
|
|
|
| -checkUnnamed2826(core.Map<core.String, api.TypedValue> o) {
|
| +checkUnnamed1511(core.Map<core.String, api.TypedValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTypedValue(o["x"]);
|
| checkTypedValue(o["y"]);
|
| }
|
|
|
| -buildUnnamed2827() {
|
| +buildUnnamed1512() {
|
| var o = new core.List<api.CollectdValue>();
|
| o.add(buildCollectdValue());
|
| o.add(buildCollectdValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2827(core.List<api.CollectdValue> o) {
|
| +checkUnnamed1512(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 = buildUnnamed2826();
|
| + o.metadata = buildUnnamed1511();
|
| o.plugin = "foo";
|
| o.pluginInstance = "foo";
|
| o.startTime = "foo";
|
| o.type = "foo";
|
| o.typeInstance = "foo";
|
| - o.values = buildUnnamed2827();
|
| + o.values = buildUnnamed1512();
|
| }
|
| buildCounterCollectdPayload--;
|
| return o;
|
| @@ -122,13 +122,13 @@ checkCollectdPayload(api.CollectdPayload o) {
|
| buildCounterCollectdPayload++;
|
| if (buildCounterCollectdPayload < 3) {
|
| unittest.expect(o.endTime, unittest.equals('foo'));
|
| - checkUnnamed2826(o.metadata);
|
| + checkUnnamed1511(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'));
|
| - checkUnnamed2827(o.values);
|
| + checkUnnamed1512(o.values);
|
| }
|
| buildCounterCollectdPayload--;
|
| }
|
| @@ -156,14 +156,14 @@ checkCollectdValue(api.CollectdValue o) {
|
| buildCounterCollectdValue--;
|
| }
|
|
|
| -buildUnnamed2828() {
|
| +buildUnnamed1513() {
|
| var o = new core.List<api.CollectdPayload>();
|
| o.add(buildCollectdPayload());
|
| o.add(buildCollectdPayload());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2828(core.List<api.CollectdPayload> o) {
|
| +checkUnnamed1513(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 = buildUnnamed2828();
|
| + o.collectdPayloads = buildUnnamed1513();
|
| o.collectdVersion = "foo";
|
| o.resource = buildMonitoredResource();
|
| }
|
| @@ -185,21 +185,21 @@ buildCreateCollectdTimeSeriesRequest() {
|
| checkCreateCollectdTimeSeriesRequest(api.CreateCollectdTimeSeriesRequest o) {
|
| buildCounterCreateCollectdTimeSeriesRequest++;
|
| if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
|
| - checkUnnamed2828(o.collectdPayloads);
|
| + checkUnnamed1513(o.collectdPayloads);
|
| unittest.expect(o.collectdVersion, unittest.equals('foo'));
|
| checkMonitoredResource(o.resource);
|
| }
|
| buildCounterCreateCollectdTimeSeriesRequest--;
|
| }
|
|
|
| -buildUnnamed2829() {
|
| +buildUnnamed1514() {
|
| var o = new core.List<api.TimeSeries>();
|
| o.add(buildTimeSeries());
|
| o.add(buildTimeSeries());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2829(core.List<api.TimeSeries> o) {
|
| +checkUnnamed1514(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 = buildUnnamed2829();
|
| + o.timeSeries = buildUnnamed1514();
|
| }
|
| buildCounterCreateTimeSeriesRequest--;
|
| return o;
|
| @@ -219,19 +219,19 @@ buildCreateTimeSeriesRequest() {
|
| checkCreateTimeSeriesRequest(api.CreateTimeSeriesRequest o) {
|
| buildCounterCreateTimeSeriesRequest++;
|
| if (buildCounterCreateTimeSeriesRequest < 3) {
|
| - checkUnnamed2829(o.timeSeries);
|
| + checkUnnamed1514(o.timeSeries);
|
| }
|
| buildCounterCreateTimeSeriesRequest--;
|
| }
|
|
|
| -buildUnnamed2830() {
|
| +buildUnnamed1515() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2830(core.List<core.String> o) {
|
| +checkUnnamed1515(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 = buildUnnamed2830();
|
| + o.bucketCounts = buildUnnamed1515();
|
| o.bucketOptions = buildBucketOptions();
|
| o.count = "foo";
|
| o.mean = 42.0;
|
| @@ -256,7 +256,7 @@ buildDistribution() {
|
| checkDistribution(api.Distribution o) {
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - checkUnnamed2830(o.bucketCounts);
|
| + checkUnnamed1515(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--;
|
| }
|
|
|
| -buildUnnamed2831() {
|
| +buildUnnamed1516() {
|
| var o = new core.List<core.double>();
|
| o.add(42.0);
|
| o.add(42.0);
|
| return o;
|
| }
|
|
|
| -checkUnnamed2831(core.List<core.double> o) {
|
| +checkUnnamed1516(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 = buildUnnamed2831();
|
| + o.bounds = buildUnnamed1516();
|
| }
|
| buildCounterExplicit--;
|
| return o;
|
| @@ -310,7 +310,7 @@ buildExplicit() {
|
| checkExplicit(api.Explicit o) {
|
| buildCounterExplicit++;
|
| if (buildCounterExplicit < 3) {
|
| - checkUnnamed2831(o.bounds);
|
| + checkUnnamed1516(o.bounds);
|
| }
|
| buildCounterExplicit--;
|
| }
|
| @@ -338,14 +338,14 @@ checkExponential(api.Exponential o) {
|
| buildCounterExponential--;
|
| }
|
|
|
| -buildUnnamed2832() {
|
| +buildUnnamed1517() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2832(core.List<api.Option> o) {
|
| +checkUnnamed1517(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 = buildUnnamed2832();
|
| + o.options = buildUnnamed1517();
|
| 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));
|
| - checkUnnamed2832(o.options);
|
| + checkUnnamed1517(o.options);
|
| unittest.expect(o.packed, unittest.isTrue);
|
| unittest.expect(o.typeUrl, unittest.equals('foo'));
|
| }
|
| @@ -461,14 +461,14 @@ checkLinear(api.Linear o) {
|
| buildCounterLinear--;
|
| }
|
|
|
| -buildUnnamed2833() {
|
| +buildUnnamed1518() {
|
| var o = new core.List<api.MonitoredResource>();
|
| o.add(buildMonitoredResource());
|
| o.add(buildMonitoredResource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2833(core.List<api.MonitoredResource> o) {
|
| +checkUnnamed1518(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 = buildUnnamed2833();
|
| + o.members = buildUnnamed1518();
|
| o.nextPageToken = "foo";
|
| o.totalSize = 42;
|
| }
|
| @@ -490,21 +490,21 @@ buildListGroupMembersResponse() {
|
| checkListGroupMembersResponse(api.ListGroupMembersResponse o) {
|
| buildCounterListGroupMembersResponse++;
|
| if (buildCounterListGroupMembersResponse < 3) {
|
| - checkUnnamed2833(o.members);
|
| + checkUnnamed1518(o.members);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.totalSize, unittest.equals(42));
|
| }
|
| buildCounterListGroupMembersResponse--;
|
| }
|
|
|
| -buildUnnamed2834() {
|
| +buildUnnamed1519() {
|
| var o = new core.List<api.Group>();
|
| o.add(buildGroup());
|
| o.add(buildGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2834(core.List<api.Group> o) {
|
| +checkUnnamed1519(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 = buildUnnamed2834();
|
| + o.group = buildUnnamed1519();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListGroupsResponse--;
|
| @@ -525,20 +525,20 @@ buildListGroupsResponse() {
|
| checkListGroupsResponse(api.ListGroupsResponse o) {
|
| buildCounterListGroupsResponse++;
|
| if (buildCounterListGroupsResponse < 3) {
|
| - checkUnnamed2834(o.group);
|
| + checkUnnamed1519(o.group);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListGroupsResponse--;
|
| }
|
|
|
| -buildUnnamed2835() {
|
| +buildUnnamed1520() {
|
| var o = new core.List<api.MetricDescriptor>();
|
| o.add(buildMetricDescriptor());
|
| o.add(buildMetricDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2835(core.List<api.MetricDescriptor> o) {
|
| +checkUnnamed1520(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 = buildUnnamed2835();
|
| + o.metricDescriptors = buildUnnamed1520();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListMetricDescriptorsResponse--;
|
| @@ -559,20 +559,20 @@ buildListMetricDescriptorsResponse() {
|
| checkListMetricDescriptorsResponse(api.ListMetricDescriptorsResponse o) {
|
| buildCounterListMetricDescriptorsResponse++;
|
| if (buildCounterListMetricDescriptorsResponse < 3) {
|
| - checkUnnamed2835(o.metricDescriptors);
|
| + checkUnnamed1520(o.metricDescriptors);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListMetricDescriptorsResponse--;
|
| }
|
|
|
| -buildUnnamed2836() {
|
| +buildUnnamed1521() {
|
| var o = new core.List<api.MonitoredResourceDescriptor>();
|
| o.add(buildMonitoredResourceDescriptor());
|
| o.add(buildMonitoredResourceDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2836(core.List<api.MonitoredResourceDescriptor> o) {
|
| +checkUnnamed1521(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 = buildUnnamed2836();
|
| + o.resourceDescriptors = buildUnnamed1521();
|
| }
|
| buildCounterListMonitoredResourceDescriptorsResponse--;
|
| return o;
|
| @@ -594,19 +594,19 @@ checkListMonitoredResourceDescriptorsResponse(api.ListMonitoredResourceDescripto
|
| buildCounterListMonitoredResourceDescriptorsResponse++;
|
| if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed2836(o.resourceDescriptors);
|
| + checkUnnamed1521(o.resourceDescriptors);
|
| }
|
| buildCounterListMonitoredResourceDescriptorsResponse--;
|
| }
|
|
|
| -buildUnnamed2837() {
|
| +buildUnnamed1522() {
|
| var o = new core.List<api.TimeSeries>();
|
| o.add(buildTimeSeries());
|
| o.add(buildTimeSeries());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2837(core.List<api.TimeSeries> o) {
|
| +checkUnnamed1522(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 = buildUnnamed2837();
|
| + o.timeSeries = buildUnnamed1522();
|
| }
|
| buildCounterListTimeSeriesResponse--;
|
| return o;
|
| @@ -628,19 +628,19 @@ checkListTimeSeriesResponse(api.ListTimeSeriesResponse o) {
|
| buildCounterListTimeSeriesResponse++;
|
| if (buildCounterListTimeSeriesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed2837(o.timeSeries);
|
| + checkUnnamed1522(o.timeSeries);
|
| }
|
| buildCounterListTimeSeriesResponse--;
|
| }
|
|
|
| -buildUnnamed2838() {
|
| +buildUnnamed1523() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed2838(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1523(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 = buildUnnamed2838();
|
| + o.labels = buildUnnamed1523();
|
| o.type = "foo";
|
| }
|
| buildCounterMetric--;
|
| @@ -661,20 +661,20 @@ buildMetric() {
|
| checkMetric(api.Metric o) {
|
| buildCounterMetric++;
|
| if (buildCounterMetric < 3) {
|
| - checkUnnamed2838(o.labels);
|
| + checkUnnamed1523(o.labels);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMetric--;
|
| }
|
|
|
| -buildUnnamed2839() {
|
| +buildUnnamed1524() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2839(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1524(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 = buildUnnamed2839();
|
| + o.labels = buildUnnamed1524();
|
| 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'));
|
| - checkUnnamed2839(o.labels);
|
| + checkUnnamed1524(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--;
|
| }
|
|
|
| -buildUnnamed2840() {
|
| +buildUnnamed1525() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed2840(core.Map<core.String, core.String> o) {
|
| +checkUnnamed1525(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 = buildUnnamed2840();
|
| + o.labels = buildUnnamed1525();
|
| o.type = "foo";
|
| }
|
| buildCounterMonitoredResource--;
|
| @@ -741,20 +741,20 @@ buildMonitoredResource() {
|
| checkMonitoredResource(api.MonitoredResource o) {
|
| buildCounterMonitoredResource++;
|
| if (buildCounterMonitoredResource < 3) {
|
| - checkUnnamed2840(o.labels);
|
| + checkUnnamed1525(o.labels);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoredResource--;
|
| }
|
|
|
| -buildUnnamed2841() {
|
| +buildUnnamed1526() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2841(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed1526(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 = buildUnnamed2841();
|
| + o.labels = buildUnnamed1526();
|
| 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'));
|
| - checkUnnamed2841(o.labels);
|
| + checkUnnamed1526(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoredResourceDescriptor--;
|
| }
|
|
|
| -buildUnnamed2842() {
|
| +buildUnnamed1527() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2842(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1527(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 = buildUnnamed2842();
|
| + o.value = buildUnnamed1527();
|
| }
|
| buildCounterOption--;
|
| return o;
|
| @@ -816,7 +816,7 @@ checkOption(api.Option o) {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2842(o.value);
|
| + checkUnnamed1527(o.value);
|
| }
|
| buildCounterOption--;
|
| }
|
| @@ -903,14 +903,14 @@ checkTimeInterval(api.TimeInterval o) {
|
| buildCounterTimeInterval--;
|
| }
|
|
|
| -buildUnnamed2843() {
|
| +buildUnnamed1528() {
|
| var o = new core.List<api.Point>();
|
| o.add(buildPoint());
|
| o.add(buildPoint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2843(core.List<api.Point> o) {
|
| +checkUnnamed1528(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 = buildUnnamed2843();
|
| + o.points = buildUnnamed1528();
|
| 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'));
|
| - checkUnnamed2843(o.points);
|
| + checkUnnamed1528(o.points);
|
| checkMonitoredResource(o.resource);
|
| unittest.expect(o.valueType, unittest.equals('foo'));
|
| }
|
| buildCounterTimeSeries--;
|
| }
|
|
|
| -buildUnnamed2844() {
|
| +buildUnnamed1529() {
|
| var o = new core.List<api.Field>();
|
| o.add(buildField());
|
| o.add(buildField());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2844(core.List<api.Field> o) {
|
| +checkUnnamed1529(core.List<api.Field> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkField(o[0]);
|
| checkField(o[1]);
|
| }
|
|
|
| -buildUnnamed2845() {
|
| +buildUnnamed1530() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2845(core.List<core.String> o) {
|
| +checkUnnamed1530(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'));
|
| }
|
|
|
| -buildUnnamed2846() {
|
| +buildUnnamed1531() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2846(core.List<api.Option> o) {
|
| +checkUnnamed1531(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 = buildUnnamed2844();
|
| + o.fields = buildUnnamed1529();
|
| o.name = "foo";
|
| - o.oneofs = buildUnnamed2845();
|
| - o.options = buildUnnamed2846();
|
| + o.oneofs = buildUnnamed1530();
|
| + o.options = buildUnnamed1531();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| }
|
| @@ -1001,10 +1001,10 @@ buildType() {
|
| checkType(api.Type o) {
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - checkUnnamed2844(o.fields);
|
| + checkUnnamed1529(o.fields);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2845(o.oneofs);
|
| - checkUnnamed2846(o.options);
|
| + checkUnnamed1530(o.oneofs);
|
| + checkUnnamed1531(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| }
|
| @@ -1038,14 +1038,14 @@ checkTypedValue(api.TypedValue o) {
|
| buildCounterTypedValue--;
|
| }
|
|
|
| -buildUnnamed2847() {
|
| +buildUnnamed1532() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2847(core.List<core.String> o) {
|
| +checkUnnamed1532(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'));
|
| @@ -2041,7 +2041,7 @@ main() {
|
| var arg_aggregation_alignmentPeriod = "foo";
|
| var arg_aggregation_perSeriesAligner = "foo";
|
| var arg_aggregation_crossSeriesReducer = "foo";
|
| - var arg_aggregation_groupByFields = buildUnnamed2847();
|
| + var arg_aggregation_groupByFields = buildUnnamed1532();
|
| var arg_orderBy = "foo";
|
| var arg_view = "foo";
|
| var arg_pageSize = 42;
|
|
|