| 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 7fd71ed0b9d9fe860e95c221ffcf608c3d7e9027..5761bd017ddf9aa45ecd64c8e538f6f09d162fb7 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--;
|
| }
|
|
|
| -buildUnnamed2957() {
|
| +buildUnnamed169() {
|
| var o = new core.List<api.BatchReportOutputs>();
|
| o.add(buildBatchReportOutputs());
|
| o.add(buildBatchReportOutputs());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2957(core.List<api.BatchReportOutputs> o) {
|
| +checkUnnamed169(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 = buildUnnamed2957();
|
| + o.outputs = buildUnnamed169();
|
| 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'));
|
| - checkUnnamed2957(o.outputs);
|
| + checkUnnamed169(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--;
|
| }
|
|
|
| -buildUnnamed2958() {
|
| +buildUnnamed170() {
|
| var o = new core.List<api.BatchReportDefinition>();
|
| o.add(buildBatchReportDefinition());
|
| o.add(buildBatchReportDefinition());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2958(core.List<api.BatchReportDefinition> o) {
|
| +checkUnnamed170(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 = buildUnnamed2958();
|
| + o.items = buildUnnamed170();
|
| o.kind = "foo";
|
| }
|
| buildCounterBatchReportDefinitionList--;
|
| @@ -192,20 +192,20 @@ buildBatchReportDefinitionList() {
|
| checkBatchReportDefinitionList(api.BatchReportDefinitionList o) {
|
| buildCounterBatchReportDefinitionList++;
|
| if (buildCounterBatchReportDefinitionList < 3) {
|
| - checkUnnamed2958(o.items);
|
| + checkUnnamed170(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBatchReportDefinitionList--;
|
| }
|
|
|
| -buildUnnamed2959() {
|
| +buildUnnamed171() {
|
| var o = new core.List<api.BatchReport>();
|
| o.add(buildBatchReport());
|
| o.add(buildBatchReport());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2959(core.List<api.BatchReport> o) {
|
| +checkUnnamed171(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 = buildUnnamed2959();
|
| + o.items = buildUnnamed171();
|
| o.kind = "foo";
|
| }
|
| buildCounterBatchReportList--;
|
| @@ -226,7 +226,7 @@ buildBatchReportList() {
|
| checkBatchReportList(api.BatchReportList o) {
|
| buildCounterBatchReportList++;
|
| if (buildCounterBatchReportList < 3) {
|
| - checkUnnamed2959(o.items);
|
| + checkUnnamed171(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBatchReportList--;
|
| @@ -349,14 +349,14 @@ checkGroupItem(api.GroupItem o) {
|
| buildCounterGroupItem--;
|
| }
|
|
|
| -buildUnnamed2960() {
|
| +buildUnnamed172() {
|
| var o = new core.List<api.GroupItem>();
|
| o.add(buildGroupItem());
|
| o.add(buildGroupItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2960(core.List<api.GroupItem> o) {
|
| +checkUnnamed172(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 = buildUnnamed2960();
|
| + o.items = buildUnnamed172();
|
| o.kind = "foo";
|
| }
|
| buildCounterGroupItemListResponse--;
|
| @@ -379,20 +379,20 @@ checkGroupItemListResponse(api.GroupItemListResponse o) {
|
| buildCounterGroupItemListResponse++;
|
| if (buildCounterGroupItemListResponse < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed2960(o.items);
|
| + checkUnnamed172(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterGroupItemListResponse--;
|
| }
|
|
|
| -buildUnnamed2961() {
|
| +buildUnnamed173() {
|
| var o = new core.List<api.Group>();
|
| o.add(buildGroup());
|
| o.add(buildGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2961(core.List<api.Group> o) {
|
| +checkUnnamed173(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 = buildUnnamed2961();
|
| + o.items = buildUnnamed173();
|
| 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'));
|
| - checkUnnamed2961(o.items);
|
| + checkUnnamed173(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--;
|
| }
|
|
|
| -buildUnnamed2962() {
|
| +buildUnnamed174() {
|
| var o = new core.List<api.ResultTableColumnHeaders>();
|
| o.add(buildResultTableColumnHeaders());
|
| o.add(buildResultTableColumnHeaders());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2962(core.List<api.ResultTableColumnHeaders> o) {
|
| +checkUnnamed174(core.List<api.ResultTableColumnHeaders> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkResultTableColumnHeaders(o[0]);
|
| checkResultTableColumnHeaders(o[1]);
|
| }
|
|
|
| -buildUnnamed2963() {
|
| +buildUnnamed175() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2963(core.List<core.Object> o) {
|
| +checkUnnamed175(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'));
|
| }
|
|
|
| -buildUnnamed2964() {
|
| +buildUnnamed176() {
|
| var o = new core.List<core.List<core.Object>>();
|
| - o.add(buildUnnamed2963());
|
| - o.add(buildUnnamed2963());
|
| + o.add(buildUnnamed175());
|
| + o.add(buildUnnamed175());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2964(core.List<core.List<core.Object>> o) {
|
| +checkUnnamed176(core.List<core.List<core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed2963(o[0]);
|
| - checkUnnamed2963(o[1]);
|
| + checkUnnamed175(o[0]);
|
| + checkUnnamed175(o[1]);
|
| }
|
|
|
| core.int buildCounterResultTable = 0;
|
| @@ -490,9 +490,9 @@ buildResultTable() {
|
| var o = new api.ResultTable();
|
| buildCounterResultTable++;
|
| if (buildCounterResultTable < 3) {
|
| - o.columnHeaders = buildUnnamed2962();
|
| + o.columnHeaders = buildUnnamed174();
|
| o.kind = "foo";
|
| - o.rows = buildUnnamed2964();
|
| + o.rows = buildUnnamed176();
|
| }
|
| buildCounterResultTable--;
|
| return o;
|
| @@ -501,9 +501,9 @@ buildResultTable() {
|
| checkResultTable(api.ResultTable o) {
|
| buildCounterResultTable++;
|
| if (buildCounterResultTable < 3) {
|
| - checkUnnamed2962(o.columnHeaders);
|
| + checkUnnamed174(o.columnHeaders);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed2964(o.rows);
|
| + checkUnnamed176(o.rows);
|
| }
|
| buildCounterResultTable--;
|
| }
|
|
|