| 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 ae6300cc99ee782dc91cb84f439899fd6675fb30..0bdcc65e9db0ad6daf8ec2ed8ba35c75cb9bc268 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;
|
|
|
|
|
|
|
| -buildUnnamed407() {
|
| +buildUnnamed806() {
|
| var o = new core.List<api.Activity>();
|
| o.add(buildActivity());
|
| o.add(buildActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed407(core.List<api.Activity> o) {
|
| +checkUnnamed806(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 = buildUnnamed407();
|
| + o.items = buildUnnamed806();
|
| 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'));
|
| - checkUnnamed407(o.items);
|
| + checkUnnamed806(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--;
|
| }
|
|
|
| -buildUnnamed408() {
|
| +buildUnnamed807() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed408(core.List<core.String> o) {
|
| +checkUnnamed807(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'));
|
| }
|
|
|
| -buildUnnamed409() {
|
| +buildUnnamed808() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed409(core.List<core.String> o) {
|
| +checkUnnamed808(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 = buildUnnamed408();
|
| - o.multiValue = buildUnnamed409();
|
| + o.multiIntValue = buildUnnamed807();
|
| + o.multiValue = buildUnnamed808();
|
| 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'));
|
| - checkUnnamed408(o.multiIntValue);
|
| - checkUnnamed409(o.multiValue);
|
| + checkUnnamed807(o.multiIntValue);
|
| + checkUnnamed808(o.multiValue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.value, unittest.equals('foo'));
|
| }
|
| buildCounterActivityEventsParameters--;
|
| }
|
|
|
| -buildUnnamed410() {
|
| +buildUnnamed809() {
|
| var o = new core.List<api.ActivityEventsParameters>();
|
| o.add(buildActivityEventsParameters());
|
| o.add(buildActivityEventsParameters());
|
| return o;
|
| }
|
|
|
| -checkUnnamed410(core.List<api.ActivityEventsParameters> o) {
|
| +checkUnnamed809(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 = buildUnnamed410();
|
| + o.parameters = buildUnnamed809();
|
| o.type = "foo";
|
| }
|
| buildCounterActivityEvents--;
|
| @@ -164,20 +164,20 @@ checkActivityEvents(api.ActivityEvents o) {
|
| buildCounterActivityEvents++;
|
| if (buildCounterActivityEvents < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed410(o.parameters);
|
| + checkUnnamed809(o.parameters);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterActivityEvents--;
|
| }
|
|
|
| -buildUnnamed411() {
|
| +buildUnnamed810() {
|
| var o = new core.List<api.ActivityEvents>();
|
| o.add(buildActivityEvents());
|
| o.add(buildActivityEvents());
|
| return o;
|
| }
|
|
|
| -checkUnnamed411(core.List<api.ActivityEvents> o) {
|
| +checkUnnamed810(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 = buildUnnamed411();
|
| + o.events = buildUnnamed810();
|
| 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'));
|
| - checkUnnamed411(o.events);
|
| + checkUnnamed810(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--;
|
| }
|
|
|
| -buildUnnamed412() {
|
| +buildUnnamed811() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed412(core.Map<core.String, core.String> o) {
|
| +checkUnnamed811(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 = buildUnnamed412();
|
| + o.params = buildUnnamed811();
|
| 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'));
|
| - checkUnnamed412(o.params);
|
| + checkUnnamed811(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--;
|
| }
|
|
|
| -buildUnnamed413() {
|
| +buildUnnamed812() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed413(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed812(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'));
|
| }
|
|
|
| -buildUnnamed414() {
|
| +buildUnnamed813() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed413());
|
| - o.add(buildUnnamed413());
|
| + o.add(buildUnnamed812());
|
| + o.add(buildUnnamed812());
|
| return o;
|
| }
|
|
|
| -checkUnnamed414(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed813(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed413(o[0]);
|
| - checkUnnamed413(o[1]);
|
| + checkUnnamed812(o[0]);
|
| + checkUnnamed812(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 = buildUnnamed414();
|
| + o.msgValue = buildUnnamed813();
|
| 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'));
|
| - checkUnnamed414(o.msgValue);
|
| + checkUnnamed813(o.msgValue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.stringValue, unittest.equals('foo'));
|
| }
|
| buildCounterUsageReportParameters--;
|
| }
|
|
|
| -buildUnnamed415() {
|
| +buildUnnamed814() {
|
| var o = new core.List<api.UsageReportParameters>();
|
| o.add(buildUsageReportParameters());
|
| o.add(buildUsageReportParameters());
|
| return o;
|
| }
|
|
|
| -checkUnnamed415(core.List<api.UsageReportParameters> o) {
|
| +checkUnnamed814(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 = buildUnnamed415();
|
| + o.parameters = buildUnnamed814();
|
| }
|
| 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'));
|
| - checkUnnamed415(o.parameters);
|
| + checkUnnamed814(o.parameters);
|
| }
|
| buildCounterUsageReport--;
|
| }
|
|
|
| -buildUnnamed416() {
|
| +buildUnnamed815() {
|
| var o = new core.List<api.UsageReport>();
|
| o.add(buildUsageReport());
|
| o.add(buildUsageReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed416(core.List<api.UsageReport> o) {
|
| +checkUnnamed815(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--;
|
| }
|
|
|
| -buildUnnamed417() {
|
| +buildUnnamed816() {
|
| var o = new core.List<api.UsageReportsWarningsData>();
|
| o.add(buildUsageReportsWarningsData());
|
| o.add(buildUsageReportsWarningsData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed417(core.List<api.UsageReportsWarningsData> o) {
|
| +checkUnnamed816(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 = buildUnnamed417();
|
| + o.data = buildUnnamed816();
|
| o.message = "foo";
|
| }
|
| buildCounterUsageReportsWarnings--;
|
| @@ -473,20 +473,20 @@ checkUsageReportsWarnings(api.UsageReportsWarnings o) {
|
| buildCounterUsageReportsWarnings++;
|
| if (buildCounterUsageReportsWarnings < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed417(o.data);
|
| + checkUnnamed816(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterUsageReportsWarnings--;
|
| }
|
|
|
| -buildUnnamed418() {
|
| +buildUnnamed817() {
|
| var o = new core.List<api.UsageReportsWarnings>();
|
| o.add(buildUsageReportsWarnings());
|
| o.add(buildUsageReportsWarnings());
|
| return o;
|
| }
|
|
|
| -checkUnnamed418(core.List<api.UsageReportsWarnings> o) {
|
| +checkUnnamed817(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 = buildUnnamed416();
|
| - o.warnings = buildUnnamed418();
|
| + o.usageReports = buildUnnamed815();
|
| + o.warnings = buildUnnamed817();
|
| }
|
| 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'));
|
| - checkUnnamed416(o.usageReports);
|
| - checkUnnamed418(o.warnings);
|
| + checkUnnamed815(o.usageReports);
|
| + checkUnnamed817(o.warnings);
|
| }
|
| buildCounterUsageReports--;
|
| }
|
|
|