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

Unified Diff: generated/googleapis_beta/test/datastore/v1beta2_test.dart

Issue 2226653002: Api-roll 40: 2016-08-08 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Addressed review comments Created 4 years, 4 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
Index: generated/googleapis_beta/test/datastore/v1beta2_test.dart
diff --git a/generated/googleapis_beta/test/datastore/v1beta2_test.dart b/generated/googleapis_beta/test/datastore/v1beta2_test.dart
index c845d17569362fa0222e49e75f7894806fde7d35..2d5df51447fb6fcac10efdadc438021f19eb12d4 100644
--- a/generated/googleapis_beta/test/datastore/v1beta2_test.dart
+++ b/generated/googleapis_beta/test/datastore/v1beta2_test.dart
@@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3759() {
+buildUnnamed3617() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3759(core.List<api.Key> o) {
+checkUnnamed3617(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 = buildUnnamed3759();
+ o.keys = buildUnnamed3617();
}
buildCounterAllocateIdsRequest--;
return o;
@@ -78,19 +78,19 @@ buildAllocateIdsRequest() {
checkAllocateIdsRequest(api.AllocateIdsRequest o) {
buildCounterAllocateIdsRequest++;
if (buildCounterAllocateIdsRequest < 3) {
- checkUnnamed3759(o.keys);
+ checkUnnamed3617(o.keys);
}
buildCounterAllocateIdsRequest--;
}
-buildUnnamed3760() {
+buildUnnamed3618() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3760(core.List<api.Key> o) {
+checkUnnamed3618(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -102,7 +102,7 @@ buildAllocateIdsResponse() {
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
o.header = buildResponseHeader();
- o.keys = buildUnnamed3760();
+ o.keys = buildUnnamed3618();
}
buildCounterAllocateIdsResponse--;
return o;
@@ -112,7 +112,7 @@ checkAllocateIdsResponse(api.AllocateIdsResponse o) {
buildCounterAllocateIdsResponse++;
if (buildCounterAllocateIdsResponse < 3) {
checkResponseHeader(o.header);
- checkUnnamed3760(o.keys);
+ checkUnnamed3618(o.keys);
}
buildCounterAllocateIdsResponse--;
}
@@ -203,14 +203,14 @@ checkCommitResponse(api.CommitResponse o) {
buildCounterCommitResponse--;
}
-buildUnnamed3761() {
+buildUnnamed3619() {
var o = new core.List<api.Filter>();
o.add(buildFilter());
o.add(buildFilter());
return o;
}
-checkUnnamed3761(core.List<api.Filter> o) {
+checkUnnamed3619(core.List<api.Filter> o) {
unittest.expect(o, unittest.hasLength(2));
checkFilter(o[0]);
checkFilter(o[1]);
@@ -221,7 +221,7 @@ buildCompositeFilter() {
var o = new api.CompositeFilter();
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- o.filters = buildUnnamed3761();
+ o.filters = buildUnnamed3619();
o.operator = "foo";
}
buildCounterCompositeFilter--;
@@ -231,20 +231,20 @@ buildCompositeFilter() {
checkCompositeFilter(api.CompositeFilter o) {
buildCounterCompositeFilter++;
if (buildCounterCompositeFilter < 3) {
- checkUnnamed3761(o.filters);
+ checkUnnamed3619(o.filters);
unittest.expect(o.operator, unittest.equals('foo'));
}
buildCounterCompositeFilter--;
}
-buildUnnamed3762() {
+buildUnnamed3620() {
var o = new core.Map<core.String, api.Property>();
o["x"] = buildProperty();
o["y"] = buildProperty();
return o;
}
-checkUnnamed3762(core.Map<core.String, api.Property> o) {
+checkUnnamed3620(core.Map<core.String, api.Property> o) {
unittest.expect(o, unittest.hasLength(2));
checkProperty(o["x"]);
checkProperty(o["y"]);
@@ -256,7 +256,7 @@ buildEntity() {
buildCounterEntity++;
if (buildCounterEntity < 3) {
o.key = buildKey();
- o.properties = buildUnnamed3762();
+ o.properties = buildUnnamed3620();
}
buildCounterEntity--;
return o;
@@ -266,7 +266,7 @@ checkEntity(api.Entity o) {
buildCounterEntity++;
if (buildCounterEntity < 3) {
checkKey(o.key);
- checkUnnamed3762(o.properties);
+ checkUnnamed3620(o.properties);
}
buildCounterEntity--;
}
@@ -311,27 +311,27 @@ checkFilter(api.Filter o) {
buildCounterFilter--;
}
-buildUnnamed3763() {
+buildUnnamed3621() {
var o = new core.List<api.GqlQueryArg>();
o.add(buildGqlQueryArg());
o.add(buildGqlQueryArg());
return o;
}
-checkUnnamed3763(core.List<api.GqlQueryArg> o) {
+checkUnnamed3621(core.List<api.GqlQueryArg> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryArg(o[0]);
checkGqlQueryArg(o[1]);
}
-buildUnnamed3764() {
+buildUnnamed3622() {
var o = new core.List<api.GqlQueryArg>();
o.add(buildGqlQueryArg());
o.add(buildGqlQueryArg());
return o;
}
-checkUnnamed3764(core.List<api.GqlQueryArg> o) {
+checkUnnamed3622(core.List<api.GqlQueryArg> o) {
unittest.expect(o, unittest.hasLength(2));
checkGqlQueryArg(o[0]);
checkGqlQueryArg(o[1]);
@@ -343,8 +343,8 @@ buildGqlQuery() {
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
o.allowLiteral = true;
- o.nameArgs = buildUnnamed3763();
- o.numberArgs = buildUnnamed3764();
+ o.nameArgs = buildUnnamed3621();
+ o.numberArgs = buildUnnamed3622();
o.queryString = "foo";
}
buildCounterGqlQuery--;
@@ -355,8 +355,8 @@ checkGqlQuery(api.GqlQuery o) {
buildCounterGqlQuery++;
if (buildCounterGqlQuery < 3) {
unittest.expect(o.allowLiteral, unittest.isTrue);
- checkUnnamed3763(o.nameArgs);
- checkUnnamed3764(o.numberArgs);
+ checkUnnamed3621(o.nameArgs);
+ checkUnnamed3622(o.numberArgs);
unittest.expect(o.queryString, unittest.equals('foo'));
}
buildCounterGqlQuery--;
@@ -385,14 +385,14 @@ checkGqlQueryArg(api.GqlQueryArg o) {
buildCounterGqlQueryArg--;
}
-buildUnnamed3765() {
+buildUnnamed3623() {
var o = new core.List<api.KeyPathElement>();
o.add(buildKeyPathElement());
o.add(buildKeyPathElement());
return o;
}
-checkUnnamed3765(core.List<api.KeyPathElement> o) {
+checkUnnamed3623(core.List<api.KeyPathElement> o) {
unittest.expect(o, unittest.hasLength(2));
checkKeyPathElement(o[0]);
checkKeyPathElement(o[1]);
@@ -404,7 +404,7 @@ buildKey() {
buildCounterKey++;
if (buildCounterKey < 3) {
o.partitionId = buildPartitionId();
- o.path = buildUnnamed3765();
+ o.path = buildUnnamed3623();
}
buildCounterKey--;
return o;
@@ -414,7 +414,7 @@ checkKey(api.Key o) {
buildCounterKey++;
if (buildCounterKey < 3) {
checkPartitionId(o.partitionId);
- checkUnnamed3765(o.path);
+ checkUnnamed3623(o.path);
}
buildCounterKey--;
}
@@ -461,14 +461,14 @@ checkKindExpression(api.KindExpression o) {
buildCounterKindExpression--;
}
-buildUnnamed3766() {
+buildUnnamed3624() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3766(core.List<api.Key> o) {
+checkUnnamed3624(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -479,7 +479,7 @@ buildLookupRequest() {
var o = new api.LookupRequest();
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- o.keys = buildUnnamed3766();
+ o.keys = buildUnnamed3624();
o.readOptions = buildReadOptions();
}
buildCounterLookupRequest--;
@@ -489,46 +489,46 @@ buildLookupRequest() {
checkLookupRequest(api.LookupRequest o) {
buildCounterLookupRequest++;
if (buildCounterLookupRequest < 3) {
- checkUnnamed3766(o.keys);
+ checkUnnamed3624(o.keys);
checkReadOptions(o.readOptions);
}
buildCounterLookupRequest--;
}
-buildUnnamed3767() {
+buildUnnamed3625() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3767(core.List<api.Key> o) {
+checkUnnamed3625(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed3768() {
+buildUnnamed3626() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed3768(core.List<api.EntityResult> o) {
+checkUnnamed3626(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
}
-buildUnnamed3769() {
+buildUnnamed3627() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed3769(core.List<api.EntityResult> o) {
+checkUnnamed3627(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -539,10 +539,10 @@ buildLookupResponse() {
var o = new api.LookupResponse();
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- o.deferred = buildUnnamed3767();
- o.found = buildUnnamed3768();
+ o.deferred = buildUnnamed3625();
+ o.found = buildUnnamed3626();
o.header = buildResponseHeader();
- o.missing = buildUnnamed3769();
+ o.missing = buildUnnamed3627();
}
buildCounterLookupResponse--;
return o;
@@ -551,74 +551,74 @@ buildLookupResponse() {
checkLookupResponse(api.LookupResponse o) {
buildCounterLookupResponse++;
if (buildCounterLookupResponse < 3) {
- checkUnnamed3767(o.deferred);
- checkUnnamed3768(o.found);
+ checkUnnamed3625(o.deferred);
+ checkUnnamed3626(o.found);
checkResponseHeader(o.header);
- checkUnnamed3769(o.missing);
+ checkUnnamed3627(o.missing);
}
buildCounterLookupResponse--;
}
-buildUnnamed3770() {
+buildUnnamed3628() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3770(core.List<api.Key> o) {
+checkUnnamed3628(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
}
-buildUnnamed3771() {
+buildUnnamed3629() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3771(core.List<api.Entity> o) {
+checkUnnamed3629(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed3772() {
+buildUnnamed3630() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3772(core.List<api.Entity> o) {
+checkUnnamed3630(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed3773() {
+buildUnnamed3631() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3773(core.List<api.Entity> o) {
+checkUnnamed3631(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
}
-buildUnnamed3774() {
+buildUnnamed3632() {
var o = new core.List<api.Entity>();
o.add(buildEntity());
o.add(buildEntity());
return o;
}
-checkUnnamed3774(core.List<api.Entity> o) {
+checkUnnamed3632(core.List<api.Entity> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntity(o[0]);
checkEntity(o[1]);
@@ -629,12 +629,12 @@ buildMutation() {
var o = new api.Mutation();
buildCounterMutation++;
if (buildCounterMutation < 3) {
- o.delete = buildUnnamed3770();
+ o.delete = buildUnnamed3628();
o.force = true;
- o.insert = buildUnnamed3771();
- o.insertAutoId = buildUnnamed3772();
- o.update = buildUnnamed3773();
- o.upsert = buildUnnamed3774();
+ o.insert = buildUnnamed3629();
+ o.insertAutoId = buildUnnamed3630();
+ o.update = buildUnnamed3631();
+ o.upsert = buildUnnamed3632();
}
buildCounterMutation--;
return o;
@@ -643,24 +643,24 @@ buildMutation() {
checkMutation(api.Mutation o) {
buildCounterMutation++;
if (buildCounterMutation < 3) {
- checkUnnamed3770(o.delete);
+ checkUnnamed3628(o.delete);
unittest.expect(o.force, unittest.isTrue);
- checkUnnamed3771(o.insert);
- checkUnnamed3772(o.insertAutoId);
- checkUnnamed3773(o.update);
- checkUnnamed3774(o.upsert);
+ checkUnnamed3629(o.insert);
+ checkUnnamed3630(o.insertAutoId);
+ checkUnnamed3631(o.update);
+ checkUnnamed3632(o.upsert);
}
buildCounterMutation--;
}
-buildUnnamed3775() {
+buildUnnamed3633() {
var o = new core.List<api.Key>();
o.add(buildKey());
o.add(buildKey());
return o;
}
-checkUnnamed3775(core.List<api.Key> o) {
+checkUnnamed3633(core.List<api.Key> o) {
unittest.expect(o, unittest.hasLength(2));
checkKey(o[0]);
checkKey(o[1]);
@@ -672,7 +672,7 @@ buildMutationResult() {
buildCounterMutationResult++;
if (buildCounterMutationResult < 3) {
o.indexUpdates = 42;
- o.insertAutoIdKeys = buildUnnamed3775();
+ o.insertAutoIdKeys = buildUnnamed3633();
}
buildCounterMutationResult--;
return o;
@@ -682,7 +682,7 @@ checkMutationResult(api.MutationResult o) {
buildCounterMutationResult++;
if (buildCounterMutationResult < 3) {
unittest.expect(o.indexUpdates, unittest.equals(42));
- checkUnnamed3775(o.insertAutoIdKeys);
+ checkUnnamed3633(o.insertAutoIdKeys);
}
buildCounterMutationResult--;
}
@@ -708,14 +708,14 @@ checkPartitionId(api.PartitionId o) {
buildCounterPartitionId--;
}
-buildUnnamed3776() {
+buildUnnamed3634() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed3776(core.List<api.Value> o) {
+checkUnnamed3634(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -735,7 +735,7 @@ buildProperty() {
o.indexed = true;
o.integerValue = "foo";
o.keyValue = buildKey();
- o.listValue = buildUnnamed3776();
+ o.listValue = buildUnnamed3634();
o.meaning = 42;
o.stringValue = "foo";
}
@@ -755,7 +755,7 @@ checkProperty(api.Property o) {
unittest.expect(o.indexed, unittest.isTrue);
unittest.expect(o.integerValue, unittest.equals('foo'));
checkKey(o.keyValue);
- checkUnnamed3776(o.listValue);
+ checkUnnamed3634(o.listValue);
unittest.expect(o.meaning, unittest.equals(42));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
@@ -846,53 +846,53 @@ checkPropertyReference(api.PropertyReference o) {
buildCounterPropertyReference--;
}
-buildUnnamed3777() {
+buildUnnamed3635() {
var o = new core.List<api.PropertyReference>();
o.add(buildPropertyReference());
o.add(buildPropertyReference());
return o;
}
-checkUnnamed3777(core.List<api.PropertyReference> o) {
+checkUnnamed3635(core.List<api.PropertyReference> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyReference(o[0]);
checkPropertyReference(o[1]);
}
-buildUnnamed3778() {
+buildUnnamed3636() {
var o = new core.List<api.KindExpression>();
o.add(buildKindExpression());
o.add(buildKindExpression());
return o;
}
-checkUnnamed3778(core.List<api.KindExpression> o) {
+checkUnnamed3636(core.List<api.KindExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkKindExpression(o[0]);
checkKindExpression(o[1]);
}
-buildUnnamed3779() {
+buildUnnamed3637() {
var o = new core.List<api.PropertyOrder>();
o.add(buildPropertyOrder());
o.add(buildPropertyOrder());
return o;
}
-checkUnnamed3779(core.List<api.PropertyOrder> o) {
+checkUnnamed3637(core.List<api.PropertyOrder> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyOrder(o[0]);
checkPropertyOrder(o[1]);
}
-buildUnnamed3780() {
+buildUnnamed3638() {
var o = new core.List<api.PropertyExpression>();
o.add(buildPropertyExpression());
o.add(buildPropertyExpression());
return o;
}
-checkUnnamed3780(core.List<api.PropertyExpression> o) {
+checkUnnamed3638(core.List<api.PropertyExpression> o) {
unittest.expect(o, unittest.hasLength(2));
checkPropertyExpression(o[0]);
checkPropertyExpression(o[1]);
@@ -905,12 +905,12 @@ buildQuery() {
if (buildCounterQuery < 3) {
o.endCursor = "foo";
o.filter = buildFilter();
- o.groupBy = buildUnnamed3777();
- o.kinds = buildUnnamed3778();
+ o.groupBy = buildUnnamed3635();
+ o.kinds = buildUnnamed3636();
o.limit = 42;
o.offset = 42;
- o.order = buildUnnamed3779();
- o.projection = buildUnnamed3780();
+ o.order = buildUnnamed3637();
+ o.projection = buildUnnamed3638();
o.startCursor = "foo";
}
buildCounterQuery--;
@@ -922,25 +922,25 @@ checkQuery(api.Query o) {
if (buildCounterQuery < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
checkFilter(o.filter);
- checkUnnamed3777(o.groupBy);
- checkUnnamed3778(o.kinds);
+ checkUnnamed3635(o.groupBy);
+ checkUnnamed3636(o.kinds);
unittest.expect(o.limit, unittest.equals(42));
unittest.expect(o.offset, unittest.equals(42));
- checkUnnamed3779(o.order);
- checkUnnamed3780(o.projection);
+ checkUnnamed3637(o.order);
+ checkUnnamed3638(o.projection);
unittest.expect(o.startCursor, unittest.equals('foo'));
}
buildCounterQuery--;
}
-buildUnnamed3781() {
+buildUnnamed3639() {
var o = new core.List<api.EntityResult>();
o.add(buildEntityResult());
o.add(buildEntityResult());
return o;
}
-checkUnnamed3781(core.List<api.EntityResult> o) {
+checkUnnamed3639(core.List<api.EntityResult> o) {
unittest.expect(o, unittest.hasLength(2));
checkEntityResult(o[0]);
checkEntityResult(o[1]);
@@ -953,7 +953,7 @@ buildQueryResultBatch() {
if (buildCounterQueryResultBatch < 3) {
o.endCursor = "foo";
o.entityResultType = "foo";
- o.entityResults = buildUnnamed3781();
+ o.entityResults = buildUnnamed3639();
o.moreResults = "foo";
o.skippedResults = 42;
}
@@ -966,7 +966,7 @@ checkQueryResultBatch(api.QueryResultBatch o) {
if (buildCounterQueryResultBatch < 3) {
unittest.expect(o.endCursor, unittest.equals('foo'));
unittest.expect(o.entityResultType, unittest.equals('foo'));
- checkUnnamed3781(o.entityResults);
+ checkUnnamed3639(o.entityResults);
unittest.expect(o.moreResults, unittest.equals('foo'));
unittest.expect(o.skippedResults, unittest.equals(42));
}
@@ -1097,14 +1097,14 @@ checkRunQueryResponse(api.RunQueryResponse o) {
buildCounterRunQueryResponse--;
}
-buildUnnamed3782() {
+buildUnnamed3640() {
var o = new core.List<api.Value>();
o.add(buildValue());
o.add(buildValue());
return o;
}
-checkUnnamed3782(core.List<api.Value> o) {
+checkUnnamed3640(core.List<api.Value> o) {
unittest.expect(o, unittest.hasLength(2));
checkValue(o[0]);
checkValue(o[1]);
@@ -1124,7 +1124,7 @@ buildValue() {
o.indexed = true;
o.integerValue = "foo";
o.keyValue = buildKey();
- o.listValue = buildUnnamed3782();
+ o.listValue = buildUnnamed3640();
o.meaning = 42;
o.stringValue = "foo";
}
@@ -1144,7 +1144,7 @@ checkValue(api.Value o) {
unittest.expect(o.indexed, unittest.isTrue);
unittest.expect(o.integerValue, unittest.equals('foo'));
checkKey(o.keyValue);
- checkUnnamed3782(o.listValue);
+ checkUnnamed3640(o.listValue);
unittest.expect(o.meaning, unittest.equals(42));
unittest.expect(o.stringValue, unittest.equals('foo'));
}
« no previous file with comments | « generated/googleapis_beta/test/dataproc/v1beta1_test.dart ('k') | generated/googleapis_beta/test/datastore/v1beta3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698