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

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

Issue 2159673002: Api-roll 39: 2016-07-18 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 5 months 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 c16ddd341f142e2f067e908af587513b252f7ebb..69350240acede741f89e95a87b6afd66281e151b 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--;
}
-buildUnnamed469() {
+buildUnnamed2922() {
var o = new core.List<api.BigtableColumn>();
o.add(buildBigtableColumn());
o.add(buildBigtableColumn());
return o;
}
-checkUnnamed469(core.List<api.BigtableColumn> o) {
+checkUnnamed2922(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 = buildUnnamed469();
+ o.columns = buildUnnamed2922();
o.encoding = "foo";
o.familyId = "foo";
o.onlyReadLatest = true;
@@ -111,7 +111,7 @@ buildBigtableColumnFamily() {
checkBigtableColumnFamily(api.BigtableColumnFamily o) {
buildCounterBigtableColumnFamily++;
if (buildCounterBigtableColumnFamily < 3) {
- checkUnnamed469(o.columns);
+ checkUnnamed2922(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--;
}
-buildUnnamed470() {
+buildUnnamed2923() {
var o = new core.List<api.BigtableColumnFamily>();
o.add(buildBigtableColumnFamily());
o.add(buildBigtableColumnFamily());
return o;
}
-checkUnnamed470(core.List<api.BigtableColumnFamily> o) {
+checkUnnamed2923(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 = buildUnnamed470();
+ o.columnFamilies = buildUnnamed2923();
o.ignoreUnspecifiedColumnFamilies = true;
}
buildCounterBigtableOptions--;
@@ -148,7 +148,7 @@ buildBigtableOptions() {
checkBigtableOptions(api.BigtableOptions o) {
buildCounterBigtableOptions++;
if (buildCounterBigtableOptions < 3) {
- checkUnnamed470(o.columnFamilies);
+ checkUnnamed2923(o.columnFamilies);
unittest.expect(o.ignoreUnspecifiedColumnFamilies, unittest.isTrue);
}
buildCounterBigtableOptions--;
@@ -212,25 +212,38 @@ checkDatasetAccess(api.DatasetAccess o) {
buildCounterDatasetAccess--;
}
-buildUnnamed471() {
+buildUnnamed2924() {
var o = new core.List<api.DatasetAccess>();
o.add(buildDatasetAccess());
o.add(buildDatasetAccess());
return o;
}
-checkUnnamed471(core.List<api.DatasetAccess> o) {
+checkUnnamed2924(core.List<api.DatasetAccess> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetAccess(o[0]);
checkDatasetAccess(o[1]);
}
+buildUnnamed2925() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed2925(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'));
+}
+
core.int buildCounterDataset = 0;
buildDataset() {
var o = new api.Dataset();
buildCounterDataset++;
if (buildCounterDataset < 3) {
- o.access = buildUnnamed471();
+ o.access = buildUnnamed2924();
o.creationTime = "foo";
o.datasetReference = buildDatasetReference();
o.defaultTableExpirationMs = "foo";
@@ -239,6 +252,7 @@ buildDataset() {
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
+ o.labels = buildUnnamed2925();
o.lastModifiedTime = "foo";
o.location = "foo";
o.selfLink = "foo";
@@ -250,7 +264,7 @@ buildDataset() {
checkDataset(api.Dataset o) {
buildCounterDataset++;
if (buildCounterDataset < 3) {
- checkUnnamed471(o.access);
+ checkUnnamed2924(o.access);
unittest.expect(o.creationTime, unittest.equals('foo'));
checkDatasetReference(o.datasetReference);
unittest.expect(o.defaultTableExpirationMs, unittest.equals('foo'));
@@ -259,6 +273,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'));
+ checkUnnamed2925(o.labels);
unittest.expect(o.lastModifiedTime, unittest.equals('foo'));
unittest.expect(o.location, unittest.equals('foo'));
unittest.expect(o.selfLink, unittest.equals('foo'));
@@ -266,6 +281,19 @@ checkDataset(api.Dataset o) {
buildCounterDataset--;
}
+buildUnnamed2926() {
+ var o = new core.Map<core.String, core.String>();
+ o["x"] = "foo";
+ o["y"] = "foo";
+ return o;
+}
+
+checkUnnamed2926(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'));
+}
+
core.int buildCounterDatasetListDatasets = 0;
buildDatasetListDatasets() {
var o = new api.DatasetListDatasets();
@@ -275,6 +303,7 @@ buildDatasetListDatasets() {
o.friendlyName = "foo";
o.id = "foo";
o.kind = "foo";
+ o.labels = buildUnnamed2926();
}
buildCounterDatasetListDatasets--;
return o;
@@ -287,18 +316,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'));
+ checkUnnamed2926(o.labels);
}
buildCounterDatasetListDatasets--;
}
-buildUnnamed472() {
+buildUnnamed2927() {
var o = new core.List<api.DatasetListDatasets>();
o.add(buildDatasetListDatasets());
o.add(buildDatasetListDatasets());
return o;
}
-checkUnnamed472(core.List<api.DatasetListDatasets> o) {
+checkUnnamed2927(core.List<api.DatasetListDatasets> o) {
unittest.expect(o, unittest.hasLength(2));
checkDatasetListDatasets(o[0]);
checkDatasetListDatasets(o[1]);
@@ -309,7 +339,7 @@ buildDatasetList() {
var o = new api.DatasetList();
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- o.datasets = buildUnnamed472();
+ o.datasets = buildUnnamed2927();
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
@@ -321,7 +351,7 @@ buildDatasetList() {
checkDatasetList(api.DatasetList o) {
buildCounterDatasetList++;
if (buildCounterDatasetList < 3) {
- checkUnnamed472(o.datasets);
+ checkUnnamed2927(o.datasets);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
@@ -375,14 +405,14 @@ checkErrorProto(api.ErrorProto o) {
buildCounterErrorProto--;
}
-buildUnnamed473() {
+buildUnnamed2928() {
var o = new core.List<api.ExplainQueryStep>();
o.add(buildExplainQueryStep());
o.add(buildExplainQueryStep());
return o;
}
-checkUnnamed473(core.List<api.ExplainQueryStep> o) {
+checkUnnamed2928(core.List<api.ExplainQueryStep> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStep(o[0]);
checkExplainQueryStep(o[1]);
@@ -401,7 +431,7 @@ buildExplainQueryStage() {
o.readRatioMax = 42.0;
o.recordsRead = "foo";
o.recordsWritten = "foo";
- o.steps = buildUnnamed473();
+ o.steps = buildUnnamed2928();
o.waitRatioAvg = 42.0;
o.waitRatioMax = 42.0;
o.writeRatioAvg = 42.0;
@@ -422,7 +452,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'));
- checkUnnamed473(o.steps);
+ checkUnnamed2928(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));
@@ -431,14 +461,14 @@ checkExplainQueryStage(api.ExplainQueryStage o) {
buildCounterExplainQueryStage--;
}
-buildUnnamed474() {
+buildUnnamed2929() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed474(core.List<core.String> o) {
+checkUnnamed2929(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'));
@@ -450,7 +480,7 @@ buildExplainQueryStep() {
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
o.kind = "foo";
- o.substeps = buildUnnamed474();
+ o.substeps = buildUnnamed2929();
}
buildCounterExplainQueryStep--;
return o;
@@ -460,19 +490,19 @@ checkExplainQueryStep(api.ExplainQueryStep o) {
buildCounterExplainQueryStep++;
if (buildCounterExplainQueryStep < 3) {
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed474(o.substeps);
+ checkUnnamed2929(o.substeps);
}
buildCounterExplainQueryStep--;
}
-buildUnnamed475() {
+buildUnnamed2930() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed475(core.List<core.String> o) {
+checkUnnamed2930(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'));
@@ -492,7 +522,7 @@ buildExternalDataConfiguration() {
o.maxBadRecords = 42;
o.schema = buildTableSchema();
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed475();
+ o.sourceUris = buildUnnamed2930();
}
buildCounterExternalDataConfiguration--;
return o;
@@ -510,32 +540,32 @@ checkExternalDataConfiguration(api.ExternalDataConfiguration o) {
unittest.expect(o.maxBadRecords, unittest.equals(42));
checkTableSchema(o.schema);
unittest.expect(o.sourceFormat, unittest.equals('foo'));
- checkUnnamed475(o.sourceUris);
+ checkUnnamed2930(o.sourceUris);
}
buildCounterExternalDataConfiguration--;
}
-buildUnnamed476() {
+buildUnnamed2931() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed476(core.List<api.ErrorProto> o) {
+checkUnnamed2931(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed477() {
+buildUnnamed2932() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed477(core.List<api.TableRow> o) {
+checkUnnamed2932(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -547,13 +577,13 @@ buildGetQueryResultsResponse() {
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed476();
+ o.errors = buildUnnamed2931();
o.etag = "foo";
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed477();
+ o.rows = buildUnnamed2932();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -566,13 +596,13 @@ checkGetQueryResultsResponse(api.GetQueryResultsResponse o) {
buildCounterGetQueryResultsResponse++;
if (buildCounterGetQueryResultsResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed476(o.errors);
+ checkUnnamed2931(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.pageToken, unittest.equals('foo'));
- checkUnnamed477(o.rows);
+ checkUnnamed2932(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -682,14 +712,14 @@ checkJobConfiguration(api.JobConfiguration o) {
buildCounterJobConfiguration--;
}
-buildUnnamed478() {
+buildUnnamed2933() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed478(core.List<core.String> o) {
+checkUnnamed2933(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'));
@@ -703,7 +733,7 @@ buildJobConfigurationExtract() {
o.compression = "foo";
o.destinationFormat = "foo";
o.destinationUri = "foo";
- o.destinationUris = buildUnnamed478();
+ o.destinationUris = buildUnnamed2933();
o.fieldDelimiter = "foo";
o.printHeader = true;
o.sourceTable = buildTableReference();
@@ -718,7 +748,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'));
- checkUnnamed478(o.destinationUris);
+ checkUnnamed2933(o.destinationUris);
unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
unittest.expect(o.printHeader, unittest.isTrue);
checkTableReference(o.sourceTable);
@@ -726,27 +756,27 @@ checkJobConfigurationExtract(api.JobConfigurationExtract o) {
buildCounterJobConfigurationExtract--;
}
-buildUnnamed479() {
+buildUnnamed2934() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed479(core.List<core.String> o) {
+checkUnnamed2934(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'));
}
-buildUnnamed480() {
+buildUnnamed2935() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed480(core.List<core.String> o) {
+checkUnnamed2935(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'));
@@ -766,14 +796,14 @@ buildJobConfigurationLoad() {
o.fieldDelimiter = "foo";
o.ignoreUnknownValues = true;
o.maxBadRecords = 42;
- o.projectionFields = buildUnnamed479();
+ o.projectionFields = buildUnnamed2934();
o.quote = "foo";
o.schema = buildTableSchema();
o.schemaInline = "foo";
o.schemaInlineFormat = "foo";
o.skipLeadingRows = 42;
o.sourceFormat = "foo";
- o.sourceUris = buildUnnamed480();
+ o.sourceUris = buildUnnamed2935();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationLoad--;
@@ -792,40 +822,40 @@ checkJobConfigurationLoad(api.JobConfigurationLoad o) {
unittest.expect(o.fieldDelimiter, unittest.equals('foo'));
unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
unittest.expect(o.maxBadRecords, unittest.equals(42));
- checkUnnamed479(o.projectionFields);
+ checkUnnamed2934(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'));
- checkUnnamed480(o.sourceUris);
+ checkUnnamed2935(o.sourceUris);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationLoad--;
}
-buildUnnamed481() {
+buildUnnamed2936() {
var o = new core.Map<core.String, api.ExternalDataConfiguration>();
o["x"] = buildExternalDataConfiguration();
o["y"] = buildExternalDataConfiguration();
return o;
}
-checkUnnamed481(core.Map<core.String, api.ExternalDataConfiguration> o) {
+checkUnnamed2936(core.Map<core.String, api.ExternalDataConfiguration> o) {
unittest.expect(o, unittest.hasLength(2));
checkExternalDataConfiguration(o["x"]);
checkExternalDataConfiguration(o["y"]);
}
-buildUnnamed482() {
+buildUnnamed2937() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed482(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed2937(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -846,10 +876,10 @@ buildJobConfigurationQuery() {
o.preserveNulls = true;
o.priority = "foo";
o.query = "foo";
- o.tableDefinitions = buildUnnamed481();
+ o.tableDefinitions = buildUnnamed2936();
o.useLegacySql = true;
o.useQueryCache = true;
- o.userDefinedFunctionResources = buildUnnamed482();
+ o.userDefinedFunctionResources = buildUnnamed2937();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationQuery--;
@@ -869,23 +899,23 @@ checkJobConfigurationQuery(api.JobConfigurationQuery o) {
unittest.expect(o.preserveNulls, unittest.isTrue);
unittest.expect(o.priority, unittest.equals('foo'));
unittest.expect(o.query, unittest.equals('foo'));
- checkUnnamed481(o.tableDefinitions);
+ checkUnnamed2936(o.tableDefinitions);
unittest.expect(o.useLegacySql, unittest.isTrue);
unittest.expect(o.useQueryCache, unittest.isTrue);
- checkUnnamed482(o.userDefinedFunctionResources);
+ checkUnnamed2937(o.userDefinedFunctionResources);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationQuery--;
}
-buildUnnamed483() {
+buildUnnamed2938() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed483(core.List<api.TableReference> o) {
+checkUnnamed2938(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
@@ -899,7 +929,7 @@ buildJobConfigurationTableCopy() {
o.createDisposition = "foo";
o.destinationTable = buildTableReference();
o.sourceTable = buildTableReference();
- o.sourceTables = buildUnnamed483();
+ o.sourceTables = buildUnnamed2938();
o.writeDisposition = "foo";
}
buildCounterJobConfigurationTableCopy--;
@@ -912,7 +942,7 @@ checkJobConfigurationTableCopy(api.JobConfigurationTableCopy o) {
unittest.expect(o.createDisposition, unittest.equals('foo'));
checkTableReference(o.destinationTable);
checkTableReference(o.sourceTable);
- checkUnnamed483(o.sourceTables);
+ checkUnnamed2938(o.sourceTables);
unittest.expect(o.writeDisposition, unittest.equals('foo'));
}
buildCounterJobConfigurationTableCopy--;
@@ -953,14 +983,14 @@ checkJobListJobs(api.JobListJobs o) {
buildCounterJobListJobs--;
}
-buildUnnamed484() {
+buildUnnamed2939() {
var o = new core.List<api.JobListJobs>();
o.add(buildJobListJobs());
o.add(buildJobListJobs());
return o;
}
-checkUnnamed484(core.List<api.JobListJobs> o) {
+checkUnnamed2939(core.List<api.JobListJobs> o) {
unittest.expect(o, unittest.hasLength(2));
checkJobListJobs(o[0]);
checkJobListJobs(o[1]);
@@ -972,7 +1002,7 @@ buildJobList() {
buildCounterJobList++;
if (buildCounterJobList < 3) {
o.etag = "foo";
- o.jobs = buildUnnamed484();
+ o.jobs = buildUnnamed2939();
o.kind = "foo";
o.nextPageToken = "foo";
}
@@ -984,7 +1014,7 @@ checkJobList(api.JobList o) {
buildCounterJobList++;
if (buildCounterJobList < 3) {
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed484(o.jobs);
+ checkUnnamed2939(o.jobs);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
@@ -1043,27 +1073,27 @@ checkJobStatistics(api.JobStatistics o) {
buildCounterJobStatistics--;
}
-buildUnnamed485() {
+buildUnnamed2940() {
var o = new core.List<api.ExplainQueryStage>();
o.add(buildExplainQueryStage());
o.add(buildExplainQueryStage());
return o;
}
-checkUnnamed485(core.List<api.ExplainQueryStage> o) {
+checkUnnamed2940(core.List<api.ExplainQueryStage> o) {
unittest.expect(o, unittest.hasLength(2));
checkExplainQueryStage(o[0]);
checkExplainQueryStage(o[1]);
}
-buildUnnamed486() {
+buildUnnamed2941() {
var o = new core.List<api.TableReference>();
o.add(buildTableReference());
o.add(buildTableReference());
return o;
}
-checkUnnamed486(core.List<api.TableReference> o) {
+checkUnnamed2941(core.List<api.TableReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableReference(o[0]);
checkTableReference(o[1]);
@@ -1076,8 +1106,8 @@ buildJobStatistics2() {
if (buildCounterJobStatistics2 < 3) {
o.billingTier = 42;
o.cacheHit = true;
- o.queryPlan = buildUnnamed485();
- o.referencedTables = buildUnnamed486();
+ o.queryPlan = buildUnnamed2940();
+ o.referencedTables = buildUnnamed2941();
o.schema = buildTableSchema();
o.totalBytesBilled = "foo";
o.totalBytesProcessed = "foo";
@@ -1091,8 +1121,8 @@ checkJobStatistics2(api.JobStatistics2 o) {
if (buildCounterJobStatistics2 < 3) {
unittest.expect(o.billingTier, unittest.equals(42));
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed485(o.queryPlan);
- checkUnnamed486(o.referencedTables);
+ checkUnnamed2940(o.queryPlan);
+ checkUnnamed2941(o.referencedTables);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesBilled, unittest.equals('foo'));
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
@@ -1125,14 +1155,14 @@ checkJobStatistics3(api.JobStatistics3 o) {
buildCounterJobStatistics3--;
}
-buildUnnamed487() {
+buildUnnamed2942() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed487(core.List<core.String> o) {
+checkUnnamed2942(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'));
@@ -1143,7 +1173,7 @@ buildJobStatistics4() {
var o = new api.JobStatistics4();
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- o.destinationUriFileCounts = buildUnnamed487();
+ o.destinationUriFileCounts = buildUnnamed2942();
}
buildCounterJobStatistics4--;
return o;
@@ -1152,19 +1182,19 @@ buildJobStatistics4() {
checkJobStatistics4(api.JobStatistics4 o) {
buildCounterJobStatistics4++;
if (buildCounterJobStatistics4 < 3) {
- checkUnnamed487(o.destinationUriFileCounts);
+ checkUnnamed2942(o.destinationUriFileCounts);
}
buildCounterJobStatistics4--;
}
-buildUnnamed488() {
+buildUnnamed2943() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed488(core.List<api.ErrorProto> o) {
+checkUnnamed2943(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -1176,7 +1206,7 @@ buildJobStatus() {
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
o.errorResult = buildErrorProto();
- o.errors = buildUnnamed488();
+ o.errors = buildUnnamed2943();
o.state = "foo";
}
buildCounterJobStatus--;
@@ -1187,7 +1217,7 @@ checkJobStatus(api.JobStatus o) {
buildCounterJobStatus++;
if (buildCounterJobStatus < 3) {
checkErrorProto(o.errorResult);
- checkUnnamed488(o.errors);
+ checkUnnamed2943(o.errors);
unittest.expect(o.state, unittest.equals('foo'));
}
buildCounterJobStatus--;
@@ -1233,14 +1263,14 @@ checkProjectListProjects(api.ProjectListProjects o) {
buildCounterProjectListProjects--;
}
-buildUnnamed489() {
+buildUnnamed2944() {
var o = new core.List<api.ProjectListProjects>();
o.add(buildProjectListProjects());
o.add(buildProjectListProjects());
return o;
}
-checkUnnamed489(core.List<api.ProjectListProjects> o) {
+checkUnnamed2944(core.List<api.ProjectListProjects> o) {
unittest.expect(o, unittest.hasLength(2));
checkProjectListProjects(o[0]);
checkProjectListProjects(o[1]);
@@ -1254,7 +1284,7 @@ buildProjectList() {
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.projects = buildUnnamed489();
+ o.projects = buildUnnamed2944();
o.totalItems = 42;
}
buildCounterProjectList--;
@@ -1267,7 +1297,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'));
- checkUnnamed489(o.projects);
+ checkUnnamed2944(o.projects);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterProjectList--;
@@ -1327,27 +1357,27 @@ checkQueryRequest(api.QueryRequest o) {
buildCounterQueryRequest--;
}
-buildUnnamed490() {
+buildUnnamed2945() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed490(core.List<api.ErrorProto> o) {
+checkUnnamed2945(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
}
-buildUnnamed491() {
+buildUnnamed2946() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed491(core.List<api.TableRow> o) {
+checkUnnamed2946(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -1359,12 +1389,12 @@ buildQueryResponse() {
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
o.cacheHit = true;
- o.errors = buildUnnamed490();
+ o.errors = buildUnnamed2945();
o.jobComplete = true;
o.jobReference = buildJobReference();
o.kind = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed491();
+ o.rows = buildUnnamed2946();
o.schema = buildTableSchema();
o.totalBytesProcessed = "foo";
o.totalRows = "foo";
@@ -1377,12 +1407,12 @@ checkQueryResponse(api.QueryResponse o) {
buildCounterQueryResponse++;
if (buildCounterQueryResponse < 3) {
unittest.expect(o.cacheHit, unittest.isTrue);
- checkUnnamed490(o.errors);
+ checkUnnamed2945(o.errors);
unittest.expect(o.jobComplete, unittest.isTrue);
checkJobReference(o.jobReference);
unittest.expect(o.kind, unittest.equals('foo'));
unittest.expect(o.pageToken, unittest.equals('foo'));
- checkUnnamed491(o.rows);
+ checkUnnamed2946(o.rows);
checkTableSchema(o.schema);
unittest.expect(o.totalBytesProcessed, unittest.equals('foo'));
unittest.expect(o.totalRows, unittest.equals('foo'));
@@ -1510,14 +1540,14 @@ checkTableDataInsertAllRequestRows(api.TableDataInsertAllRequestRows o) {
buildCounterTableDataInsertAllRequestRows--;
}
-buildUnnamed492() {
+buildUnnamed2947() {
var o = new core.List<api.TableDataInsertAllRequestRows>();
o.add(buildTableDataInsertAllRequestRows());
o.add(buildTableDataInsertAllRequestRows());
return o;
}
-checkUnnamed492(core.List<api.TableDataInsertAllRequestRows> o) {
+checkUnnamed2947(core.List<api.TableDataInsertAllRequestRows> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllRequestRows(o[0]);
checkTableDataInsertAllRequestRows(o[1]);
@@ -1530,7 +1560,7 @@ buildTableDataInsertAllRequest() {
if (buildCounterTableDataInsertAllRequest < 3) {
o.ignoreUnknownValues = true;
o.kind = "foo";
- o.rows = buildUnnamed492();
+ o.rows = buildUnnamed2947();
o.skipInvalidRows = true;
o.templateSuffix = "foo";
}
@@ -1543,21 +1573,21 @@ checkTableDataInsertAllRequest(api.TableDataInsertAllRequest o) {
if (buildCounterTableDataInsertAllRequest < 3) {
unittest.expect(o.ignoreUnknownValues, unittest.isTrue);
unittest.expect(o.kind, unittest.equals('foo'));
- checkUnnamed492(o.rows);
+ checkUnnamed2947(o.rows);
unittest.expect(o.skipInvalidRows, unittest.isTrue);
unittest.expect(o.templateSuffix, unittest.equals('foo'));
}
buildCounterTableDataInsertAllRequest--;
}
-buildUnnamed493() {
+buildUnnamed2948() {
var o = new core.List<api.ErrorProto>();
o.add(buildErrorProto());
o.add(buildErrorProto());
return o;
}
-checkUnnamed493(core.List<api.ErrorProto> o) {
+checkUnnamed2948(core.List<api.ErrorProto> o) {
unittest.expect(o, unittest.hasLength(2));
checkErrorProto(o[0]);
checkErrorProto(o[1]);
@@ -1568,7 +1598,7 @@ buildTableDataInsertAllResponseInsertErrors() {
var o = new api.TableDataInsertAllResponseInsertErrors();
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- o.errors = buildUnnamed493();
+ o.errors = buildUnnamed2948();
o.index = 42;
}
buildCounterTableDataInsertAllResponseInsertErrors--;
@@ -1578,20 +1608,20 @@ buildTableDataInsertAllResponseInsertErrors() {
checkTableDataInsertAllResponseInsertErrors(api.TableDataInsertAllResponseInsertErrors o) {
buildCounterTableDataInsertAllResponseInsertErrors++;
if (buildCounterTableDataInsertAllResponseInsertErrors < 3) {
- checkUnnamed493(o.errors);
+ checkUnnamed2948(o.errors);
unittest.expect(o.index, unittest.equals(42));
}
buildCounterTableDataInsertAllResponseInsertErrors--;
}
-buildUnnamed494() {
+buildUnnamed2949() {
var o = new core.List<api.TableDataInsertAllResponseInsertErrors>();
o.add(buildTableDataInsertAllResponseInsertErrors());
o.add(buildTableDataInsertAllResponseInsertErrors());
return o;
}
-checkUnnamed494(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
+checkUnnamed2949(core.List<api.TableDataInsertAllResponseInsertErrors> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableDataInsertAllResponseInsertErrors(o[0]);
checkTableDataInsertAllResponseInsertErrors(o[1]);
@@ -1602,7 +1632,7 @@ buildTableDataInsertAllResponse() {
var o = new api.TableDataInsertAllResponse();
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- o.insertErrors = buildUnnamed494();
+ o.insertErrors = buildUnnamed2949();
o.kind = "foo";
}
buildCounterTableDataInsertAllResponse--;
@@ -1612,20 +1642,20 @@ buildTableDataInsertAllResponse() {
checkTableDataInsertAllResponse(api.TableDataInsertAllResponse o) {
buildCounterTableDataInsertAllResponse++;
if (buildCounterTableDataInsertAllResponse < 3) {
- checkUnnamed494(o.insertErrors);
+ checkUnnamed2949(o.insertErrors);
unittest.expect(o.kind, unittest.equals('foo'));
}
buildCounterTableDataInsertAllResponse--;
}
-buildUnnamed495() {
+buildUnnamed2950() {
var o = new core.List<api.TableRow>();
o.add(buildTableRow());
o.add(buildTableRow());
return o;
}
-checkUnnamed495(core.List<api.TableRow> o) {
+checkUnnamed2950(core.List<api.TableRow> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableRow(o[0]);
checkTableRow(o[1]);
@@ -1639,7 +1669,7 @@ buildTableDataList() {
o.etag = "foo";
o.kind = "foo";
o.pageToken = "foo";
- o.rows = buildUnnamed495();
+ o.rows = buildUnnamed2950();
o.totalRows = "foo";
}
buildCounterTableDataList--;
@@ -1652,20 +1682,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'));
- checkUnnamed495(o.rows);
+ checkUnnamed2950(o.rows);
unittest.expect(o.totalRows, unittest.equals('foo'));
}
buildCounterTableDataList--;
}
-buildUnnamed496() {
+buildUnnamed2951() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed496(core.List<api.TableFieldSchema> o) {
+checkUnnamed2951(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -1677,7 +1707,7 @@ buildTableFieldSchema() {
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
o.description = "foo";
- o.fields = buildUnnamed496();
+ o.fields = buildUnnamed2951();
o.mode = "foo";
o.name = "foo";
o.type = "foo";
@@ -1690,7 +1720,7 @@ checkTableFieldSchema(api.TableFieldSchema o) {
buildCounterTableFieldSchema++;
if (buildCounterTableFieldSchema < 3) {
unittest.expect(o.description, unittest.equals('foo'));
- checkUnnamed496(o.fields);
+ checkUnnamed2951(o.fields);
unittest.expect(o.mode, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.type, unittest.equals('foo'));
@@ -1725,14 +1755,14 @@ checkTableListTables(api.TableListTables o) {
buildCounterTableListTables--;
}
-buildUnnamed497() {
+buildUnnamed2952() {
var o = new core.List<api.TableListTables>();
o.add(buildTableListTables());
o.add(buildTableListTables());
return o;
}
-checkUnnamed497(core.List<api.TableListTables> o) {
+checkUnnamed2952(core.List<api.TableListTables> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableListTables(o[0]);
checkTableListTables(o[1]);
@@ -1746,7 +1776,7 @@ buildTableList() {
o.etag = "foo";
o.kind = "foo";
o.nextPageToken = "foo";
- o.tables = buildUnnamed497();
+ o.tables = buildUnnamed2952();
o.totalItems = 42;
}
buildCounterTableList--;
@@ -1759,7 +1789,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'));
- checkUnnamed497(o.tables);
+ checkUnnamed2952(o.tables);
unittest.expect(o.totalItems, unittest.equals(42));
}
buildCounterTableList--;
@@ -1788,14 +1818,14 @@ checkTableReference(api.TableReference o) {
buildCounterTableReference--;
}
-buildUnnamed498() {
+buildUnnamed2953() {
var o = new core.List<api.TableCell>();
o.add(buildTableCell());
o.add(buildTableCell());
return o;
}
-checkUnnamed498(core.List<api.TableCell> o) {
+checkUnnamed2953(core.List<api.TableCell> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableCell(o[0]);
checkTableCell(o[1]);
@@ -1806,7 +1836,7 @@ buildTableRow() {
var o = new api.TableRow();
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- o.f = buildUnnamed498();
+ o.f = buildUnnamed2953();
}
buildCounterTableRow--;
return o;
@@ -1815,19 +1845,19 @@ buildTableRow() {
checkTableRow(api.TableRow o) {
buildCounterTableRow++;
if (buildCounterTableRow < 3) {
- checkUnnamed498(o.f);
+ checkUnnamed2953(o.f);
}
buildCounterTableRow--;
}
-buildUnnamed499() {
+buildUnnamed2954() {
var o = new core.List<api.TableFieldSchema>();
o.add(buildTableFieldSchema());
o.add(buildTableFieldSchema());
return o;
}
-checkUnnamed499(core.List<api.TableFieldSchema> o) {
+checkUnnamed2954(core.List<api.TableFieldSchema> o) {
unittest.expect(o, unittest.hasLength(2));
checkTableFieldSchema(o[0]);
checkTableFieldSchema(o[1]);
@@ -1838,7 +1868,7 @@ buildTableSchema() {
var o = new api.TableSchema();
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- o.fields = buildUnnamed499();
+ o.fields = buildUnnamed2954();
}
buildCounterTableSchema--;
return o;
@@ -1847,7 +1877,7 @@ buildTableSchema() {
checkTableSchema(api.TableSchema o) {
buildCounterTableSchema++;
if (buildCounterTableSchema < 3) {
- checkUnnamed499(o.fields);
+ checkUnnamed2954(o.fields);
}
buildCounterTableSchema--;
}
@@ -1894,14 +1924,14 @@ checkUserDefinedFunctionResource(api.UserDefinedFunctionResource o) {
buildCounterUserDefinedFunctionResource--;
}
-buildUnnamed500() {
+buildUnnamed2955() {
var o = new core.List<api.UserDefinedFunctionResource>();
o.add(buildUserDefinedFunctionResource());
o.add(buildUserDefinedFunctionResource());
return o;
}
-checkUnnamed500(core.List<api.UserDefinedFunctionResource> o) {
+checkUnnamed2955(core.List<api.UserDefinedFunctionResource> o) {
unittest.expect(o, unittest.hasLength(2));
checkUserDefinedFunctionResource(o[0]);
checkUserDefinedFunctionResource(o[1]);
@@ -1914,7 +1944,7 @@ buildViewDefinition() {
if (buildCounterViewDefinition < 3) {
o.query = "foo";
o.useLegacySql = true;
- o.userDefinedFunctionResources = buildUnnamed500();
+ o.userDefinedFunctionResources = buildUnnamed2955();
}
buildCounterViewDefinition--;
return o;
@@ -1925,19 +1955,19 @@ checkViewDefinition(api.ViewDefinition o) {
if (buildCounterViewDefinition < 3) {
unittest.expect(o.query, unittest.equals('foo'));
unittest.expect(o.useLegacySql, unittest.isTrue);
- checkUnnamed500(o.userDefinedFunctionResources);
+ checkUnnamed2955(o.userDefinedFunctionResources);
}
buildCounterViewDefinition--;
}
-buildUnnamed501() {
+buildUnnamed2956() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed501(core.List<core.String> o) {
+checkUnnamed2956(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'));
@@ -2600,6 +2630,7 @@ main() {
api.DatasetsResourceApi res = new api.BigqueryApi(mock).datasets;
var arg_projectId = "foo";
var arg_all = true;
+ var arg_filter = "foo";
var arg_maxResults = 42;
var arg_pageToken = "foo";
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
@@ -2638,6 +2669,7 @@ main() {
}
}
unittest.expect(queryMap["all"].first, unittest.equals("$arg_all"));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
@@ -2648,7 +2680,7 @@ main() {
var resp = convert.JSON.encode(buildDatasetList());
return new async.Future.value(stringResponse(200, h, resp));
}), true);
- res.list(arg_projectId, all: arg_all, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.DatasetList response) {
+ res.list(arg_projectId, all: arg_all, filter: arg_filter, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.DatasetList response) {
checkDatasetList(response);
})));
});
@@ -3030,7 +3062,7 @@ main() {
var arg_maxResults = 42;
var arg_pageToken = "foo";
var arg_projection = "foo";
- var arg_stateFilter = buildUnnamed501();
+ var arg_stateFilter = buildUnnamed2956();
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