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

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

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 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
Index: generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
diff --git a/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart b/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
index 4cc0088e8a4edfa627070c1977c9342dfcd4354e..53303b0fb0d39310929e07ce97451135c0b82917 100644
--- a/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
+++ b/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
@@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed120() {
+buildUnnamed83() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed120(core.List<api.AuditLogConfig> o) {
+checkUnnamed83(core.List<api.AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditLogConfig(o[0]);
checkAuditLogConfig(o[1]);
@@ -69,7 +69,7 @@ buildAuditConfig() {
var o = new api.AuditConfig();
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed120();
+ o.auditLogConfigs = buildUnnamed83();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -79,20 +79,20 @@ buildAuditConfig() {
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed120(o.auditLogConfigs);
+ checkUnnamed83(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed121() {
+buildUnnamed84() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed121(core.List<core.String> o) {
+checkUnnamed84(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'));
@@ -103,7 +103,7 @@ buildAuditLogConfig() {
var o = new api.AuditLogConfig();
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed121();
+ o.exemptedMembers = buildUnnamed84();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -113,20 +113,20 @@ buildAuditLogConfig() {
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed121(o.exemptedMembers);
+ checkUnnamed84(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed122() {
+buildUnnamed85() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed122(core.List<core.String> o) {
+checkUnnamed85(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'));
@@ -137,7 +137,7 @@ buildBinding() {
var o = new api.Binding();
buildCounterBinding++;
if (buildCounterBinding < 3) {
- o.members = buildUnnamed122();
+ o.members = buildUnnamed85();
o.role = "foo";
}
buildCounterBinding--;
@@ -147,7 +147,7 @@ buildBinding() {
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed122(o.members);
+ checkUnnamed85(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -241,14 +241,14 @@ checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed123() {
+buildUnnamed86() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed123(core.List<api.Folder> o) {
+checkUnnamed86(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -259,7 +259,7 @@ buildListFoldersResponse() {
var o = new api.ListFoldersResponse();
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- o.folders = buildUnnamed123();
+ o.folders = buildUnnamed86();
o.nextPageToken = "foo";
}
buildCounterListFoldersResponse--;
@@ -269,7 +269,7 @@ buildListFoldersResponse() {
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed123(o.folders);
+ checkUnnamed86(o.folders);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFoldersResponse--;
@@ -294,27 +294,27 @@ checkMoveFolderRequest(api.MoveFolderRequest o) {
buildCounterMoveFolderRequest--;
}
-buildUnnamed124() {
+buildUnnamed87() {
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;
}
-checkUnnamed124(core.Map<core.String, core.Object> o) {
+checkUnnamed87(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'));
}
-buildUnnamed125() {
+buildUnnamed88() {
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;
}
-checkUnnamed125(core.Map<core.String, core.Object> o) {
+checkUnnamed88(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'));
@@ -327,9 +327,9 @@ buildOperation() {
if (buildCounterOperation < 3) {
o.done = true;
o.error = buildStatus();
- o.metadata = buildUnnamed124();
+ o.metadata = buildUnnamed87();
o.name = "foo";
- o.response = buildUnnamed125();
+ o.response = buildUnnamed88();
}
buildCounterOperation--;
return o;
@@ -340,34 +340,34 @@ checkOperation(api.Operation o) {
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed124(o.metadata);
+ checkUnnamed87(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed125(o.response);
+ checkUnnamed88(o.response);
}
buildCounterOperation--;
}
-buildUnnamed126() {
+buildUnnamed89() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed126(core.List<api.AuditConfig> o) {
+checkUnnamed89(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed127() {
+buildUnnamed90() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed127(core.List<api.Binding> o) {
+checkUnnamed90(core.List<api.Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkBinding(o[0]);
checkBinding(o[1]);
@@ -378,8 +378,8 @@ buildPolicy() {
var o = new api.Policy();
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- o.auditConfigs = buildUnnamed126();
- o.bindings = buildUnnamed127();
+ o.auditConfigs = buildUnnamed89();
+ o.bindings = buildUnnamed90();
o.etag = "foo";
o.version = 42;
}
@@ -390,8 +390,8 @@ buildPolicy() {
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed126(o.auditConfigs);
- checkUnnamed127(o.bindings);
+ checkUnnamed89(o.auditConfigs);
+ checkUnnamed90(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -444,14 +444,14 @@ checkSearchFoldersRequest(api.SearchFoldersRequest o) {
buildCounterSearchFoldersRequest--;
}
-buildUnnamed128() {
+buildUnnamed91() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed128(core.List<api.Folder> o) {
+checkUnnamed91(core.List<api.Folder> o) {
unittest.expect(o, unittest.hasLength(2));
checkFolder(o[0]);
checkFolder(o[1]);
@@ -462,7 +462,7 @@ buildSearchFoldersResponse() {
var o = new api.SearchFoldersResponse();
buildCounterSearchFoldersResponse++;
if (buildCounterSearchFoldersResponse < 3) {
- o.folders = buildUnnamed128();
+ o.folders = buildUnnamed91();
o.nextPageToken = "foo";
}
buildCounterSearchFoldersResponse--;
@@ -472,7 +472,7 @@ buildSearchFoldersResponse() {
checkSearchFoldersResponse(api.SearchFoldersResponse o) {
buildCounterSearchFoldersResponse++;
if (buildCounterSearchFoldersResponse < 3) {
- checkUnnamed128(o.folders);
+ checkUnnamed91(o.folders);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchFoldersResponse--;
@@ -499,30 +499,30 @@ checkSetIamPolicyRequest(api.SetIamPolicyRequest o) {
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed129() {
+buildUnnamed92() {
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;
}
-checkUnnamed129(core.Map<core.String, core.Object> o) {
+checkUnnamed92(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'));
}
-buildUnnamed130() {
+buildUnnamed93() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed129());
- o.add(buildUnnamed129());
+ o.add(buildUnnamed92());
+ o.add(buildUnnamed92());
return o;
}
-checkUnnamed130(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed93(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed129(o[0]);
- checkUnnamed129(o[1]);
+ checkUnnamed92(o[0]);
+ checkUnnamed92(o[1]);
}
core.int buildCounterStatus = 0;
@@ -531,7 +531,7 @@ buildStatus() {
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed130();
+ o.details = buildUnnamed93();
o.message = "foo";
}
buildCounterStatus--;
@@ -542,20 +542,20 @@ checkStatus(api.Status o) {
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed130(o.details);
+ checkUnnamed93(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed131() {
+buildUnnamed94() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed131(core.List<core.String> o) {
+checkUnnamed94(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'));
@@ -566,7 +566,7 @@ buildTestIamPermissionsRequest() {
var o = new api.TestIamPermissionsRequest();
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed131();
+ o.permissions = buildUnnamed94();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -575,19 +575,19 @@ buildTestIamPermissionsRequest() {
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed131(o.permissions);
+ checkUnnamed94(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed132() {
+buildUnnamed95() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed132(core.List<core.String> o) {
+checkUnnamed95(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'));
@@ -598,7 +598,7 @@ buildTestIamPermissionsResponse() {
var o = new api.TestIamPermissionsResponse();
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed132();
+ o.permissions = buildUnnamed95();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -607,7 +607,7 @@ buildTestIamPermissionsResponse() {
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed132(o.permissions);
+ checkUnnamed95(o.permissions);
}
buildCounterTestIamPermissionsResponse--;
}
« no previous file with comments | « generated/googleapis/test/cloudresourcemanager/v1_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