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 796f8d182761a0c0df8ad6554933b083e4f53fd0..bce014f4ed4878e1cc943c89af97c1d8a6c2b9eb 100644 |
--- a/generated/googleapis/test/firebaserules/v1_test.dart |
+++ b/generated/googleapis/test/firebaserules/v1_test.dart |
@@ -112,14 +112,14 @@ checkFile(api.File o) { |
buildCounterFile--; |
} |
-buildUnnamed3009() { |
+buildUnnamed3058() { |
var o = new core.List<core.Object>(); |
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
o.add({'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}); |
return o; |
} |
-checkUnnamed3009(core.List<core.Object> o) { |
+checkUnnamed3058(core.List<core.Object> o) { |
unittest.expect(o, unittest.hasLength(2)); |
var casted2 = (o[0]) 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')); |
var casted3 = (o[1]) 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')); |
@@ -130,7 +130,7 @@ buildFunctionCall() { |
var o = new api.FunctionCall(); |
buildCounterFunctionCall++; |
if (buildCounterFunctionCall < 3) { |
- o.args = buildUnnamed3009(); |
+ o.args = buildUnnamed3058(); |
o.function = "foo"; |
} |
buildCounterFunctionCall--; |
@@ -140,20 +140,20 @@ buildFunctionCall() { |
checkFunctionCall(api.FunctionCall o) { |
buildCounterFunctionCall++; |
if (buildCounterFunctionCall < 3) { |
- checkUnnamed3009(o.args); |
+ checkUnnamed3058(o.args); |
unittest.expect(o.function, unittest.equals('foo')); |
} |
buildCounterFunctionCall--; |
} |
-buildUnnamed3010() { |
+buildUnnamed3059() { |
var o = new core.List<api.Arg>(); |
o.add(buildArg()); |
o.add(buildArg()); |
return o; |
} |
-checkUnnamed3010(core.List<api.Arg> o) { |
+checkUnnamed3059(core.List<api.Arg> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkArg(o[0]); |
checkArg(o[1]); |
@@ -164,7 +164,7 @@ buildFunctionMock() { |
var o = new api.FunctionMock(); |
buildCounterFunctionMock++; |
if (buildCounterFunctionMock < 3) { |
- o.args = buildUnnamed3010(); |
+ o.args = buildUnnamed3059(); |
o.function = "foo"; |
o.result = buildResult(); |
} |
@@ -175,7 +175,7 @@ buildFunctionMock() { |
checkFunctionMock(api.FunctionMock o) { |
buildCounterFunctionMock++; |
if (buildCounterFunctionMock < 3) { |
- checkUnnamed3010(o.args); |
+ checkUnnamed3059(o.args); |
unittest.expect(o.function, unittest.equals('foo')); |
checkResult(o.result); |
} |
@@ -205,14 +205,14 @@ checkIssue(api.Issue o) { |
buildCounterIssue--; |
} |
-buildUnnamed3011() { |
+buildUnnamed3060() { |
var o = new core.List<api.Release>(); |
o.add(buildRelease()); |
o.add(buildRelease()); |
return o; |
} |
-checkUnnamed3011(core.List<api.Release> o) { |
+checkUnnamed3060(core.List<api.Release> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkRelease(o[0]); |
checkRelease(o[1]); |
@@ -224,7 +224,7 @@ buildListReleasesResponse() { |
buildCounterListReleasesResponse++; |
if (buildCounterListReleasesResponse < 3) { |
o.nextPageToken = "foo"; |
- o.releases = buildUnnamed3011(); |
+ o.releases = buildUnnamed3060(); |
} |
buildCounterListReleasesResponse--; |
return o; |
@@ -234,19 +234,19 @@ checkListReleasesResponse(api.ListReleasesResponse o) { |
buildCounterListReleasesResponse++; |
if (buildCounterListReleasesResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3011(o.releases); |
+ checkUnnamed3060(o.releases); |
} |
buildCounterListReleasesResponse--; |
} |
-buildUnnamed3012() { |
+buildUnnamed3061() { |
var o = new core.List<api.Ruleset>(); |
o.add(buildRuleset()); |
o.add(buildRuleset()); |
return o; |
} |
-checkUnnamed3012(core.List<api.Ruleset> o) { |
+checkUnnamed3061(core.List<api.Ruleset> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkRuleset(o[0]); |
checkRuleset(o[1]); |
@@ -258,7 +258,7 @@ buildListRulesetsResponse() { |
buildCounterListRulesetsResponse++; |
if (buildCounterListRulesetsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.rulesets = buildUnnamed3012(); |
+ o.rulesets = buildUnnamed3061(); |
} |
buildCounterListRulesetsResponse--; |
return o; |
@@ -268,7 +268,7 @@ checkListRulesetsResponse(api.ListRulesetsResponse o) { |
buildCounterListRulesetsResponse++; |
if (buildCounterListRulesetsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3012(o.rulesets); |
+ checkUnnamed3061(o.rulesets); |
} |
buildCounterListRulesetsResponse--; |
} |
@@ -342,14 +342,14 @@ checkRuleset(api.Ruleset o) { |
buildCounterRuleset--; |
} |
-buildUnnamed3013() { |
+buildUnnamed3062() { |
var o = new core.List<api.File>(); |
o.add(buildFile()); |
o.add(buildFile()); |
return o; |
} |
-checkUnnamed3013(core.List<api.File> o) { |
+checkUnnamed3062(core.List<api.File> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFile(o[0]); |
checkFile(o[1]); |
@@ -360,7 +360,7 @@ buildSource() { |
var o = new api.Source(); |
buildCounterSource++; |
if (buildCounterSource < 3) { |
- o.files = buildUnnamed3013(); |
+ o.files = buildUnnamed3062(); |
} |
buildCounterSource--; |
return o; |
@@ -369,7 +369,7 @@ buildSource() { |
checkSource(api.Source o) { |
buildCounterSource++; |
if (buildCounterSource < 3) { |
- checkUnnamed3013(o.files); |
+ checkUnnamed3062(o.files); |
} |
buildCounterSource--; |
} |
@@ -397,14 +397,14 @@ checkSourcePosition(api.SourcePosition o) { |
buildCounterSourcePosition--; |
} |
-buildUnnamed3014() { |
+buildUnnamed3063() { |
var o = new core.List<api.FunctionMock>(); |
o.add(buildFunctionMock()); |
o.add(buildFunctionMock()); |
return o; |
} |
-checkUnnamed3014(core.List<api.FunctionMock> o) { |
+checkUnnamed3063(core.List<api.FunctionMock> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFunctionMock(o[0]); |
checkFunctionMock(o[1]); |
@@ -416,7 +416,7 @@ buildTestCase() { |
buildCounterTestCase++; |
if (buildCounterTestCase < 3) { |
o.expectation = "foo"; |
- o.functionMocks = buildUnnamed3014(); |
+ o.functionMocks = buildUnnamed3063(); |
o.request = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
o.resource = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
} |
@@ -428,34 +428,34 @@ checkTestCase(api.TestCase o) { |
buildCounterTestCase++; |
if (buildCounterTestCase < 3) { |
unittest.expect(o.expectation, unittest.equals('foo')); |
- checkUnnamed3014(o.functionMocks); |
+ checkUnnamed3063(o.functionMocks); |
var casted5 = (o.request) 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.resource) 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')); |
} |
buildCounterTestCase--; |
} |
-buildUnnamed3015() { |
+buildUnnamed3064() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3015(core.List<core.String> o) { |
+checkUnnamed3064(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')); |
} |
-buildUnnamed3016() { |
+buildUnnamed3065() { |
var o = new core.List<api.FunctionCall>(); |
o.add(buildFunctionCall()); |
o.add(buildFunctionCall()); |
return o; |
} |
-checkUnnamed3016(core.List<api.FunctionCall> o) { |
+checkUnnamed3065(core.List<api.FunctionCall> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkFunctionCall(o[0]); |
checkFunctionCall(o[1]); |
@@ -466,9 +466,9 @@ buildTestResult() { |
var o = new api.TestResult(); |
buildCounterTestResult++; |
if (buildCounterTestResult < 3) { |
- o.debugMessages = buildUnnamed3015(); |
+ o.debugMessages = buildUnnamed3064(); |
o.errorPosition = buildSourcePosition(); |
- o.functionCalls = buildUnnamed3016(); |
+ o.functionCalls = buildUnnamed3065(); |
o.state = "foo"; |
} |
buildCounterTestResult--; |
@@ -478,9 +478,9 @@ buildTestResult() { |
checkTestResult(api.TestResult o) { |
buildCounterTestResult++; |
if (buildCounterTestResult < 3) { |
- checkUnnamed3015(o.debugMessages); |
+ checkUnnamed3064(o.debugMessages); |
checkSourcePosition(o.errorPosition); |
- checkUnnamed3016(o.functionCalls); |
+ checkUnnamed3065(o.functionCalls); |
unittest.expect(o.state, unittest.equals('foo')); |
} |
buildCounterTestResult--; |
@@ -507,27 +507,27 @@ checkTestRulesetRequest(api.TestRulesetRequest o) { |
buildCounterTestRulesetRequest--; |
} |
-buildUnnamed3017() { |
+buildUnnamed3066() { |
var o = new core.List<api.Issue>(); |
o.add(buildIssue()); |
o.add(buildIssue()); |
return o; |
} |
-checkUnnamed3017(core.List<api.Issue> o) { |
+checkUnnamed3066(core.List<api.Issue> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkIssue(o[0]); |
checkIssue(o[1]); |
} |
-buildUnnamed3018() { |
+buildUnnamed3067() { |
var o = new core.List<api.TestResult>(); |
o.add(buildTestResult()); |
o.add(buildTestResult()); |
return o; |
} |
-checkUnnamed3018(core.List<api.TestResult> o) { |
+checkUnnamed3067(core.List<api.TestResult> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkTestResult(o[0]); |
checkTestResult(o[1]); |
@@ -538,8 +538,8 @@ buildTestRulesetResponse() { |
var o = new api.TestRulesetResponse(); |
buildCounterTestRulesetResponse++; |
if (buildCounterTestRulesetResponse < 3) { |
- o.issues = buildUnnamed3017(); |
- o.testResults = buildUnnamed3018(); |
+ o.issues = buildUnnamed3066(); |
+ o.testResults = buildUnnamed3067(); |
} |
buildCounterTestRulesetResponse--; |
return o; |
@@ -548,20 +548,20 @@ buildTestRulesetResponse() { |
checkTestRulesetResponse(api.TestRulesetResponse o) { |
buildCounterTestRulesetResponse++; |
if (buildCounterTestRulesetResponse < 3) { |
- checkUnnamed3017(o.issues); |
- checkUnnamed3018(o.testResults); |
+ checkUnnamed3066(o.issues); |
+ checkUnnamed3067(o.testResults); |
} |
buildCounterTestRulesetResponse--; |
} |
-buildUnnamed3019() { |
+buildUnnamed3068() { |
var o = new core.List<api.TestCase>(); |
o.add(buildTestCase()); |
o.add(buildTestCase()); |
return o; |
} |
-checkUnnamed3019(core.List<api.TestCase> o) { |
+checkUnnamed3068(core.List<api.TestCase> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkTestCase(o[0]); |
checkTestCase(o[1]); |
@@ -572,7 +572,7 @@ buildTestSuite() { |
var o = new api.TestSuite(); |
buildCounterTestSuite++; |
if (buildCounterTestSuite < 3) { |
- o.testCases = buildUnnamed3019(); |
+ o.testCases = buildUnnamed3068(); |
} |
buildCounterTestSuite--; |
return o; |
@@ -581,7 +581,7 @@ buildTestSuite() { |
checkTestSuite(api.TestSuite o) { |
buildCounterTestSuite++; |
if (buildCounterTestSuite < 3) { |
- checkUnnamed3019(o.testCases); |
+ checkUnnamed3068(o.testCases); |
} |
buildCounterTestSuite--; |
} |
@@ -948,9 +948,9 @@ main() { |
var mock = new HttpServerMock(); |
api.ProjectsReleasesResourceApi res = new api.FirebaserulesApi(mock).projects.releases; |
var arg_name = "foo"; |
- var arg_filter = "foo"; |
var arg_pageToken = "foo"; |
var arg_pageSize = 42; |
+ var arg_filter = "foo"; |
mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -978,9 +978,9 @@ main() { |
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); |
} |
} |
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); |
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)); |
var h = { |
@@ -989,7 +989,7 @@ main() { |
var resp = convert.JSON.encode(buildListReleasesResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListReleasesResponse response) { |
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListReleasesResponse response) { |
checkListReleasesResponse(response); |
}))); |
}); |