| 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 f03a7dd10aeadab9b8787aab4e090090bb92be35..fb9178a72e993b61b45e6ff9f43b1eda6d08526f 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;
|
|
|
|
|
|
|
| -buildUnnamed388() {
|
| +buildUnnamed121() {
|
| var o = new core.List<api.Activity>();
|
| o.add(buildActivity());
|
| o.add(buildActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed388(core.List<api.Activity> o) {
|
| +checkUnnamed121(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 = buildUnnamed388();
|
| + o.items = buildUnnamed121();
|
| 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'));
|
| - checkUnnamed388(o.items);
|
| + checkUnnamed121(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--;
|
| }
|
|
|
| -buildUnnamed389() {
|
| +buildUnnamed122() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed389(core.List<core.String> o) {
|
| +checkUnnamed122(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'));
|
| }
|
|
|
| -buildUnnamed390() {
|
| +buildUnnamed123() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed390(core.List<core.String> o) {
|
| +checkUnnamed123(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 = buildUnnamed389();
|
| - o.multiValue = buildUnnamed390();
|
| + o.multiIntValue = buildUnnamed122();
|
| + o.multiValue = buildUnnamed123();
|
| 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'));
|
| - checkUnnamed389(o.multiIntValue);
|
| - checkUnnamed390(o.multiValue);
|
| + checkUnnamed122(o.multiIntValue);
|
| + checkUnnamed123(o.multiValue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.value, unittest.equals('foo'));
|
| }
|
| buildCounterActivityEventsParameters--;
|
| }
|
|
|
| -buildUnnamed391() {
|
| +buildUnnamed124() {
|
| var o = new core.List<api.ActivityEventsParameters>();
|
| o.add(buildActivityEventsParameters());
|
| o.add(buildActivityEventsParameters());
|
| return o;
|
| }
|
|
|
| -checkUnnamed391(core.List<api.ActivityEventsParameters> o) {
|
| +checkUnnamed124(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 = buildUnnamed391();
|
| + o.parameters = buildUnnamed124();
|
| o.type = "foo";
|
| }
|
| buildCounterActivityEvents--;
|
| @@ -164,20 +164,20 @@ checkActivityEvents(api.ActivityEvents o) {
|
| buildCounterActivityEvents++;
|
| if (buildCounterActivityEvents < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed391(o.parameters);
|
| + checkUnnamed124(o.parameters);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterActivityEvents--;
|
| }
|
|
|
| -buildUnnamed392() {
|
| +buildUnnamed125() {
|
| var o = new core.List<api.ActivityEvents>();
|
| o.add(buildActivityEvents());
|
| o.add(buildActivityEvents());
|
| return o;
|
| }
|
|
|
| -checkUnnamed392(core.List<api.ActivityEvents> o) {
|
| +checkUnnamed125(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 = buildUnnamed392();
|
| + o.events = buildUnnamed125();
|
| 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'));
|
| - checkUnnamed392(o.events);
|
| + checkUnnamed125(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--;
|
| }
|
|
|
| -buildUnnamed393() {
|
| +buildUnnamed126() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed393(core.Map<core.String, core.String> o) {
|
| +checkUnnamed126(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 = buildUnnamed393();
|
| + o.params = buildUnnamed126();
|
| 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'));
|
| - checkUnnamed393(o.params);
|
| + checkUnnamed126(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--;
|
| }
|
|
|
| -buildUnnamed394() {
|
| +buildUnnamed127() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed394(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed127(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'));
|
| }
|
|
|
| -buildUnnamed395() {
|
| +buildUnnamed128() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed394());
|
| - o.add(buildUnnamed394());
|
| + o.add(buildUnnamed127());
|
| + o.add(buildUnnamed127());
|
| return o;
|
| }
|
|
|
| -checkUnnamed395(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed128(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed394(o[0]);
|
| - checkUnnamed394(o[1]);
|
| + checkUnnamed127(o[0]);
|
| + checkUnnamed127(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 = buildUnnamed395();
|
| + o.msgValue = buildUnnamed128();
|
| 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'));
|
| - checkUnnamed395(o.msgValue);
|
| + checkUnnamed128(o.msgValue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.stringValue, unittest.equals('foo'));
|
| }
|
| buildCounterUsageReportParameters--;
|
| }
|
|
|
| -buildUnnamed396() {
|
| +buildUnnamed129() {
|
| var o = new core.List<api.UsageReportParameters>();
|
| o.add(buildUsageReportParameters());
|
| o.add(buildUsageReportParameters());
|
| return o;
|
| }
|
|
|
| -checkUnnamed396(core.List<api.UsageReportParameters> o) {
|
| +checkUnnamed129(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 = buildUnnamed396();
|
| + o.parameters = buildUnnamed129();
|
| }
|
| 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'));
|
| - checkUnnamed396(o.parameters);
|
| + checkUnnamed129(o.parameters);
|
| }
|
| buildCounterUsageReport--;
|
| }
|
|
|
| -buildUnnamed397() {
|
| +buildUnnamed130() {
|
| var o = new core.List<api.UsageReport>();
|
| o.add(buildUsageReport());
|
| o.add(buildUsageReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed397(core.List<api.UsageReport> o) {
|
| +checkUnnamed130(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--;
|
| }
|
|
|
| -buildUnnamed398() {
|
| +buildUnnamed131() {
|
| var o = new core.List<api.UsageReportsWarningsData>();
|
| o.add(buildUsageReportsWarningsData());
|
| o.add(buildUsageReportsWarningsData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed398(core.List<api.UsageReportsWarningsData> o) {
|
| +checkUnnamed131(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 = buildUnnamed398();
|
| + o.data = buildUnnamed131();
|
| o.message = "foo";
|
| }
|
| buildCounterUsageReportsWarnings--;
|
| @@ -473,20 +473,20 @@ checkUsageReportsWarnings(api.UsageReportsWarnings o) {
|
| buildCounterUsageReportsWarnings++;
|
| if (buildCounterUsageReportsWarnings < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed398(o.data);
|
| + checkUnnamed131(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterUsageReportsWarnings--;
|
| }
|
|
|
| -buildUnnamed399() {
|
| +buildUnnamed132() {
|
| var o = new core.List<api.UsageReportsWarnings>();
|
| o.add(buildUsageReportsWarnings());
|
| o.add(buildUsageReportsWarnings());
|
| return o;
|
| }
|
|
|
| -checkUnnamed399(core.List<api.UsageReportsWarnings> o) {
|
| +checkUnnamed132(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 = buildUnnamed397();
|
| - o.warnings = buildUnnamed399();
|
| + o.usageReports = buildUnnamed130();
|
| + o.warnings = buildUnnamed132();
|
| }
|
| 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'));
|
| - checkUnnamed397(o.usageReports);
|
| - checkUnnamed399(o.warnings);
|
| + checkUnnamed130(o.usageReports);
|
| + checkUnnamed132(o.warnings);
|
| }
|
| buildCounterUsageReports--;
|
| }
|
|
|