| Index: generated/googleapis/test/youtubeanalytics/v1_test.dart
|
| diff --git a/generated/googleapis/test/youtubeanalytics/v1_test.dart b/generated/googleapis/test/youtubeanalytics/v1_test.dart
|
| index 523c7424857c29619676050ffb4d7e4807e516eb..4c868ca47ce51b71c357cf41b6802c942692854d 100644
|
| --- a/generated/googleapis/test/youtubeanalytics/v1_test.dart
|
| +++ b/generated/googleapis/test/youtubeanalytics/v1_test.dart
|
| @@ -74,14 +74,14 @@ checkBatchReportOutputs(api.BatchReportOutputs o) {
|
| buildCounterBatchReportOutputs--;
|
| }
|
|
|
| -buildUnnamed166() {
|
| +buildUnnamed115() {
|
| var o = new core.List<api.BatchReportOutputs>();
|
| o.add(buildBatchReportOutputs());
|
| o.add(buildBatchReportOutputs());
|
| return o;
|
| }
|
|
|
| -checkUnnamed166(core.List<api.BatchReportOutputs> o) {
|
| +checkUnnamed115(core.List<api.BatchReportOutputs> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBatchReportOutputs(o[0]);
|
| checkBatchReportOutputs(o[1]);
|
| @@ -115,7 +115,7 @@ buildBatchReport() {
|
| if (buildCounterBatchReport < 3) {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.outputs = buildUnnamed166();
|
| + o.outputs = buildUnnamed115();
|
| o.reportId = "foo";
|
| o.timeSpan = buildBatchReportTimeSpan();
|
| o.timeUpdated = core.DateTime.parse("2002-02-27T14:01:02");
|
| @@ -129,7 +129,7 @@ checkBatchReport(api.BatchReport o) {
|
| if (buildCounterBatchReport < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed166(o.outputs);
|
| + checkUnnamed115(o.outputs);
|
| unittest.expect(o.reportId, unittest.equals('foo'));
|
| checkBatchReportTimeSpan(o.timeSpan);
|
| unittest.expect(o.timeUpdated, unittest.equals(core.DateTime.parse("2002-02-27T14:01:02")));
|
| @@ -164,14 +164,14 @@ checkBatchReportDefinition(api.BatchReportDefinition o) {
|
| buildCounterBatchReportDefinition--;
|
| }
|
|
|
| -buildUnnamed167() {
|
| +buildUnnamed116() {
|
| var o = new core.List<api.BatchReportDefinition>();
|
| o.add(buildBatchReportDefinition());
|
| o.add(buildBatchReportDefinition());
|
| return o;
|
| }
|
|
|
| -checkUnnamed167(core.List<api.BatchReportDefinition> o) {
|
| +checkUnnamed116(core.List<api.BatchReportDefinition> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBatchReportDefinition(o[0]);
|
| checkBatchReportDefinition(o[1]);
|
| @@ -182,7 +182,7 @@ buildBatchReportDefinitionList() {
|
| var o = new api.BatchReportDefinitionList();
|
| buildCounterBatchReportDefinitionList++;
|
| if (buildCounterBatchReportDefinitionList < 3) {
|
| - o.items = buildUnnamed167();
|
| + o.items = buildUnnamed116();
|
| o.kind = "foo";
|
| }
|
| buildCounterBatchReportDefinitionList--;
|
| @@ -192,20 +192,20 @@ buildBatchReportDefinitionList() {
|
| checkBatchReportDefinitionList(api.BatchReportDefinitionList o) {
|
| buildCounterBatchReportDefinitionList++;
|
| if (buildCounterBatchReportDefinitionList < 3) {
|
| - checkUnnamed167(o.items);
|
| + checkUnnamed116(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBatchReportDefinitionList--;
|
| }
|
|
|
| -buildUnnamed168() {
|
| +buildUnnamed117() {
|
| var o = new core.List<api.BatchReport>();
|
| o.add(buildBatchReport());
|
| o.add(buildBatchReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed168(core.List<api.BatchReport> o) {
|
| +checkUnnamed117(core.List<api.BatchReport> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBatchReport(o[0]);
|
| checkBatchReport(o[1]);
|
| @@ -216,7 +216,7 @@ buildBatchReportList() {
|
| var o = new api.BatchReportList();
|
| buildCounterBatchReportList++;
|
| if (buildCounterBatchReportList < 3) {
|
| - o.items = buildUnnamed168();
|
| + o.items = buildUnnamed117();
|
| o.kind = "foo";
|
| }
|
| buildCounterBatchReportList--;
|
| @@ -226,7 +226,7 @@ buildBatchReportList() {
|
| checkBatchReportList(api.BatchReportList o) {
|
| buildCounterBatchReportList++;
|
| if (buildCounterBatchReportList < 3) {
|
| - checkUnnamed168(o.items);
|
| + checkUnnamed117(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBatchReportList--;
|
| @@ -349,14 +349,14 @@ checkGroupItem(api.GroupItem o) {
|
| buildCounterGroupItem--;
|
| }
|
|
|
| -buildUnnamed169() {
|
| +buildUnnamed118() {
|
| var o = new core.List<api.GroupItem>();
|
| o.add(buildGroupItem());
|
| o.add(buildGroupItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed169(core.List<api.GroupItem> o) {
|
| +checkUnnamed118(core.List<api.GroupItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGroupItem(o[0]);
|
| checkGroupItem(o[1]);
|
| @@ -368,7 +368,7 @@ buildGroupItemListResponse() {
|
| buildCounterGroupItemListResponse++;
|
| if (buildCounterGroupItemListResponse < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed169();
|
| + o.items = buildUnnamed118();
|
| o.kind = "foo";
|
| }
|
| buildCounterGroupItemListResponse--;
|
| @@ -379,20 +379,20 @@ checkGroupItemListResponse(api.GroupItemListResponse o) {
|
| buildCounterGroupItemListResponse++;
|
| if (buildCounterGroupItemListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed169(o.items);
|
| + checkUnnamed118(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterGroupItemListResponse--;
|
| }
|
|
|
| -buildUnnamed170() {
|
| +buildUnnamed119() {
|
| var o = new core.List<api.Group>();
|
| o.add(buildGroup());
|
| o.add(buildGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed170(core.List<api.Group> o) {
|
| +checkUnnamed119(core.List<api.Group> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGroup(o[0]);
|
| checkGroup(o[1]);
|
| @@ -404,7 +404,7 @@ buildGroupListResponse() {
|
| buildCounterGroupListResponse++;
|
| if (buildCounterGroupListResponse < 3) {
|
| o.etag = "foo";
|
| - o.items = buildUnnamed170();
|
| + o.items = buildUnnamed119();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -416,7 +416,7 @@ checkGroupListResponse(api.GroupListResponse o) {
|
| buildCounterGroupListResponse++;
|
| if (buildCounterGroupListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed170(o.items);
|
| + checkUnnamed119(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -446,43 +446,43 @@ checkResultTableColumnHeaders(api.ResultTableColumnHeaders o) {
|
| buildCounterResultTableColumnHeaders--;
|
| }
|
|
|
| -buildUnnamed171() {
|
| +buildUnnamed120() {
|
| var o = new core.List<api.ResultTableColumnHeaders>();
|
| o.add(buildResultTableColumnHeaders());
|
| o.add(buildResultTableColumnHeaders());
|
| return o;
|
| }
|
|
|
| -checkUnnamed171(core.List<api.ResultTableColumnHeaders> o) {
|
| +checkUnnamed120(core.List<api.ResultTableColumnHeaders> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkResultTableColumnHeaders(o[0]);
|
| checkResultTableColumnHeaders(o[1]);
|
| }
|
|
|
| -buildUnnamed172() {
|
| +buildUnnamed121() {
|
| var o = new core.List<core.Object>();
|
| o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
|
| o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'});
|
| return o;
|
| }
|
|
|
| -checkUnnamed172(core.List<core.Object> o) {
|
| +checkUnnamed121(core.List<core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted1 = (o[0]) 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[1]) 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'));
|
| }
|
|
|
| -buildUnnamed173() {
|
| +buildUnnamed122() {
|
| var o = new core.List<core.List<core.Object>>();
|
| - o.add(buildUnnamed172());
|
| - o.add(buildUnnamed172());
|
| + o.add(buildUnnamed121());
|
| + o.add(buildUnnamed121());
|
| return o;
|
| }
|
|
|
| -checkUnnamed173(core.List<core.List<core.Object>> o) {
|
| +checkUnnamed122(core.List<core.List<core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed172(o[0]);
|
| - checkUnnamed172(o[1]);
|
| + checkUnnamed121(o[0]);
|
| + checkUnnamed121(o[1]);
|
| }
|
|
|
| core.int buildCounterResultTable = 0;
|
| @@ -490,9 +490,9 @@ buildResultTable() {
|
| var o = new api.ResultTable();
|
| buildCounterResultTable++;
|
| if (buildCounterResultTable < 3) {
|
| - o.columnHeaders = buildUnnamed171();
|
| + o.columnHeaders = buildUnnamed120();
|
| o.kind = "foo";
|
| - o.rows = buildUnnamed173();
|
| + o.rows = buildUnnamed122();
|
| }
|
| buildCounterResultTable--;
|
| return o;
|
| @@ -501,9 +501,9 @@ buildResultTable() {
|
| checkResultTable(api.ResultTable o) {
|
| buildCounterResultTable++;
|
| if (buildCounterResultTable < 3) {
|
| - checkUnnamed171(o.columnHeaders);
|
| + checkUnnamed120(o.columnHeaders);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed173(o.rows);
|
| + checkUnnamed122(o.rows);
|
| }
|
| buildCounterResultTable--;
|
| }
|
|
|