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

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

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 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/v2beta1_test.dart
diff --git a/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart b/generated/googleapis/test/cloudresourcemanager/v2beta1_test.dart
index 53303b0fb0d39310929e07ce97451135c0b82917..7c6deeb4bc5491792ae8358031cba7e33340d4d4 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);
}
-buildUnnamed83() {
+buildUnnamed88() {
var o = new core.List<api.AuditLogConfig>();
o.add(buildAuditLogConfig());
o.add(buildAuditLogConfig());
return o;
}
-checkUnnamed83(core.List<api.AuditLogConfig> o) {
+checkUnnamed88(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 = buildUnnamed83();
+ o.auditLogConfigs = buildUnnamed88();
o.service = "foo";
}
buildCounterAuditConfig--;
@@ -79,20 +79,20 @@ buildAuditConfig() {
checkAuditConfig(api.AuditConfig o) {
buildCounterAuditConfig++;
if (buildCounterAuditConfig < 3) {
- checkUnnamed83(o.auditLogConfigs);
+ checkUnnamed88(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterAuditConfig--;
}
-buildUnnamed84() {
+buildUnnamed89() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed84(core.List<core.String> o) {
+checkUnnamed89(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 = buildUnnamed84();
+ o.exemptedMembers = buildUnnamed89();
o.logType = "foo";
}
buildCounterAuditLogConfig--;
@@ -113,20 +113,20 @@ buildAuditLogConfig() {
checkAuditLogConfig(api.AuditLogConfig o) {
buildCounterAuditLogConfig++;
if (buildCounterAuditLogConfig < 3) {
- checkUnnamed84(o.exemptedMembers);
+ checkUnnamed89(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterAuditLogConfig--;
}
-buildUnnamed85() {
+buildUnnamed90() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed85(core.List<core.String> o) {
+checkUnnamed90(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 = buildUnnamed85();
+ o.members = buildUnnamed90();
o.role = "foo";
}
buildCounterBinding--;
@@ -147,7 +147,7 @@ buildBinding() {
checkBinding(api.Binding o) {
buildCounterBinding++;
if (buildCounterBinding < 3) {
- checkUnnamed85(o.members);
+ checkUnnamed90(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterBinding--;
@@ -241,14 +241,14 @@ checkGetIamPolicyRequest(api.GetIamPolicyRequest o) {
buildCounterGetIamPolicyRequest--;
}
-buildUnnamed86() {
+buildUnnamed91() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed86(core.List<api.Folder> o) {
+checkUnnamed91(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 = buildUnnamed86();
+ o.folders = buildUnnamed91();
o.nextPageToken = "foo";
}
buildCounterListFoldersResponse--;
@@ -269,7 +269,7 @@ buildListFoldersResponse() {
checkListFoldersResponse(api.ListFoldersResponse o) {
buildCounterListFoldersResponse++;
if (buildCounterListFoldersResponse < 3) {
- checkUnnamed86(o.folders);
+ checkUnnamed91(o.folders);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterListFoldersResponse--;
@@ -294,27 +294,27 @@ checkMoveFolderRequest(api.MoveFolderRequest o) {
buildCounterMoveFolderRequest--;
}
-buildUnnamed87() {
+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;
}
-checkUnnamed87(core.Map<core.String, core.Object> o) {
+checkUnnamed92(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'));
}
-buildUnnamed88() {
+buildUnnamed93() {
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;
}
-checkUnnamed88(core.Map<core.String, core.Object> o) {
+checkUnnamed93(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 = buildUnnamed87();
+ o.metadata = buildUnnamed92();
o.name = "foo";
- o.response = buildUnnamed88();
+ o.response = buildUnnamed93();
}
buildCounterOperation--;
return o;
@@ -340,34 +340,34 @@ checkOperation(api.Operation o) {
if (buildCounterOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkStatus(o.error);
- checkUnnamed87(o.metadata);
+ checkUnnamed92(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed88(o.response);
+ checkUnnamed93(o.response);
}
buildCounterOperation--;
}
-buildUnnamed89() {
+buildUnnamed94() {
var o = new core.List<api.AuditConfig>();
o.add(buildAuditConfig());
o.add(buildAuditConfig());
return o;
}
-checkUnnamed89(core.List<api.AuditConfig> o) {
+checkUnnamed94(core.List<api.AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkAuditConfig(o[0]);
checkAuditConfig(o[1]);
}
-buildUnnamed90() {
+buildUnnamed95() {
var o = new core.List<api.Binding>();
o.add(buildBinding());
o.add(buildBinding());
return o;
}
-checkUnnamed90(core.List<api.Binding> o) {
+checkUnnamed95(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 = buildUnnamed89();
- o.bindings = buildUnnamed90();
+ o.auditConfigs = buildUnnamed94();
+ o.bindings = buildUnnamed95();
o.etag = "foo";
o.version = 42;
}
@@ -390,8 +390,8 @@ buildPolicy() {
checkPolicy(api.Policy o) {
buildCounterPolicy++;
if (buildCounterPolicy < 3) {
- checkUnnamed89(o.auditConfigs);
- checkUnnamed90(o.bindings);
+ checkUnnamed94(o.auditConfigs);
+ checkUnnamed95(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--;
}
-buildUnnamed91() {
+buildUnnamed96() {
var o = new core.List<api.Folder>();
o.add(buildFolder());
o.add(buildFolder());
return o;
}
-checkUnnamed91(core.List<api.Folder> o) {
+checkUnnamed96(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 = buildUnnamed91();
+ o.folders = buildUnnamed96();
o.nextPageToken = "foo";
}
buildCounterSearchFoldersResponse--;
@@ -472,7 +472,7 @@ buildSearchFoldersResponse() {
checkSearchFoldersResponse(api.SearchFoldersResponse o) {
buildCounterSearchFoldersResponse++;
if (buildCounterSearchFoldersResponse < 3) {
- checkUnnamed91(o.folders);
+ checkUnnamed96(o.folders);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterSearchFoldersResponse--;
@@ -499,30 +499,30 @@ checkSetIamPolicyRequest(api.SetIamPolicyRequest o) {
buildCounterSetIamPolicyRequest--;
}
-buildUnnamed92() {
+buildUnnamed97() {
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;
}
-checkUnnamed92(core.Map<core.String, core.Object> o) {
+checkUnnamed97(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'));
}
-buildUnnamed93() {
+buildUnnamed98() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed92());
- o.add(buildUnnamed92());
+ o.add(buildUnnamed97());
+ o.add(buildUnnamed97());
return o;
}
-checkUnnamed93(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed98(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed92(o[0]);
- checkUnnamed92(o[1]);
+ checkUnnamed97(o[0]);
+ checkUnnamed97(o[1]);
}
core.int buildCounterStatus = 0;
@@ -531,7 +531,7 @@ buildStatus() {
buildCounterStatus++;
if (buildCounterStatus < 3) {
o.code = 42;
- o.details = buildUnnamed93();
+ o.details = buildUnnamed98();
o.message = "foo";
}
buildCounterStatus--;
@@ -542,20 +542,20 @@ checkStatus(api.Status o) {
buildCounterStatus++;
if (buildCounterStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed93(o.details);
+ checkUnnamed98(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterStatus--;
}
-buildUnnamed94() {
+buildUnnamed99() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed94(core.List<core.String> o) {
+checkUnnamed99(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 = buildUnnamed94();
+ o.permissions = buildUnnamed99();
}
buildCounterTestIamPermissionsRequest--;
return o;
@@ -575,19 +575,19 @@ buildTestIamPermissionsRequest() {
checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
buildCounterTestIamPermissionsRequest++;
if (buildCounterTestIamPermissionsRequest < 3) {
- checkUnnamed94(o.permissions);
+ checkUnnamed99(o.permissions);
}
buildCounterTestIamPermissionsRequest--;
}
-buildUnnamed95() {
+buildUnnamed100() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed95(core.List<core.String> o) {
+checkUnnamed100(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 = buildUnnamed95();
+ o.permissions = buildUnnamed100();
}
buildCounterTestIamPermissionsResponse--;
return o;
@@ -607,7 +607,7 @@ buildTestIamPermissionsResponse() {
checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
buildCounterTestIamPermissionsResponse++;
if (buildCounterTestIamPermissionsResponse < 3) {
- checkUnnamed95(o.permissions);
+ checkUnnamed100(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