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

Unified Diff: generated/googleapis/test/cloudresourcemanager/v1_test.dart

Issue 2281923002: Api-roll 41: 2016-08-26 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: 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/test/cloudresourcemanager/v1_test.dart
diff --git a/generated/googleapis/test/cloudresourcemanager/v1_test.dart b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
index 42996208580dc38584e8b895f262d20a733c4f2b..81a23222b7495d61e65a3c6e559f5599d9cf3a7f 100644
--- a/generated/googleapis/test/cloudresourcemanager/v1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v1_test.dart
@@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed708() {
+buildUnnamed2174() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed708(core.List<core.String> o) {
+checkUnnamed2174(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'));
@@ -69,7 +69,7 @@ buildBinding() {
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed708();
+ o.members = buildUnnamed2174();
o.role = "foo";
}
buildCounterBinding--;
@@ -79,7 +79,7 @@ buildBinding() {
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed708(o.members);
+ checkUnnamed2174(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -119,14 +119,14 @@ checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed709() {
+buildUnnamed2175() {
var o = new core.List<api.Project>();
o.add(buildProject());
o.add(buildProject());
return o;
}
-checkUnnamed709(core.List<api.Project> o) {
+checkUnnamed2175(core.List<api.Project> o) {
unittest.expect(o, unittest.hasLength(2));
checkProject(o[0]);
checkProject(o[1]);
@@ -138,7 +138,7 @@ buildListProjectsResponse() {
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
o.nextPageToken = "foo";
- o.projects = buildUnnamed709();
+ o.projects = buildUnnamed2175();
}
buildCounterListProjectsResponse--;
return o;
@@ -148,32 +148,32 @@ checkListProjectsResponse(api.ListProjectsResponse o) {
buildCounterListProjectsResponse++;
if (buildCounterListProjectsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed709(o.projects);
+ checkUnnamed2175(o.projects);
}
buildCounterListProjectsResponse--;
}
-buildUnnamed710() {
+buildUnnamed2176() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed710(core.Map<core.String, core.Object> o) {
+checkUnnamed2176(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed711() {
+buildUnnamed2177() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed711(core.Map<core.String, core.Object> o) {
+checkUnnamed2177(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
@@ -186,9 +186,9 @@ buildOperation() {
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed710();
+ o.metadata = buildUnnamed2176();
o.name = "foo";
- o.response = buildUnnamed711();
+ o.response = buildUnnamed2177();
}
buildCounterOperation--;
return o;
@@ -199,21 +199,21 @@ checkOperation(api.Operation o) {
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed710(o.metadata);
+ checkUnnamed2176(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed711(o.response);
+ checkUnnamed2177(o.response);
}
buildCounterOperation--;
}
-buildUnnamed712() {
+buildUnnamed2178() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed712(core.List<api.Binding> o) {
+checkUnnamed2178(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -224,7 +224,7 @@ buildPolicy() {
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.bindings = buildUnnamed712();
+ o.bindings = buildUnnamed2178();
o.etag = "foo";
o.version = 42;
}
@@ -235,21 +235,21 @@ buildPolicy() {
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed712(o.bindings);
+ checkUnnamed2178(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
buildCounterPolicy--;
}
-buildUnnamed713() {
+buildUnnamed2179() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed713(core.Map<core.String, core.String> o) {
+checkUnnamed2179(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'));
@@ -261,7 +261,7 @@ buildProject() {
buildCounterProject++;
if (buildCounterProject < 3) {
o.createTime = "foo";
- o.labels = buildUnnamed713();
+ o.labels = buildUnnamed2179();
o.lifecycleState = "foo";
o.name = "foo";
o.parent = buildResourceId();
@@ -276,7 +276,7 @@ checkProject(api.Project o) {
buildCounterProject++;
if (buildCounterProject < 3) {
unittest.expect(o.createTime, unittest.equals('foo'));
- checkUnnamed713(o.labels);
+ checkUnnamed2179(o.labels);
unittest.expect(o.lifecycleState, unittest.equals('foo'));
unittest.expect(o.name, unittest.equals('foo'));
checkResourceId(o.parent);
@@ -326,30 +326,30 @@ checkSetIamPolicyRequest(api.SetIamPolicyRequest o) {
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed714() {
+buildUnnamed2180() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
return o;
}
-checkUnnamed714(core.Map<core.String, core.Object> o) {
+checkUnnamed2180(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
}
-buildUnnamed715() {
+buildUnnamed2181() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed714());
- o.add(buildUnnamed714());
+ o.add(buildUnnamed2180());
+ o.add(buildUnnamed2180());
return o;
}
-checkUnnamed715(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed2181(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed714(o[0]);
- checkUnnamed714(o[1]);
+ checkUnnamed2180(o[0]);
+ checkUnnamed2180(o[1]);
}
core.int buildCounterStatus = 0;
@@ -358,7 +358,7 @@ buildStatus() {
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed715();
+ o.details = buildUnnamed2181();
o.message = "foo";
}
buildCounterStatus--;
@@ -369,20 +369,20 @@ checkStatus(api.Status o) {
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed715(o.details);
+ checkUnnamed2181(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed716() {
+buildUnnamed2182() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed716(core.List<core.String> o) {
+checkUnnamed2182(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'));
@@ -393,7 +393,7 @@ buildTestIamPermissionsRequest() {
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed716();
+ o.permissions = buildUnnamed2182();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -402,19 +402,19 @@ buildTestIamPermissionsRequest() {
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed716(o.permissions);
+ checkUnnamed2182(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed717() {
+buildUnnamed2183() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed717(core.List<core.String> o) {
+checkUnnamed2183(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'));
@@ -425,7 +425,7 @@ buildTestIamPermissionsResponse() {
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed717();
+ o.permissions = buildUnnamed2183();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -434,7 +434,7 @@ buildTestIamPermissionsResponse() {
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed717(o.permissions);
+ checkUnnamed2183(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
« no previous file with comments | « generated/googleapis/test/clouddebugger/v2_test.dart ('k') | generated/googleapis/test/cloudtrace/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698