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 bce014f4ed4878e1cc943c89af97c1d8a6c2b9eb..a77366da63ddba440b44d2f3a3d1a7e0612d74ae 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--; |
} |
-buildUnnamed3058() { |
+buildUnnamed3079() { |
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; |
} |
-checkUnnamed3058(core.List<core.Object> o) { |
+checkUnnamed3079(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 = buildUnnamed3058(); |
+ o.args = buildUnnamed3079(); |
o.function = "foo"; |
} |
buildCounterFunctionCall--; |
@@ -140,20 +140,20 @@ buildFunctionCall() { |
checkFunctionCall(api.FunctionCall o) { |
buildCounterFunctionCall++; |
if (buildCounterFunctionCall < 3) { |
- checkUnnamed3058(o.args); |
+ checkUnnamed3079(o.args); |
unittest.expect(o.function, unittest.equals('foo')); |
} |
buildCounterFunctionCall--; |
} |
-buildUnnamed3059() { |
+buildUnnamed3080() { |
var o = new core.List<api.Arg>(); |
o.add(buildArg()); |
o.add(buildArg()); |
return o; |
} |
-checkUnnamed3059(core.List<api.Arg> o) { |
+checkUnnamed3080(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 = buildUnnamed3059(); |
+ o.args = buildUnnamed3080(); |
o.function = "foo"; |
o.result = buildResult(); |
} |
@@ -175,7 +175,7 @@ buildFunctionMock() { |
checkFunctionMock(api.FunctionMock o) { |
buildCounterFunctionMock++; |
if (buildCounterFunctionMock < 3) { |
- checkUnnamed3059(o.args); |
+ checkUnnamed3080(o.args); |
unittest.expect(o.function, unittest.equals('foo')); |
checkResult(o.result); |
} |
@@ -205,14 +205,14 @@ checkIssue(api.Issue o) { |
buildCounterIssue--; |
} |
-buildUnnamed3060() { |
+buildUnnamed3081() { |
var o = new core.List<api.Release>(); |
o.add(buildRelease()); |
o.add(buildRelease()); |
return o; |
} |
-checkUnnamed3060(core.List<api.Release> o) { |
+checkUnnamed3081(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 = buildUnnamed3060(); |
+ o.releases = buildUnnamed3081(); |
} |
buildCounterListReleasesResponse--; |
return o; |
@@ -234,19 +234,19 @@ checkListReleasesResponse(api.ListReleasesResponse o) { |
buildCounterListReleasesResponse++; |
if (buildCounterListReleasesResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3060(o.releases); |
+ checkUnnamed3081(o.releases); |
} |
buildCounterListReleasesResponse--; |
} |
-buildUnnamed3061() { |
+buildUnnamed3082() { |
var o = new core.List<api.Ruleset>(); |
o.add(buildRuleset()); |
o.add(buildRuleset()); |
return o; |
} |
-checkUnnamed3061(core.List<api.Ruleset> o) { |
+checkUnnamed3082(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 = buildUnnamed3061(); |
+ o.rulesets = buildUnnamed3082(); |
} |
buildCounterListRulesetsResponse--; |
return o; |
@@ -268,7 +268,7 @@ checkListRulesetsResponse(api.ListRulesetsResponse o) { |
buildCounterListRulesetsResponse++; |
if (buildCounterListRulesetsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3061(o.rulesets); |
+ checkUnnamed3082(o.rulesets); |
} |
buildCounterListRulesetsResponse--; |
} |
@@ -342,14 +342,14 @@ checkRuleset(api.Ruleset o) { |
buildCounterRuleset--; |
} |
-buildUnnamed3062() { |
+buildUnnamed3083() { |
var o = new core.List<api.File>(); |
o.add(buildFile()); |
o.add(buildFile()); |
return o; |
} |
-checkUnnamed3062(core.List<api.File> o) { |
+checkUnnamed3083(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 = buildUnnamed3062(); |
+ o.files = buildUnnamed3083(); |
} |
buildCounterSource--; |
return o; |
@@ -369,7 +369,7 @@ buildSource() { |
checkSource(api.Source o) { |
buildCounterSource++; |
if (buildCounterSource < 3) { |
- checkUnnamed3062(o.files); |
+ checkUnnamed3083(o.files); |
} |
buildCounterSource--; |
} |
@@ -397,14 +397,14 @@ checkSourcePosition(api.SourcePosition o) { |
buildCounterSourcePosition--; |
} |
-buildUnnamed3063() { |
+buildUnnamed3084() { |
var o = new core.List<api.FunctionMock>(); |
o.add(buildFunctionMock()); |
o.add(buildFunctionMock()); |
return o; |
} |
-checkUnnamed3063(core.List<api.FunctionMock> o) { |
+checkUnnamed3084(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 = buildUnnamed3063(); |
+ o.functionMocks = buildUnnamed3084(); |
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')); |
- checkUnnamed3063(o.functionMocks); |
+ checkUnnamed3084(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--; |
} |
-buildUnnamed3064() { |
+buildUnnamed3085() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed3064(core.List<core.String> o) { |
+checkUnnamed3085(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')); |
} |
-buildUnnamed3065() { |
+buildUnnamed3086() { |
var o = new core.List<api.FunctionCall>(); |
o.add(buildFunctionCall()); |
o.add(buildFunctionCall()); |
return o; |
} |
-checkUnnamed3065(core.List<api.FunctionCall> o) { |
+checkUnnamed3086(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 = buildUnnamed3064(); |
+ o.debugMessages = buildUnnamed3085(); |
o.errorPosition = buildSourcePosition(); |
- o.functionCalls = buildUnnamed3065(); |
+ o.functionCalls = buildUnnamed3086(); |
o.state = "foo"; |
} |
buildCounterTestResult--; |
@@ -478,9 +478,9 @@ buildTestResult() { |
checkTestResult(api.TestResult o) { |
buildCounterTestResult++; |
if (buildCounterTestResult < 3) { |
- checkUnnamed3064(o.debugMessages); |
+ checkUnnamed3085(o.debugMessages); |
checkSourcePosition(o.errorPosition); |
- checkUnnamed3065(o.functionCalls); |
+ checkUnnamed3086(o.functionCalls); |
unittest.expect(o.state, unittest.equals('foo')); |
} |
buildCounterTestResult--; |
@@ -507,27 +507,27 @@ checkTestRulesetRequest(api.TestRulesetRequest o) { |
buildCounterTestRulesetRequest--; |
} |
-buildUnnamed3066() { |
+buildUnnamed3087() { |
var o = new core.List<api.Issue>(); |
o.add(buildIssue()); |
o.add(buildIssue()); |
return o; |
} |
-checkUnnamed3066(core.List<api.Issue> o) { |
+checkUnnamed3087(core.List<api.Issue> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkIssue(o[0]); |
checkIssue(o[1]); |
} |
-buildUnnamed3067() { |
+buildUnnamed3088() { |
var o = new core.List<api.TestResult>(); |
o.add(buildTestResult()); |
o.add(buildTestResult()); |
return o; |
} |
-checkUnnamed3067(core.List<api.TestResult> o) { |
+checkUnnamed3088(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 = buildUnnamed3066(); |
- o.testResults = buildUnnamed3067(); |
+ o.issues = buildUnnamed3087(); |
+ o.testResults = buildUnnamed3088(); |
} |
buildCounterTestRulesetResponse--; |
return o; |
@@ -548,20 +548,20 @@ buildTestRulesetResponse() { |
checkTestRulesetResponse(api.TestRulesetResponse o) { |
buildCounterTestRulesetResponse++; |
if (buildCounterTestRulesetResponse < 3) { |
- checkUnnamed3066(o.issues); |
- checkUnnamed3067(o.testResults); |
+ checkUnnamed3087(o.issues); |
+ checkUnnamed3088(o.testResults); |
} |
buildCounterTestRulesetResponse--; |
} |
-buildUnnamed3068() { |
+buildUnnamed3089() { |
var o = new core.List<api.TestCase>(); |
o.add(buildTestCase()); |
o.add(buildTestCase()); |
return o; |
} |
-checkUnnamed3068(core.List<api.TestCase> o) { |
+checkUnnamed3089(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 = buildUnnamed3068(); |
+ o.testCases = buildUnnamed3089(); |
} |
buildCounterTestSuite--; |
return o; |
@@ -581,7 +581,7 @@ buildTestSuite() { |
checkTestSuite(api.TestSuite o) { |
buildCounterTestSuite++; |
if (buildCounterTestSuite < 3) { |
- checkUnnamed3068(o.testCases); |
+ checkUnnamed3089(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, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListReleasesResponse response) { |
+ res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.ListReleasesResponse response) { |
checkListReleasesResponse(response); |
}))); |
}); |
@@ -1191,9 +1191,9 @@ main() { |
var mock = new HttpServerMock(); |
api.ProjectsRulesetsResourceApi res = new api.FirebaserulesApi(mock).projects.rulesets; |
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; |
@@ -1221,9 +1221,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 = { |
@@ -1232,7 +1232,7 @@ main() { |
var resp = convert.JSON.encode(buildListRulesetsResponse()); |
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.ListRulesetsResponse response) { |
+ res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filter: arg_filter).then(unittest.expectAsync1(((api.ListRulesetsResponse response) { |
checkListRulesetsResponse(response); |
}))); |
}); |