| 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 65ede5e6a117a3199938d39baf6b213a0c4118eb..16e6f9fea3eec05b25d6590cd164a00fb3066654 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--;
|
| }
|
|
|
| -buildUnnamed1382() {
|
| +buildUnnamed2826() {
|
| var o = new core.Map<core.String, api.TypedValue>();
|
| o["x"] = buildTypedValue();
|
| o["y"] = buildTypedValue();
|
| return o;
|
| }
|
|
|
| -checkUnnamed1382(core.Map<core.String, api.TypedValue> o) {
|
| +checkUnnamed2826(core.Map<core.String, api.TypedValue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTypedValue(o["x"]);
|
| checkTypedValue(o["y"]);
|
| }
|
|
|
| -buildUnnamed1383() {
|
| +buildUnnamed2827() {
|
| var o = new core.List<api.CollectdValue>();
|
| o.add(buildCollectdValue());
|
| o.add(buildCollectdValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1383(core.List<api.CollectdValue> o) {
|
| +checkUnnamed2827(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 = buildUnnamed1382();
|
| + o.metadata = buildUnnamed2826();
|
| o.plugin = "foo";
|
| o.pluginInstance = "foo";
|
| o.startTime = "foo";
|
| o.type = "foo";
|
| o.typeInstance = "foo";
|
| - o.values = buildUnnamed1383();
|
| + o.values = buildUnnamed2827();
|
| }
|
| buildCounterCollectdPayload--;
|
| return o;
|
| @@ -122,13 +122,13 @@ checkCollectdPayload(api.CollectdPayload o) {
|
| buildCounterCollectdPayload++;
|
| if (buildCounterCollectdPayload < 3) {
|
| unittest.expect(o.endTime, unittest.equals('foo'));
|
| - checkUnnamed1382(o.metadata);
|
| + checkUnnamed2826(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'));
|
| - checkUnnamed1383(o.values);
|
| + checkUnnamed2827(o.values);
|
| }
|
| buildCounterCollectdPayload--;
|
| }
|
| @@ -156,14 +156,14 @@ checkCollectdValue(api.CollectdValue o) {
|
| buildCounterCollectdValue--;
|
| }
|
|
|
| -buildUnnamed1384() {
|
| +buildUnnamed2828() {
|
| var o = new core.List<api.CollectdPayload>();
|
| o.add(buildCollectdPayload());
|
| o.add(buildCollectdPayload());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1384(core.List<api.CollectdPayload> o) {
|
| +checkUnnamed2828(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 = buildUnnamed1384();
|
| + o.collectdPayloads = buildUnnamed2828();
|
| o.collectdVersion = "foo";
|
| o.resource = buildMonitoredResource();
|
| }
|
| @@ -185,21 +185,21 @@ buildCreateCollectdTimeSeriesRequest() {
|
| checkCreateCollectdTimeSeriesRequest(api.CreateCollectdTimeSeriesRequest o) {
|
| buildCounterCreateCollectdTimeSeriesRequest++;
|
| if (buildCounterCreateCollectdTimeSeriesRequest < 3) {
|
| - checkUnnamed1384(o.collectdPayloads);
|
| + checkUnnamed2828(o.collectdPayloads);
|
| unittest.expect(o.collectdVersion, unittest.equals('foo'));
|
| checkMonitoredResource(o.resource);
|
| }
|
| buildCounterCreateCollectdTimeSeriesRequest--;
|
| }
|
|
|
| -buildUnnamed1385() {
|
| +buildUnnamed2829() {
|
| var o = new core.List<api.TimeSeries>();
|
| o.add(buildTimeSeries());
|
| o.add(buildTimeSeries());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1385(core.List<api.TimeSeries> o) {
|
| +checkUnnamed2829(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 = buildUnnamed1385();
|
| + o.timeSeries = buildUnnamed2829();
|
| }
|
| buildCounterCreateTimeSeriesRequest--;
|
| return o;
|
| @@ -219,19 +219,19 @@ buildCreateTimeSeriesRequest() {
|
| checkCreateTimeSeriesRequest(api.CreateTimeSeriesRequest o) {
|
| buildCounterCreateTimeSeriesRequest++;
|
| if (buildCounterCreateTimeSeriesRequest < 3) {
|
| - checkUnnamed1385(o.timeSeries);
|
| + checkUnnamed2829(o.timeSeries);
|
| }
|
| buildCounterCreateTimeSeriesRequest--;
|
| }
|
|
|
| -buildUnnamed1386() {
|
| +buildUnnamed2830() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1386(core.List<core.String> o) {
|
| +checkUnnamed2830(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 = buildUnnamed1386();
|
| + o.bucketCounts = buildUnnamed2830();
|
| o.bucketOptions = buildBucketOptions();
|
| o.count = "foo";
|
| o.mean = 42.0;
|
| @@ -256,7 +256,7 @@ buildDistribution() {
|
| checkDistribution(api.Distribution o) {
|
| buildCounterDistribution++;
|
| if (buildCounterDistribution < 3) {
|
| - checkUnnamed1386(o.bucketCounts);
|
| + checkUnnamed2830(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--;
|
| }
|
|
|
| -buildUnnamed1387() {
|
| +buildUnnamed2831() {
|
| var o = new core.List<core.double>();
|
| o.add(42.0);
|
| o.add(42.0);
|
| return o;
|
| }
|
|
|
| -checkUnnamed1387(core.List<core.double> o) {
|
| +checkUnnamed2831(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 = buildUnnamed1387();
|
| + o.bounds = buildUnnamed2831();
|
| }
|
| buildCounterExplicit--;
|
| return o;
|
| @@ -310,7 +310,7 @@ buildExplicit() {
|
| checkExplicit(api.Explicit o) {
|
| buildCounterExplicit++;
|
| if (buildCounterExplicit < 3) {
|
| - checkUnnamed1387(o.bounds);
|
| + checkUnnamed2831(o.bounds);
|
| }
|
| buildCounterExplicit--;
|
| }
|
| @@ -338,14 +338,14 @@ checkExponential(api.Exponential o) {
|
| buildCounterExponential--;
|
| }
|
|
|
| -buildUnnamed1388() {
|
| +buildUnnamed2832() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1388(core.List<api.Option> o) {
|
| +checkUnnamed2832(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 = buildUnnamed1388();
|
| + o.options = buildUnnamed2832();
|
| 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));
|
| - checkUnnamed1388(o.options);
|
| + checkUnnamed2832(o.options);
|
| unittest.expect(o.packed, unittest.isTrue);
|
| unittest.expect(o.typeUrl, unittest.equals('foo'));
|
| }
|
| @@ -461,14 +461,14 @@ checkLinear(api.Linear o) {
|
| buildCounterLinear--;
|
| }
|
|
|
| -buildUnnamed1389() {
|
| +buildUnnamed2833() {
|
| var o = new core.List<api.MonitoredResource>();
|
| o.add(buildMonitoredResource());
|
| o.add(buildMonitoredResource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1389(core.List<api.MonitoredResource> o) {
|
| +checkUnnamed2833(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 = buildUnnamed1389();
|
| + o.members = buildUnnamed2833();
|
| o.nextPageToken = "foo";
|
| o.totalSize = 42;
|
| }
|
| @@ -490,21 +490,21 @@ buildListGroupMembersResponse() {
|
| checkListGroupMembersResponse(api.ListGroupMembersResponse o) {
|
| buildCounterListGroupMembersResponse++;
|
| if (buildCounterListGroupMembersResponse < 3) {
|
| - checkUnnamed1389(o.members);
|
| + checkUnnamed2833(o.members);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.totalSize, unittest.equals(42));
|
| }
|
| buildCounterListGroupMembersResponse--;
|
| }
|
|
|
| -buildUnnamed1390() {
|
| +buildUnnamed2834() {
|
| var o = new core.List<api.Group>();
|
| o.add(buildGroup());
|
| o.add(buildGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1390(core.List<api.Group> o) {
|
| +checkUnnamed2834(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 = buildUnnamed1390();
|
| + o.group = buildUnnamed2834();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListGroupsResponse--;
|
| @@ -525,20 +525,20 @@ buildListGroupsResponse() {
|
| checkListGroupsResponse(api.ListGroupsResponse o) {
|
| buildCounterListGroupsResponse++;
|
| if (buildCounterListGroupsResponse < 3) {
|
| - checkUnnamed1390(o.group);
|
| + checkUnnamed2834(o.group);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListGroupsResponse--;
|
| }
|
|
|
| -buildUnnamed1391() {
|
| +buildUnnamed2835() {
|
| var o = new core.List<api.MetricDescriptor>();
|
| o.add(buildMetricDescriptor());
|
| o.add(buildMetricDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1391(core.List<api.MetricDescriptor> o) {
|
| +checkUnnamed2835(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 = buildUnnamed1391();
|
| + o.metricDescriptors = buildUnnamed2835();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListMetricDescriptorsResponse--;
|
| @@ -559,20 +559,20 @@ buildListMetricDescriptorsResponse() {
|
| checkListMetricDescriptorsResponse(api.ListMetricDescriptorsResponse o) {
|
| buildCounterListMetricDescriptorsResponse++;
|
| if (buildCounterListMetricDescriptorsResponse < 3) {
|
| - checkUnnamed1391(o.metricDescriptors);
|
| + checkUnnamed2835(o.metricDescriptors);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListMetricDescriptorsResponse--;
|
| }
|
|
|
| -buildUnnamed1392() {
|
| +buildUnnamed2836() {
|
| var o = new core.List<api.MonitoredResourceDescriptor>();
|
| o.add(buildMonitoredResourceDescriptor());
|
| o.add(buildMonitoredResourceDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1392(core.List<api.MonitoredResourceDescriptor> o) {
|
| +checkUnnamed2836(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 = buildUnnamed1392();
|
| + o.resourceDescriptors = buildUnnamed2836();
|
| }
|
| buildCounterListMonitoredResourceDescriptorsResponse--;
|
| return o;
|
| @@ -594,19 +594,19 @@ checkListMonitoredResourceDescriptorsResponse(api.ListMonitoredResourceDescripto
|
| buildCounterListMonitoredResourceDescriptorsResponse++;
|
| if (buildCounterListMonitoredResourceDescriptorsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1392(o.resourceDescriptors);
|
| + checkUnnamed2836(o.resourceDescriptors);
|
| }
|
| buildCounterListMonitoredResourceDescriptorsResponse--;
|
| }
|
|
|
| -buildUnnamed1393() {
|
| +buildUnnamed2837() {
|
| var o = new core.List<api.TimeSeries>();
|
| o.add(buildTimeSeries());
|
| o.add(buildTimeSeries());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1393(core.List<api.TimeSeries> o) {
|
| +checkUnnamed2837(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 = buildUnnamed1393();
|
| + o.timeSeries = buildUnnamed2837();
|
| }
|
| buildCounterListTimeSeriesResponse--;
|
| return o;
|
| @@ -628,19 +628,19 @@ checkListTimeSeriesResponse(api.ListTimeSeriesResponse o) {
|
| buildCounterListTimeSeriesResponse++;
|
| if (buildCounterListTimeSeriesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1393(o.timeSeries);
|
| + checkUnnamed2837(o.timeSeries);
|
| }
|
| buildCounterListTimeSeriesResponse--;
|
| }
|
|
|
| -buildUnnamed1394() {
|
| +buildUnnamed2838() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1394(core.Map<core.String, core.String> o) {
|
| +checkUnnamed2838(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 = buildUnnamed1394();
|
| + o.labels = buildUnnamed2838();
|
| o.type = "foo";
|
| }
|
| buildCounterMetric--;
|
| @@ -661,20 +661,20 @@ buildMetric() {
|
| checkMetric(api.Metric o) {
|
| buildCounterMetric++;
|
| if (buildCounterMetric < 3) {
|
| - checkUnnamed1394(o.labels);
|
| + checkUnnamed2838(o.labels);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMetric--;
|
| }
|
|
|
| -buildUnnamed1395() {
|
| +buildUnnamed2839() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1395(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed2839(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 = buildUnnamed1395();
|
| + o.labels = buildUnnamed2839();
|
| 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'));
|
| - checkUnnamed1395(o.labels);
|
| + checkUnnamed2839(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--;
|
| }
|
|
|
| -buildUnnamed1396() {
|
| +buildUnnamed2840() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed1396(core.Map<core.String, core.String> o) {
|
| +checkUnnamed2840(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 = buildUnnamed1396();
|
| + o.labels = buildUnnamed2840();
|
| o.type = "foo";
|
| }
|
| buildCounterMonitoredResource--;
|
| @@ -741,20 +741,20 @@ buildMonitoredResource() {
|
| checkMonitoredResource(api.MonitoredResource o) {
|
| buildCounterMonitoredResource++;
|
| if (buildCounterMonitoredResource < 3) {
|
| - checkUnnamed1396(o.labels);
|
| + checkUnnamed2840(o.labels);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoredResource--;
|
| }
|
|
|
| -buildUnnamed1397() {
|
| +buildUnnamed2841() {
|
| var o = new core.List<api.LabelDescriptor>();
|
| o.add(buildLabelDescriptor());
|
| o.add(buildLabelDescriptor());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1397(core.List<api.LabelDescriptor> o) {
|
| +checkUnnamed2841(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 = buildUnnamed1397();
|
| + o.labels = buildUnnamed2841();
|
| 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'));
|
| - checkUnnamed1397(o.labels);
|
| + checkUnnamed2841(o.labels);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterMonitoredResourceDescriptor--;
|
| }
|
|
|
| -buildUnnamed1398() {
|
| +buildUnnamed2842() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed1398(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2842(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 = buildUnnamed1398();
|
| + o.value = buildUnnamed2842();
|
| }
|
| buildCounterOption--;
|
| return o;
|
| @@ -816,7 +816,7 @@ checkOption(api.Option o) {
|
| buildCounterOption++;
|
| if (buildCounterOption < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1398(o.value);
|
| + checkUnnamed2842(o.value);
|
| }
|
| buildCounterOption--;
|
| }
|
| @@ -903,14 +903,14 @@ checkTimeInterval(api.TimeInterval o) {
|
| buildCounterTimeInterval--;
|
| }
|
|
|
| -buildUnnamed1399() {
|
| +buildUnnamed2843() {
|
| var o = new core.List<api.Point>();
|
| o.add(buildPoint());
|
| o.add(buildPoint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1399(core.List<api.Point> o) {
|
| +checkUnnamed2843(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 = buildUnnamed1399();
|
| + o.points = buildUnnamed2843();
|
| 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'));
|
| - checkUnnamed1399(o.points);
|
| + checkUnnamed2843(o.points);
|
| checkMonitoredResource(o.resource);
|
| unittest.expect(o.valueType, unittest.equals('foo'));
|
| }
|
| buildCounterTimeSeries--;
|
| }
|
|
|
| -buildUnnamed1400() {
|
| +buildUnnamed2844() {
|
| var o = new core.List<api.Field>();
|
| o.add(buildField());
|
| o.add(buildField());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1400(core.List<api.Field> o) {
|
| +checkUnnamed2844(core.List<api.Field> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkField(o[0]);
|
| checkField(o[1]);
|
| }
|
|
|
| -buildUnnamed1401() {
|
| +buildUnnamed2845() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1401(core.List<core.String> o) {
|
| +checkUnnamed2845(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'));
|
| }
|
|
|
| -buildUnnamed1402() {
|
| +buildUnnamed2846() {
|
| var o = new core.List<api.Option>();
|
| o.add(buildOption());
|
| o.add(buildOption());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1402(core.List<api.Option> o) {
|
| +checkUnnamed2846(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 = buildUnnamed1400();
|
| + o.fields = buildUnnamed2844();
|
| o.name = "foo";
|
| - o.oneofs = buildUnnamed1401();
|
| - o.options = buildUnnamed1402();
|
| + o.oneofs = buildUnnamed2845();
|
| + o.options = buildUnnamed2846();
|
| o.sourceContext = buildSourceContext();
|
| o.syntax = "foo";
|
| }
|
| @@ -1001,10 +1001,10 @@ buildType() {
|
| checkType(api.Type o) {
|
| buildCounterType++;
|
| if (buildCounterType < 3) {
|
| - checkUnnamed1400(o.fields);
|
| + checkUnnamed2844(o.fields);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1401(o.oneofs);
|
| - checkUnnamed1402(o.options);
|
| + checkUnnamed2845(o.oneofs);
|
| + checkUnnamed2846(o.options);
|
| checkSourceContext(o.sourceContext);
|
| unittest.expect(o.syntax, unittest.equals('foo'));
|
| }
|
| @@ -1038,14 +1038,14 @@ checkTypedValue(api.TypedValue o) {
|
| buildCounterTypedValue--;
|
| }
|
|
|
| -buildUnnamed1403() {
|
| +buildUnnamed2847() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1403(core.List<core.String> o) {
|
| +checkUnnamed2847(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 = buildUnnamed1403();
|
| + var arg_aggregation_groupByFields = buildUnnamed2847();
|
| var arg_orderBy = "foo";
|
| var arg_view = "foo";
|
| var arg_pageSize = 42;
|
|
|