| Index: generated/googleapis/test/firebaserules/v1_test.dart
|
| diff --git a/generated/googleapis/test/firebaserules/v1_test.dart b/generated/googleapis/test/firebaserules/v1_test.dart
|
| index 8accba577f914149ff5ce521bd5ed0c2e4c29bd0..f20ea670feed88ef4e465570cbf3d62da4aab593 100644
|
| --- a/generated/googleapis/test/firebaserules/v1_test.dart
|
| +++ b/generated/googleapis/test/firebaserules/v1_test.dart
|
| @@ -114,14 +114,14 @@ checkIssue(api.Issue o) {
|
| buildCounterIssue--;
|
| }
|
|
|
| -buildUnnamed3043() {
|
| +buildUnnamed3134() {
|
| var o = new core.List<api.Release>();
|
| o.add(buildRelease());
|
| o.add(buildRelease());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3043(core.List<api.Release> o) {
|
| +checkUnnamed3134(core.List<api.Release> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRelease(o[0]);
|
| checkRelease(o[1]);
|
| @@ -133,7 +133,7 @@ buildListReleasesResponse() {
|
| buildCounterListReleasesResponse++;
|
| if (buildCounterListReleasesResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.releases = buildUnnamed3043();
|
| + o.releases = buildUnnamed3134();
|
| }
|
| buildCounterListReleasesResponse--;
|
| return o;
|
| @@ -143,19 +143,19 @@ checkListReleasesResponse(api.ListReleasesResponse o) {
|
| buildCounterListReleasesResponse++;
|
| if (buildCounterListReleasesResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed3043(o.releases);
|
| + checkUnnamed3134(o.releases);
|
| }
|
| buildCounterListReleasesResponse--;
|
| }
|
|
|
| -buildUnnamed3044() {
|
| +buildUnnamed3135() {
|
| var o = new core.List<api.Ruleset>();
|
| o.add(buildRuleset());
|
| o.add(buildRuleset());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3044(core.List<api.Ruleset> o) {
|
| +checkUnnamed3135(core.List<api.Ruleset> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRuleset(o[0]);
|
| checkRuleset(o[1]);
|
| @@ -167,7 +167,7 @@ buildListRulesetsResponse() {
|
| buildCounterListRulesetsResponse++;
|
| if (buildCounterListRulesetsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.rulesets = buildUnnamed3044();
|
| + o.rulesets = buildUnnamed3135();
|
| }
|
| buildCounterListRulesetsResponse--;
|
| return o;
|
| @@ -177,7 +177,7 @@ checkListRulesetsResponse(api.ListRulesetsResponse o) {
|
| buildCounterListRulesetsResponse++;
|
| if (buildCounterListRulesetsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed3044(o.rulesets);
|
| + checkUnnamed3135(o.rulesets);
|
| }
|
| buildCounterListRulesetsResponse--;
|
| }
|
| @@ -230,14 +230,14 @@ checkRuleset(api.Ruleset o) {
|
| buildCounterRuleset--;
|
| }
|
|
|
| -buildUnnamed3045() {
|
| +buildUnnamed3136() {
|
| var o = new core.List<api.File>();
|
| o.add(buildFile());
|
| o.add(buildFile());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3045(core.List<api.File> o) {
|
| +checkUnnamed3136(core.List<api.File> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFile(o[0]);
|
| checkFile(o[1]);
|
| @@ -248,7 +248,7 @@ buildSource() {
|
| var o = new api.Source();
|
| buildCounterSource++;
|
| if (buildCounterSource < 3) {
|
| - o.files = buildUnnamed3045();
|
| + o.files = buildUnnamed3136();
|
| }
|
| buildCounterSource--;
|
| return o;
|
| @@ -257,7 +257,7 @@ buildSource() {
|
| checkSource(api.Source o) {
|
| buildCounterSource++;
|
| if (buildCounterSource < 3) {
|
| - checkUnnamed3045(o.files);
|
| + checkUnnamed3136(o.files);
|
| }
|
| buildCounterSource--;
|
| }
|
| @@ -304,14 +304,14 @@ checkTestRulesetRequest(api.TestRulesetRequest o) {
|
| buildCounterTestRulesetRequest--;
|
| }
|
|
|
| -buildUnnamed3046() {
|
| +buildUnnamed3137() {
|
| var o = new core.List<api.Issue>();
|
| o.add(buildIssue());
|
| o.add(buildIssue());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3046(core.List<api.Issue> o) {
|
| +checkUnnamed3137(core.List<api.Issue> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkIssue(o[0]);
|
| checkIssue(o[1]);
|
| @@ -322,7 +322,7 @@ buildTestRulesetResponse() {
|
| var o = new api.TestRulesetResponse();
|
| buildCounterTestRulesetResponse++;
|
| if (buildCounterTestRulesetResponse < 3) {
|
| - o.issues = buildUnnamed3046();
|
| + o.issues = buildUnnamed3137();
|
| }
|
| buildCounterTestRulesetResponse--;
|
| return o;
|
| @@ -331,7 +331,7 @@ buildTestRulesetResponse() {
|
| checkTestRulesetResponse(api.TestRulesetResponse o) {
|
| buildCounterTestRulesetResponse++;
|
| if (buildCounterTestRulesetResponse < 3) {
|
| - checkUnnamed3046(o.issues);
|
| + checkUnnamed3137(o.issues);
|
| }
|
| buildCounterTestRulesetResponse--;
|
| }
|
| @@ -635,9 +635,9 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ProjectsReleasesResourceApi res = new api.FirebaserulesApi(mock).projects.releases;
|
| var arg_name = "foo";
|
| + var arg_pageToken = "foo";
|
| var arg_pageSize = 42;
|
| var arg_filter = "foo";
|
| - var arg_pageToken = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -665,9 +665,9 @@ 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));
|
|
|
|
|
| var h = {
|
| @@ -676,7 +676,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListReleasesResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListReleasesResponse response) {
|
| + res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync(((api.ListReleasesResponse response) {
|
| checkListReleasesResponse(response);
|
| })));
|
| });
|
| @@ -878,8 +878,8 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ProjectsRulesetsResourceApi res = new api.FirebaserulesApi(mock).projects.rulesets;
|
| var arg_name = "foo";
|
| - var arg_pageSize = 42;
|
| var arg_pageToken = "foo";
|
| + var arg_pageSize = 42;
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -907,8 +907,8 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
| unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| + unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equals(arg_pageSize));
|
|
|
|
|
| var h = {
|
| @@ -917,7 +917,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListRulesetsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_name, pageSize: arg_pageSize, pageToken: arg_pageToken).then(unittest.expectAsync(((api.ListRulesetsResponse response) {
|
| + res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync(((api.ListRulesetsResponse response) {
|
| checkListRulesetsResponse(response);
|
| })));
|
| });
|
|
|