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

Unified Diff: generated/googleapis/test/bigquery/v2_test.dart

Issue 770773002: Api roll 7: 2014-12-01 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « generated/googleapis/test/appstate/v1_test.dart ('k') | generated/googleapis/test/blogger/v3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/test/bigquery/v2_test.dart
diff --git a/generated/googleapis/test/bigquery/v2_test.dart b/generated/googleapis/test/bigquery/v2_test.dart
index 900b90789768b43dbc34e03d07c3a32e99c0138e..eb5e2ee94944c2b8c1bd20f17b6e60398e3d4299 100644
--- a/generated/googleapis/test/bigquery/v2_test.dart
+++ b/generated/googleapis/test/bigquery/v2_test.dart
@@ -45,14 +45,14 @@ checkDatasetAccess(api.DatasetAccess o) {
buildCounterDatasetAccess--;
}
-buildUnnamed1143() {
+buildUnnamed266() {
var o = new core.List<api.DatasetAccess>();
o.add(buildDatasetAccess());
o.add(buildDatasetAccess());
return o;
}
-checkUnnamed1143(core.List<api.DatasetAccess> o) {
+checkUnnamed266(core.List<api.DatasetAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetAccess(o[0]);
checkDatasetAccess(o[1]);
@@ -63,7 +63,7 @@ buildDataset() {
var o = new api.Dataset();
buildCounterDataset++;
if (buildCounterDataset < 3) {
- o.access = buildUnnamed1143();
+ o.access = buildUnnamed266();
o.creationTime = "foo";
o.datasetReference = buildDatasetReference();
o.description = "foo";
@@ -81,7 +81,7 @@ buildDataset() {
checkDataset(api.Dataset o) {
buildCounterDataset++;
if (buildCounterDataset < 3) {
- checkUnnamed1143(o.access);
+ checkUnnamed266(o.access);
unittest.expect(o.creationTime, unittest.equals('foo'));
checkDatasetReference(o.datasetReference);
unittest.expect(o.description, unittest.equals('foo'));
@@ -120,14 +120,14 @@ checkDatasetListDatasets(api.DatasetListDatasets o) {
buildCounterDatasetListDatasets--;
}
-buildUnnamed1144() {
+buildUnnamed267() {
var o = new core.List<api.DatasetListDatasets>();
o.add(buildDatasetListDatasets());
o.add(buildDatasetListDatasets());
return o;
}
-checkUnnamed1144(core.List<api.DatasetListDatasets> o) {
+checkUnnamed267(core.List<api.DatasetListDatasets> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetListDatasets(o[0]);
checkDatasetListDatasets(o[1]);
@@ -138,7 +138,7 @@ buildDatasetList() {
var o = new api.DatasetList();
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- o.datasets = buildUnnamed1144();
+ o.datasets = buildUnnamed267();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -150,7 +150,7 @@ buildDatasetList() {
checkDatasetList(api.DatasetList o) {
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- checkUnnamed1144(o.datasets);
+ checkUnnamed267(o.datasets);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -204,14 +204,14 @@ checkErrorProto(api.ErrorProto o) {
buildCounterErrorProto--;
}
-buildUnnamed1145() {
+buildUnnamed268() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1145(core.List<api.TableRow> o) {
+checkUnnamed268(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -228,7 +228,7 @@ buildGetQueryResultsResponse() {
o.jobReference = buildJobReference();
o.kind = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed1145();
+ o.rows = buildUnnamed268();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -246,7 +246,7 @@ checkGetQueryResultsResponse(api.GetQueryResultsResponse o) {
checkJobReference(o.jobReference);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed1145(o.rows);
+ checkUnnamed268(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -316,14 +316,14 @@ checkJobConfiguration(api.JobConfiguration o) {
buildCounterJobConfiguration--;
}
-buildUnnamed1146() {
+buildUnnamed269() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1146(core.List<core.String> o) {
+checkUnnamed269(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'));
@@ -337,7 +337,7 @@ buildJobConfigurationExtract() {
o.compression = "foo";
o.destinationFormat = "foo";
o.destinationUri = "foo";
- o.destinationUris = buildUnnamed1146();
+ o.destinationUris = buildUnnamed269();
o.fieldDelimiter = "foo";
o.printHeader = true;
o.sourceTable = buildTableReference();
@@ -352,7 +352,7 @@ checkJobConfigurationExtract(api.JobConfigurationExtract o) {
unittest.expect(o.compression, unittest.equals('foo'));
unittest.expect(o.destinationFormat, unittest.equals('foo'));
unittest.expect(o.destinationUri, unittest.equals('foo'));
- checkUnnamed1146(o.destinationUris);
+ checkUnnamed269(o.destinationUris);
unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
unittest.expect(o.printHeader, unittest.isTrue);
checkTableReference(o.sourceTable);
@@ -360,14 +360,14 @@ checkJobConfigurationExtract(api.JobConfigurationExtract o) {
buildCounterJobConfigurationExtract--;
}
-buildUnnamed1147() {
+buildUnnamed270() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1147(core.List<core.String> o) {
+checkUnnamed270(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'));
@@ -380,7 +380,7 @@ buildJobConfigurationLink() {
if (buildCounterJobConfigurationLink < 3) {
o.createDisposition = "foo";
o.destinationTable = buildTableReference();
- o.sourceUri = buildUnnamed1147();
+ o.sourceUri = buildUnnamed270();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationLink--;
@@ -392,20 +392,20 @@ checkJobConfigurationLink(api.JobConfigurationLink o) {
if (buildCounterJobConfigurationLink < 3) {
unittest.expect(o.createDisposition, unittest.equals('foo'));
checkTableReference(o.destinationTable);
- checkUnnamed1147(o.sourceUri);
+ checkUnnamed270(o.sourceUri);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationLink--;
}
-buildUnnamed1148() {
+buildUnnamed271() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1148(core.List<core.String> o) {
+checkUnnamed271(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'));
@@ -430,7 +430,7 @@ buildJobConfigurationLoad() {
o.schemaInlineFormat = "foo";
o.skipLeadingRows = 42;
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed1148();
+ o.sourceUris = buildUnnamed271();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationLoad--;
@@ -454,7 +454,7 @@ checkJobConfigurationLoad(api.JobConfigurationLoad o) {
unittest.expect(o.schemaInlineFormat, unittest.equals('foo'));
unittest.expect(o.skipLeadingRows, unittest.equals(42));
unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed1148(o.sourceUris);
+ checkUnnamed271(o.sourceUris);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationLoad--;
@@ -497,14 +497,14 @@ checkJobConfigurationQuery(api.JobConfigurationQuery o) {
buildCounterJobConfigurationQuery--;
}
-buildUnnamed1149() {
+buildUnnamed272() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed1149(core.List<api.TableReference> o) {
+checkUnnamed272(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
@@ -518,7 +518,7 @@ buildJobConfigurationTableCopy() {
o.createDisposition = "foo";
o.destinationTable = buildTableReference();
o.sourceTable = buildTableReference();
- o.sourceTables = buildUnnamed1149();
+ o.sourceTables = buildUnnamed272();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationTableCopy--;
@@ -531,7 +531,7 @@ checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) {
unittest.expect(o.createDisposition, unittest.equals('foo'));
checkTableReference(o.destinationTable);
checkTableReference(o.sourceTable);
- checkUnnamed1149(o.sourceTables);
+ checkUnnamed272(o.sourceTables);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationTableCopy--;
@@ -572,14 +572,14 @@ checkJobListJobs(api.JobListJobs o) {
buildCounterJobListJobs--;
}
-buildUnnamed1150() {
+buildUnnamed273() {
var o = new core.List<api.JobListJobs>();
o.add(buildJobListJobs());
o.add(buildJobListJobs());
return o;
}
-checkUnnamed1150(core.List<api.JobListJobs> o) {
+checkUnnamed273(core.List<api.JobListJobs> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobListJobs(o[0]);
checkJobListJobs(o[1]);
@@ -591,7 +591,7 @@ buildJobList() {
buildCounterJobList++;
if (buildCounterJobList < 3) {
o.etag = "foo";
- o.jobs = buildUnnamed1150();
+ o.jobs = buildUnnamed273();
o.kind = "foo";
o.nextPageToken = "foo";
o.totalItems = 42;
@@ -604,7 +604,7 @@ checkJobList(api.JobList o) {
buildCounterJobList++;
if (buildCounterJobList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed1150(o.jobs);
+ checkUnnamed273(o.jobs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
unittest.expect(o.totalItems, unittest.equals(42));
@@ -640,6 +640,7 @@ buildJobStatistics() {
if (buildCounterJobStatistics < 3) {
o.creationTime = "foo";
o.endTime = "foo";
+ o.extract = buildJobStatistics4();
o.load = buildJobStatistics3();
o.query = buildJobStatistics2();
o.startTime = "foo";
@@ -654,6 +655,7 @@ checkJobStatistics(api.JobStatistics o) {
if (buildCounterJobStatistics < 3) {
unittest.expect(o.creationTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
+ checkJobStatistics4(o.extract);
checkJobStatistics3(o.load);
checkJobStatistics2(o.query);
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -708,14 +710,46 @@ checkJobStatistics3(api.JobStatistics3 o) {
buildCounterJobStatistics3--;
}
-buildUnnamed1151() {
+buildUnnamed274() {
+ var o = new core.List<core.String>();
+ o.add("foo");
+ o.add("foo");
+ return o;
+}
+
+checkUnnamed274(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'));
+}
+
+core.int buildCounterJobStatistics4 = 0;
+buildJobStatistics4() {
+ var o = new api.JobStatistics4();
+ buildCounterJobStatistics4++;
+ if (buildCounterJobStatistics4 < 3) {
+ o.destinationUriFileCounts = buildUnnamed274();
+ }
+ buildCounterJobStatistics4--;
+ return o;
+}
+
+checkJobStatistics4(api.JobStatistics4 o) {
+ buildCounterJobStatistics4++;
+ if (buildCounterJobStatistics4 < 3) {
+ checkUnnamed274(o.destinationUriFileCounts);
+ }
+ buildCounterJobStatistics4--;
+}
+
+buildUnnamed275() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed1151(core.List<api.ErrorProto> o) {
+checkUnnamed275(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -727,7 +761,7 @@ buildJobStatus() {
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
o.errorResult = buildErrorProto();
- o.errors = buildUnnamed1151();
+ o.errors = buildUnnamed275();
o.state = "foo";
}
buildCounterJobStatus--;
@@ -738,7 +772,7 @@ checkJobStatus(api.JobStatus o) {
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
checkErrorProto(o.errorResult);
- checkUnnamed1151(o.errors);
+ checkUnnamed275(o.errors);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterJobStatus--;
@@ -784,14 +818,14 @@ checkProjectListProjects(api.ProjectListProjects o) {
buildCounterProjectListProjects--;
}
-buildUnnamed1152() {
+buildUnnamed276() {
var o = new core.List<api.ProjectListProjects>();
o.add(buildProjectListProjects());
o.add(buildProjectListProjects());
return o;
}
-checkUnnamed1152(core.List<api.ProjectListProjects> o) {
+checkUnnamed276(core.List<api.ProjectListProjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjectListProjects(o[0]);
checkProjectListProjects(o[1]);
@@ -805,7 +839,7 @@ buildProjectList() {
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed1152();
+ o.projects = buildUnnamed276();
o.totalItems = 42;
}
buildCounterProjectList--;
@@ -818,7 +852,7 @@ checkProjectList(api.ProjectList o) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1152(o.projects);
+ checkUnnamed276(o.projects);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterProjectList--;
@@ -876,14 +910,14 @@ checkQueryRequest(api.QueryRequest o) {
buildCounterQueryRequest--;
}
-buildUnnamed1153() {
+buildUnnamed277() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1153(core.List<api.TableRow> o) {
+checkUnnamed277(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -899,7 +933,7 @@ buildQueryResponse() {
o.jobReference = buildJobReference();
o.kind = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed1153();
+ o.rows = buildUnnamed277();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -916,7 +950,7 @@ checkQueryResponse(api.QueryResponse o) {
checkJobReference(o.jobReference);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed1153(o.rows);
+ checkUnnamed277(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -1011,14 +1045,14 @@ checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) {
buildCounterTableDataInsertAllRequestRows--;
}
-buildUnnamed1154() {
+buildUnnamed278() {
var o = new core.List<api.TableDataInsertAllRequestRows>();
o.add(buildTableDataInsertAllRequestRows());
o.add(buildTableDataInsertAllRequestRows());
return o;
}
-checkUnnamed1154(core.List<api.TableDataInsertAllRequestRows> o) {
+checkUnnamed278(core.List<api.TableDataInsertAllRequestRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllRequestRows(o[0]);
checkTableDataInsertAllRequestRows(o[1]);
@@ -1030,7 +1064,7 @@ buildTableDataInsertAllRequest() {
buildCounterTableDataInsertAllRequest++;
if (buildCounterTableDataInsertAllRequest < 3) {
o.kind = "foo";
- o.rows = buildUnnamed1154();
+ o.rows = buildUnnamed278();
}
buildCounterTableDataInsertAllRequest--;
return o;
@@ -1040,19 +1074,19 @@ checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) {
buildCounterTableDataInsertAllRequest++;
if (buildCounterTableDataInsertAllRequest < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed1154(o.rows);
+ checkUnnamed278(o.rows);
}
buildCounterTableDataInsertAllRequest--;
}
-buildUnnamed1155() {
+buildUnnamed279() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed1155(core.List<api.ErrorProto> o) {
+checkUnnamed279(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -1063,7 +1097,7 @@ buildTableDataInsertAllResponseInsertErrors() {
var o = new api.TableDataInsertAllResponseInsertErrors();
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- o.errors = buildUnnamed1155();
+ o.errors = buildUnnamed279();
o.index = 42;
}
buildCounterTableDataInsertAllResponseInsertErrors--;
@@ -1073,20 +1107,20 @@ buildTableDataInsertAllResponseInsertErrors() {
checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsertErrors o) {
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- checkUnnamed1155(o.errors);
+ checkUnnamed279(o.errors);
unittest.expect(o.index, unittest.equals(42));
}
buildCounterTableDataInsertAllResponseInsertErrors--;
}
-buildUnnamed1156() {
+buildUnnamed280() {
var o = new core.List<api.TableDataInsertAllResponseInsertErrors>();
o.add(buildTableDataInsertAllResponseInsertErrors());
o.add(buildTableDataInsertAllResponseInsertErrors());
return o;
}
-checkUnnamed1156(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
+checkUnnamed280(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllResponseInsertErrors(o[0]);
checkTableDataInsertAllResponseInsertErrors(o[1]);
@@ -1097,7 +1131,7 @@ buildTableDataInsertAllResponse() {
var o = new api.TableDataInsertAllResponse();
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- o.insertErrors = buildUnnamed1156();
+ o.insertErrors = buildUnnamed280();
o.kind = "foo";
}
buildCounterTableDataInsertAllResponse--;
@@ -1107,20 +1141,20 @@ buildTableDataInsertAllResponse() {
checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) {
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- checkUnnamed1156(o.insertErrors);
+ checkUnnamed280(o.insertErrors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTableDataInsertAllResponse--;
}
-buildUnnamed1157() {
+buildUnnamed281() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed1157(core.List<api.TableRow> o) {
+checkUnnamed281(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -1134,7 +1168,7 @@ buildTableDataList() {
o.etag = "foo";
o.kind = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed1157();
+ o.rows = buildUnnamed281();
o.totalRows = "foo";
}
buildCounterTableDataList--;
@@ -1147,20 +1181,20 @@ checkTableDataList(api.TableDataList o) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed1157(o.rows);
+ checkUnnamed281(o.rows);
unittest.expect(o.totalRows, unittest.equals('foo'));
}
buildCounterTableDataList--;
}
-buildUnnamed1158() {
+buildUnnamed282() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed1158(core.List<api.TableFieldSchema> o) {
+checkUnnamed282(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -1172,7 +1206,7 @@ buildTableFieldSchema() {
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
o.description = "foo";
- o.fields = buildUnnamed1158();
+ o.fields = buildUnnamed282();
o.mode = "foo";
o.name = "foo";
o.type = "foo";
@@ -1185,7 +1219,7 @@ checkTableFieldSchema(api.TableFieldSchema o) {
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed1158(o.fields);
+ checkUnnamed282(o.fields);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1220,14 +1254,14 @@ checkTableListTables(api.TableListTables o) {
buildCounterTableListTables--;
}
-buildUnnamed1159() {
+buildUnnamed283() {
var o = new core.List<api.TableListTables>();
o.add(buildTableListTables());
o.add(buildTableListTables());
return o;
}
-checkUnnamed1159(core.List<api.TableListTables> o) {
+checkUnnamed283(core.List<api.TableListTables> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableListTables(o[0]);
checkTableListTables(o[1]);
@@ -1241,7 +1275,7 @@ buildTableList() {
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.tables = buildUnnamed1159();
+ o.tables = buildUnnamed283();
o.totalItems = 42;
}
buildCounterTableList--;
@@ -1254,7 +1288,7 @@ checkTableList(api.TableList o) {
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed1159(o.tables);
+ checkUnnamed283(o.tables);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterTableList--;
@@ -1283,14 +1317,14 @@ checkTableReference(api.TableReference o) {
buildCounterTableReference--;
}
-buildUnnamed1160() {
+buildUnnamed284() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed1160(core.List<api.TableCell> o) {
+checkUnnamed284(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -1301,7 +1335,7 @@ buildTableRow() {
var o = new api.TableRow();
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- o.f = buildUnnamed1160();
+ o.f = buildUnnamed284();
}
buildCounterTableRow--;
return o;
@@ -1310,19 +1344,19 @@ buildTableRow() {
checkTableRow(api.TableRow o) {
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- checkUnnamed1160(o.f);
+ checkUnnamed284(o.f);
}
buildCounterTableRow--;
}
-buildUnnamed1161() {
+buildUnnamed285() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed1161(core.List<api.TableFieldSchema> o) {
+checkUnnamed285(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -1333,7 +1367,7 @@ buildTableSchema() {
var o = new api.TableSchema();
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- o.fields = buildUnnamed1161();
+ o.fields = buildUnnamed285();
}
buildCounterTableSchema--;
return o;
@@ -1342,7 +1376,7 @@ buildTableSchema() {
checkTableSchema(api.TableSchema o) {
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- checkUnnamed1161(o.fields);
+ checkUnnamed285(o.fields);
}
buildCounterTableSchema--;
}
@@ -1366,14 +1400,14 @@ checkViewDefinition(api.ViewDefinition o) {
buildCounterViewDefinition--;
}
-buildUnnamed1162() {
+buildUnnamed286() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed1162(core.List<core.String> o) {
+checkUnnamed286(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'));
@@ -1561,6 +1595,15 @@ main() {
});
+ unittest.group("obj-schema-JobStatistics4", () {
+ unittest.test("to-json--from-json", () {
+ var o = buildJobStatistics4();
+ var od = new api.JobStatistics4.fromJson(o.toJson());
+ checkJobStatistics4(od);
+ });
+ });
+
+
unittest.group("obj-schema-JobStatus", () {
unittest.test("to-json--from-json", () {
var o = buildJobStatus();
@@ -2297,7 +2340,7 @@ main() {
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_projection = "foo";
- var arg_stateFilter = buildUnnamed1162();
+ var arg_stateFilter = buildUnnamed286();
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
var pathOffset = 0;
« no previous file with comments | « generated/googleapis/test/appstate/v1_test.dart ('k') | generated/googleapis/test/blogger/v3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698