Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(964)

Unified Diff: generated/googleapis/test/youtubeanalytics/v1_test.dart

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 4aeb8888e6b03f4a35ee92fa483eeb210c0ee01c..25e8afb212509a3da3a44caa1aa9f41cc0dfaeb4 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--;
}
-buildUnnamed174() {
+buildUnnamed189() {
var o = new core.List<api.BatchReportOutputs>();
o.add(buildBatchReportOutputs());
o.add(buildBatchReportOutputs());
return o;
}
-checkUnnamed174(core.List<api.BatchReportOutputs> o) {
+checkUnnamed189(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 = buildUnnamed174();
+ o.outputs = buildUnnamed189();
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'));
- checkUnnamed174(o.outputs);
+ checkUnnamed189(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--;
}
-buildUnnamed175() {
+buildUnnamed190() {
var o = new core.List<api.BatchReportDefinition>();
o.add(buildBatchReportDefinition());
o.add(buildBatchReportDefinition());
return o;
}
-checkUnnamed175(core.List<api.BatchReportDefinition> o) {
+checkUnnamed190(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 = buildUnnamed175();
+ o.items = buildUnnamed190();
o.kind = "foo";
}
buildCounterBatchReportDefinitionList--;
@@ -192,20 +192,20 @@ buildBatchReportDefinitionList() {
checkBatchReportDefinitionList(api.BatchReportDefinitionList o) {
buildCounterBatchReportDefinitionList++;
if (buildCounterBatchReportDefinitionList < 3) {
- checkUnnamed175(o.items);
+ checkUnnamed190(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBatchReportDefinitionList--;
}
-buildUnnamed176() {
+buildUnnamed191() {
var o = new core.List<api.BatchReport>();
o.add(buildBatchReport());
o.add(buildBatchReport());
return o;
}
-checkUnnamed176(core.List<api.BatchReport> o) {
+checkUnnamed191(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 = buildUnnamed176();
+ o.items = buildUnnamed191();
o.kind = "foo";
}
buildCounterBatchReportList--;
@@ -226,7 +226,7 @@ buildBatchReportList() {
checkBatchReportList(api.BatchReportList o) {
buildCounterBatchReportList++;
if (buildCounterBatchReportList < 3) {
- checkUnnamed176(o.items);
+ checkUnnamed191(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterBatchReportList--;
@@ -349,14 +349,14 @@ checkGroupItem(api.GroupItem o) {
buildCounterGroupItem--;
}
-buildUnnamed177() {
+buildUnnamed192() {
var o = new core.List<api.GroupItem>();
o.add(buildGroupItem());
o.add(buildGroupItem());
return o;
}
-checkUnnamed177(core.List<api.GroupItem> o) {
+checkUnnamed192(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 = buildUnnamed177();
+ o.items = buildUnnamed192();
o.kind = "foo";
}
buildCounterGroupItemListResponse--;
@@ -379,20 +379,20 @@ checkGroupItemListResponse(api.GroupItemListResponse o) {
buildCounterGroupItemListResponse++;
if (buildCounterGroupItemListResponse < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed177(o.items);
+ checkUnnamed192(o.items);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterGroupItemListResponse--;
}
-buildUnnamed178() {
+buildUnnamed193() {
var o = new core.List<api.Group>();
o.add(buildGroup());
o.add(buildGroup());
return o;
}
-checkUnnamed178(core.List<api.Group> o) {
+checkUnnamed193(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 = buildUnnamed178();
+ o.items = buildUnnamed193();
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'));
- checkUnnamed178(o.items);
+ checkUnnamed193(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--;
}
-buildUnnamed179() {
+buildUnnamed194() {
var o = new core.List<api.ResultTableColumnHeaders>();
o.add(buildResultTableColumnHeaders());
o.add(buildResultTableColumnHeaders());
return o;
}
-checkUnnamed179(core.List<api.ResultTableColumnHeaders> o) {
+checkUnnamed194(core.List<api.ResultTableColumnHeaders> o) {
unittest.expect(o, unittest.hasLength(2));
checkResultTableColumnHeaders(o[0]);
checkResultTableColumnHeaders(o[1]);
}
-buildUnnamed180() {
+buildUnnamed195() {
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;
}
-checkUnnamed180(core.List<core.Object> o) {
+checkUnnamed195(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'));
}
-buildUnnamed181() {
+buildUnnamed196() {
var o = new core.List<core.List<core.Object>>();
- o.add(buildUnnamed180());
- o.add(buildUnnamed180());
+ o.add(buildUnnamed195());
+ o.add(buildUnnamed195());
return o;
}
-checkUnnamed181(core.List<core.List<core.Object>> o) {
+checkUnnamed196(core.List<core.List<core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed180(o[0]);
- checkUnnamed180(o[1]);
+ checkUnnamed195(o[0]);
+ checkUnnamed195(o[1]);
}
core.int buildCounterResultTable = 0;
@@ -490,9 +490,9 @@ buildResultTable() {
var o = new api.ResultTable();
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- o.columnHeaders = buildUnnamed179();
+ o.columnHeaders = buildUnnamed194();
o.kind = "foo";
- o.rows = buildUnnamed181();
+ o.rows = buildUnnamed196();
}
buildCounterResultTable--;
return o;
@@ -501,9 +501,9 @@ buildResultTable() {
checkResultTable(api.ResultTable o) {
buildCounterResultTable++;
if (buildCounterResultTable < 3) {
- checkUnnamed179(o.columnHeaders);
+ checkUnnamed194(o.columnHeaders);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed181(o.rows);
+ checkUnnamed196(o.rows);
}
buildCounterResultTable--;
}
« no previous file with comments | « generated/googleapis/test/youtube/v3_test.dart ('k') | generated/googleapis/test/youtubereporting/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698