| 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 22a3e8e48840d9e6a6f8cd4832ce8dcad2692500..948d03a6f0378e0e82427e454c679520e0580142 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);
|
| }
|
|
|
| -buildUnnamed674() {
|
| +buildUnnamed691() {
|
| var o = new core.List<api.Activity>();
|
| o.add(buildActivity());
|
| o.add(buildActivity());
|
| return o;
|
| }
|
|
|
| -checkUnnamed674(core.List<api.Activity> o) {
|
| +checkUnnamed691(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 = buildUnnamed674();
|
| + o.items = buildUnnamed691();
|
| 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'));
|
| - checkUnnamed674(o.items);
|
| + checkUnnamed691(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--;
|
| }
|
|
|
| -buildUnnamed675() {
|
| +buildUnnamed692() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed675(core.List<core.String> o) {
|
| +checkUnnamed692(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'));
|
| }
|
|
|
| -buildUnnamed676() {
|
| +buildUnnamed693() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed676(core.List<core.String> o) {
|
| +checkUnnamed693(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 = buildUnnamed675();
|
| - o.multiValue = buildUnnamed676();
|
| + o.multiIntValue = buildUnnamed692();
|
| + o.multiValue = buildUnnamed693();
|
| 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'));
|
| - checkUnnamed675(o.multiIntValue);
|
| - checkUnnamed676(o.multiValue);
|
| + checkUnnamed692(o.multiIntValue);
|
| + checkUnnamed693(o.multiValue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.value, unittest.equals('foo'));
|
| }
|
| buildCounterActivityEventsParameters--;
|
| }
|
|
|
| -buildUnnamed677() {
|
| +buildUnnamed694() {
|
| var o = new core.List<api.ActivityEventsParameters>();
|
| o.add(buildActivityEventsParameters());
|
| o.add(buildActivityEventsParameters());
|
| return o;
|
| }
|
|
|
| -checkUnnamed677(core.List<api.ActivityEventsParameters> o) {
|
| +checkUnnamed694(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 = buildUnnamed677();
|
| + o.parameters = buildUnnamed694();
|
| o.type = "foo";
|
| }
|
| buildCounterActivityEvents--;
|
| @@ -199,20 +199,20 @@ checkActivityEvents(api.ActivityEvents o) {
|
| buildCounterActivityEvents++;
|
| if (buildCounterActivityEvents < 3) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed677(o.parameters);
|
| + checkUnnamed694(o.parameters);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
| buildCounterActivityEvents--;
|
| }
|
|
|
| -buildUnnamed678() {
|
| +buildUnnamed695() {
|
| var o = new core.List<api.ActivityEvents>();
|
| o.add(buildActivityEvents());
|
| o.add(buildActivityEvents());
|
| return o;
|
| }
|
|
|
| -checkUnnamed678(core.List<api.ActivityEvents> o) {
|
| +checkUnnamed695(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 = buildUnnamed678();
|
| + o.events = buildUnnamed695();
|
| 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'));
|
| - checkUnnamed678(o.events);
|
| + checkUnnamed695(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--;
|
| }
|
|
|
| -buildUnnamed679() {
|
| +buildUnnamed696() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed679(core.Map<core.String, core.String> o) {
|
| +checkUnnamed696(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 = buildUnnamed679();
|
| + o.params = buildUnnamed696();
|
| 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'));
|
| - checkUnnamed679(o.params);
|
| + checkUnnamed696(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--;
|
| }
|
|
|
| -buildUnnamed680() {
|
| +buildUnnamed697() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed680(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed697(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'));
|
| }
|
|
|
| -buildUnnamed681() {
|
| +buildUnnamed698() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed680());
|
| - o.add(buildUnnamed680());
|
| + o.add(buildUnnamed697());
|
| + o.add(buildUnnamed697());
|
| return o;
|
| }
|
|
|
| -checkUnnamed681(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed698(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed680(o[0]);
|
| - checkUnnamed680(o[1]);
|
| + checkUnnamed697(o[0]);
|
| + checkUnnamed697(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 = buildUnnamed681();
|
| + o.msgValue = buildUnnamed698();
|
| 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'));
|
| - checkUnnamed681(o.msgValue);
|
| + checkUnnamed698(o.msgValue);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.stringValue, unittest.equals('foo'));
|
| }
|
| buildCounterUsageReportParameters--;
|
| }
|
|
|
| -buildUnnamed682() {
|
| +buildUnnamed699() {
|
| var o = new core.List<api.UsageReportParameters>();
|
| o.add(buildUsageReportParameters());
|
| o.add(buildUsageReportParameters());
|
| return o;
|
| }
|
|
|
| -checkUnnamed682(core.List<api.UsageReportParameters> o) {
|
| +checkUnnamed699(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 = buildUnnamed682();
|
| + o.parameters = buildUnnamed699();
|
| }
|
| 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'));
|
| - checkUnnamed682(o.parameters);
|
| + checkUnnamed699(o.parameters);
|
| }
|
| buildCounterUsageReport--;
|
| }
|
|
|
| -buildUnnamed683() {
|
| +buildUnnamed700() {
|
| var o = new core.List<api.UsageReport>();
|
| o.add(buildUsageReport());
|
| o.add(buildUsageReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed683(core.List<api.UsageReport> o) {
|
| +checkUnnamed700(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--;
|
| }
|
|
|
| -buildUnnamed684() {
|
| +buildUnnamed701() {
|
| var o = new core.List<api.UsageReportsWarningsData>();
|
| o.add(buildUsageReportsWarningsData());
|
| o.add(buildUsageReportsWarningsData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed684(core.List<api.UsageReportsWarningsData> o) {
|
| +checkUnnamed701(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 = buildUnnamed684();
|
| + o.data = buildUnnamed701();
|
| o.message = "foo";
|
| }
|
| buildCounterUsageReportsWarnings--;
|
| @@ -508,20 +508,20 @@ checkUsageReportsWarnings(api.UsageReportsWarnings o) {
|
| buildCounterUsageReportsWarnings++;
|
| if (buildCounterUsageReportsWarnings < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed684(o.data);
|
| + checkUnnamed701(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterUsageReportsWarnings--;
|
| }
|
|
|
| -buildUnnamed685() {
|
| +buildUnnamed702() {
|
| var o = new core.List<api.UsageReportsWarnings>();
|
| o.add(buildUsageReportsWarnings());
|
| o.add(buildUsageReportsWarnings());
|
| return o;
|
| }
|
|
|
| -checkUnnamed685(core.List<api.UsageReportsWarnings> o) {
|
| +checkUnnamed702(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 = buildUnnamed683();
|
| - o.warnings = buildUnnamed685();
|
| + o.usageReports = buildUnnamed700();
|
| + o.warnings = buildUnnamed702();
|
| }
|
| 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'));
|
| - checkUnnamed683(o.usageReports);
|
| - checkUnnamed685(o.warnings);
|
| + checkUnnamed700(o.usageReports);
|
| + checkUnnamed702(o.warnings);
|
| }
|
| buildCounterUsageReports--;
|
| }
|
|
|