| 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 f9411282020d545e6c5b1cc32653a851a4905739..308bf3da8a8e044650d10c4a706d95040d663355 100644
|
| --- a/generated/googleapis/test/bigquery/v2_test.dart
|
| +++ b/generated/googleapis/test/bigquery/v2_test.dart
|
| @@ -80,14 +80,14 @@ checkBigtableColumn(api.BigtableColumn o) {
|
| buildCounterBigtableColumn--;
|
| }
|
|
|
| -buildUnnamed485() {
|
| +buildUnnamed3372() {
|
| var o = new core.List<api.BigtableColumn>();
|
| o.add(buildBigtableColumn());
|
| o.add(buildBigtableColumn());
|
| return o;
|
| }
|
|
|
| -checkUnnamed485(core.List<api.BigtableColumn> o) {
|
| +checkUnnamed3372(core.List<api.BigtableColumn> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBigtableColumn(o[0]);
|
| checkBigtableColumn(o[1]);
|
| @@ -98,7 +98,7 @@ buildBigtableColumnFamily() {
|
| var o = new api.BigtableColumnFamily();
|
| buildCounterBigtableColumnFamily++;
|
| if (buildCounterBigtableColumnFamily < 3) {
|
| - o.columns = buildUnnamed485();
|
| + o.columns = buildUnnamed3372();
|
| o.encoding = "foo";
|
| o.familyId = "foo";
|
| o.onlyReadLatest = true;
|
| @@ -111,7 +111,7 @@ buildBigtableColumnFamily() {
|
| checkBigtableColumnFamily(api.BigtableColumnFamily o) {
|
| buildCounterBigtableColumnFamily++;
|
| if (buildCounterBigtableColumnFamily < 3) {
|
| - checkUnnamed485(o.columns);
|
| + checkUnnamed3372(o.columns);
|
| unittest.expect(o.encoding, unittest.equals('foo'));
|
| unittest.expect(o.familyId, unittest.equals('foo'));
|
| unittest.expect(o.onlyReadLatest, unittest.isTrue);
|
| @@ -120,14 +120,14 @@ checkBigtableColumnFamily(api.BigtableColumnFamily o) {
|
| buildCounterBigtableColumnFamily--;
|
| }
|
|
|
| -buildUnnamed486() {
|
| +buildUnnamed3373() {
|
| var o = new core.List<api.BigtableColumnFamily>();
|
| o.add(buildBigtableColumnFamily());
|
| o.add(buildBigtableColumnFamily());
|
| return o;
|
| }
|
|
|
| -checkUnnamed486(core.List<api.BigtableColumnFamily> o) {
|
| +checkUnnamed3373(core.List<api.BigtableColumnFamily> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBigtableColumnFamily(o[0]);
|
| checkBigtableColumnFamily(o[1]);
|
| @@ -138,7 +138,7 @@ buildBigtableOptions() {
|
| var o = new api.BigtableOptions();
|
| buildCounterBigtableOptions++;
|
| if (buildCounterBigtableOptions < 3) {
|
| - o.columnFamilies = buildUnnamed486();
|
| + o.columnFamilies = buildUnnamed3373();
|
| o.ignoreUnspecifiedColumnFamilies = true;
|
| o.readRowkeyAsString = true;
|
| }
|
| @@ -149,7 +149,7 @@ buildBigtableOptions() {
|
| checkBigtableOptions(api.BigtableOptions o) {
|
| buildCounterBigtableOptions++;
|
| if (buildCounterBigtableOptions < 3) {
|
| - checkUnnamed486(o.columnFamilies);
|
| + checkUnnamed3373(o.columnFamilies);
|
| unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue);
|
| unittest.expect(o.readRowkeyAsString, unittest.isTrue);
|
| }
|
| @@ -214,27 +214,27 @@ checkDatasetAccess(api.DatasetAccess o) {
|
| buildCounterDatasetAccess--;
|
| }
|
|
|
| -buildUnnamed487() {
|
| +buildUnnamed3374() {
|
| var o = new core.List<api.DatasetAccess>();
|
| o.add(buildDatasetAccess());
|
| o.add(buildDatasetAccess());
|
| return o;
|
| }
|
|
|
| -checkUnnamed487(core.List<api.DatasetAccess> o) {
|
| +checkUnnamed3374(core.List<api.DatasetAccess> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatasetAccess(o[0]);
|
| checkDatasetAccess(o[1]);
|
| }
|
|
|
| -buildUnnamed488() {
|
| +buildUnnamed3375() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed488(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3375(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -245,7 +245,7 @@ buildDataset() {
|
| var o = new api.Dataset();
|
| buildCounterDataset++;
|
| if (buildCounterDataset < 3) {
|
| - o.access = buildUnnamed487();
|
| + o.access = buildUnnamed3374();
|
| o.creationTime = "foo";
|
| o.datasetReference = buildDatasetReference();
|
| o.defaultTableExpirationMs = "foo";
|
| @@ -254,7 +254,7 @@ buildDataset() {
|
| o.friendlyName = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.labels = buildUnnamed488();
|
| + o.labels = buildUnnamed3375();
|
| o.lastModifiedTime = "foo";
|
| o.location = "foo";
|
| o.selfLink = "foo";
|
| @@ -266,7 +266,7 @@ buildDataset() {
|
| checkDataset(api.Dataset o) {
|
| buildCounterDataset++;
|
| if (buildCounterDataset < 3) {
|
| - checkUnnamed487(o.access);
|
| + checkUnnamed3374(o.access);
|
| unittest.expect(o.creationTime, unittest.equals('foo'));
|
| checkDatasetReference(o.datasetReference);
|
| unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo'));
|
| @@ -275,7 +275,7 @@ checkDataset(api.Dataset o) {
|
| unittest.expect(o.friendlyName, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed488(o.labels);
|
| + checkUnnamed3375(o.labels);
|
| unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
|
| unittest.expect(o.location, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -283,14 +283,14 @@ checkDataset(api.Dataset o) {
|
| buildCounterDataset--;
|
| }
|
|
|
| -buildUnnamed489() {
|
| +buildUnnamed3376() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed489(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3376(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -305,7 +305,7 @@ buildDatasetListDatasets() {
|
| o.friendlyName = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.labels = buildUnnamed489();
|
| + o.labels = buildUnnamed3376();
|
| }
|
| buildCounterDatasetListDatasets--;
|
| return o;
|
| @@ -318,19 +318,19 @@ checkDatasetListDatasets(api.DatasetListDatasets o) {
|
| unittest.expect(o.friendlyName, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed489(o.labels);
|
| + checkUnnamed3376(o.labels);
|
| }
|
| buildCounterDatasetListDatasets--;
|
| }
|
|
|
| -buildUnnamed490() {
|
| +buildUnnamed3377() {
|
| var o = new core.List<api.DatasetListDatasets>();
|
| o.add(buildDatasetListDatasets());
|
| o.add(buildDatasetListDatasets());
|
| return o;
|
| }
|
|
|
| -checkUnnamed490(core.List<api.DatasetListDatasets> o) {
|
| +checkUnnamed3377(core.List<api.DatasetListDatasets> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDatasetListDatasets(o[0]);
|
| checkDatasetListDatasets(o[1]);
|
| @@ -341,7 +341,7 @@ buildDatasetList() {
|
| var o = new api.DatasetList();
|
| buildCounterDatasetList++;
|
| if (buildCounterDatasetList < 3) {
|
| - o.datasets = buildUnnamed490();
|
| + o.datasets = buildUnnamed3377();
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| @@ -353,7 +353,7 @@ buildDatasetList() {
|
| checkDatasetList(api.DatasetList o) {
|
| buildCounterDatasetList++;
|
| if (buildCounterDatasetList < 3) {
|
| - checkUnnamed490(o.datasets);
|
| + checkUnnamed3377(o.datasets);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| @@ -407,14 +407,14 @@ checkErrorProto(api.ErrorProto o) {
|
| buildCounterErrorProto--;
|
| }
|
|
|
| -buildUnnamed491() {
|
| +buildUnnamed3378() {
|
| var o = new core.List<api.ExplainQueryStep>();
|
| o.add(buildExplainQueryStep());
|
| o.add(buildExplainQueryStep());
|
| return o;
|
| }
|
|
|
| -checkUnnamed491(core.List<api.ExplainQueryStep> o) {
|
| +checkUnnamed3378(core.List<api.ExplainQueryStep> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkExplainQueryStep(o[0]);
|
| checkExplainQueryStep(o[1]);
|
| @@ -433,7 +433,7 @@ buildExplainQueryStage() {
|
| o.readRatioMax = 42.0;
|
| o.recordsRead = "foo";
|
| o.recordsWritten = "foo";
|
| - o.steps = buildUnnamed491();
|
| + o.steps = buildUnnamed3378();
|
| o.waitRatioAvg = 42.0;
|
| o.waitRatioMax = 42.0;
|
| o.writeRatioAvg = 42.0;
|
| @@ -454,7 +454,7 @@ checkExplainQueryStage(api.ExplainQueryStage o) {
|
| unittest.expect(o.readRatioMax, unittest.equals(42.0));
|
| unittest.expect(o.recordsRead, unittest.equals('foo'));
|
| unittest.expect(o.recordsWritten, unittest.equals('foo'));
|
| - checkUnnamed491(o.steps);
|
| + checkUnnamed3378(o.steps);
|
| unittest.expect(o.waitRatioAvg, unittest.equals(42.0));
|
| unittest.expect(o.waitRatioMax, unittest.equals(42.0));
|
| unittest.expect(o.writeRatioAvg, unittest.equals(42.0));
|
| @@ -463,14 +463,14 @@ checkExplainQueryStage(api.ExplainQueryStage o) {
|
| buildCounterExplainQueryStage--;
|
| }
|
|
|
| -buildUnnamed492() {
|
| +buildUnnamed3379() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed492(core.List<core.String> o) {
|
| +checkUnnamed3379(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'));
|
| @@ -482,7 +482,7 @@ buildExplainQueryStep() {
|
| buildCounterExplainQueryStep++;
|
| if (buildCounterExplainQueryStep < 3) {
|
| o.kind = "foo";
|
| - o.substeps = buildUnnamed492();
|
| + o.substeps = buildUnnamed3379();
|
| }
|
| buildCounterExplainQueryStep--;
|
| return o;
|
| @@ -492,19 +492,19 @@ checkExplainQueryStep(api.ExplainQueryStep o) {
|
| buildCounterExplainQueryStep++;
|
| if (buildCounterExplainQueryStep < 3) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed492(o.substeps);
|
| + checkUnnamed3379(o.substeps);
|
| }
|
| buildCounterExplainQueryStep--;
|
| }
|
|
|
| -buildUnnamed493() {
|
| +buildUnnamed3380() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed493(core.List<core.String> o) {
|
| +checkUnnamed3380(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'));
|
| @@ -524,7 +524,7 @@ buildExternalDataConfiguration() {
|
| o.maxBadRecords = 42;
|
| o.schema = buildTableSchema();
|
| o.sourceFormat = "foo";
|
| - o.sourceUris = buildUnnamed493();
|
| + o.sourceUris = buildUnnamed3380();
|
| }
|
| buildCounterExternalDataConfiguration--;
|
| return o;
|
| @@ -542,32 +542,32 @@ checkExternalDataConfiguration(api.ExternalDataConfiguration o) {
|
| unittest.expect(o.maxBadRecords, unittest.equals(42));
|
| checkTableSchema(o.schema);
|
| unittest.expect(o.sourceFormat, unittest.equals('foo'));
|
| - checkUnnamed493(o.sourceUris);
|
| + checkUnnamed3380(o.sourceUris);
|
| }
|
| buildCounterExternalDataConfiguration--;
|
| }
|
|
|
| -buildUnnamed494() {
|
| +buildUnnamed3381() {
|
| var o = new core.List<api.ErrorProto>();
|
| o.add(buildErrorProto());
|
| o.add(buildErrorProto());
|
| return o;
|
| }
|
|
|
| -checkUnnamed494(core.List<api.ErrorProto> o) {
|
| +checkUnnamed3381(core.List<api.ErrorProto> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorProto(o[0]);
|
| checkErrorProto(o[1]);
|
| }
|
|
|
| -buildUnnamed495() {
|
| +buildUnnamed3382() {
|
| var o = new core.List<api.TableRow>();
|
| o.add(buildTableRow());
|
| o.add(buildTableRow());
|
| return o;
|
| }
|
|
|
| -checkUnnamed495(core.List<api.TableRow> o) {
|
| +checkUnnamed3382(core.List<api.TableRow> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableRow(o[0]);
|
| checkTableRow(o[1]);
|
| @@ -579,14 +579,14 @@ buildGetQueryResultsResponse() {
|
| buildCounterGetQueryResultsResponse++;
|
| if (buildCounterGetQueryResultsResponse < 3) {
|
| o.cacheHit = true;
|
| - o.errors = buildUnnamed494();
|
| + o.errors = buildUnnamed3381();
|
| o.etag = "foo";
|
| o.jobComplete = true;
|
| o.jobReference = buildJobReference();
|
| o.kind = "foo";
|
| o.numDmlAffectedRows = "foo";
|
| o.pageToken = "foo";
|
| - o.rows = buildUnnamed495();
|
| + o.rows = buildUnnamed3382();
|
| o.schema = buildTableSchema();
|
| o.totalBytesProcessed = "foo";
|
| o.totalRows = "foo";
|
| @@ -599,14 +599,14 @@ checkGetQueryResultsResponse(api.GetQueryResultsResponse o) {
|
| buildCounterGetQueryResultsResponse++;
|
| if (buildCounterGetQueryResultsResponse < 3) {
|
| unittest.expect(o.cacheHit, unittest.isTrue);
|
| - checkUnnamed494(o.errors);
|
| + checkUnnamed3381(o.errors);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.jobComplete, unittest.isTrue);
|
| checkJobReference(o.jobReference);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
|
| unittest.expect(o.pageToken, unittest.equals('foo'));
|
| - checkUnnamed495(o.rows);
|
| + checkUnnamed3382(o.rows);
|
| checkTableSchema(o.schema);
|
| unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
|
| unittest.expect(o.totalRows, unittest.equals('foo'));
|
| @@ -716,14 +716,14 @@ checkJobConfiguration(api.JobConfiguration o) {
|
| buildCounterJobConfiguration--;
|
| }
|
|
|
| -buildUnnamed496() {
|
| +buildUnnamed3383() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed496(core.List<core.String> o) {
|
| +checkUnnamed3383(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'));
|
| @@ -737,7 +737,7 @@ buildJobConfigurationExtract() {
|
| o.compression = "foo";
|
| o.destinationFormat = "foo";
|
| o.destinationUri = "foo";
|
| - o.destinationUris = buildUnnamed496();
|
| + o.destinationUris = buildUnnamed3383();
|
| o.fieldDelimiter = "foo";
|
| o.printHeader = true;
|
| o.sourceTable = buildTableReference();
|
| @@ -752,7 +752,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'));
|
| - checkUnnamed496(o.destinationUris);
|
| + checkUnnamed3383(o.destinationUris);
|
| unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
|
| unittest.expect(o.printHeader, unittest.isTrue);
|
| checkTableReference(o.sourceTable);
|
| @@ -760,27 +760,40 @@ checkJobConfigurationExtract(api.JobConfigurationExtract o) {
|
| buildCounterJobConfigurationExtract--;
|
| }
|
|
|
| -buildUnnamed497() {
|
| +buildUnnamed3384() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed497(core.List<core.String> o) {
|
| +checkUnnamed3384(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'));
|
| }
|
|
|
| -buildUnnamed498() {
|
| +buildUnnamed3385() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed498(core.List<core.String> o) {
|
| +checkUnnamed3385(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'));
|
| +}
|
| +
|
| +buildUnnamed3386() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed3386(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'));
|
| @@ -800,14 +813,15 @@ buildJobConfigurationLoad() {
|
| o.fieldDelimiter = "foo";
|
| o.ignoreUnknownValues = true;
|
| o.maxBadRecords = 42;
|
| - o.projectionFields = buildUnnamed497();
|
| + o.projectionFields = buildUnnamed3384();
|
| o.quote = "foo";
|
| o.schema = buildTableSchema();
|
| o.schemaInline = "foo";
|
| o.schemaInlineFormat = "foo";
|
| + o.schemaUpdateOptions = buildUnnamed3385();
|
| o.skipLeadingRows = 42;
|
| o.sourceFormat = "foo";
|
| - o.sourceUris = buildUnnamed498();
|
| + o.sourceUris = buildUnnamed3386();
|
| o.writeDisposition = "foo";
|
| }
|
| buildCounterJobConfigurationLoad--;
|
| @@ -826,40 +840,67 @@ checkJobConfigurationLoad(api.JobConfigurationLoad o) {
|
| unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
|
| unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
|
| unittest.expect(o.maxBadRecords, unittest.equals(42));
|
| - checkUnnamed497(o.projectionFields);
|
| + checkUnnamed3384(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'));
|
| + checkUnnamed3385(o.schemaUpdateOptions);
|
| unittest.expect(o.skipLeadingRows, unittest.equals(42));
|
| unittest.expect(o.sourceFormat, unittest.equals('foo'));
|
| - checkUnnamed498(o.sourceUris);
|
| + checkUnnamed3386(o.sourceUris);
|
| unittest.expect(o.writeDisposition, unittest.equals('foo'));
|
| }
|
| buildCounterJobConfigurationLoad--;
|
| }
|
|
|
| -buildUnnamed499() {
|
| +buildUnnamed3387() {
|
| + var o = new core.List<api.QueryParameter>();
|
| + o.add(buildQueryParameter());
|
| + o.add(buildQueryParameter());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed3387(core.List<api.QueryParameter> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkQueryParameter(o[0]);
|
| + checkQueryParameter(o[1]);
|
| +}
|
| +
|
| +buildUnnamed3388() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed3388(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'));
|
| +}
|
| +
|
| +buildUnnamed3389() {
|
| var o = new core.Map<core.String, api.ExternalDataConfiguration>();
|
| o["x"] = buildExternalDataConfiguration();
|
| o["y"] = buildExternalDataConfiguration();
|
| return o;
|
| }
|
|
|
| -checkUnnamed499(core.Map<core.String, api.ExternalDataConfiguration> o) {
|
| +checkUnnamed3389(core.Map<core.String, api.ExternalDataConfiguration> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkExternalDataConfiguration(o["x"]);
|
| checkExternalDataConfiguration(o["y"]);
|
| }
|
|
|
| -buildUnnamed500() {
|
| +buildUnnamed3390() {
|
| var o = new core.List<api.UserDefinedFunctionResource>();
|
| o.add(buildUserDefinedFunctionResource());
|
| o.add(buildUserDefinedFunctionResource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed500(core.List<api.UserDefinedFunctionResource> o) {
|
| +checkUnnamed3390(core.List<api.UserDefinedFunctionResource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserDefinedFunctionResource(o[0]);
|
| checkUserDefinedFunctionResource(o[1]);
|
| @@ -877,13 +918,16 @@ buildJobConfigurationQuery() {
|
| o.flattenResults = true;
|
| o.maximumBillingTier = 42;
|
| o.maximumBytesBilled = "foo";
|
| + o.parameterMode = "foo";
|
| o.preserveNulls = true;
|
| o.priority = "foo";
|
| o.query = "foo";
|
| - o.tableDefinitions = buildUnnamed499();
|
| + o.queryParameters = buildUnnamed3387();
|
| + o.schemaUpdateOptions = buildUnnamed3388();
|
| + o.tableDefinitions = buildUnnamed3389();
|
| o.useLegacySql = true;
|
| o.useQueryCache = true;
|
| - o.userDefinedFunctionResources = buildUnnamed500();
|
| + o.userDefinedFunctionResources = buildUnnamed3390();
|
| o.writeDisposition = "foo";
|
| }
|
| buildCounterJobConfigurationQuery--;
|
| @@ -900,26 +944,29 @@ checkJobConfigurationQuery(api.JobConfigurationQuery o) {
|
| unittest.expect(o.flattenResults, unittest.isTrue);
|
| unittest.expect(o.maximumBillingTier, unittest.equals(42));
|
| unittest.expect(o.maximumBytesBilled, unittest.equals('foo'));
|
| + unittest.expect(o.parameterMode, unittest.equals('foo'));
|
| unittest.expect(o.preserveNulls, unittest.isTrue);
|
| unittest.expect(o.priority, unittest.equals('foo'));
|
| unittest.expect(o.query, unittest.equals('foo'));
|
| - checkUnnamed499(o.tableDefinitions);
|
| + checkUnnamed3387(o.queryParameters);
|
| + checkUnnamed3388(o.schemaUpdateOptions);
|
| + checkUnnamed3389(o.tableDefinitions);
|
| unittest.expect(o.useLegacySql, unittest.isTrue);
|
| unittest.expect(o.useQueryCache, unittest.isTrue);
|
| - checkUnnamed500(o.userDefinedFunctionResources);
|
| + checkUnnamed3390(o.userDefinedFunctionResources);
|
| unittest.expect(o.writeDisposition, unittest.equals('foo'));
|
| }
|
| buildCounterJobConfigurationQuery--;
|
| }
|
|
|
| -buildUnnamed501() {
|
| +buildUnnamed3391() {
|
| var o = new core.List<api.TableReference>();
|
| o.add(buildTableReference());
|
| o.add(buildTableReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed501(core.List<api.TableReference> o) {
|
| +checkUnnamed3391(core.List<api.TableReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableReference(o[0]);
|
| checkTableReference(o[1]);
|
| @@ -933,7 +980,7 @@ buildJobConfigurationTableCopy() {
|
| o.createDisposition = "foo";
|
| o.destinationTable = buildTableReference();
|
| o.sourceTable = buildTableReference();
|
| - o.sourceTables = buildUnnamed501();
|
| + o.sourceTables = buildUnnamed3391();
|
| o.writeDisposition = "foo";
|
| }
|
| buildCounterJobConfigurationTableCopy--;
|
| @@ -946,7 +993,7 @@ checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) {
|
| unittest.expect(o.createDisposition, unittest.equals('foo'));
|
| checkTableReference(o.destinationTable);
|
| checkTableReference(o.sourceTable);
|
| - checkUnnamed501(o.sourceTables);
|
| + checkUnnamed3391(o.sourceTables);
|
| unittest.expect(o.writeDisposition, unittest.equals('foo'));
|
| }
|
| buildCounterJobConfigurationTableCopy--;
|
| @@ -987,14 +1034,14 @@ checkJobListJobs(api.JobListJobs o) {
|
| buildCounterJobListJobs--;
|
| }
|
|
|
| -buildUnnamed502() {
|
| +buildUnnamed3392() {
|
| var o = new core.List<api.JobListJobs>();
|
| o.add(buildJobListJobs());
|
| o.add(buildJobListJobs());
|
| return o;
|
| }
|
|
|
| -checkUnnamed502(core.List<api.JobListJobs> o) {
|
| +checkUnnamed3392(core.List<api.JobListJobs> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkJobListJobs(o[0]);
|
| checkJobListJobs(o[1]);
|
| @@ -1006,7 +1053,7 @@ buildJobList() {
|
| buildCounterJobList++;
|
| if (buildCounterJobList < 3) {
|
| o.etag = "foo";
|
| - o.jobs = buildUnnamed502();
|
| + o.jobs = buildUnnamed3392();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -1018,7 +1065,7 @@ checkJobList(api.JobList o) {
|
| buildCounterJobList++;
|
| if (buildCounterJobList < 3) {
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| - checkUnnamed502(o.jobs);
|
| + checkUnnamed3392(o.jobs);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| @@ -1077,32 +1124,45 @@ checkJobStatistics(api.JobStatistics o) {
|
| buildCounterJobStatistics--;
|
| }
|
|
|
| -buildUnnamed503() {
|
| +buildUnnamed3393() {
|
| var o = new core.List<api.ExplainQueryStage>();
|
| o.add(buildExplainQueryStage());
|
| o.add(buildExplainQueryStage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed503(core.List<api.ExplainQueryStage> o) {
|
| +checkUnnamed3393(core.List<api.ExplainQueryStage> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkExplainQueryStage(o[0]);
|
| checkExplainQueryStage(o[1]);
|
| }
|
|
|
| -buildUnnamed504() {
|
| +buildUnnamed3394() {
|
| var o = new core.List<api.TableReference>();
|
| o.add(buildTableReference());
|
| o.add(buildTableReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed504(core.List<api.TableReference> o) {
|
| +checkUnnamed3394(core.List<api.TableReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableReference(o[0]);
|
| checkTableReference(o[1]);
|
| }
|
|
|
| +buildUnnamed3395() {
|
| + var o = new core.List<api.QueryParameter>();
|
| + o.add(buildQueryParameter());
|
| + o.add(buildQueryParameter());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed3395(core.List<api.QueryParameter> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkQueryParameter(o[0]);
|
| + checkQueryParameter(o[1]);
|
| +}
|
| +
|
| core.int buildCounterJobStatistics2 = 0;
|
| buildJobStatistics2() {
|
| var o = new api.JobStatistics2();
|
| @@ -1111,11 +1171,12 @@ buildJobStatistics2() {
|
| o.billingTier = 42;
|
| o.cacheHit = true;
|
| o.numDmlAffectedRows = "foo";
|
| - o.queryPlan = buildUnnamed503();
|
| - o.referencedTables = buildUnnamed504();
|
| + o.queryPlan = buildUnnamed3393();
|
| + o.referencedTables = buildUnnamed3394();
|
| o.schema = buildTableSchema();
|
| o.totalBytesBilled = "foo";
|
| o.totalBytesProcessed = "foo";
|
| + o.undeclaredQueryParameters = buildUnnamed3395();
|
| }
|
| buildCounterJobStatistics2--;
|
| return o;
|
| @@ -1127,11 +1188,12 @@ checkJobStatistics2(api.JobStatistics2 o) {
|
| unittest.expect(o.billingTier, unittest.equals(42));
|
| unittest.expect(o.cacheHit, unittest.isTrue);
|
| unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
|
| - checkUnnamed503(o.queryPlan);
|
| - checkUnnamed504(o.referencedTables);
|
| + checkUnnamed3393(o.queryPlan);
|
| + checkUnnamed3394(o.referencedTables);
|
| checkTableSchema(o.schema);
|
| unittest.expect(o.totalBytesBilled, unittest.equals('foo'));
|
| unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
|
| + checkUnnamed3395(o.undeclaredQueryParameters);
|
| }
|
| buildCounterJobStatistics2--;
|
| }
|
| @@ -1161,14 +1223,14 @@ checkJobStatistics3(api.JobStatistics3 o) {
|
| buildCounterJobStatistics3--;
|
| }
|
|
|
| -buildUnnamed505() {
|
| +buildUnnamed3396() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed505(core.List<core.String> o) {
|
| +checkUnnamed3396(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'));
|
| @@ -1179,7 +1241,7 @@ buildJobStatistics4() {
|
| var o = new api.JobStatistics4();
|
| buildCounterJobStatistics4++;
|
| if (buildCounterJobStatistics4 < 3) {
|
| - o.destinationUriFileCounts = buildUnnamed505();
|
| + o.destinationUriFileCounts = buildUnnamed3396();
|
| }
|
| buildCounterJobStatistics4--;
|
| return o;
|
| @@ -1188,19 +1250,19 @@ buildJobStatistics4() {
|
| checkJobStatistics4(api.JobStatistics4 o) {
|
| buildCounterJobStatistics4++;
|
| if (buildCounterJobStatistics4 < 3) {
|
| - checkUnnamed505(o.destinationUriFileCounts);
|
| + checkUnnamed3396(o.destinationUriFileCounts);
|
| }
|
| buildCounterJobStatistics4--;
|
| }
|
|
|
| -buildUnnamed506() {
|
| +buildUnnamed3397() {
|
| var o = new core.List<api.ErrorProto>();
|
| o.add(buildErrorProto());
|
| o.add(buildErrorProto());
|
| return o;
|
| }
|
|
|
| -checkUnnamed506(core.List<api.ErrorProto> o) {
|
| +checkUnnamed3397(core.List<api.ErrorProto> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorProto(o[0]);
|
| checkErrorProto(o[1]);
|
| @@ -1212,7 +1274,7 @@ buildJobStatus() {
|
| buildCounterJobStatus++;
|
| if (buildCounterJobStatus < 3) {
|
| o.errorResult = buildErrorProto();
|
| - o.errors = buildUnnamed506();
|
| + o.errors = buildUnnamed3397();
|
| o.state = "foo";
|
| }
|
| buildCounterJobStatus--;
|
| @@ -1223,7 +1285,7 @@ checkJobStatus(api.JobStatus o) {
|
| buildCounterJobStatus++;
|
| if (buildCounterJobStatus < 3) {
|
| checkErrorProto(o.errorResult);
|
| - checkUnnamed506(o.errors);
|
| + checkUnnamed3397(o.errors);
|
| unittest.expect(o.state, unittest.equals('foo'));
|
| }
|
| buildCounterJobStatus--;
|
| @@ -1269,14 +1331,14 @@ checkProjectListProjects(api.ProjectListProjects o) {
|
| buildCounterProjectListProjects--;
|
| }
|
|
|
| -buildUnnamed507() {
|
| +buildUnnamed3398() {
|
| var o = new core.List<api.ProjectListProjects>();
|
| o.add(buildProjectListProjects());
|
| o.add(buildProjectListProjects());
|
| return o;
|
| }
|
|
|
| -checkUnnamed507(core.List<api.ProjectListProjects> o) {
|
| +checkUnnamed3398(core.List<api.ProjectListProjects> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProjectListProjects(o[0]);
|
| checkProjectListProjects(o[1]);
|
| @@ -1290,7 +1352,7 @@ buildProjectList() {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.projects = buildUnnamed507();
|
| + o.projects = buildUnnamed3398();
|
| o.totalItems = 42;
|
| }
|
| buildCounterProjectList--;
|
| @@ -1303,7 +1365,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'));
|
| - checkUnnamed507(o.projects);
|
| + checkUnnamed3398(o.projects);
|
| unittest.expect(o.totalItems, unittest.equals(42));
|
| }
|
| buildCounterProjectList--;
|
| @@ -1328,6 +1390,150 @@ checkProjectReference(api.ProjectReference o) {
|
| buildCounterProjectReference--;
|
| }
|
|
|
| +core.int buildCounterQueryParameter = 0;
|
| +buildQueryParameter() {
|
| + var o = new api.QueryParameter();
|
| + buildCounterQueryParameter++;
|
| + if (buildCounterQueryParameter < 3) {
|
| + o.name = "foo";
|
| + o.parameterType = buildQueryParameterType();
|
| + o.parameterValue = buildQueryParameterValue();
|
| + }
|
| + buildCounterQueryParameter--;
|
| + return o;
|
| +}
|
| +
|
| +checkQueryParameter(api.QueryParameter o) {
|
| + buildCounterQueryParameter++;
|
| + if (buildCounterQueryParameter < 3) {
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + checkQueryParameterType(o.parameterType);
|
| + checkQueryParameterValue(o.parameterValue);
|
| + }
|
| + buildCounterQueryParameter--;
|
| +}
|
| +
|
| +core.int buildCounterQueryParameterTypeStructTypes = 0;
|
| +buildQueryParameterTypeStructTypes() {
|
| + var o = new api.QueryParameterTypeStructTypes();
|
| + buildCounterQueryParameterTypeStructTypes++;
|
| + if (buildCounterQueryParameterTypeStructTypes < 3) {
|
| + o.description = "foo";
|
| + o.name = "foo";
|
| + o.type = buildQueryParameterType();
|
| + }
|
| + buildCounterQueryParameterTypeStructTypes--;
|
| + return o;
|
| +}
|
| +
|
| +checkQueryParameterTypeStructTypes(api.QueryParameterTypeStructTypes o) {
|
| + buildCounterQueryParameterTypeStructTypes++;
|
| + if (buildCounterQueryParameterTypeStructTypes < 3) {
|
| + unittest.expect(o.description, unittest.equals('foo'));
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + checkQueryParameterType(o.type);
|
| + }
|
| + buildCounterQueryParameterTypeStructTypes--;
|
| +}
|
| +
|
| +buildUnnamed3399() {
|
| + var o = new core.List<api.QueryParameterTypeStructTypes>();
|
| + o.add(buildQueryParameterTypeStructTypes());
|
| + o.add(buildQueryParameterTypeStructTypes());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed3399(core.List<api.QueryParameterTypeStructTypes> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkQueryParameterTypeStructTypes(o[0]);
|
| + checkQueryParameterTypeStructTypes(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterQueryParameterType = 0;
|
| +buildQueryParameterType() {
|
| + var o = new api.QueryParameterType();
|
| + buildCounterQueryParameterType++;
|
| + if (buildCounterQueryParameterType < 3) {
|
| + o.arrayType = buildQueryParameterType();
|
| + o.structTypes = buildUnnamed3399();
|
| + o.type = "foo";
|
| + }
|
| + buildCounterQueryParameterType--;
|
| + return o;
|
| +}
|
| +
|
| +checkQueryParameterType(api.QueryParameterType o) {
|
| + buildCounterQueryParameterType++;
|
| + if (buildCounterQueryParameterType < 3) {
|
| + checkQueryParameterType(o.arrayType);
|
| + checkUnnamed3399(o.structTypes);
|
| + unittest.expect(o.type, unittest.equals('foo'));
|
| + }
|
| + buildCounterQueryParameterType--;
|
| +}
|
| +
|
| +buildUnnamed3400() {
|
| + var o = new core.List<api.QueryParameterValue>();
|
| + o.add(buildQueryParameterValue());
|
| + o.add(buildQueryParameterValue());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed3400(core.List<api.QueryParameterValue> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkQueryParameterValue(o[0]);
|
| + checkQueryParameterValue(o[1]);
|
| +}
|
| +
|
| +buildUnnamed3401() {
|
| + var o = new core.List<api.QueryParameterValue>();
|
| + o.add(buildQueryParameterValue());
|
| + o.add(buildQueryParameterValue());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed3401(core.List<api.QueryParameterValue> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkQueryParameterValue(o[0]);
|
| + checkQueryParameterValue(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterQueryParameterValue = 0;
|
| +buildQueryParameterValue() {
|
| + var o = new api.QueryParameterValue();
|
| + buildCounterQueryParameterValue++;
|
| + if (buildCounterQueryParameterValue < 3) {
|
| + o.arrayValues = buildUnnamed3400();
|
| + o.structValues = buildUnnamed3401();
|
| + o.value = "foo";
|
| + }
|
| + buildCounterQueryParameterValue--;
|
| + return o;
|
| +}
|
| +
|
| +checkQueryParameterValue(api.QueryParameterValue o) {
|
| + buildCounterQueryParameterValue++;
|
| + if (buildCounterQueryParameterValue < 3) {
|
| + checkUnnamed3400(o.arrayValues);
|
| + checkUnnamed3401(o.structValues);
|
| + unittest.expect(o.value, unittest.equals('foo'));
|
| + }
|
| + buildCounterQueryParameterValue--;
|
| +}
|
| +
|
| +buildUnnamed3402() {
|
| + var o = new core.List<api.QueryParameter>();
|
| + o.add(buildQueryParameter());
|
| + o.add(buildQueryParameter());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed3402(core.List<api.QueryParameter> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkQueryParameter(o[0]);
|
| + checkQueryParameter(o[1]);
|
| +}
|
| +
|
| core.int buildCounterQueryRequest = 0;
|
| buildQueryRequest() {
|
| var o = new api.QueryRequest();
|
| @@ -1337,8 +1543,10 @@ buildQueryRequest() {
|
| o.dryRun = true;
|
| o.kind = "foo";
|
| o.maxResults = 42;
|
| + o.parameterMode = "foo";
|
| o.preserveNulls = true;
|
| o.query = "foo";
|
| + o.queryParameters = buildUnnamed3402();
|
| o.timeoutMs = 42;
|
| o.useLegacySql = true;
|
| o.useQueryCache = true;
|
| @@ -1354,8 +1562,10 @@ checkQueryRequest(api.QueryRequest o) {
|
| unittest.expect(o.dryRun, unittest.isTrue);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.maxResults, unittest.equals(42));
|
| + unittest.expect(o.parameterMode, unittest.equals('foo'));
|
| unittest.expect(o.preserveNulls, unittest.isTrue);
|
| unittest.expect(o.query, unittest.equals('foo'));
|
| + checkUnnamed3402(o.queryParameters);
|
| unittest.expect(o.timeoutMs, unittest.equals(42));
|
| unittest.expect(o.useLegacySql, unittest.isTrue);
|
| unittest.expect(o.useQueryCache, unittest.isTrue);
|
| @@ -1363,27 +1573,27 @@ checkQueryRequest(api.QueryRequest o) {
|
| buildCounterQueryRequest--;
|
| }
|
|
|
| -buildUnnamed508() {
|
| +buildUnnamed3403() {
|
| var o = new core.List<api.ErrorProto>();
|
| o.add(buildErrorProto());
|
| o.add(buildErrorProto());
|
| return o;
|
| }
|
|
|
| -checkUnnamed508(core.List<api.ErrorProto> o) {
|
| +checkUnnamed3403(core.List<api.ErrorProto> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorProto(o[0]);
|
| checkErrorProto(o[1]);
|
| }
|
|
|
| -buildUnnamed509() {
|
| +buildUnnamed3404() {
|
| var o = new core.List<api.TableRow>();
|
| o.add(buildTableRow());
|
| o.add(buildTableRow());
|
| return o;
|
| }
|
|
|
| -checkUnnamed509(core.List<api.TableRow> o) {
|
| +checkUnnamed3404(core.List<api.TableRow> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableRow(o[0]);
|
| checkTableRow(o[1]);
|
| @@ -1395,13 +1605,13 @@ buildQueryResponse() {
|
| buildCounterQueryResponse++;
|
| if (buildCounterQueryResponse < 3) {
|
| o.cacheHit = true;
|
| - o.errors = buildUnnamed508();
|
| + o.errors = buildUnnamed3403();
|
| o.jobComplete = true;
|
| o.jobReference = buildJobReference();
|
| o.kind = "foo";
|
| o.numDmlAffectedRows = "foo";
|
| o.pageToken = "foo";
|
| - o.rows = buildUnnamed509();
|
| + o.rows = buildUnnamed3404();
|
| o.schema = buildTableSchema();
|
| o.totalBytesProcessed = "foo";
|
| o.totalRows = "foo";
|
| @@ -1414,13 +1624,13 @@ checkQueryResponse(api.QueryResponse o) {
|
| buildCounterQueryResponse++;
|
| if (buildCounterQueryResponse < 3) {
|
| unittest.expect(o.cacheHit, unittest.isTrue);
|
| - checkUnnamed508(o.errors);
|
| + checkUnnamed3403(o.errors);
|
| unittest.expect(o.jobComplete, unittest.isTrue);
|
| checkJobReference(o.jobReference);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.numDmlAffectedRows, unittest.equals('foo'));
|
| unittest.expect(o.pageToken, unittest.equals('foo'));
|
| - checkUnnamed509(o.rows);
|
| + checkUnnamed3404(o.rows);
|
| checkTableSchema(o.schema);
|
| unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
|
| unittest.expect(o.totalRows, unittest.equals('foo'));
|
| @@ -1548,14 +1758,14 @@ checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) {
|
| buildCounterTableDataInsertAllRequestRows--;
|
| }
|
|
|
| -buildUnnamed510() {
|
| +buildUnnamed3405() {
|
| var o = new core.List<api.TableDataInsertAllRequestRows>();
|
| o.add(buildTableDataInsertAllRequestRows());
|
| o.add(buildTableDataInsertAllRequestRows());
|
| return o;
|
| }
|
|
|
| -checkUnnamed510(core.List<api.TableDataInsertAllRequestRows> o) {
|
| +checkUnnamed3405(core.List<api.TableDataInsertAllRequestRows> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableDataInsertAllRequestRows(o[0]);
|
| checkTableDataInsertAllRequestRows(o[1]);
|
| @@ -1568,7 +1778,7 @@ buildTableDataInsertAllRequest() {
|
| if (buildCounterTableDataInsertAllRequest < 3) {
|
| o.ignoreUnknownValues = true;
|
| o.kind = "foo";
|
| - o.rows = buildUnnamed510();
|
| + o.rows = buildUnnamed3405();
|
| o.skipInvalidRows = true;
|
| o.templateSuffix = "foo";
|
| }
|
| @@ -1581,21 +1791,21 @@ checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) {
|
| if (buildCounterTableDataInsertAllRequest < 3) {
|
| unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed510(o.rows);
|
| + checkUnnamed3405(o.rows);
|
| unittest.expect(o.skipInvalidRows, unittest.isTrue);
|
| unittest.expect(o.templateSuffix, unittest.equals('foo'));
|
| }
|
| buildCounterTableDataInsertAllRequest--;
|
| }
|
|
|
| -buildUnnamed511() {
|
| +buildUnnamed3406() {
|
| var o = new core.List<api.ErrorProto>();
|
| o.add(buildErrorProto());
|
| o.add(buildErrorProto());
|
| return o;
|
| }
|
|
|
| -checkUnnamed511(core.List<api.ErrorProto> o) {
|
| +checkUnnamed3406(core.List<api.ErrorProto> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorProto(o[0]);
|
| checkErrorProto(o[1]);
|
| @@ -1606,7 +1816,7 @@ buildTableDataInsertAllResponseInsertErrors() {
|
| var o = new api.TableDataInsertAllResponseInsertErrors();
|
| buildCounterTableDataInsertAllResponseInsertErrors++;
|
| if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
|
| - o.errors = buildUnnamed511();
|
| + o.errors = buildUnnamed3406();
|
| o.index = 42;
|
| }
|
| buildCounterTableDataInsertAllResponseInsertErrors--;
|
| @@ -1616,20 +1826,20 @@ buildTableDataInsertAllResponseInsertErrors() {
|
| checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsertErrors o) {
|
| buildCounterTableDataInsertAllResponseInsertErrors++;
|
| if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
|
| - checkUnnamed511(o.errors);
|
| + checkUnnamed3406(o.errors);
|
| unittest.expect(o.index, unittest.equals(42));
|
| }
|
| buildCounterTableDataInsertAllResponseInsertErrors--;
|
| }
|
|
|
| -buildUnnamed512() {
|
| +buildUnnamed3407() {
|
| var o = new core.List<api.TableDataInsertAllResponseInsertErrors>();
|
| o.add(buildTableDataInsertAllResponseInsertErrors());
|
| o.add(buildTableDataInsertAllResponseInsertErrors());
|
| return o;
|
| }
|
|
|
| -checkUnnamed512(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
|
| +checkUnnamed3407(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableDataInsertAllResponseInsertErrors(o[0]);
|
| checkTableDataInsertAllResponseInsertErrors(o[1]);
|
| @@ -1640,7 +1850,7 @@ buildTableDataInsertAllResponse() {
|
| var o = new api.TableDataInsertAllResponse();
|
| buildCounterTableDataInsertAllResponse++;
|
| if (buildCounterTableDataInsertAllResponse < 3) {
|
| - o.insertErrors = buildUnnamed512();
|
| + o.insertErrors = buildUnnamed3407();
|
| o.kind = "foo";
|
| }
|
| buildCounterTableDataInsertAllResponse--;
|
| @@ -1650,20 +1860,20 @@ buildTableDataInsertAllResponse() {
|
| checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) {
|
| buildCounterTableDataInsertAllResponse++;
|
| if (buildCounterTableDataInsertAllResponse < 3) {
|
| - checkUnnamed512(o.insertErrors);
|
| + checkUnnamed3407(o.insertErrors);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterTableDataInsertAllResponse--;
|
| }
|
|
|
| -buildUnnamed513() {
|
| +buildUnnamed3408() {
|
| var o = new core.List<api.TableRow>();
|
| o.add(buildTableRow());
|
| o.add(buildTableRow());
|
| return o;
|
| }
|
|
|
| -checkUnnamed513(core.List<api.TableRow> o) {
|
| +checkUnnamed3408(core.List<api.TableRow> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableRow(o[0]);
|
| checkTableRow(o[1]);
|
| @@ -1677,7 +1887,7 @@ buildTableDataList() {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.pageToken = "foo";
|
| - o.rows = buildUnnamed513();
|
| + o.rows = buildUnnamed3408();
|
| o.totalRows = "foo";
|
| }
|
| buildCounterTableDataList--;
|
| @@ -1690,20 +1900,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'));
|
| - checkUnnamed513(o.rows);
|
| + checkUnnamed3408(o.rows);
|
| unittest.expect(o.totalRows, unittest.equals('foo'));
|
| }
|
| buildCounterTableDataList--;
|
| }
|
|
|
| -buildUnnamed514() {
|
| +buildUnnamed3409() {
|
| var o = new core.List<api.TableFieldSchema>();
|
| o.add(buildTableFieldSchema());
|
| o.add(buildTableFieldSchema());
|
| return o;
|
| }
|
|
|
| -checkUnnamed514(core.List<api.TableFieldSchema> o) {
|
| +checkUnnamed3409(core.List<api.TableFieldSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableFieldSchema(o[0]);
|
| checkTableFieldSchema(o[1]);
|
| @@ -1715,7 +1925,7 @@ buildTableFieldSchema() {
|
| buildCounterTableFieldSchema++;
|
| if (buildCounterTableFieldSchema < 3) {
|
| o.description = "foo";
|
| - o.fields = buildUnnamed514();
|
| + o.fields = buildUnnamed3409();
|
| o.mode = "foo";
|
| o.name = "foo";
|
| o.type = "foo";
|
| @@ -1728,7 +1938,7 @@ checkTableFieldSchema(api.TableFieldSchema o) {
|
| buildCounterTableFieldSchema++;
|
| if (buildCounterTableFieldSchema < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed514(o.fields);
|
| + checkUnnamed3409(o.fields);
|
| unittest.expect(o.mode, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -1763,14 +1973,14 @@ checkTableListTables(api.TableListTables o) {
|
| buildCounterTableListTables--;
|
| }
|
|
|
| -buildUnnamed515() {
|
| +buildUnnamed3410() {
|
| var o = new core.List<api.TableListTables>();
|
| o.add(buildTableListTables());
|
| o.add(buildTableListTables());
|
| return o;
|
| }
|
|
|
| -checkUnnamed515(core.List<api.TableListTables> o) {
|
| +checkUnnamed3410(core.List<api.TableListTables> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableListTables(o[0]);
|
| checkTableListTables(o[1]);
|
| @@ -1784,7 +1994,7 @@ buildTableList() {
|
| o.etag = "foo";
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.tables = buildUnnamed515();
|
| + o.tables = buildUnnamed3410();
|
| o.totalItems = 42;
|
| }
|
| buildCounterTableList--;
|
| @@ -1797,7 +2007,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'));
|
| - checkUnnamed515(o.tables);
|
| + checkUnnamed3410(o.tables);
|
| unittest.expect(o.totalItems, unittest.equals(42));
|
| }
|
| buildCounterTableList--;
|
| @@ -1826,14 +2036,14 @@ checkTableReference(api.TableReference o) {
|
| buildCounterTableReference--;
|
| }
|
|
|
| -buildUnnamed516() {
|
| +buildUnnamed3411() {
|
| var o = new core.List<api.TableCell>();
|
| o.add(buildTableCell());
|
| o.add(buildTableCell());
|
| return o;
|
| }
|
|
|
| -checkUnnamed516(core.List<api.TableCell> o) {
|
| +checkUnnamed3411(core.List<api.TableCell> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableCell(o[0]);
|
| checkTableCell(o[1]);
|
| @@ -1844,7 +2054,7 @@ buildTableRow() {
|
| var o = new api.TableRow();
|
| buildCounterTableRow++;
|
| if (buildCounterTableRow < 3) {
|
| - o.f = buildUnnamed516();
|
| + o.f = buildUnnamed3411();
|
| }
|
| buildCounterTableRow--;
|
| return o;
|
| @@ -1853,19 +2063,19 @@ buildTableRow() {
|
| checkTableRow(api.TableRow o) {
|
| buildCounterTableRow++;
|
| if (buildCounterTableRow < 3) {
|
| - checkUnnamed516(o.f);
|
| + checkUnnamed3411(o.f);
|
| }
|
| buildCounterTableRow--;
|
| }
|
|
|
| -buildUnnamed517() {
|
| +buildUnnamed3412() {
|
| var o = new core.List<api.TableFieldSchema>();
|
| o.add(buildTableFieldSchema());
|
| o.add(buildTableFieldSchema());
|
| return o;
|
| }
|
|
|
| -checkUnnamed517(core.List<api.TableFieldSchema> o) {
|
| +checkUnnamed3412(core.List<api.TableFieldSchema> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTableFieldSchema(o[0]);
|
| checkTableFieldSchema(o[1]);
|
| @@ -1876,7 +2086,7 @@ buildTableSchema() {
|
| var o = new api.TableSchema();
|
| buildCounterTableSchema++;
|
| if (buildCounterTableSchema < 3) {
|
| - o.fields = buildUnnamed517();
|
| + o.fields = buildUnnamed3412();
|
| }
|
| buildCounterTableSchema--;
|
| return o;
|
| @@ -1885,7 +2095,7 @@ buildTableSchema() {
|
| checkTableSchema(api.TableSchema o) {
|
| buildCounterTableSchema++;
|
| if (buildCounterTableSchema < 3) {
|
| - checkUnnamed517(o.fields);
|
| + checkUnnamed3412(o.fields);
|
| }
|
| buildCounterTableSchema--;
|
| }
|
| @@ -1932,14 +2142,14 @@ checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) {
|
| buildCounterUserDefinedFunctionResource--;
|
| }
|
|
|
| -buildUnnamed518() {
|
| +buildUnnamed3413() {
|
| var o = new core.List<api.UserDefinedFunctionResource>();
|
| o.add(buildUserDefinedFunctionResource());
|
| o.add(buildUserDefinedFunctionResource());
|
| return o;
|
| }
|
|
|
| -checkUnnamed518(core.List<api.UserDefinedFunctionResource> o) {
|
| +checkUnnamed3413(core.List<api.UserDefinedFunctionResource> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUserDefinedFunctionResource(o[0]);
|
| checkUserDefinedFunctionResource(o[1]);
|
| @@ -1952,7 +2162,7 @@ buildViewDefinition() {
|
| if (buildCounterViewDefinition < 3) {
|
| o.query = "foo";
|
| o.useLegacySql = true;
|
| - o.userDefinedFunctionResources = buildUnnamed518();
|
| + o.userDefinedFunctionResources = buildUnnamed3413();
|
| }
|
| buildCounterViewDefinition--;
|
| return o;
|
| @@ -1963,19 +2173,19 @@ checkViewDefinition(api.ViewDefinition o) {
|
| if (buildCounterViewDefinition < 3) {
|
| unittest.expect(o.query, unittest.equals('foo'));
|
| unittest.expect(o.useLegacySql, unittest.isTrue);
|
| - checkUnnamed518(o.userDefinedFunctionResources);
|
| + checkUnnamed3413(o.userDefinedFunctionResources);
|
| }
|
| buildCounterViewDefinition--;
|
| }
|
|
|
| -buildUnnamed519() {
|
| +buildUnnamed3414() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed519(core.List<core.String> o) {
|
| +checkUnnamed3414(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'));
|
| @@ -2289,6 +2499,42 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-QueryParameter", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildQueryParameter();
|
| + var od = new api.QueryParameter.fromJson(o.toJson());
|
| + checkQueryParameter(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-QueryParameterTypeStructTypes", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildQueryParameterTypeStructTypes();
|
| + var od = new api.QueryParameterTypeStructTypes.fromJson(o.toJson());
|
| + checkQueryParameterTypeStructTypes(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-QueryParameterType", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildQueryParameterType();
|
| + var od = new api.QueryParameterType.fromJson(o.toJson());
|
| + checkQueryParameterType(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-QueryParameterValue", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildQueryParameterValue();
|
| + var od = new api.QueryParameterValue.fromJson(o.toJson());
|
| + checkQueryParameterValue(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-QueryRequest", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildQueryRequest();
|
| @@ -3070,7 +3316,7 @@ main() {
|
| var arg_maxResults = 42;
|
| var arg_pageToken = "foo";
|
| var arg_projection = "foo";
|
| - var arg_stateFilter = buildUnnamed519();
|
| + var arg_stateFilter = buildUnnamed3414();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|