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 a9f450f8ee4e5aa5af1d1a50279f8eab2d9d89cf..85aa41afa1f5e3e36e5dbe899bb604196f385327 100644 |
--- a/generated/googleapis_beta/test/datastore/v1beta2_test.dart |
+++ b/generated/googleapis_beta/test/datastore/v1beta2_test.dart |
@@ -16,14 +16,14 @@ import 'package:googleapis_beta/datastore/v1beta2.dart' as api; |
-buildUnnamed1183() { |
+buildUnnamed1214() { |
var o = new core.List<api.Key>(); |
o.add(buildKey()); |
o.add(buildKey()); |
return o; |
} |
-checkUnnamed1183(core.List<api.Key> o) { |
+checkUnnamed1214(core.List<api.Key> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkKey(o[0]); |
checkKey(o[1]); |
@@ -34,7 +34,7 @@ buildAllocateIdsRequest() { |
var o = new api.AllocateIdsRequest(); |
buildCounterAllocateIdsRequest++; |
if (buildCounterAllocateIdsRequest < 3) { |
- o.keys = buildUnnamed1183(); |
+ o.keys = buildUnnamed1214(); |
} |
buildCounterAllocateIdsRequest--; |
return o; |
@@ -43,19 +43,19 @@ buildAllocateIdsRequest() { |
checkAllocateIdsRequest(api.AllocateIdsRequest o) { |
buildCounterAllocateIdsRequest++; |
if (buildCounterAllocateIdsRequest < 3) { |
- checkUnnamed1183(o.keys); |
+ checkUnnamed1214(o.keys); |
} |
buildCounterAllocateIdsRequest--; |
} |
-buildUnnamed1184() { |
+buildUnnamed1215() { |
var o = new core.List<api.Key>(); |
o.add(buildKey()); |
o.add(buildKey()); |
return o; |
} |
-checkUnnamed1184(core.List<api.Key> o) { |
+checkUnnamed1215(core.List<api.Key> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkKey(o[0]); |
checkKey(o[1]); |
@@ -67,7 +67,7 @@ buildAllocateIdsResponse() { |
buildCounterAllocateIdsResponse++; |
if (buildCounterAllocateIdsResponse < 3) { |
o.header = buildResponseHeader(); |
- o.keys = buildUnnamed1184(); |
+ o.keys = buildUnnamed1215(); |
} |
buildCounterAllocateIdsResponse--; |
return o; |
@@ -77,7 +77,7 @@ checkAllocateIdsResponse(api.AllocateIdsResponse o) { |
buildCounterAllocateIdsResponse++; |
if (buildCounterAllocateIdsResponse < 3) { |
checkResponseHeader(o.header); |
- checkUnnamed1184(o.keys); |
+ checkUnnamed1215(o.keys); |
} |
buildCounterAllocateIdsResponse--; |
} |
@@ -168,14 +168,14 @@ checkCommitResponse(api.CommitResponse o) { |
buildCounterCommitResponse--; |
} |
-buildUnnamed1185() { |
+buildUnnamed1216() { |
var o = new core.List<api.Filter>(); |
o.add(buildFilter()); |
o.add(buildFilter()); |
return o; |
} |
-checkUnnamed1185(core.List<api.Filter> o) { |
+checkUnnamed1216(core.List<api.Filter> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFilter(o[0]); |
checkFilter(o[1]); |
@@ -186,7 +186,7 @@ buildCompositeFilter() { |
var o = new api.CompositeFilter(); |
buildCounterCompositeFilter++; |
if (buildCounterCompositeFilter < 3) { |
- o.filters = buildUnnamed1185(); |
+ o.filters = buildUnnamed1216(); |
o.operator = "foo"; |
} |
buildCounterCompositeFilter--; |
@@ -196,20 +196,20 @@ buildCompositeFilter() { |
checkCompositeFilter(api.CompositeFilter o) { |
buildCounterCompositeFilter++; |
if (buildCounterCompositeFilter < 3) { |
- checkUnnamed1185(o.filters); |
+ checkUnnamed1216(o.filters); |
unittest.expect(o.operator, unittest.equals('foo')); |
} |
buildCounterCompositeFilter--; |
} |
-buildUnnamed1186() { |
+buildUnnamed1217() { |
var o = new core.Map<core.String, api.Property>(); |
o["x"] = buildProperty(); |
o["y"] = buildProperty(); |
return o; |
} |
-checkUnnamed1186(core.Map<core.String, api.Property> o) { |
+checkUnnamed1217(core.Map<core.String, api.Property> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkProperty(o["x"]); |
checkProperty(o["y"]); |
@@ -221,7 +221,7 @@ buildEntity() { |
buildCounterEntity++; |
if (buildCounterEntity < 3) { |
o.key = buildKey(); |
- o.properties = buildUnnamed1186(); |
+ o.properties = buildUnnamed1217(); |
} |
buildCounterEntity--; |
return o; |
@@ -231,7 +231,7 @@ checkEntity(api.Entity o) { |
buildCounterEntity++; |
if (buildCounterEntity < 3) { |
checkKey(o.key); |
- checkUnnamed1186(o.properties); |
+ checkUnnamed1217(o.properties); |
} |
buildCounterEntity--; |
} |
@@ -276,27 +276,27 @@ checkFilter(api.Filter o) { |
buildCounterFilter--; |
} |
-buildUnnamed1187() { |
+buildUnnamed1218() { |
var o = new core.List<api.GqlQueryArg>(); |
o.add(buildGqlQueryArg()); |
o.add(buildGqlQueryArg()); |
return o; |
} |
-checkUnnamed1187(core.List<api.GqlQueryArg> o) { |
+checkUnnamed1218(core.List<api.GqlQueryArg> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGqlQueryArg(o[0]); |
checkGqlQueryArg(o[1]); |
} |
-buildUnnamed1188() { |
+buildUnnamed1219() { |
var o = new core.List<api.GqlQueryArg>(); |
o.add(buildGqlQueryArg()); |
o.add(buildGqlQueryArg()); |
return o; |
} |
-checkUnnamed1188(core.List<api.GqlQueryArg> o) { |
+checkUnnamed1219(core.List<api.GqlQueryArg> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGqlQueryArg(o[0]); |
checkGqlQueryArg(o[1]); |
@@ -308,8 +308,8 @@ buildGqlQuery() { |
buildCounterGqlQuery++; |
if (buildCounterGqlQuery < 3) { |
o.allowLiteral = true; |
- o.nameArgs = buildUnnamed1187(); |
- o.numberArgs = buildUnnamed1188(); |
+ o.nameArgs = buildUnnamed1218(); |
+ o.numberArgs = buildUnnamed1219(); |
o.queryString = "foo"; |
} |
buildCounterGqlQuery--; |
@@ -320,8 +320,8 @@ checkGqlQuery(api.GqlQuery o) { |
buildCounterGqlQuery++; |
if (buildCounterGqlQuery < 3) { |
unittest.expect(o.allowLiteral, unittest.isTrue); |
- checkUnnamed1187(o.nameArgs); |
- checkUnnamed1188(o.numberArgs); |
+ checkUnnamed1218(o.nameArgs); |
+ checkUnnamed1219(o.numberArgs); |
unittest.expect(o.queryString, unittest.equals('foo')); |
} |
buildCounterGqlQuery--; |
@@ -350,14 +350,14 @@ checkGqlQueryArg(api.GqlQueryArg o) { |
buildCounterGqlQueryArg--; |
} |
-buildUnnamed1189() { |
+buildUnnamed1220() { |
var o = new core.List<api.KeyPathElement>(); |
o.add(buildKeyPathElement()); |
o.add(buildKeyPathElement()); |
return o; |
} |
-checkUnnamed1189(core.List<api.KeyPathElement> o) { |
+checkUnnamed1220(core.List<api.KeyPathElement> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkKeyPathElement(o[0]); |
checkKeyPathElement(o[1]); |
@@ -369,7 +369,7 @@ buildKey() { |
buildCounterKey++; |
if (buildCounterKey < 3) { |
o.partitionId = buildPartitionId(); |
- o.path = buildUnnamed1189(); |
+ o.path = buildUnnamed1220(); |
} |
buildCounterKey--; |
return o; |
@@ -379,7 +379,7 @@ checkKey(api.Key o) { |
buildCounterKey++; |
if (buildCounterKey < 3) { |
checkPartitionId(o.partitionId); |
- checkUnnamed1189(o.path); |
+ checkUnnamed1220(o.path); |
} |
buildCounterKey--; |
} |
@@ -426,14 +426,14 @@ checkKindExpression(api.KindExpression o) { |
buildCounterKindExpression--; |
} |
-buildUnnamed1190() { |
+buildUnnamed1221() { |
var o = new core.List<api.Key>(); |
o.add(buildKey()); |
o.add(buildKey()); |
return o; |
} |
-checkUnnamed1190(core.List<api.Key> o) { |
+checkUnnamed1221(core.List<api.Key> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkKey(o[0]); |
checkKey(o[1]); |
@@ -444,7 +444,7 @@ buildLookupRequest() { |
var o = new api.LookupRequest(); |
buildCounterLookupRequest++; |
if (buildCounterLookupRequest < 3) { |
- o.keys = buildUnnamed1190(); |
+ o.keys = buildUnnamed1221(); |
o.readOptions = buildReadOptions(); |
} |
buildCounterLookupRequest--; |
@@ -454,46 +454,46 @@ buildLookupRequest() { |
checkLookupRequest(api.LookupRequest o) { |
buildCounterLookupRequest++; |
if (buildCounterLookupRequest < 3) { |
- checkUnnamed1190(o.keys); |
+ checkUnnamed1221(o.keys); |
checkReadOptions(o.readOptions); |
} |
buildCounterLookupRequest--; |
} |
-buildUnnamed1191() { |
+buildUnnamed1222() { |
var o = new core.List<api.Key>(); |
o.add(buildKey()); |
o.add(buildKey()); |
return o; |
} |
-checkUnnamed1191(core.List<api.Key> o) { |
+checkUnnamed1222(core.List<api.Key> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkKey(o[0]); |
checkKey(o[1]); |
} |
-buildUnnamed1192() { |
+buildUnnamed1223() { |
var o = new core.List<api.EntityResult>(); |
o.add(buildEntityResult()); |
o.add(buildEntityResult()); |
return o; |
} |
-checkUnnamed1192(core.List<api.EntityResult> o) { |
+checkUnnamed1223(core.List<api.EntityResult> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEntityResult(o[0]); |
checkEntityResult(o[1]); |
} |
-buildUnnamed1193() { |
+buildUnnamed1224() { |
var o = new core.List<api.EntityResult>(); |
o.add(buildEntityResult()); |
o.add(buildEntityResult()); |
return o; |
} |
-checkUnnamed1193(core.List<api.EntityResult> o) { |
+checkUnnamed1224(core.List<api.EntityResult> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEntityResult(o[0]); |
checkEntityResult(o[1]); |
@@ -504,10 +504,10 @@ buildLookupResponse() { |
var o = new api.LookupResponse(); |
buildCounterLookupResponse++; |
if (buildCounterLookupResponse < 3) { |
- o.deferred = buildUnnamed1191(); |
- o.found = buildUnnamed1192(); |
+ o.deferred = buildUnnamed1222(); |
+ o.found = buildUnnamed1223(); |
o.header = buildResponseHeader(); |
- o.missing = buildUnnamed1193(); |
+ o.missing = buildUnnamed1224(); |
} |
buildCounterLookupResponse--; |
return o; |
@@ -516,74 +516,74 @@ buildLookupResponse() { |
checkLookupResponse(api.LookupResponse o) { |
buildCounterLookupResponse++; |
if (buildCounterLookupResponse < 3) { |
- checkUnnamed1191(o.deferred); |
- checkUnnamed1192(o.found); |
+ checkUnnamed1222(o.deferred); |
+ checkUnnamed1223(o.found); |
checkResponseHeader(o.header); |
- checkUnnamed1193(o.missing); |
+ checkUnnamed1224(o.missing); |
} |
buildCounterLookupResponse--; |
} |
-buildUnnamed1194() { |
+buildUnnamed1225() { |
var o = new core.List<api.Key>(); |
o.add(buildKey()); |
o.add(buildKey()); |
return o; |
} |
-checkUnnamed1194(core.List<api.Key> o) { |
+checkUnnamed1225(core.List<api.Key> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkKey(o[0]); |
checkKey(o[1]); |
} |
-buildUnnamed1195() { |
+buildUnnamed1226() { |
var o = new core.List<api.Entity>(); |
o.add(buildEntity()); |
o.add(buildEntity()); |
return o; |
} |
-checkUnnamed1195(core.List<api.Entity> o) { |
+checkUnnamed1226(core.List<api.Entity> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEntity(o[0]); |
checkEntity(o[1]); |
} |
-buildUnnamed1196() { |
+buildUnnamed1227() { |
var o = new core.List<api.Entity>(); |
o.add(buildEntity()); |
o.add(buildEntity()); |
return o; |
} |
-checkUnnamed1196(core.List<api.Entity> o) { |
+checkUnnamed1227(core.List<api.Entity> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEntity(o[0]); |
checkEntity(o[1]); |
} |
-buildUnnamed1197() { |
+buildUnnamed1228() { |
var o = new core.List<api.Entity>(); |
o.add(buildEntity()); |
o.add(buildEntity()); |
return o; |
} |
-checkUnnamed1197(core.List<api.Entity> o) { |
+checkUnnamed1228(core.List<api.Entity> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEntity(o[0]); |
checkEntity(o[1]); |
} |
-buildUnnamed1198() { |
+buildUnnamed1229() { |
var o = new core.List<api.Entity>(); |
o.add(buildEntity()); |
o.add(buildEntity()); |
return o; |
} |
-checkUnnamed1198(core.List<api.Entity> o) { |
+checkUnnamed1229(core.List<api.Entity> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEntity(o[0]); |
checkEntity(o[1]); |
@@ -594,12 +594,12 @@ buildMutation() { |
var o = new api.Mutation(); |
buildCounterMutation++; |
if (buildCounterMutation < 3) { |
- o.delete = buildUnnamed1194(); |
+ o.delete = buildUnnamed1225(); |
o.force = true; |
- o.insert = buildUnnamed1195(); |
- o.insertAutoId = buildUnnamed1196(); |
- o.update = buildUnnamed1197(); |
- o.upsert = buildUnnamed1198(); |
+ o.insert = buildUnnamed1226(); |
+ o.insertAutoId = buildUnnamed1227(); |
+ o.update = buildUnnamed1228(); |
+ o.upsert = buildUnnamed1229(); |
} |
buildCounterMutation--; |
return o; |
@@ -608,24 +608,24 @@ buildMutation() { |
checkMutation(api.Mutation o) { |
buildCounterMutation++; |
if (buildCounterMutation < 3) { |
- checkUnnamed1194(o.delete); |
+ checkUnnamed1225(o.delete); |
unittest.expect(o.force, unittest.isTrue); |
- checkUnnamed1195(o.insert); |
- checkUnnamed1196(o.insertAutoId); |
- checkUnnamed1197(o.update); |
- checkUnnamed1198(o.upsert); |
+ checkUnnamed1226(o.insert); |
+ checkUnnamed1227(o.insertAutoId); |
+ checkUnnamed1228(o.update); |
+ checkUnnamed1229(o.upsert); |
} |
buildCounterMutation--; |
} |
-buildUnnamed1199() { |
+buildUnnamed1230() { |
var o = new core.List<api.Key>(); |
o.add(buildKey()); |
o.add(buildKey()); |
return o; |
} |
-checkUnnamed1199(core.List<api.Key> o) { |
+checkUnnamed1230(core.List<api.Key> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkKey(o[0]); |
checkKey(o[1]); |
@@ -637,7 +637,7 @@ buildMutationResult() { |
buildCounterMutationResult++; |
if (buildCounterMutationResult < 3) { |
o.indexUpdates = 42; |
- o.insertAutoIdKeys = buildUnnamed1199(); |
+ o.insertAutoIdKeys = buildUnnamed1230(); |
} |
buildCounterMutationResult--; |
return o; |
@@ -647,7 +647,7 @@ checkMutationResult(api.MutationResult o) { |
buildCounterMutationResult++; |
if (buildCounterMutationResult < 3) { |
unittest.expect(o.indexUpdates, unittest.equals(42)); |
- checkUnnamed1199(o.insertAutoIdKeys); |
+ checkUnnamed1230(o.insertAutoIdKeys); |
} |
buildCounterMutationResult--; |
} |
@@ -673,14 +673,14 @@ checkPartitionId(api.PartitionId o) { |
buildCounterPartitionId--; |
} |
-buildUnnamed1200() { |
+buildUnnamed1231() { |
var o = new core.List<api.Value>(); |
o.add(buildValue()); |
o.add(buildValue()); |
return o; |
} |
-checkUnnamed1200(core.List<api.Value> o) { |
+checkUnnamed1231(core.List<api.Value> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkValue(o[0]); |
checkValue(o[1]); |
@@ -700,7 +700,7 @@ buildProperty() { |
o.indexed = true; |
o.integerValue = "foo"; |
o.keyValue = buildKey(); |
- o.listValue = buildUnnamed1200(); |
+ o.listValue = buildUnnamed1231(); |
o.meaning = 42; |
o.stringValue = "foo"; |
} |
@@ -720,7 +720,7 @@ checkProperty(api.Property o) { |
unittest.expect(o.indexed, unittest.isTrue); |
unittest.expect(o.integerValue, unittest.equals('foo')); |
checkKey(o.keyValue); |
- checkUnnamed1200(o.listValue); |
+ checkUnnamed1231(o.listValue); |
unittest.expect(o.meaning, unittest.equals(42)); |
unittest.expect(o.stringValue, unittest.equals('foo')); |
} |
@@ -811,53 +811,53 @@ checkPropertyReference(api.PropertyReference o) { |
buildCounterPropertyReference--; |
} |
-buildUnnamed1201() { |
+buildUnnamed1232() { |
var o = new core.List<api.PropertyReference>(); |
o.add(buildPropertyReference()); |
o.add(buildPropertyReference()); |
return o; |
} |
-checkUnnamed1201(core.List<api.PropertyReference> o) { |
+checkUnnamed1232(core.List<api.PropertyReference> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPropertyReference(o[0]); |
checkPropertyReference(o[1]); |
} |
-buildUnnamed1202() { |
+buildUnnamed1233() { |
var o = new core.List<api.KindExpression>(); |
o.add(buildKindExpression()); |
o.add(buildKindExpression()); |
return o; |
} |
-checkUnnamed1202(core.List<api.KindExpression> o) { |
+checkUnnamed1233(core.List<api.KindExpression> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkKindExpression(o[0]); |
checkKindExpression(o[1]); |
} |
-buildUnnamed1203() { |
+buildUnnamed1234() { |
var o = new core.List<api.PropertyOrder>(); |
o.add(buildPropertyOrder()); |
o.add(buildPropertyOrder()); |
return o; |
} |
-checkUnnamed1203(core.List<api.PropertyOrder> o) { |
+checkUnnamed1234(core.List<api.PropertyOrder> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPropertyOrder(o[0]); |
checkPropertyOrder(o[1]); |
} |
-buildUnnamed1204() { |
+buildUnnamed1235() { |
var o = new core.List<api.PropertyExpression>(); |
o.add(buildPropertyExpression()); |
o.add(buildPropertyExpression()); |
return o; |
} |
-checkUnnamed1204(core.List<api.PropertyExpression> o) { |
+checkUnnamed1235(core.List<api.PropertyExpression> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkPropertyExpression(o[0]); |
checkPropertyExpression(o[1]); |
@@ -870,12 +870,12 @@ buildQuery() { |
if (buildCounterQuery < 3) { |
o.endCursor = "foo"; |
o.filter = buildFilter(); |
- o.groupBy = buildUnnamed1201(); |
- o.kinds = buildUnnamed1202(); |
+ o.groupBy = buildUnnamed1232(); |
+ o.kinds = buildUnnamed1233(); |
o.limit = 42; |
o.offset = 42; |
- o.order = buildUnnamed1203(); |
- o.projection = buildUnnamed1204(); |
+ o.order = buildUnnamed1234(); |
+ o.projection = buildUnnamed1235(); |
o.startCursor = "foo"; |
} |
buildCounterQuery--; |
@@ -887,25 +887,25 @@ checkQuery(api.Query o) { |
if (buildCounterQuery < 3) { |
unittest.expect(o.endCursor, unittest.equals('foo')); |
checkFilter(o.filter); |
- checkUnnamed1201(o.groupBy); |
- checkUnnamed1202(o.kinds); |
+ checkUnnamed1232(o.groupBy); |
+ checkUnnamed1233(o.kinds); |
unittest.expect(o.limit, unittest.equals(42)); |
unittest.expect(o.offset, unittest.equals(42)); |
- checkUnnamed1203(o.order); |
- checkUnnamed1204(o.projection); |
+ checkUnnamed1234(o.order); |
+ checkUnnamed1235(o.projection); |
unittest.expect(o.startCursor, unittest.equals('foo')); |
} |
buildCounterQuery--; |
} |
-buildUnnamed1205() { |
+buildUnnamed1236() { |
var o = new core.List<api.EntityResult>(); |
o.add(buildEntityResult()); |
o.add(buildEntityResult()); |
return o; |
} |
-checkUnnamed1205(core.List<api.EntityResult> o) { |
+checkUnnamed1236(core.List<api.EntityResult> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkEntityResult(o[0]); |
checkEntityResult(o[1]); |
@@ -918,7 +918,7 @@ buildQueryResultBatch() { |
if (buildCounterQueryResultBatch < 3) { |
o.endCursor = "foo"; |
o.entityResultType = "foo"; |
- o.entityResults = buildUnnamed1205(); |
+ o.entityResults = buildUnnamed1236(); |
o.moreResults = "foo"; |
o.skippedResults = 42; |
} |
@@ -931,7 +931,7 @@ checkQueryResultBatch(api.QueryResultBatch o) { |
if (buildCounterQueryResultBatch < 3) { |
unittest.expect(o.endCursor, unittest.equals('foo')); |
unittest.expect(o.entityResultType, unittest.equals('foo')); |
- checkUnnamed1205(o.entityResults); |
+ checkUnnamed1236(o.entityResults); |
unittest.expect(o.moreResults, unittest.equals('foo')); |
unittest.expect(o.skippedResults, unittest.equals(42)); |
} |
@@ -1062,14 +1062,14 @@ checkRunQueryResponse(api.RunQueryResponse o) { |
buildCounterRunQueryResponse--; |
} |
-buildUnnamed1206() { |
+buildUnnamed1237() { |
var o = new core.List<api.Value>(); |
o.add(buildValue()); |
o.add(buildValue()); |
return o; |
} |
-checkUnnamed1206(core.List<api.Value> o) { |
+checkUnnamed1237(core.List<api.Value> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkValue(o[0]); |
checkValue(o[1]); |
@@ -1089,7 +1089,7 @@ buildValue() { |
o.indexed = true; |
o.integerValue = "foo"; |
o.keyValue = buildKey(); |
- o.listValue = buildUnnamed1206(); |
+ o.listValue = buildUnnamed1237(); |
o.meaning = 42; |
o.stringValue = "foo"; |
} |
@@ -1109,7 +1109,7 @@ checkValue(api.Value o) { |
unittest.expect(o.indexed, unittest.isTrue); |
unittest.expect(o.integerValue, unittest.equals('foo')); |
checkKey(o.keyValue); |
- checkUnnamed1206(o.listValue); |
+ checkUnnamed1237(o.listValue); |
unittest.expect(o.meaning, unittest.equals(42)); |
unittest.expect(o.stringValue, unittest.equals('foo')); |
} |
@@ -1439,15 +1439,8 @@ main() { |
var pathOffset = 0; |
var index; |
var subPart; |
- unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.equals("/datastore/v1beta2/datasets/")); |
- pathOffset += 28; |
- index = path.indexOf("/allocateIds", pathOffset); |
- unittest.expect(index >= 0, unittest.isTrue); |
- subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); |
- pathOffset = index; |
- unittest.expect(subPart, unittest.equals("$arg_datasetId")); |
- unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("/allocateIds")); |
- pathOffset += 12; |
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); |
+ pathOffset += 1; |
var query = (req.url).query; |
var queryOffset = 0; |
@@ -1492,15 +1485,8 @@ main() { |
var pathOffset = 0; |
var index; |
var subPart; |
- unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.equals("/datastore/v1beta2/datasets/")); |
- pathOffset += 28; |
- index = path.indexOf("/beginTransaction", pathOffset); |
- unittest.expect(index >= 0, unittest.isTrue); |
- subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); |
- pathOffset = index; |
- unittest.expect(subPart, unittest.equals("$arg_datasetId")); |
- unittest.expect(path.substring(pathOffset, pathOffset + 17), unittest.equals("/beginTransaction")); |
- pathOffset += 17; |
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); |
+ pathOffset += 1; |
var query = (req.url).query; |
var queryOffset = 0; |
@@ -1545,15 +1531,8 @@ main() { |
var pathOffset = 0; |
var index; |
var subPart; |
- unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.equals("/datastore/v1beta2/datasets/")); |
- pathOffset += 28; |
- index = path.indexOf("/commit", pathOffset); |
- unittest.expect(index >= 0, unittest.isTrue); |
- subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); |
- pathOffset = index; |
- unittest.expect(subPart, unittest.equals("$arg_datasetId")); |
- unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/commit")); |
- pathOffset += 7; |
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); |
+ pathOffset += 1; |
var query = (req.url).query; |
var queryOffset = 0; |
@@ -1598,15 +1577,8 @@ main() { |
var pathOffset = 0; |
var index; |
var subPart; |
- unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.equals("/datastore/v1beta2/datasets/")); |
- pathOffset += 28; |
- index = path.indexOf("/lookup", pathOffset); |
- unittest.expect(index >= 0, unittest.isTrue); |
- subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); |
- pathOffset = index; |
- unittest.expect(subPart, unittest.equals("$arg_datasetId")); |
- unittest.expect(path.substring(pathOffset, pathOffset + 7), unittest.equals("/lookup")); |
- pathOffset += 7; |
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); |
+ pathOffset += 1; |
var query = (req.url).query; |
var queryOffset = 0; |
@@ -1651,15 +1623,8 @@ main() { |
var pathOffset = 0; |
var index; |
var subPart; |
- unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.equals("/datastore/v1beta2/datasets/")); |
- pathOffset += 28; |
- index = path.indexOf("/rollback", pathOffset); |
- unittest.expect(index >= 0, unittest.isTrue); |
- subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); |
- pathOffset = index; |
- unittest.expect(subPart, unittest.equals("$arg_datasetId")); |
- unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/rollback")); |
- pathOffset += 9; |
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); |
+ pathOffset += 1; |
var query = (req.url).query; |
var queryOffset = 0; |
@@ -1704,15 +1669,8 @@ main() { |
var pathOffset = 0; |
var index; |
var subPart; |
- unittest.expect(path.substring(pathOffset, pathOffset + 28), unittest.equals("/datastore/v1beta2/datasets/")); |
- pathOffset += 28; |
- index = path.indexOf("/runQuery", pathOffset); |
- unittest.expect(index >= 0, unittest.isTrue); |
- subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index)); |
- pathOffset = index; |
- unittest.expect(subPart, unittest.equals("$arg_datasetId")); |
- unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/runQuery")); |
- pathOffset += 9; |
+ unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/")); |
+ pathOffset += 1; |
var query = (req.url).query; |
var queryOffset = 0; |