| Index: generated/googleapis/test/admin/reports_v1_test.dart
|
| diff --git a/generated/googleapis/test/admin/reports_v1_test.dart b/generated/googleapis/test/admin/reports_v1_test.dart
|
| index fb9178a72e993b61b45e6ff9f43b1eda6d08526f..4f8ed0b2c634b16ca0924fe8e90b783af4a6996b 100644
|
| --- a/generated/googleapis/test/admin/reports_v1_test.dart
|
| +++ b/generated/googleapis/test/admin/reports_v1_test.dart
|
| @@ -16,14 +16,14 @@ import 'package:googleapis/admin/reports_v1.dart' as api;
|
|
|
|
|
|
|
| -buildUnnamed121() {
|
| +buildUnnamed412() {
|
| var o = new core.List<api.Activity>();
|
| o.add(buildActivity());
|
| o.add(buildActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed121(core.List<api.Activity> o) {
|
| +checkUnnamed412(core.List<api.Activity> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkActivity(o[0]);
|
| checkActivity(o[1]);
|
| @@ -35,7 +35,7 @@ buildActivities() {
|
| buildCounterActivities++;
|
| if (buildCounterActivities < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed121();
|
| + o.items = buildUnnamed412();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -47,7 +47,7 @@ checkActivities(api.Activities o) {
|
| buildCounterActivities++;
|
| if (buildCounterActivities < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed121(o.items);
|
| + checkUnnamed412(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -79,27 +79,27 @@ checkActivityActor(api.ActivityActor o) {
|
| buildCounterActivityActor--;
|
| }
|
|
|
| -buildUnnamed122() {
|
| +buildUnnamed413() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed122(core.List<core.String> o) {
|
| +checkUnnamed413(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'));
|
| }
|
|
|
| -buildUnnamed123() {
|
| +buildUnnamed414() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed123(core.List<core.String> o) {
|
| +checkUnnamed414(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'));
|
| @@ -112,8 +112,8 @@ buildActivityEventsParameters() {
|
| if (buildCounterActivityEventsParameters < 3) {
|
| o.boolValue = true;
|
| o.intValue = "foo";
|
| - o.multiIntValue = buildUnnamed122();
|
| - o.multiValue = buildUnnamed123();
|
| + o.multiIntValue = buildUnnamed413();
|
| + o.multiValue = buildUnnamed414();
|
| o.name = "foo";
|
| o.value = "foo";
|
| }
|
| @@ -126,22 +126,22 @@ checkActivityEventsParameters(api.ActivityEventsParameters o) {
|
| if (buildCounterActivityEventsParameters < 3) {
|
| unittest.expect(o.boolValue, unittest.isTrue);
|
| unittest.expect(o.intValue, unittest.equals('foo'));
|
| - checkUnnamed122(o.multiIntValue);
|
| - checkUnnamed123(o.multiValue);
|
| + checkUnnamed413(o.multiIntValue);
|
| + checkUnnamed414(o.multiValue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.value, unittest.equals('foo'));
|
| }
|
| buildCounterActivityEventsParameters--;
|
| }
|
|
|
| -buildUnnamed124() {
|
| +buildUnnamed415() {
|
| var o = new core.List<api.ActivityEventsParameters>();
|
| o.add(buildActivityEventsParameters());
|
| o.add(buildActivityEventsParameters());
|
| return o;
|
| }
|
|
|
| -checkUnnamed124(core.List<api.ActivityEventsParameters> o) {
|
| +checkUnnamed415(core.List<api.ActivityEventsParameters> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkActivityEventsParameters(o[0]);
|
| checkActivityEventsParameters(o[1]);
|
| @@ -153,7 +153,7 @@ buildActivityEvents() {
|
| buildCounterActivityEvents++;
|
| if (buildCounterActivityEvents < 3) {
|
| o.name = "foo";
|
| - o.parameters = buildUnnamed124();
|
| + o.parameters = buildUnnamed415();
|
| o.type = "foo";
|
| }
|
| buildCounterActivityEvents--;
|
| @@ -164,20 +164,20 @@ checkActivityEvents(api.ActivityEvents o) {
|
| buildCounterActivityEvents++;
|
| if (buildCounterActivityEvents < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed124(o.parameters);
|
| + checkUnnamed415(o.parameters);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterActivityEvents--;
|
| }
|
|
|
| -buildUnnamed125() {
|
| +buildUnnamed416() {
|
| var o = new core.List<api.ActivityEvents>();
|
| o.add(buildActivityEvents());
|
| o.add(buildActivityEvents());
|
| return o;
|
| }
|
|
|
| -checkUnnamed125(core.List<api.ActivityEvents> o) {
|
| +checkUnnamed416(core.List<api.ActivityEvents> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkActivityEvents(o[0]);
|
| checkActivityEvents(o[1]);
|
| @@ -215,7 +215,7 @@ buildActivity() {
|
| if (buildCounterActivity < 3) {
|
| o.actor = buildActivityActor();
|
| o.etag = "foo";
|
| - o.events = buildUnnamed125();
|
| + o.events = buildUnnamed416();
|
| o.id = buildActivityId();
|
| o.ipAddress = "foo";
|
| o.kind = "foo";
|
| @@ -230,7 +230,7 @@ checkActivity(api.Activity o) {
|
| if (buildCounterActivity < 3) {
|
| checkActivityActor(o.actor);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed125(o.events);
|
| + checkUnnamed416(o.events);
|
| checkActivityId(o.id);
|
| unittest.expect(o.ipAddress, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| @@ -239,14 +239,14 @@ checkActivity(api.Activity o) {
|
| buildCounterActivity--;
|
| }
|
|
|
| -buildUnnamed126() {
|
| +buildUnnamed417() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed126(core.Map<core.String, core.String> o) {
|
| +checkUnnamed417(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'));
|
| @@ -261,7 +261,7 @@ buildChannel() {
|
| o.expiration = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.params = buildUnnamed126();
|
| + o.params = buildUnnamed417();
|
| o.payload = true;
|
| o.resourceId = "foo";
|
| o.resourceUri = "foo";
|
| @@ -279,7 +279,7 @@ checkChannel(api.Channel o) {
|
| unittest.expect(o.expiration, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed126(o.params);
|
| + checkUnnamed417(o.params);
|
| unittest.expect(o.payload, unittest.isTrue);
|
| unittest.expect(o.resourceId, unittest.equals('foo'));
|
| unittest.expect(o.resourceUri, unittest.equals('foo'));
|
| @@ -314,30 +314,30 @@ checkUsageReportEntity(api.UsageReportEntity o) {
|
| buildCounterUsageReportEntity--;
|
| }
|
|
|
| -buildUnnamed127() {
|
| +buildUnnamed418() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed127(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed418(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'));
|
| }
|
|
|
| -buildUnnamed128() {
|
| +buildUnnamed419() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed127());
|
| - o.add(buildUnnamed127());
|
| + o.add(buildUnnamed418());
|
| + o.add(buildUnnamed418());
|
| return o;
|
| }
|
|
|
| -checkUnnamed128(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed419(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed127(o[0]);
|
| - checkUnnamed127(o[1]);
|
| + checkUnnamed418(o[0]);
|
| + checkUnnamed418(o[1]);
|
| }
|
|
|
| core.int buildCounterUsageReportParameters = 0;
|
| @@ -348,7 +348,7 @@ buildUsageReportParameters() {
|
| o.boolValue = true;
|
| o.datetimeValue = core.DateTime.parse("2002-02-27T14:01:02");
|
| o.intValue = "foo";
|
| - o.msgValue = buildUnnamed128();
|
| + o.msgValue = buildUnnamed419();
|
| o.name = "foo";
|
| o.stringValue = "foo";
|
| }
|
| @@ -362,21 +362,21 @@ checkUsageReportParameters(api.UsageReportParameters o) {
|
| unittest.expect(o.boolValue, unittest.isTrue);
|
| unittest.expect(o.datetimeValue, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| unittest.expect(o.intValue, unittest.equals('foo'));
|
| - checkUnnamed128(o.msgValue);
|
| + checkUnnamed419(o.msgValue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.stringValue, unittest.equals('foo'));
|
| }
|
| buildCounterUsageReportParameters--;
|
| }
|
|
|
| -buildUnnamed129() {
|
| +buildUnnamed420() {
|
| var o = new core.List<api.UsageReportParameters>();
|
| o.add(buildUsageReportParameters());
|
| o.add(buildUsageReportParameters());
|
| return o;
|
| }
|
|
|
| -checkUnnamed129(core.List<api.UsageReportParameters> o) {
|
| +checkUnnamed420(core.List<api.UsageReportParameters> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageReportParameters(o[0]);
|
| checkUsageReportParameters(o[1]);
|
| @@ -391,7 +391,7 @@ buildUsageReport() {
|
| o.entity = buildUsageReportEntity();
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| - o.parameters = buildUnnamed129();
|
| + o.parameters = buildUnnamed420();
|
| }
|
| buildCounterUsageReport--;
|
| return o;
|
| @@ -404,19 +404,19 @@ checkUsageReport(api.UsageReport o) {
|
| checkUsageReportEntity(o.entity);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed129(o.parameters);
|
| + checkUnnamed420(o.parameters);
|
| }
|
| buildCounterUsageReport--;
|
| }
|
|
|
| -buildUnnamed130() {
|
| +buildUnnamed421() {
|
| var o = new core.List<api.UsageReport>();
|
| o.add(buildUsageReport());
|
| o.add(buildUsageReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed130(core.List<api.UsageReport> o) {
|
| +checkUnnamed421(core.List<api.UsageReport> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageReport(o[0]);
|
| checkUsageReport(o[1]);
|
| @@ -443,14 +443,14 @@ checkUsageReportsWarningsData(api.UsageReportsWarningsData o) {
|
| buildCounterUsageReportsWarningsData--;
|
| }
|
|
|
| -buildUnnamed131() {
|
| +buildUnnamed422() {
|
| var o = new core.List<api.UsageReportsWarningsData>();
|
| o.add(buildUsageReportsWarningsData());
|
| o.add(buildUsageReportsWarningsData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed131(core.List<api.UsageReportsWarningsData> o) {
|
| +checkUnnamed422(core.List<api.UsageReportsWarningsData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageReportsWarningsData(o[0]);
|
| checkUsageReportsWarningsData(o[1]);
|
| @@ -462,7 +462,7 @@ buildUsageReportsWarnings() {
|
| buildCounterUsageReportsWarnings++;
|
| if (buildCounterUsageReportsWarnings < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed131();
|
| + o.data = buildUnnamed422();
|
| o.message = "foo";
|
| }
|
| buildCounterUsageReportsWarnings--;
|
| @@ -473,20 +473,20 @@ checkUsageReportsWarnings(api.UsageReportsWarnings o) {
|
| buildCounterUsageReportsWarnings++;
|
| if (buildCounterUsageReportsWarnings < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed131(o.data);
|
| + checkUnnamed422(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterUsageReportsWarnings--;
|
| }
|
|
|
| -buildUnnamed132() {
|
| +buildUnnamed423() {
|
| var o = new core.List<api.UsageReportsWarnings>();
|
| o.add(buildUsageReportsWarnings());
|
| o.add(buildUsageReportsWarnings());
|
| return o;
|
| }
|
|
|
| -checkUnnamed132(core.List<api.UsageReportsWarnings> o) {
|
| +checkUnnamed423(core.List<api.UsageReportsWarnings> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageReportsWarnings(o[0]);
|
| checkUsageReportsWarnings(o[1]);
|
| @@ -500,8 +500,8 @@ buildUsageReports() {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.usageReports = buildUnnamed130();
|
| - o.warnings = buildUnnamed132();
|
| + o.usageReports = buildUnnamed421();
|
| + o.warnings = buildUnnamed423();
|
| }
|
| buildCounterUsageReports--;
|
| return o;
|
| @@ -513,8 +513,8 @@ checkUsageReports(api.UsageReports o) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed130(o.usageReports);
|
| - checkUnnamed132(o.warnings);
|
| + checkUnnamed421(o.usageReports);
|
| + checkUnnamed423(o.warnings);
|
| }
|
| buildCounterUsageReports--;
|
| }
|
|
|