| 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 59358c70dece3c6d61bc059f1eed721eaefa59a3..f24ca290f56d77c0b4cf1f7b26f8a4b8f0e2aca5 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--;
|
| }
|
|
|
| -buildUnnamed2249() {
|
| +buildUnnamed164() {
|
| var o = new core.List<api.BatchReportOutputs>();
|
| o.add(buildBatchReportOutputs());
|
| o.add(buildBatchReportOutputs());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2249(core.List<api.BatchReportOutputs> o) {
|
| +checkUnnamed164(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 = buildUnnamed2249();
|
| + o.outputs = buildUnnamed164();
|
| 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'));
|
| - checkUnnamed2249(o.outputs);
|
| + checkUnnamed164(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--;
|
| }
|
|
|
| -buildUnnamed2250() {
|
| +buildUnnamed165() {
|
| var o = new core.List<api.BatchReportDefinition>();
|
| o.add(buildBatchReportDefinition());
|
| o.add(buildBatchReportDefinition());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2250(core.List<api.BatchReportDefinition> o) {
|
| +checkUnnamed165(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 = buildUnnamed2250();
|
| + o.items = buildUnnamed165();
|
| o.kind = "foo";
|
| }
|
| buildCounterBatchReportDefinitionList--;
|
| @@ -192,20 +192,20 @@ buildBatchReportDefinitionList() {
|
| checkBatchReportDefinitionList(api.BatchReportDefinitionList o) {
|
| buildCounterBatchReportDefinitionList++;
|
| if (buildCounterBatchReportDefinitionList < 3) {
|
| - checkUnnamed2250(o.items);
|
| + checkUnnamed165(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBatchReportDefinitionList--;
|
| }
|
|
|
| -buildUnnamed2251() {
|
| +buildUnnamed166() {
|
| var o = new core.List<api.BatchReport>();
|
| o.add(buildBatchReport());
|
| o.add(buildBatchReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2251(core.List<api.BatchReport> o) {
|
| +checkUnnamed166(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 = buildUnnamed2251();
|
| + o.items = buildUnnamed166();
|
| o.kind = "foo";
|
| }
|
| buildCounterBatchReportList--;
|
| @@ -226,7 +226,7 @@ buildBatchReportList() {
|
| checkBatchReportList(api.BatchReportList o) {
|
| buildCounterBatchReportList++;
|
| if (buildCounterBatchReportList < 3) {
|
| - checkUnnamed2251(o.items);
|
| + checkUnnamed166(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBatchReportList--;
|
| @@ -349,14 +349,14 @@ checkGroupItem(api.GroupItem o) {
|
| buildCounterGroupItem--;
|
| }
|
|
|
| -buildUnnamed2252() {
|
| +buildUnnamed167() {
|
| var o = new core.List<api.GroupItem>();
|
| o.add(buildGroupItem());
|
| o.add(buildGroupItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2252(core.List<api.GroupItem> o) {
|
| +checkUnnamed167(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 = buildUnnamed2252();
|
| + o.items = buildUnnamed167();
|
| o.kind = "foo";
|
| }
|
| buildCounterGroupItemListResponse--;
|
| @@ -379,20 +379,20 @@ checkGroupItemListResponse(api.GroupItemListResponse o) {
|
| buildCounterGroupItemListResponse++;
|
| if (buildCounterGroupItemListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed2252(o.items);
|
| + checkUnnamed167(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterGroupItemListResponse--;
|
| }
|
|
|
| -buildUnnamed2253() {
|
| +buildUnnamed168() {
|
| var o = new core.List<api.Group>();
|
| o.add(buildGroup());
|
| o.add(buildGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2253(core.List<api.Group> o) {
|
| +checkUnnamed168(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 = buildUnnamed2253();
|
| + o.items = buildUnnamed168();
|
| o.kind = "foo";
|
| }
|
| buildCounterGroupListResponse--;
|
| @@ -415,7 +415,7 @@ checkGroupListResponse(api.GroupListResponse o) {
|
| buildCounterGroupListResponse++;
|
| if (buildCounterGroupListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed2253(o.items);
|
| + checkUnnamed168(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterGroupListResponse--;
|
| @@ -444,43 +444,43 @@ checkResultTableColumnHeaders(api.ResultTableColumnHeaders o) {
|
| buildCounterResultTableColumnHeaders--;
|
| }
|
|
|
| -buildUnnamed2254() {
|
| +buildUnnamed169() {
|
| var o = new core.List<api.ResultTableColumnHeaders>();
|
| o.add(buildResultTableColumnHeaders());
|
| o.add(buildResultTableColumnHeaders());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2254(core.List<api.ResultTableColumnHeaders> o) {
|
| +checkUnnamed169(core.List<api.ResultTableColumnHeaders> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkResultTableColumnHeaders(o[0]);
|
| checkResultTableColumnHeaders(o[1]);
|
| }
|
|
|
| -buildUnnamed2255() {
|
| +buildUnnamed170() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2255(core.List<core.Object> o) {
|
| +checkUnnamed170(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'));
|
| }
|
|
|
| -buildUnnamed2256() {
|
| +buildUnnamed171() {
|
| var o = new core.List<core.List<core.Object>>();
|
| - o.add(buildUnnamed2255());
|
| - o.add(buildUnnamed2255());
|
| + o.add(buildUnnamed170());
|
| + o.add(buildUnnamed170());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2256(core.List<core.List<core.Object>> o) {
|
| +checkUnnamed171(core.List<core.List<core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed2255(o[0]);
|
| - checkUnnamed2255(o[1]);
|
| + checkUnnamed170(o[0]);
|
| + checkUnnamed170(o[1]);
|
| }
|
|
|
| core.int buildCounterResultTable = 0;
|
| @@ -488,9 +488,9 @@ buildResultTable() {
|
| var o = new api.ResultTable();
|
| buildCounterResultTable++;
|
| if (buildCounterResultTable < 3) {
|
| - o.columnHeaders = buildUnnamed2254();
|
| + o.columnHeaders = buildUnnamed169();
|
| o.kind = "foo";
|
| - o.rows = buildUnnamed2256();
|
| + o.rows = buildUnnamed171();
|
| }
|
| buildCounterResultTable--;
|
| return o;
|
| @@ -499,9 +499,9 @@ buildResultTable() {
|
| checkResultTable(api.ResultTable o) {
|
| buildCounterResultTable++;
|
| if (buildCounterResultTable < 3) {
|
| - checkUnnamed2254(o.columnHeaders);
|
| + checkUnnamed169(o.columnHeaders);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2256(o.rows);
|
| + checkUnnamed171(o.rows);
|
| }
|
| buildCounterResultTable--;
|
| }
|
|
|