| Index: generated/googleapis/test/datastore/v1_test.dart
|
| diff --git a/generated/googleapis/test/datastore/v1_test.dart b/generated/googleapis/test/datastore/v1_test.dart
|
| index c16c9759450bd6e0c8676db7eff100db55bc1e5d..7750291e8733aa429e1944ea400cdac184163b35 100644
|
| --- a/generated/googleapis/test/datastore/v1_test.dart
|
| +++ b/generated/googleapis/test/datastore/v1_test.dart
|
| @@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed587() {
|
| +buildUnnamed573() {
|
| var o = new core.List<api.Key>();
|
| o.add(buildKey());
|
| o.add(buildKey());
|
| return o;
|
| }
|
|
|
| -checkUnnamed587(core.List<api.Key> o) {
|
| +checkUnnamed573(core.List<api.Key> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkKey(o[0]);
|
| checkKey(o[1]);
|
| @@ -69,7 +69,7 @@ buildAllocateIdsRequest() {
|
| var o = new api.AllocateIdsRequest();
|
| buildCounterAllocateIdsRequest++;
|
| if (buildCounterAllocateIdsRequest < 3) {
|
| - o.keys = buildUnnamed587();
|
| + o.keys = buildUnnamed573();
|
| }
|
| buildCounterAllocateIdsRequest--;
|
| return o;
|
| @@ -78,19 +78,19 @@ buildAllocateIdsRequest() {
|
| checkAllocateIdsRequest(api.AllocateIdsRequest o) {
|
| buildCounterAllocateIdsRequest++;
|
| if (buildCounterAllocateIdsRequest < 3) {
|
| - checkUnnamed587(o.keys);
|
| + checkUnnamed573(o.keys);
|
| }
|
| buildCounterAllocateIdsRequest--;
|
| }
|
|
|
| -buildUnnamed588() {
|
| +buildUnnamed574() {
|
| var o = new core.List<api.Key>();
|
| o.add(buildKey());
|
| o.add(buildKey());
|
| return o;
|
| }
|
|
|
| -checkUnnamed588(core.List<api.Key> o) {
|
| +checkUnnamed574(core.List<api.Key> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkKey(o[0]);
|
| checkKey(o[1]);
|
| @@ -101,7 +101,7 @@ buildAllocateIdsResponse() {
|
| var o = new api.AllocateIdsResponse();
|
| buildCounterAllocateIdsResponse++;
|
| if (buildCounterAllocateIdsResponse < 3) {
|
| - o.keys = buildUnnamed588();
|
| + o.keys = buildUnnamed574();
|
| }
|
| buildCounterAllocateIdsResponse--;
|
| return o;
|
| @@ -110,19 +110,19 @@ buildAllocateIdsResponse() {
|
| checkAllocateIdsResponse(api.AllocateIdsResponse o) {
|
| buildCounterAllocateIdsResponse++;
|
| if (buildCounterAllocateIdsResponse < 3) {
|
| - checkUnnamed588(o.keys);
|
| + checkUnnamed574(o.keys);
|
| }
|
| buildCounterAllocateIdsResponse--;
|
| }
|
|
|
| -buildUnnamed589() {
|
| +buildUnnamed575() {
|
| var o = new core.List<api.Value>();
|
| o.add(buildValue());
|
| o.add(buildValue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed589(core.List<api.Value> o) {
|
| +checkUnnamed575(core.List<api.Value> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkValue(o[0]);
|
| checkValue(o[1]);
|
| @@ -133,7 +133,7 @@ buildArrayValue() {
|
| var o = new api.ArrayValue();
|
| buildCounterArrayValue++;
|
| if (buildCounterArrayValue < 3) {
|
| - o.values = buildUnnamed589();
|
| + o.values = buildUnnamed575();
|
| }
|
| buildCounterArrayValue--;
|
| return o;
|
| @@ -142,7 +142,7 @@ buildArrayValue() {
|
| checkArrayValue(api.ArrayValue o) {
|
| buildCounterArrayValue++;
|
| if (buildCounterArrayValue < 3) {
|
| - checkUnnamed589(o.values);
|
| + checkUnnamed575(o.values);
|
| }
|
| buildCounterArrayValue--;
|
| }
|
| @@ -183,14 +183,14 @@ checkBeginTransactionResponse(api.BeginTransactionResponse o) {
|
| buildCounterBeginTransactionResponse--;
|
| }
|
|
|
| -buildUnnamed590() {
|
| +buildUnnamed576() {
|
| var o = new core.List<api.Mutation>();
|
| o.add(buildMutation());
|
| o.add(buildMutation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed590(core.List<api.Mutation> o) {
|
| +checkUnnamed576(core.List<api.Mutation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMutation(o[0]);
|
| checkMutation(o[1]);
|
| @@ -202,7 +202,7 @@ buildCommitRequest() {
|
| buildCounterCommitRequest++;
|
| if (buildCounterCommitRequest < 3) {
|
| o.mode = "foo";
|
| - o.mutations = buildUnnamed590();
|
| + o.mutations = buildUnnamed576();
|
| o.transaction = "foo";
|
| }
|
| buildCounterCommitRequest--;
|
| @@ -213,20 +213,20 @@ checkCommitRequest(api.CommitRequest o) {
|
| buildCounterCommitRequest++;
|
| if (buildCounterCommitRequest < 3) {
|
| unittest.expect(o.mode, unittest.equals('foo'));
|
| - checkUnnamed590(o.mutations);
|
| + checkUnnamed576(o.mutations);
|
| unittest.expect(o.transaction, unittest.equals('foo'));
|
| }
|
| buildCounterCommitRequest--;
|
| }
|
|
|
| -buildUnnamed591() {
|
| +buildUnnamed577() {
|
| var o = new core.List<api.MutationResult>();
|
| o.add(buildMutationResult());
|
| o.add(buildMutationResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed591(core.List<api.MutationResult> o) {
|
| +checkUnnamed577(core.List<api.MutationResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMutationResult(o[0]);
|
| checkMutationResult(o[1]);
|
| @@ -238,7 +238,7 @@ buildCommitResponse() {
|
| buildCounterCommitResponse++;
|
| if (buildCounterCommitResponse < 3) {
|
| o.indexUpdates = 42;
|
| - o.mutationResults = buildUnnamed591();
|
| + o.mutationResults = buildUnnamed577();
|
| }
|
| buildCounterCommitResponse--;
|
| return o;
|
| @@ -248,19 +248,19 @@ checkCommitResponse(api.CommitResponse o) {
|
| buildCounterCommitResponse++;
|
| if (buildCounterCommitResponse < 3) {
|
| unittest.expect(o.indexUpdates, unittest.equals(42));
|
| - checkUnnamed591(o.mutationResults);
|
| + checkUnnamed577(o.mutationResults);
|
| }
|
| buildCounterCommitResponse--;
|
| }
|
|
|
| -buildUnnamed592() {
|
| +buildUnnamed578() {
|
| var o = new core.List<api.Filter>();
|
| o.add(buildFilter());
|
| o.add(buildFilter());
|
| return o;
|
| }
|
|
|
| -checkUnnamed592(core.List<api.Filter> o) {
|
| +checkUnnamed578(core.List<api.Filter> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFilter(o[0]);
|
| checkFilter(o[1]);
|
| @@ -271,7 +271,7 @@ buildCompositeFilter() {
|
| var o = new api.CompositeFilter();
|
| buildCounterCompositeFilter++;
|
| if (buildCounterCompositeFilter < 3) {
|
| - o.filters = buildUnnamed592();
|
| + o.filters = buildUnnamed578();
|
| o.op = "foo";
|
| }
|
| buildCounterCompositeFilter--;
|
| @@ -281,20 +281,20 @@ buildCompositeFilter() {
|
| checkCompositeFilter(api.CompositeFilter o) {
|
| buildCounterCompositeFilter++;
|
| if (buildCounterCompositeFilter < 3) {
|
| - checkUnnamed592(o.filters);
|
| + checkUnnamed578(o.filters);
|
| unittest.expect(o.op, unittest.equals('foo'));
|
| }
|
| buildCounterCompositeFilter--;
|
| }
|
|
|
| -buildUnnamed593() {
|
| +buildUnnamed579() {
|
| var o = new core.Map<core.String, api.Value>();
|
| o["x"] = buildValue();
|
| o["y"] = buildValue();
|
| return o;
|
| }
|
|
|
| -checkUnnamed593(core.Map<core.String, api.Value> o) {
|
| +checkUnnamed579(core.Map<core.String, api.Value> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkValue(o["x"]);
|
| checkValue(o["y"]);
|
| @@ -306,7 +306,7 @@ buildEntity() {
|
| buildCounterEntity++;
|
| if (buildCounterEntity < 3) {
|
| o.key = buildKey();
|
| - o.properties = buildUnnamed593();
|
| + o.properties = buildUnnamed579();
|
| }
|
| buildCounterEntity--;
|
| return o;
|
| @@ -316,7 +316,7 @@ checkEntity(api.Entity o) {
|
| buildCounterEntity++;
|
| if (buildCounterEntity < 3) {
|
| checkKey(o.key);
|
| - checkUnnamed593(o.properties);
|
| + checkUnnamed579(o.properties);
|
| }
|
| buildCounterEntity--;
|
| }
|
| @@ -365,27 +365,27 @@ checkFilter(api.Filter o) {
|
| buildCounterFilter--;
|
| }
|
|
|
| -buildUnnamed594() {
|
| +buildUnnamed580() {
|
| var o = new core.Map<core.String, api.GqlQueryParameter>();
|
| o["x"] = buildGqlQueryParameter();
|
| o["y"] = buildGqlQueryParameter();
|
| return o;
|
| }
|
|
|
| -checkUnnamed594(core.Map<core.String, api.GqlQueryParameter> o) {
|
| +checkUnnamed580(core.Map<core.String, api.GqlQueryParameter> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGqlQueryParameter(o["x"]);
|
| checkGqlQueryParameter(o["y"]);
|
| }
|
|
|
| -buildUnnamed595() {
|
| +buildUnnamed581() {
|
| var o = new core.List<api.GqlQueryParameter>();
|
| o.add(buildGqlQueryParameter());
|
| o.add(buildGqlQueryParameter());
|
| return o;
|
| }
|
|
|
| -checkUnnamed595(core.List<api.GqlQueryParameter> o) {
|
| +checkUnnamed581(core.List<api.GqlQueryParameter> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkGqlQueryParameter(o[0]);
|
| checkGqlQueryParameter(o[1]);
|
| @@ -397,8 +397,8 @@ buildGqlQuery() {
|
| buildCounterGqlQuery++;
|
| if (buildCounterGqlQuery < 3) {
|
| o.allowLiterals = true;
|
| - o.namedBindings = buildUnnamed594();
|
| - o.positionalBindings = buildUnnamed595();
|
| + o.namedBindings = buildUnnamed580();
|
| + o.positionalBindings = buildUnnamed581();
|
| o.queryString = "foo";
|
| }
|
| buildCounterGqlQuery--;
|
| @@ -409,8 +409,8 @@ checkGqlQuery(api.GqlQuery o) {
|
| buildCounterGqlQuery++;
|
| if (buildCounterGqlQuery < 3) {
|
| unittest.expect(o.allowLiterals, unittest.isTrue);
|
| - checkUnnamed594(o.namedBindings);
|
| - checkUnnamed595(o.positionalBindings);
|
| + checkUnnamed580(o.namedBindings);
|
| + checkUnnamed581(o.positionalBindings);
|
| unittest.expect(o.queryString, unittest.equals('foo'));
|
| }
|
| buildCounterGqlQuery--;
|
| @@ -437,14 +437,14 @@ checkGqlQueryParameter(api.GqlQueryParameter o) {
|
| buildCounterGqlQueryParameter--;
|
| }
|
|
|
| -buildUnnamed596() {
|
| +buildUnnamed582() {
|
| var o = new core.List<api.PathElement>();
|
| o.add(buildPathElement());
|
| o.add(buildPathElement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed596(core.List<api.PathElement> o) {
|
| +checkUnnamed582(core.List<api.PathElement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPathElement(o[0]);
|
| checkPathElement(o[1]);
|
| @@ -456,7 +456,7 @@ buildKey() {
|
| buildCounterKey++;
|
| if (buildCounterKey < 3) {
|
| o.partitionId = buildPartitionId();
|
| - o.path = buildUnnamed596();
|
| + o.path = buildUnnamed582();
|
| }
|
| buildCounterKey--;
|
| return o;
|
| @@ -466,7 +466,7 @@ checkKey(api.Key o) {
|
| buildCounterKey++;
|
| if (buildCounterKey < 3) {
|
| checkPartitionId(o.partitionId);
|
| - checkUnnamed596(o.path);
|
| + checkUnnamed582(o.path);
|
| }
|
| buildCounterKey--;
|
| }
|
| @@ -511,14 +511,14 @@ checkLatLng(api.LatLng o) {
|
| buildCounterLatLng--;
|
| }
|
|
|
| -buildUnnamed597() {
|
| +buildUnnamed583() {
|
| var o = new core.List<api.Key>();
|
| o.add(buildKey());
|
| o.add(buildKey());
|
| return o;
|
| }
|
|
|
| -checkUnnamed597(core.List<api.Key> o) {
|
| +checkUnnamed583(core.List<api.Key> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkKey(o[0]);
|
| checkKey(o[1]);
|
| @@ -529,7 +529,7 @@ buildLookupRequest() {
|
| var o = new api.LookupRequest();
|
| buildCounterLookupRequest++;
|
| if (buildCounterLookupRequest < 3) {
|
| - o.keys = buildUnnamed597();
|
| + o.keys = buildUnnamed583();
|
| o.readOptions = buildReadOptions();
|
| }
|
| buildCounterLookupRequest--;
|
| @@ -539,46 +539,46 @@ buildLookupRequest() {
|
| checkLookupRequest(api.LookupRequest o) {
|
| buildCounterLookupRequest++;
|
| if (buildCounterLookupRequest < 3) {
|
| - checkUnnamed597(o.keys);
|
| + checkUnnamed583(o.keys);
|
| checkReadOptions(o.readOptions);
|
| }
|
| buildCounterLookupRequest--;
|
| }
|
|
|
| -buildUnnamed598() {
|
| +buildUnnamed584() {
|
| var o = new core.List<api.Key>();
|
| o.add(buildKey());
|
| o.add(buildKey());
|
| return o;
|
| }
|
|
|
| -checkUnnamed598(core.List<api.Key> o) {
|
| +checkUnnamed584(core.List<api.Key> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkKey(o[0]);
|
| checkKey(o[1]);
|
| }
|
|
|
| -buildUnnamed599() {
|
| +buildUnnamed585() {
|
| var o = new core.List<api.EntityResult>();
|
| o.add(buildEntityResult());
|
| o.add(buildEntityResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed599(core.List<api.EntityResult> o) {
|
| +checkUnnamed585(core.List<api.EntityResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEntityResult(o[0]);
|
| checkEntityResult(o[1]);
|
| }
|
|
|
| -buildUnnamed600() {
|
| +buildUnnamed586() {
|
| var o = new core.List<api.EntityResult>();
|
| o.add(buildEntityResult());
|
| o.add(buildEntityResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed600(core.List<api.EntityResult> o) {
|
| +checkUnnamed586(core.List<api.EntityResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEntityResult(o[0]);
|
| checkEntityResult(o[1]);
|
| @@ -589,9 +589,9 @@ buildLookupResponse() {
|
| var o = new api.LookupResponse();
|
| buildCounterLookupResponse++;
|
| if (buildCounterLookupResponse < 3) {
|
| - o.deferred = buildUnnamed598();
|
| - o.found = buildUnnamed599();
|
| - o.missing = buildUnnamed600();
|
| + o.deferred = buildUnnamed584();
|
| + o.found = buildUnnamed585();
|
| + o.missing = buildUnnamed586();
|
| }
|
| buildCounterLookupResponse--;
|
| return o;
|
| @@ -600,9 +600,9 @@ buildLookupResponse() {
|
| checkLookupResponse(api.LookupResponse o) {
|
| buildCounterLookupResponse++;
|
| if (buildCounterLookupResponse < 3) {
|
| - checkUnnamed598(o.deferred);
|
| - checkUnnamed599(o.found);
|
| - checkUnnamed600(o.missing);
|
| + checkUnnamed584(o.deferred);
|
| + checkUnnamed585(o.found);
|
| + checkUnnamed586(o.missing);
|
| }
|
| buildCounterLookupResponse--;
|
| }
|
| @@ -783,53 +783,53 @@ checkPropertyReference(api.PropertyReference o) {
|
| buildCounterPropertyReference--;
|
| }
|
|
|
| -buildUnnamed601() {
|
| +buildUnnamed587() {
|
| var o = new core.List<api.PropertyReference>();
|
| o.add(buildPropertyReference());
|
| o.add(buildPropertyReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed601(core.List<api.PropertyReference> o) {
|
| +checkUnnamed587(core.List<api.PropertyReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPropertyReference(o[0]);
|
| checkPropertyReference(o[1]);
|
| }
|
|
|
| -buildUnnamed602() {
|
| +buildUnnamed588() {
|
| var o = new core.List<api.KindExpression>();
|
| o.add(buildKindExpression());
|
| o.add(buildKindExpression());
|
| return o;
|
| }
|
|
|
| -checkUnnamed602(core.List<api.KindExpression> o) {
|
| +checkUnnamed588(core.List<api.KindExpression> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkKindExpression(o[0]);
|
| checkKindExpression(o[1]);
|
| }
|
|
|
| -buildUnnamed603() {
|
| +buildUnnamed589() {
|
| var o = new core.List<api.PropertyOrder>();
|
| o.add(buildPropertyOrder());
|
| o.add(buildPropertyOrder());
|
| return o;
|
| }
|
|
|
| -checkUnnamed603(core.List<api.PropertyOrder> o) {
|
| +checkUnnamed589(core.List<api.PropertyOrder> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPropertyOrder(o[0]);
|
| checkPropertyOrder(o[1]);
|
| }
|
|
|
| -buildUnnamed604() {
|
| +buildUnnamed590() {
|
| var o = new core.List<api.Projection>();
|
| o.add(buildProjection());
|
| o.add(buildProjection());
|
| return o;
|
| }
|
|
|
| -checkUnnamed604(core.List<api.Projection> o) {
|
| +checkUnnamed590(core.List<api.Projection> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkProjection(o[0]);
|
| checkProjection(o[1]);
|
| @@ -840,14 +840,14 @@ buildQuery() {
|
| var o = new api.Query();
|
| buildCounterQuery++;
|
| if (buildCounterQuery < 3) {
|
| - o.distinctOn = buildUnnamed601();
|
| + o.distinctOn = buildUnnamed587();
|
| o.endCursor = "foo";
|
| o.filter = buildFilter();
|
| - o.kind = buildUnnamed602();
|
| + o.kind = buildUnnamed588();
|
| o.limit = 42;
|
| o.offset = 42;
|
| - o.order = buildUnnamed603();
|
| - o.projection = buildUnnamed604();
|
| + o.order = buildUnnamed589();
|
| + o.projection = buildUnnamed590();
|
| o.startCursor = "foo";
|
| }
|
| buildCounterQuery--;
|
| @@ -857,27 +857,27 @@ buildQuery() {
|
| checkQuery(api.Query o) {
|
| buildCounterQuery++;
|
| if (buildCounterQuery < 3) {
|
| - checkUnnamed601(o.distinctOn);
|
| + checkUnnamed587(o.distinctOn);
|
| unittest.expect(o.endCursor, unittest.equals('foo'));
|
| checkFilter(o.filter);
|
| - checkUnnamed602(o.kind);
|
| + checkUnnamed588(o.kind);
|
| unittest.expect(o.limit, unittest.equals(42));
|
| unittest.expect(o.offset, unittest.equals(42));
|
| - checkUnnamed603(o.order);
|
| - checkUnnamed604(o.projection);
|
| + checkUnnamed589(o.order);
|
| + checkUnnamed590(o.projection);
|
| unittest.expect(o.startCursor, unittest.equals('foo'));
|
| }
|
| buildCounterQuery--;
|
| }
|
|
|
| -buildUnnamed605() {
|
| +buildUnnamed591() {
|
| var o = new core.List<api.EntityResult>();
|
| o.add(buildEntityResult());
|
| o.add(buildEntityResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed605(core.List<api.EntityResult> o) {
|
| +checkUnnamed591(core.List<api.EntityResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEntityResult(o[0]);
|
| checkEntityResult(o[1]);
|
| @@ -890,7 +890,7 @@ buildQueryResultBatch() {
|
| if (buildCounterQueryResultBatch < 3) {
|
| o.endCursor = "foo";
|
| o.entityResultType = "foo";
|
| - o.entityResults = buildUnnamed605();
|
| + o.entityResults = buildUnnamed591();
|
| o.moreResults = "foo";
|
| o.skippedCursor = "foo";
|
| o.skippedResults = 42;
|
| @@ -905,7 +905,7 @@ checkQueryResultBatch(api.QueryResultBatch o) {
|
| if (buildCounterQueryResultBatch < 3) {
|
| unittest.expect(o.endCursor, unittest.equals('foo'));
|
| unittest.expect(o.entityResultType, unittest.equals('foo'));
|
| - checkUnnamed605(o.entityResults);
|
| + checkUnnamed591(o.entityResults);
|
| unittest.expect(o.moreResults, unittest.equals('foo'));
|
| unittest.expect(o.skippedCursor, unittest.equals('foo'));
|
| unittest.expect(o.skippedResults, unittest.equals(42));
|
|
|