| 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 f15369075cddaf6a63218a43bcfa8463c69adf98..1a32a354834a3666513f2665b2398b5aba0d8207 100644
|
| --- a/generated/googleapis/test/bigquery/v2_test.dart
|
| +++ b/generated/googleapis/test/bigquery/v2_test.dart
|
| @@ -109,14 +109,14 @@ checkDatasetAccess(api.DatasetAccess o) {
|
| buildCounterDatasetAccess--;
|
| }
|
|
|
| -buildUnnamed1476() {
|
| +buildUnnamed337() {
|
| var o = new core.List<api.DatasetAccess>();
|
| o.add(buildDatasetAccess());
|
| o.add(buildDatasetAccess());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1476(core.List<api.DatasetAccess> o) {
|
| +checkUnnamed337(core.List<api.DatasetAccess> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatasetAccess(o[0]);
|
| checkDatasetAccess(o[1]);
|
| @@ -127,7 +127,7 @@ buildDataset() {
|
| var o = new api.Dataset();
|
| buildCounterDataset++;
|
| if (buildCounterDataset < 3) {
|
| - o.access = buildUnnamed1476();
|
| + o.access = buildUnnamed337();
|
| o.creationTime = "foo";
|
| o.datasetReference = buildDatasetReference();
|
| o.defaultTableExpirationMs = "foo";
|
| @@ -147,7 +147,7 @@ buildDataset() {
|
| checkDataset(api.Dataset o) {
|
| buildCounterDataset++;
|
| if (buildCounterDataset < 3) {
|
| - checkUnnamed1476(o.access);
|
| + checkUnnamed337(o.access);
|
| unittest.expect(o.creationTime, unittest.equals('foo'));
|
| checkDatasetReference(o.datasetReference);
|
| unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo'));
|
| @@ -188,14 +188,14 @@ checkDatasetListDatasets(api.DatasetListDatasets o) {
|
| buildCounterDatasetListDatasets--;
|
| }
|
|
|
| -buildUnnamed1477() {
|
| +buildUnnamed338() {
|
| var o = new core.List<api.DatasetListDatasets>();
|
| o.add(buildDatasetListDatasets());
|
| o.add(buildDatasetListDatasets());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1477(core.List<api.DatasetListDatasets> o) {
|
| +checkUnnamed338(core.List<api.DatasetListDatasets> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatasetListDatasets(o[0]);
|
| checkDatasetListDatasets(o[1]);
|
| @@ -206,7 +206,7 @@ buildDatasetList() {
|
| var o = new api.DatasetList();
|
| buildCounterDatasetList++;
|
| if (buildCounterDatasetList < 3) {
|
| - o.datasets = buildUnnamed1477();
|
| + o.datasets = buildUnnamed338();
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| @@ -218,7 +218,7 @@ buildDatasetList() {
|
| checkDatasetList(api.DatasetList o) {
|
| buildCounterDatasetList++;
|
| if (buildCounterDatasetList < 3) {
|
| - checkUnnamed1477(o.datasets);
|
| + checkUnnamed338(o.datasets);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| @@ -272,14 +272,14 @@ checkErrorProto(api.ErrorProto o) {
|
| buildCounterErrorProto--;
|
| }
|
|
|
| -buildUnnamed1478() {
|
| +buildUnnamed339() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1478(core.List<core.String> o) {
|
| +checkUnnamed339(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'));
|
| @@ -296,7 +296,7 @@ buildExternalDataConfiguration() {
|
| o.maxBadRecords = 42;
|
| o.schema = buildTableSchema();
|
| o.sourceFormat = "foo";
|
| - o.sourceUris = buildUnnamed1478();
|
| + o.sourceUris = buildUnnamed339();
|
| }
|
| buildCounterExternalDataConfiguration--;
|
| return o;
|
| @@ -311,19 +311,19 @@ checkExternalDataConfiguration(api.ExternalDataConfiguration o) {
|
| unittest.expect(o.maxBadRecords, unittest.equals(42));
|
| checkTableSchema(o.schema);
|
| unittest.expect(o.sourceFormat, unittest.equals('foo'));
|
| - checkUnnamed1478(o.sourceUris);
|
| + checkUnnamed339(o.sourceUris);
|
| }
|
| buildCounterExternalDataConfiguration--;
|
| }
|
|
|
| -buildUnnamed1479() {
|
| +buildUnnamed340() {
|
| var o = new core.List<api.TableRow>();
|
| o.add(buildTableRow());
|
| o.add(buildTableRow());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1479(core.List<api.TableRow> o) {
|
| +checkUnnamed340(core.List<api.TableRow> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableRow(o[0]);
|
| checkTableRow(o[1]);
|
| @@ -340,7 +340,7 @@ buildGetQueryResultsResponse() {
|
| o.jobReference = buildJobReference();
|
| o.kind = "foo";
|
| o.pageToken = "foo";
|
| - o.rows = buildUnnamed1479();
|
| + o.rows = buildUnnamed340();
|
| o.schema = buildTableSchema();
|
| o.totalBytesProcessed = "foo";
|
| o.totalRows = "foo";
|
| @@ -358,7 +358,7 @@ checkGetQueryResultsResponse(api.GetQueryResultsResponse o) {
|
| checkJobReference(o.jobReference);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.pageToken, unittest.equals('foo'));
|
| - checkUnnamed1479(o.rows);
|
| + checkUnnamed340(o.rows);
|
| checkTableSchema(o.schema);
|
| unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
|
| unittest.expect(o.totalRows, unittest.equals('foo'));
|
| @@ -451,14 +451,14 @@ checkJobConfiguration(api.JobConfiguration o) {
|
| buildCounterJobConfiguration--;
|
| }
|
|
|
| -buildUnnamed1480() {
|
| +buildUnnamed341() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1480(core.List<core.String> o) {
|
| +checkUnnamed341(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'));
|
| @@ -472,7 +472,7 @@ buildJobConfigurationExtract() {
|
| o.compression = "foo";
|
| o.destinationFormat = "foo";
|
| o.destinationUri = "foo";
|
| - o.destinationUris = buildUnnamed1480();
|
| + o.destinationUris = buildUnnamed341();
|
| o.fieldDelimiter = "foo";
|
| o.printHeader = true;
|
| o.sourceTable = buildTableReference();
|
| @@ -487,7 +487,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'));
|
| - checkUnnamed1480(o.destinationUris);
|
| + checkUnnamed341(o.destinationUris);
|
| unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
|
| unittest.expect(o.printHeader, unittest.isTrue);
|
| checkTableReference(o.sourceTable);
|
| @@ -495,14 +495,14 @@ checkJobConfigurationExtract(api.JobConfigurationExtract o) {
|
| buildCounterJobConfigurationExtract--;
|
| }
|
|
|
| -buildUnnamed1481() {
|
| +buildUnnamed342() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1481(core.List<core.String> o) {
|
| +checkUnnamed342(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'));
|
| @@ -515,7 +515,7 @@ buildJobConfigurationLink() {
|
| if (buildCounterJobConfigurationLink < 3) {
|
| o.createDisposition = "foo";
|
| o.destinationTable = buildTableReference();
|
| - o.sourceUri = buildUnnamed1481();
|
| + o.sourceUri = buildUnnamed342();
|
| o.writeDisposition = "foo";
|
| }
|
| buildCounterJobConfigurationLink--;
|
| @@ -527,33 +527,33 @@ checkJobConfigurationLink(api.JobConfigurationLink o) {
|
| if (buildCounterJobConfigurationLink < 3) {
|
| unittest.expect(o.createDisposition, unittest.equals('foo'));
|
| checkTableReference(o.destinationTable);
|
| - checkUnnamed1481(o.sourceUri);
|
| + checkUnnamed342(o.sourceUri);
|
| unittest.expect(o.writeDisposition, unittest.equals('foo'));
|
| }
|
| buildCounterJobConfigurationLink--;
|
| }
|
|
|
| -buildUnnamed1482() {
|
| +buildUnnamed343() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1482(core.List<core.String> o) {
|
| +checkUnnamed343(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'));
|
| }
|
|
|
| -buildUnnamed1483() {
|
| +buildUnnamed344() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1483(core.List<core.String> o) {
|
| +checkUnnamed344(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'));
|
| @@ -572,14 +572,14 @@ buildJobConfigurationLoad() {
|
| o.fieldDelimiter = "foo";
|
| o.ignoreUnknownValues = true;
|
| o.maxBadRecords = 42;
|
| - o.projectionFields = buildUnnamed1482();
|
| + o.projectionFields = buildUnnamed343();
|
| o.quote = "foo";
|
| o.schema = buildTableSchema();
|
| o.schemaInline = "foo";
|
| o.schemaInlineFormat = "foo";
|
| o.skipLeadingRows = 42;
|
| o.sourceFormat = "foo";
|
| - o.sourceUris = buildUnnamed1483();
|
| + o.sourceUris = buildUnnamed344();
|
| o.writeDisposition = "foo";
|
| }
|
| buildCounterJobConfigurationLoad--;
|
| @@ -597,32 +597,45 @@ checkJobConfigurationLoad(api.JobConfigurationLoad o) {
|
| unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
|
| unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
|
| unittest.expect(o.maxBadRecords, unittest.equals(42));
|
| - checkUnnamed1482(o.projectionFields);
|
| + checkUnnamed343(o.projectionFields);
|
| unittest.expect(o.quote, unittest.equals('foo'));
|
| checkTableSchema(o.schema);
|
| unittest.expect(o.schemaInline, unittest.equals('foo'));
|
| unittest.expect(o.schemaInlineFormat, unittest.equals('foo'));
|
| unittest.expect(o.skipLeadingRows, unittest.equals(42));
|
| unittest.expect(o.sourceFormat, unittest.equals('foo'));
|
| - checkUnnamed1483(o.sourceUris);
|
| + checkUnnamed344(o.sourceUris);
|
| unittest.expect(o.writeDisposition, unittest.equals('foo'));
|
| }
|
| buildCounterJobConfigurationLoad--;
|
| }
|
|
|
| -buildUnnamed1484() {
|
| +buildUnnamed345() {
|
| var o = new core.Map<core.String, api.ExternalDataConfiguration>();
|
| o["x"] = buildExternalDataConfiguration();
|
| o["y"] = buildExternalDataConfiguration();
|
| return o;
|
| }
|
|
|
| -checkUnnamed1484(core.Map<core.String, api.ExternalDataConfiguration> o) {
|
| +checkUnnamed345(core.Map<core.String, api.ExternalDataConfiguration> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkExternalDataConfiguration(o["x"]);
|
| checkExternalDataConfiguration(o["y"]);
|
| }
|
|
|
| +buildUnnamed346() {
|
| + var o = new core.List<api.UserDefinedFunctionResource>();
|
| + o.add(buildUserDefinedFunctionResource());
|
| + o.add(buildUserDefinedFunctionResource());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed346(core.List<api.UserDefinedFunctionResource> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkUserDefinedFunctionResource(o[0]);
|
| + checkUserDefinedFunctionResource(o[1]);
|
| +}
|
| +
|
| core.int buildCounterJobConfigurationQuery = 0;
|
| buildJobConfigurationQuery() {
|
| var o = new api.JobConfigurationQuery();
|
| @@ -636,8 +649,9 @@ buildJobConfigurationQuery() {
|
| o.preserveNulls = true;
|
| o.priority = "foo";
|
| o.query = "foo";
|
| - o.tableDefinitions = buildUnnamed1484();
|
| + o.tableDefinitions = buildUnnamed345();
|
| o.useQueryCache = true;
|
| + o.userDefinedFunctionResources = buildUnnamed346();
|
| o.writeDisposition = "foo";
|
| }
|
| buildCounterJobConfigurationQuery--;
|
| @@ -655,21 +669,22 @@ checkJobConfigurationQuery(api.JobConfigurationQuery o) {
|
| unittest.expect(o.preserveNulls, unittest.isTrue);
|
| unittest.expect(o.priority, unittest.equals('foo'));
|
| unittest.expect(o.query, unittest.equals('foo'));
|
| - checkUnnamed1484(o.tableDefinitions);
|
| + checkUnnamed345(o.tableDefinitions);
|
| unittest.expect(o.useQueryCache, unittest.isTrue);
|
| + checkUnnamed346(o.userDefinedFunctionResources);
|
| unittest.expect(o.writeDisposition, unittest.equals('foo'));
|
| }
|
| buildCounterJobConfigurationQuery--;
|
| }
|
|
|
| -buildUnnamed1485() {
|
| +buildUnnamed347() {
|
| var o = new core.List<api.TableReference>();
|
| o.add(buildTableReference());
|
| o.add(buildTableReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1485(core.List<api.TableReference> o) {
|
| +checkUnnamed347(core.List<api.TableReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableReference(o[0]);
|
| checkTableReference(o[1]);
|
| @@ -683,7 +698,7 @@ buildJobConfigurationTableCopy() {
|
| o.createDisposition = "foo";
|
| o.destinationTable = buildTableReference();
|
| o.sourceTable = buildTableReference();
|
| - o.sourceTables = buildUnnamed1485();
|
| + o.sourceTables = buildUnnamed347();
|
| o.writeDisposition = "foo";
|
| }
|
| buildCounterJobConfigurationTableCopy--;
|
| @@ -696,7 +711,7 @@ checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) {
|
| unittest.expect(o.createDisposition, unittest.equals('foo'));
|
| checkTableReference(o.destinationTable);
|
| checkTableReference(o.sourceTable);
|
| - checkUnnamed1485(o.sourceTables);
|
| + checkUnnamed347(o.sourceTables);
|
| unittest.expect(o.writeDisposition, unittest.equals('foo'));
|
| }
|
| buildCounterJobConfigurationTableCopy--;
|
| @@ -737,14 +752,14 @@ checkJobListJobs(api.JobListJobs o) {
|
| buildCounterJobListJobs--;
|
| }
|
|
|
| -buildUnnamed1486() {
|
| +buildUnnamed348() {
|
| var o = new core.List<api.JobListJobs>();
|
| o.add(buildJobListJobs());
|
| o.add(buildJobListJobs());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1486(core.List<api.JobListJobs> o) {
|
| +checkUnnamed348(core.List<api.JobListJobs> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJobListJobs(o[0]);
|
| checkJobListJobs(o[1]);
|
| @@ -756,7 +771,7 @@ buildJobList() {
|
| buildCounterJobList++;
|
| if (buildCounterJobList < 3) {
|
| o.etag = "foo";
|
| - o.jobs = buildUnnamed1486();
|
| + o.jobs = buildUnnamed348();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -768,7 +783,7 @@ checkJobList(api.JobList o) {
|
| buildCounterJobList++;
|
| if (buildCounterJobList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed1486(o.jobs);
|
| + checkUnnamed348(o.jobs);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -873,14 +888,14 @@ checkJobStatistics3(api.JobStatistics3 o) {
|
| buildCounterJobStatistics3--;
|
| }
|
|
|
| -buildUnnamed1487() {
|
| +buildUnnamed349() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1487(core.List<core.String> o) {
|
| +checkUnnamed349(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'));
|
| @@ -891,7 +906,7 @@ buildJobStatistics4() {
|
| var o = new api.JobStatistics4();
|
| buildCounterJobStatistics4++;
|
| if (buildCounterJobStatistics4 < 3) {
|
| - o.destinationUriFileCounts = buildUnnamed1487();
|
| + o.destinationUriFileCounts = buildUnnamed349();
|
| }
|
| buildCounterJobStatistics4--;
|
| return o;
|
| @@ -900,19 +915,19 @@ buildJobStatistics4() {
|
| checkJobStatistics4(api.JobStatistics4 o) {
|
| buildCounterJobStatistics4++;
|
| if (buildCounterJobStatistics4 < 3) {
|
| - checkUnnamed1487(o.destinationUriFileCounts);
|
| + checkUnnamed349(o.destinationUriFileCounts);
|
| }
|
| buildCounterJobStatistics4--;
|
| }
|
|
|
| -buildUnnamed1488() {
|
| +buildUnnamed350() {
|
| var o = new core.List<api.ErrorProto>();
|
| o.add(buildErrorProto());
|
| o.add(buildErrorProto());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1488(core.List<api.ErrorProto> o) {
|
| +checkUnnamed350(core.List<api.ErrorProto> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorProto(o[0]);
|
| checkErrorProto(o[1]);
|
| @@ -924,7 +939,7 @@ buildJobStatus() {
|
| buildCounterJobStatus++;
|
| if (buildCounterJobStatus < 3) {
|
| o.errorResult = buildErrorProto();
|
| - o.errors = buildUnnamed1488();
|
| + o.errors = buildUnnamed350();
|
| o.state = "foo";
|
| }
|
| buildCounterJobStatus--;
|
| @@ -935,7 +950,7 @@ checkJobStatus(api.JobStatus o) {
|
| buildCounterJobStatus++;
|
| if (buildCounterJobStatus < 3) {
|
| checkErrorProto(o.errorResult);
|
| - checkUnnamed1488(o.errors);
|
| + checkUnnamed350(o.errors);
|
| unittest.expect(o.state, unittest.equals('foo'));
|
| }
|
| buildCounterJobStatus--;
|
| @@ -981,14 +996,14 @@ checkProjectListProjects(api.ProjectListProjects o) {
|
| buildCounterProjectListProjects--;
|
| }
|
|
|
| -buildUnnamed1489() {
|
| +buildUnnamed351() {
|
| var o = new core.List<api.ProjectListProjects>();
|
| o.add(buildProjectListProjects());
|
| o.add(buildProjectListProjects());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1489(core.List<api.ProjectListProjects> o) {
|
| +checkUnnamed351(core.List<api.ProjectListProjects> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProjectListProjects(o[0]);
|
| checkProjectListProjects(o[1]);
|
| @@ -1002,7 +1017,7 @@ buildProjectList() {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.projects = buildUnnamed1489();
|
| + o.projects = buildUnnamed351();
|
| o.totalItems = 42;
|
| }
|
| buildCounterProjectList--;
|
| @@ -1015,7 +1030,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'));
|
| - checkUnnamed1489(o.projects);
|
| + checkUnnamed351(o.projects);
|
| unittest.expect(o.totalItems, unittest.equals(42));
|
| }
|
| buildCounterProjectList--;
|
| @@ -1073,14 +1088,14 @@ checkQueryRequest(api.QueryRequest o) {
|
| buildCounterQueryRequest--;
|
| }
|
|
|
| -buildUnnamed1490() {
|
| +buildUnnamed352() {
|
| var o = new core.List<api.TableRow>();
|
| o.add(buildTableRow());
|
| o.add(buildTableRow());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1490(core.List<api.TableRow> o) {
|
| +checkUnnamed352(core.List<api.TableRow> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableRow(o[0]);
|
| checkTableRow(o[1]);
|
| @@ -1096,7 +1111,7 @@ buildQueryResponse() {
|
| o.jobReference = buildJobReference();
|
| o.kind = "foo";
|
| o.pageToken = "foo";
|
| - o.rows = buildUnnamed1490();
|
| + o.rows = buildUnnamed352();
|
| o.schema = buildTableSchema();
|
| o.totalBytesProcessed = "foo";
|
| o.totalRows = "foo";
|
| @@ -1113,7 +1128,7 @@ checkQueryResponse(api.QueryResponse o) {
|
| checkJobReference(o.jobReference);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.pageToken, unittest.equals('foo'));
|
| - checkUnnamed1490(o.rows);
|
| + checkUnnamed352(o.rows);
|
| checkTableSchema(o.schema);
|
| unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
|
| unittest.expect(o.totalRows, unittest.equals('foo'));
|
| @@ -1130,6 +1145,7 @@ buildTable() {
|
| o.description = "foo";
|
| o.etag = "foo";
|
| o.expirationTime = "foo";
|
| + o.externalDataConfiguration = buildExternalDataConfiguration();
|
| o.friendlyName = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| @@ -1154,6 +1170,7 @@ checkTable(api.Table o) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.expirationTime, unittest.equals('foo'));
|
| + checkExternalDataConfiguration(o.externalDataConfiguration);
|
| unittest.expect(o.friendlyName, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| @@ -1210,14 +1227,14 @@ checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) {
|
| buildCounterTableDataInsertAllRequestRows--;
|
| }
|
|
|
| -buildUnnamed1491() {
|
| +buildUnnamed353() {
|
| var o = new core.List<api.TableDataInsertAllRequestRows>();
|
| o.add(buildTableDataInsertAllRequestRows());
|
| o.add(buildTableDataInsertAllRequestRows());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1491(core.List<api.TableDataInsertAllRequestRows> o) {
|
| +checkUnnamed353(core.List<api.TableDataInsertAllRequestRows> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableDataInsertAllRequestRows(o[0]);
|
| checkTableDataInsertAllRequestRows(o[1]);
|
| @@ -1230,7 +1247,7 @@ buildTableDataInsertAllRequest() {
|
| if (buildCounterTableDataInsertAllRequest < 3) {
|
| o.ignoreUnknownValues = true;
|
| o.kind = "foo";
|
| - o.rows = buildUnnamed1491();
|
| + o.rows = buildUnnamed353();
|
| o.skipInvalidRows = true;
|
| }
|
| buildCounterTableDataInsertAllRequest--;
|
| @@ -1242,20 +1259,20 @@ checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) {
|
| if (buildCounterTableDataInsertAllRequest < 3) {
|
| unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed1491(o.rows);
|
| + checkUnnamed353(o.rows);
|
| unittest.expect(o.skipInvalidRows, unittest.isTrue);
|
| }
|
| buildCounterTableDataInsertAllRequest--;
|
| }
|
|
|
| -buildUnnamed1492() {
|
| +buildUnnamed354() {
|
| var o = new core.List<api.ErrorProto>();
|
| o.add(buildErrorProto());
|
| o.add(buildErrorProto());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1492(core.List<api.ErrorProto> o) {
|
| +checkUnnamed354(core.List<api.ErrorProto> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorProto(o[0]);
|
| checkErrorProto(o[1]);
|
| @@ -1266,7 +1283,7 @@ buildTableDataInsertAllResponseInsertErrors() {
|
| var o = new api.TableDataInsertAllResponseInsertErrors();
|
| buildCounterTableDataInsertAllResponseInsertErrors++;
|
| if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
|
| - o.errors = buildUnnamed1492();
|
| + o.errors = buildUnnamed354();
|
| o.index = 42;
|
| }
|
| buildCounterTableDataInsertAllResponseInsertErrors--;
|
| @@ -1276,20 +1293,20 @@ buildTableDataInsertAllResponseInsertErrors() {
|
| checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsertErrors o) {
|
| buildCounterTableDataInsertAllResponseInsertErrors++;
|
| if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
|
| - checkUnnamed1492(o.errors);
|
| + checkUnnamed354(o.errors);
|
| unittest.expect(o.index, unittest.equals(42));
|
| }
|
| buildCounterTableDataInsertAllResponseInsertErrors--;
|
| }
|
|
|
| -buildUnnamed1493() {
|
| +buildUnnamed355() {
|
| var o = new core.List<api.TableDataInsertAllResponseInsertErrors>();
|
| o.add(buildTableDataInsertAllResponseInsertErrors());
|
| o.add(buildTableDataInsertAllResponseInsertErrors());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1493(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
|
| +checkUnnamed355(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableDataInsertAllResponseInsertErrors(o[0]);
|
| checkTableDataInsertAllResponseInsertErrors(o[1]);
|
| @@ -1300,7 +1317,7 @@ buildTableDataInsertAllResponse() {
|
| var o = new api.TableDataInsertAllResponse();
|
| buildCounterTableDataInsertAllResponse++;
|
| if (buildCounterTableDataInsertAllResponse < 3) {
|
| - o.insertErrors = buildUnnamed1493();
|
| + o.insertErrors = buildUnnamed355();
|
| o.kind = "foo";
|
| }
|
| buildCounterTableDataInsertAllResponse--;
|
| @@ -1310,20 +1327,20 @@ buildTableDataInsertAllResponse() {
|
| checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) {
|
| buildCounterTableDataInsertAllResponse++;
|
| if (buildCounterTableDataInsertAllResponse < 3) {
|
| - checkUnnamed1493(o.insertErrors);
|
| + checkUnnamed355(o.insertErrors);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterTableDataInsertAllResponse--;
|
| }
|
|
|
| -buildUnnamed1494() {
|
| +buildUnnamed356() {
|
| var o = new core.List<api.TableRow>();
|
| o.add(buildTableRow());
|
| o.add(buildTableRow());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1494(core.List<api.TableRow> o) {
|
| +checkUnnamed356(core.List<api.TableRow> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableRow(o[0]);
|
| checkTableRow(o[1]);
|
| @@ -1337,7 +1354,7 @@ buildTableDataList() {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.pageToken = "foo";
|
| - o.rows = buildUnnamed1494();
|
| + o.rows = buildUnnamed356();
|
| o.totalRows = "foo";
|
| }
|
| buildCounterTableDataList--;
|
| @@ -1350,20 +1367,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'));
|
| - checkUnnamed1494(o.rows);
|
| + checkUnnamed356(o.rows);
|
| unittest.expect(o.totalRows, unittest.equals('foo'));
|
| }
|
| buildCounterTableDataList--;
|
| }
|
|
|
| -buildUnnamed1495() {
|
| +buildUnnamed357() {
|
| var o = new core.List<api.TableFieldSchema>();
|
| o.add(buildTableFieldSchema());
|
| o.add(buildTableFieldSchema());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1495(core.List<api.TableFieldSchema> o) {
|
| +checkUnnamed357(core.List<api.TableFieldSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableFieldSchema(o[0]);
|
| checkTableFieldSchema(o[1]);
|
| @@ -1375,7 +1392,7 @@ buildTableFieldSchema() {
|
| buildCounterTableFieldSchema++;
|
| if (buildCounterTableFieldSchema < 3) {
|
| o.description = "foo";
|
| - o.fields = buildUnnamed1495();
|
| + o.fields = buildUnnamed357();
|
| o.mode = "foo";
|
| o.name = "foo";
|
| o.type = "foo";
|
| @@ -1388,7 +1405,7 @@ checkTableFieldSchema(api.TableFieldSchema o) {
|
| buildCounterTableFieldSchema++;
|
| if (buildCounterTableFieldSchema < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed1495(o.fields);
|
| + checkUnnamed357(o.fields);
|
| unittest.expect(o.mode, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -1423,14 +1440,14 @@ checkTableListTables(api.TableListTables o) {
|
| buildCounterTableListTables--;
|
| }
|
|
|
| -buildUnnamed1496() {
|
| +buildUnnamed358() {
|
| var o = new core.List<api.TableListTables>();
|
| o.add(buildTableListTables());
|
| o.add(buildTableListTables());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1496(core.List<api.TableListTables> o) {
|
| +checkUnnamed358(core.List<api.TableListTables> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableListTables(o[0]);
|
| checkTableListTables(o[1]);
|
| @@ -1444,7 +1461,7 @@ buildTableList() {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.tables = buildUnnamed1496();
|
| + o.tables = buildUnnamed358();
|
| o.totalItems = 42;
|
| }
|
| buildCounterTableList--;
|
| @@ -1457,7 +1474,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'));
|
| - checkUnnamed1496(o.tables);
|
| + checkUnnamed358(o.tables);
|
| unittest.expect(o.totalItems, unittest.equals(42));
|
| }
|
| buildCounterTableList--;
|
| @@ -1486,14 +1503,14 @@ checkTableReference(api.TableReference o) {
|
| buildCounterTableReference--;
|
| }
|
|
|
| -buildUnnamed1497() {
|
| +buildUnnamed359() {
|
| var o = new core.List<api.TableCell>();
|
| o.add(buildTableCell());
|
| o.add(buildTableCell());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1497(core.List<api.TableCell> o) {
|
| +checkUnnamed359(core.List<api.TableCell> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableCell(o[0]);
|
| checkTableCell(o[1]);
|
| @@ -1504,7 +1521,7 @@ buildTableRow() {
|
| var o = new api.TableRow();
|
| buildCounterTableRow++;
|
| if (buildCounterTableRow < 3) {
|
| - o.f = buildUnnamed1497();
|
| + o.f = buildUnnamed359();
|
| }
|
| buildCounterTableRow--;
|
| return o;
|
| @@ -1513,19 +1530,19 @@ buildTableRow() {
|
| checkTableRow(api.TableRow o) {
|
| buildCounterTableRow++;
|
| if (buildCounterTableRow < 3) {
|
| - checkUnnamed1497(o.f);
|
| + checkUnnamed359(o.f);
|
| }
|
| buildCounterTableRow--;
|
| }
|
|
|
| -buildUnnamed1498() {
|
| +buildUnnamed360() {
|
| var o = new core.List<api.TableFieldSchema>();
|
| o.add(buildTableFieldSchema());
|
| o.add(buildTableFieldSchema());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1498(core.List<api.TableFieldSchema> o) {
|
| +checkUnnamed360(core.List<api.TableFieldSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableFieldSchema(o[0]);
|
| checkTableFieldSchema(o[1]);
|
| @@ -1536,7 +1553,7 @@ buildTableSchema() {
|
| var o = new api.TableSchema();
|
| buildCounterTableSchema++;
|
| if (buildCounterTableSchema < 3) {
|
| - o.fields = buildUnnamed1498();
|
| + o.fields = buildUnnamed360();
|
| }
|
| buildCounterTableSchema--;
|
| return o;
|
| @@ -1545,11 +1562,32 @@ buildTableSchema() {
|
| checkTableSchema(api.TableSchema o) {
|
| buildCounterTableSchema++;
|
| if (buildCounterTableSchema < 3) {
|
| - checkUnnamed1498(o.fields);
|
| + checkUnnamed360(o.fields);
|
| }
|
| buildCounterTableSchema--;
|
| }
|
|
|
| +core.int buildCounterUserDefinedFunctionResource = 0;
|
| +buildUserDefinedFunctionResource() {
|
| + var o = new api.UserDefinedFunctionResource();
|
| + buildCounterUserDefinedFunctionResource++;
|
| + if (buildCounterUserDefinedFunctionResource < 3) {
|
| + o.inlineCode = "foo";
|
| + o.resourceUri = "foo";
|
| + }
|
| + buildCounterUserDefinedFunctionResource--;
|
| + return o;
|
| +}
|
| +
|
| +checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) {
|
| + buildCounterUserDefinedFunctionResource++;
|
| + if (buildCounterUserDefinedFunctionResource < 3) {
|
| + unittest.expect(o.inlineCode, unittest.equals('foo'));
|
| + unittest.expect(o.resourceUri, unittest.equals('foo'));
|
| + }
|
| + buildCounterUserDefinedFunctionResource--;
|
| +}
|
| +
|
| core.int buildCounterViewDefinition = 0;
|
| buildViewDefinition() {
|
| var o = new api.ViewDefinition();
|
| @@ -1569,14 +1607,14 @@ checkViewDefinition(api.ViewDefinition o) {
|
| buildCounterViewDefinition--;
|
| }
|
|
|
| -buildUnnamed1499() {
|
| +buildUnnamed361() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1499(core.List<core.String> o) {
|
| +checkUnnamed361(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'));
|
| @@ -1980,6 +2018,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-UserDefinedFunctionResource", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildUserDefinedFunctionResource();
|
| + var od = new api.UserDefinedFunctionResource.fromJson(o.toJson());
|
| + checkUserDefinedFunctionResource(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-ViewDefinition", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildViewDefinition();
|
| @@ -2597,7 +2644,7 @@ main() {
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_projection = "foo";
|
| - var arg_stateFilter = buildUnnamed1499();
|
| + var arg_stateFilter = buildUnnamed361();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|