| 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 dec9969549167febd9ff5cc3033f17180e074ab6..39584276e17a4ac93d6343d13b20b0717fcc83cf 100644
|
| --- a/generated/googleapis/test/admin/reports_v1_test.dart
|
| +++ b/generated/googleapis/test/admin/reports_v1_test.dart
|
| @@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed667() {
|
| +buildUnnamed170() {
|
| var o = new core.List<api.Activity>();
|
| o.add(buildActivity());
|
| o.add(buildActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed667(core.List<api.Activity> o) {
|
| +checkUnnamed170(core.List<api.Activity> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkActivity(o[0]);
|
| checkActivity(o[1]);
|
| @@ -70,7 +70,7 @@ buildActivities() {
|
| buildCounterActivities++;
|
| if (buildCounterActivities < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed667();
|
| + o.items = buildUnnamed170();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -82,7 +82,7 @@ checkActivities(api.Activities o) {
|
| buildCounterActivities++;
|
| if (buildCounterActivities < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed667(o.items);
|
| + checkUnnamed170(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -114,27 +114,27 @@ checkActivityActor(api.ActivityActor o) {
|
| buildCounterActivityActor--;
|
| }
|
|
|
| -buildUnnamed668() {
|
| +buildUnnamed171() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed668(core.List<core.String> o) {
|
| +checkUnnamed171(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'));
|
| }
|
|
|
| -buildUnnamed669() {
|
| +buildUnnamed172() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed669(core.List<core.String> o) {
|
| +checkUnnamed172(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'));
|
| @@ -147,8 +147,8 @@ buildActivityEventsParameters() {
|
| if (buildCounterActivityEventsParameters < 3) {
|
| o.boolValue = true;
|
| o.intValue = "foo";
|
| - o.multiIntValue = buildUnnamed668();
|
| - o.multiValue = buildUnnamed669();
|
| + o.multiIntValue = buildUnnamed171();
|
| + o.multiValue = buildUnnamed172();
|
| o.name = "foo";
|
| o.value = "foo";
|
| }
|
| @@ -161,22 +161,22 @@ checkActivityEventsParameters(api.ActivityEventsParameters o) {
|
| if (buildCounterActivityEventsParameters < 3) {
|
| unittest.expect(o.boolValue, unittest.isTrue);
|
| unittest.expect(o.intValue, unittest.equals('foo'));
|
| - checkUnnamed668(o.multiIntValue);
|
| - checkUnnamed669(o.multiValue);
|
| + checkUnnamed171(o.multiIntValue);
|
| + checkUnnamed172(o.multiValue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.value, unittest.equals('foo'));
|
| }
|
| buildCounterActivityEventsParameters--;
|
| }
|
|
|
| -buildUnnamed670() {
|
| +buildUnnamed173() {
|
| var o = new core.List<api.ActivityEventsParameters>();
|
| o.add(buildActivityEventsParameters());
|
| o.add(buildActivityEventsParameters());
|
| return o;
|
| }
|
|
|
| -checkUnnamed670(core.List<api.ActivityEventsParameters> o) {
|
| +checkUnnamed173(core.List<api.ActivityEventsParameters> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkActivityEventsParameters(o[0]);
|
| checkActivityEventsParameters(o[1]);
|
| @@ -188,7 +188,7 @@ buildActivityEvents() {
|
| buildCounterActivityEvents++;
|
| if (buildCounterActivityEvents < 3) {
|
| o.name = "foo";
|
| - o.parameters = buildUnnamed670();
|
| + o.parameters = buildUnnamed173();
|
| o.type = "foo";
|
| }
|
| buildCounterActivityEvents--;
|
| @@ -199,20 +199,20 @@ checkActivityEvents(api.ActivityEvents o) {
|
| buildCounterActivityEvents++;
|
| if (buildCounterActivityEvents < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed670(o.parameters);
|
| + checkUnnamed173(o.parameters);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterActivityEvents--;
|
| }
|
|
|
| -buildUnnamed671() {
|
| +buildUnnamed174() {
|
| var o = new core.List<api.ActivityEvents>();
|
| o.add(buildActivityEvents());
|
| o.add(buildActivityEvents());
|
| return o;
|
| }
|
|
|
| -checkUnnamed671(core.List<api.ActivityEvents> o) {
|
| +checkUnnamed174(core.List<api.ActivityEvents> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkActivityEvents(o[0]);
|
| checkActivityEvents(o[1]);
|
| @@ -250,7 +250,7 @@ buildActivity() {
|
| if (buildCounterActivity < 3) {
|
| o.actor = buildActivityActor();
|
| o.etag = "foo";
|
| - o.events = buildUnnamed671();
|
| + o.events = buildUnnamed174();
|
| o.id = buildActivityId();
|
| o.ipAddress = "foo";
|
| o.kind = "foo";
|
| @@ -265,7 +265,7 @@ checkActivity(api.Activity o) {
|
| if (buildCounterActivity < 3) {
|
| checkActivityActor(o.actor);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed671(o.events);
|
| + checkUnnamed174(o.events);
|
| checkActivityId(o.id);
|
| unittest.expect(o.ipAddress, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| @@ -274,14 +274,14 @@ checkActivity(api.Activity o) {
|
| buildCounterActivity--;
|
| }
|
|
|
| -buildUnnamed672() {
|
| +buildUnnamed175() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed672(core.Map<core.String, core.String> o) {
|
| +checkUnnamed175(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'));
|
| @@ -296,7 +296,7 @@ buildChannel() {
|
| o.expiration = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.params = buildUnnamed672();
|
| + o.params = buildUnnamed175();
|
| o.payload = true;
|
| o.resourceId = "foo";
|
| o.resourceUri = "foo";
|
| @@ -314,7 +314,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'));
|
| - checkUnnamed672(o.params);
|
| + checkUnnamed175(o.params);
|
| unittest.expect(o.payload, unittest.isTrue);
|
| unittest.expect(o.resourceId, unittest.equals('foo'));
|
| unittest.expect(o.resourceUri, unittest.equals('foo'));
|
| @@ -349,30 +349,30 @@ checkUsageReportEntity(api.UsageReportEntity o) {
|
| buildCounterUsageReportEntity--;
|
| }
|
|
|
| -buildUnnamed673() {
|
| +buildUnnamed176() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed673(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed176(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'));
|
| }
|
|
|
| -buildUnnamed674() {
|
| +buildUnnamed177() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed673());
|
| - o.add(buildUnnamed673());
|
| + o.add(buildUnnamed176());
|
| + o.add(buildUnnamed176());
|
| return o;
|
| }
|
|
|
| -checkUnnamed674(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed177(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed673(o[0]);
|
| - checkUnnamed673(o[1]);
|
| + checkUnnamed176(o[0]);
|
| + checkUnnamed176(o[1]);
|
| }
|
|
|
| core.int buildCounterUsageReportParameters = 0;
|
| @@ -383,7 +383,7 @@ buildUsageReportParameters() {
|
| o.boolValue = true;
|
| o.datetimeValue = core.DateTime.parse("2002-02-27T14:01:02");
|
| o.intValue = "foo";
|
| - o.msgValue = buildUnnamed674();
|
| + o.msgValue = buildUnnamed177();
|
| o.name = "foo";
|
| o.stringValue = "foo";
|
| }
|
| @@ -397,21 +397,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'));
|
| - checkUnnamed674(o.msgValue);
|
| + checkUnnamed177(o.msgValue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.stringValue, unittest.equals('foo'));
|
| }
|
| buildCounterUsageReportParameters--;
|
| }
|
|
|
| -buildUnnamed675() {
|
| +buildUnnamed178() {
|
| var o = new core.List<api.UsageReportParameters>();
|
| o.add(buildUsageReportParameters());
|
| o.add(buildUsageReportParameters());
|
| return o;
|
| }
|
|
|
| -checkUnnamed675(core.List<api.UsageReportParameters> o) {
|
| +checkUnnamed178(core.List<api.UsageReportParameters> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageReportParameters(o[0]);
|
| checkUsageReportParameters(o[1]);
|
| @@ -426,7 +426,7 @@ buildUsageReport() {
|
| o.entity = buildUsageReportEntity();
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| - o.parameters = buildUnnamed675();
|
| + o.parameters = buildUnnamed178();
|
| }
|
| buildCounterUsageReport--;
|
| return o;
|
| @@ -439,19 +439,19 @@ checkUsageReport(api.UsageReport o) {
|
| checkUsageReportEntity(o.entity);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed675(o.parameters);
|
| + checkUnnamed178(o.parameters);
|
| }
|
| buildCounterUsageReport--;
|
| }
|
|
|
| -buildUnnamed676() {
|
| +buildUnnamed179() {
|
| var o = new core.List<api.UsageReport>();
|
| o.add(buildUsageReport());
|
| o.add(buildUsageReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed676(core.List<api.UsageReport> o) {
|
| +checkUnnamed179(core.List<api.UsageReport> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageReport(o[0]);
|
| checkUsageReport(o[1]);
|
| @@ -478,14 +478,14 @@ checkUsageReportsWarningsData(api.UsageReportsWarningsData o) {
|
| buildCounterUsageReportsWarningsData--;
|
| }
|
|
|
| -buildUnnamed677() {
|
| +buildUnnamed180() {
|
| var o = new core.List<api.UsageReportsWarningsData>();
|
| o.add(buildUsageReportsWarningsData());
|
| o.add(buildUsageReportsWarningsData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed677(core.List<api.UsageReportsWarningsData> o) {
|
| +checkUnnamed180(core.List<api.UsageReportsWarningsData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageReportsWarningsData(o[0]);
|
| checkUsageReportsWarningsData(o[1]);
|
| @@ -497,7 +497,7 @@ buildUsageReportsWarnings() {
|
| buildCounterUsageReportsWarnings++;
|
| if (buildCounterUsageReportsWarnings < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed677();
|
| + o.data = buildUnnamed180();
|
| o.message = "foo";
|
| }
|
| buildCounterUsageReportsWarnings--;
|
| @@ -508,20 +508,20 @@ checkUsageReportsWarnings(api.UsageReportsWarnings o) {
|
| buildCounterUsageReportsWarnings++;
|
| if (buildCounterUsageReportsWarnings < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed677(o.data);
|
| + checkUnnamed180(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterUsageReportsWarnings--;
|
| }
|
|
|
| -buildUnnamed678() {
|
| +buildUnnamed181() {
|
| var o = new core.List<api.UsageReportsWarnings>();
|
| o.add(buildUsageReportsWarnings());
|
| o.add(buildUsageReportsWarnings());
|
| return o;
|
| }
|
|
|
| -checkUnnamed678(core.List<api.UsageReportsWarnings> o) {
|
| +checkUnnamed181(core.List<api.UsageReportsWarnings> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUsageReportsWarnings(o[0]);
|
| checkUsageReportsWarnings(o[1]);
|
| @@ -535,8 +535,8 @@ buildUsageReports() {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.usageReports = buildUnnamed676();
|
| - o.warnings = buildUnnamed678();
|
| + o.usageReports = buildUnnamed179();
|
| + o.warnings = buildUnnamed181();
|
| }
|
| buildCounterUsageReports--;
|
| return o;
|
| @@ -548,8 +548,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'));
|
| - checkUnnamed676(o.usageReports);
|
| - checkUnnamed678(o.warnings);
|
| + checkUnnamed179(o.usageReports);
|
| + checkUnnamed181(o.warnings);
|
| }
|
| buildCounterUsageReports--;
|
| }
|
|
|