| Index: generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart
|
| diff --git a/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart b/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart
|
| index ab857db09bcdbf373e54fb8c35dc25ce5da0ab49..e86ba03a0225486be1c9e1c2d0a720bd5ca47b50 100644
|
| --- a/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart
|
| +++ b/generated/googleapis_beta/test/runtimeconfig/v1beta1_test.dart
|
| @@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed3871() {
|
| +buildUnnamed3453() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3871(core.List<core.String> o) {
|
| +checkUnnamed3453(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 = buildUnnamed3871();
|
| + o.members = buildUnnamed3453();
|
| o.role = "foo";
|
| }
|
| buildCounterBinding--;
|
| @@ -79,7 +79,7 @@ buildBinding() {
|
| checkBinding(api.Binding o) {
|
| buildCounterBinding++;
|
| if (buildCounterBinding < 3) {
|
| - checkUnnamed3871(o.members);
|
| + checkUnnamed3453(o.members);
|
| unittest.expect(o.role, unittest.equals('foo'));
|
| }
|
| buildCounterBinding--;
|
| @@ -142,14 +142,14 @@ checkEndCondition(api.EndCondition o) {
|
| buildCounterEndCondition--;
|
| }
|
|
|
| -buildUnnamed3872() {
|
| +buildUnnamed3454() {
|
| var o = new core.List<api.RuntimeConfig>();
|
| o.add(buildRuntimeConfig());
|
| o.add(buildRuntimeConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3872(core.List<api.RuntimeConfig> o) {
|
| +checkUnnamed3454(core.List<api.RuntimeConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRuntimeConfig(o[0]);
|
| checkRuntimeConfig(o[1]);
|
| @@ -160,7 +160,7 @@ buildListConfigsResponse() {
|
| var o = new api.ListConfigsResponse();
|
| buildCounterListConfigsResponse++;
|
| if (buildCounterListConfigsResponse < 3) {
|
| - o.configs = buildUnnamed3872();
|
| + o.configs = buildUnnamed3454();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListConfigsResponse--;
|
| @@ -170,20 +170,20 @@ buildListConfigsResponse() {
|
| checkListConfigsResponse(api.ListConfigsResponse o) {
|
| buildCounterListConfigsResponse++;
|
| if (buildCounterListConfigsResponse < 3) {
|
| - checkUnnamed3872(o.configs);
|
| + checkUnnamed3454(o.configs);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListConfigsResponse--;
|
| }
|
|
|
| -buildUnnamed3873() {
|
| +buildUnnamed3455() {
|
| var o = new core.List<api.Variable>();
|
| o.add(buildVariable());
|
| o.add(buildVariable());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3873(core.List<api.Variable> o) {
|
| +checkUnnamed3455(core.List<api.Variable> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVariable(o[0]);
|
| checkVariable(o[1]);
|
| @@ -195,7 +195,7 @@ buildListVariablesResponse() {
|
| buildCounterListVariablesResponse++;
|
| if (buildCounterListVariablesResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.variables = buildUnnamed3873();
|
| + o.variables = buildUnnamed3455();
|
| }
|
| buildCounterListVariablesResponse--;
|
| return o;
|
| @@ -205,19 +205,19 @@ checkListVariablesResponse(api.ListVariablesResponse o) {
|
| buildCounterListVariablesResponse++;
|
| if (buildCounterListVariablesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed3873(o.variables);
|
| + checkUnnamed3455(o.variables);
|
| }
|
| buildCounterListVariablesResponse--;
|
| }
|
|
|
| -buildUnnamed3874() {
|
| +buildUnnamed3456() {
|
| var o = new core.List<api.Waiter>();
|
| o.add(buildWaiter());
|
| o.add(buildWaiter());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3874(core.List<api.Waiter> o) {
|
| +checkUnnamed3456(core.List<api.Waiter> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkWaiter(o[0]);
|
| checkWaiter(o[1]);
|
| @@ -229,7 +229,7 @@ buildListWaitersResponse() {
|
| buildCounterListWaitersResponse++;
|
| if (buildCounterListWaitersResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.waiters = buildUnnamed3874();
|
| + o.waiters = buildUnnamed3456();
|
| }
|
| buildCounterListWaitersResponse--;
|
| return o;
|
| @@ -239,32 +239,32 @@ checkListWaitersResponse(api.ListWaitersResponse o) {
|
| buildCounterListWaitersResponse++;
|
| if (buildCounterListWaitersResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed3874(o.waiters);
|
| + checkUnnamed3456(o.waiters);
|
| }
|
| buildCounterListWaitersResponse--;
|
| }
|
|
|
| -buildUnnamed3875() {
|
| +buildUnnamed3457() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3875(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3457(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'));
|
| }
|
|
|
| -buildUnnamed3876() {
|
| +buildUnnamed3458() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3876(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3458(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'));
|
| @@ -277,9 +277,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed3875();
|
| + o.metadata = buildUnnamed3457();
|
| o.name = "foo";
|
| - o.response = buildUnnamed3876();
|
| + o.response = buildUnnamed3458();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -290,21 +290,21 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed3875(o.metadata);
|
| + checkUnnamed3457(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed3876(o.response);
|
| + checkUnnamed3458(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
|
|
| -buildUnnamed3877() {
|
| +buildUnnamed3459() {
|
| var o = new core.List<api.Binding>();
|
| o.add(buildBinding());
|
| o.add(buildBinding());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3877(core.List<api.Binding> o) {
|
| +checkUnnamed3459(core.List<api.Binding> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBinding(o[0]);
|
| checkBinding(o[1]);
|
| @@ -315,7 +315,7 @@ buildPolicy() {
|
| var o = new api.Policy();
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - o.bindings = buildUnnamed3877();
|
| + o.bindings = buildUnnamed3459();
|
| o.etag = "foo";
|
| o.version = 42;
|
| }
|
| @@ -326,7 +326,7 @@ buildPolicy() {
|
| checkPolicy(api.Policy o) {
|
| buildCounterPolicy++;
|
| if (buildCounterPolicy < 3) {
|
| - checkUnnamed3877(o.bindings);
|
| + checkUnnamed3459(o.bindings);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.version, unittest.equals(42));
|
| }
|
| @@ -373,30 +373,30 @@ checkSetIamPolicyRequest(api.SetIamPolicyRequest o) {
|
| buildCounterSetIamPolicyRequest--;
|
| }
|
|
|
| -buildUnnamed3878() {
|
| +buildUnnamed3460() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3878(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3460(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'));
|
| }
|
|
|
| -buildUnnamed3879() {
|
| +buildUnnamed3461() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed3878());
|
| - o.add(buildUnnamed3878());
|
| + o.add(buildUnnamed3460());
|
| + o.add(buildUnnamed3460());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3879(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed3461(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed3878(o[0]);
|
| - checkUnnamed3878(o[1]);
|
| + checkUnnamed3460(o[0]);
|
| + checkUnnamed3460(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -405,7 +405,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed3879();
|
| + o.details = buildUnnamed3461();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -416,20 +416,20 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed3879(o.details);
|
| + checkUnnamed3461(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| }
|
|
|
| -buildUnnamed3880() {
|
| +buildUnnamed3462() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3880(core.List<core.String> o) {
|
| +checkUnnamed3462(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'));
|
| @@ -440,7 +440,7 @@ buildTestIamPermissionsRequest() {
|
| var o = new api.TestIamPermissionsRequest();
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - o.permissions = buildUnnamed3880();
|
| + o.permissions = buildUnnamed3462();
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| return o;
|
| @@ -449,19 +449,19 @@ buildTestIamPermissionsRequest() {
|
| checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) {
|
| buildCounterTestIamPermissionsRequest++;
|
| if (buildCounterTestIamPermissionsRequest < 3) {
|
| - checkUnnamed3880(o.permissions);
|
| + checkUnnamed3462(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsRequest--;
|
| }
|
|
|
| -buildUnnamed3881() {
|
| +buildUnnamed3463() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3881(core.List<core.String> o) {
|
| +checkUnnamed3463(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'));
|
| @@ -472,7 +472,7 @@ buildTestIamPermissionsResponse() {
|
| var o = new api.TestIamPermissionsResponse();
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - o.permissions = buildUnnamed3881();
|
| + o.permissions = buildUnnamed3463();
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| return o;
|
| @@ -481,7 +481,7 @@ buildTestIamPermissionsResponse() {
|
| checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) {
|
| buildCounterTestIamPermissionsResponse++;
|
| if (buildCounterTestIamPermissionsResponse < 3) {
|
| - checkUnnamed3881(o.permissions);
|
| + checkUnnamed3463(o.permissions);
|
| }
|
| buildCounterTestIamPermissionsResponse--;
|
| }
|
| @@ -563,40 +563,40 @@ checkWatchVariableRequest(api.WatchVariableRequest o) {
|
| buildCounterWatchVariableRequest--;
|
| }
|
|
|
| -buildUnnamed3882() {
|
| +buildUnnamed3464() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3882(core.List<core.String> o) {
|
| +checkUnnamed3464(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'));
|
| }
|
|
|
| -buildUnnamed3883() {
|
| +buildUnnamed3465() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3883(core.List<core.String> o) {
|
| +checkUnnamed3465(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'));
|
| }
|
|
|
| -buildUnnamed3884() {
|
| +buildUnnamed3466() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3884(core.List<core.String> o) {
|
| +checkUnnamed3466(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'));
|
| @@ -1194,7 +1194,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ProjectsConfigsOperationsResourceApi res = new api.RuntimeconfigApi(mock).projects.configs.operations;
|
| var arg_resource = "foo";
|
| - var arg_permissions = buildUnnamed3882();
|
| + var arg_permissions = buildUnnamed3464();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1388,9 +1388,10 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ProjectsConfigsVariablesResourceApi res = new api.RuntimeconfigApi(mock).projects.configs.variables;
|
| var arg_parent = "foo";
|
| - var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| var arg_filter = "foo";
|
| + var arg_pageToken = "foo";
|
| + var arg_returnValues = true;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1418,9 +1419,10 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(queryMap["returnValues"].first, unittest.equals("$arg_returnValues"));
|
|
|
|
|
| var h = {
|
| @@ -1429,7 +1431,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListVariablesResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_parent, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListVariablesResponse response) {
|
| + res.list(arg_parent, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken, returnValues: arg_returnValues).then(unittest.expectAsync(((api.ListVariablesResponse response) {
|
| checkListVariablesResponse(response);
|
| })));
|
| });
|
| @@ -1439,7 +1441,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ProjectsConfigsVariablesResourceApi res = new api.RuntimeconfigApi(mock).projects.configs.variables;
|
| var arg_resource = "foo";
|
| - var arg_permissions = buildUnnamed3883();
|
| + var arg_permissions = buildUnnamed3465();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1778,7 +1780,7 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ProjectsConfigsWaitersResourceApi res = new api.RuntimeconfigApi(mock).projects.configs.waiters;
|
| var arg_resource = "foo";
|
| - var arg_permissions = buildUnnamed3884();
|
| + var arg_permissions = buildUnnamed3466();
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
|
|