Index: generated/googleapis/test/clouddebugger/v2_test.dart |
diff --git a/generated/googleapis/test/clouddebugger/v2_test.dart b/generated/googleapis/test/clouddebugger/v2_test.dart |
index 1a2ceb62a2427df0c8d18ab710a4ae14924e87a7..082f9d1e6ad6d66c1303ee253804e71855ee2a12 100644 |
--- a/generated/googleapis/test/clouddebugger/v2_test.dart |
+++ b/generated/googleapis/test/clouddebugger/v2_test.dart |
@@ -72,66 +72,66 @@ checkAliasContext(api.AliasContext o) { |
buildCounterAliasContext--; |
} |
-buildUnnamed749() { |
+buildUnnamed756() { |
var o = new core.List<api.Variable>(); |
o.add(buildVariable()); |
o.add(buildVariable()); |
return o; |
} |
-checkUnnamed749(core.List<api.Variable> o) { |
+checkUnnamed756(core.List<api.Variable> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVariable(o[0]); |
checkVariable(o[1]); |
} |
-buildUnnamed750() { |
+buildUnnamed757() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed750(core.List<core.String> o) { |
+checkUnnamed757(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')); |
} |
-buildUnnamed751() { |
+buildUnnamed758() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed751(core.Map<core.String, core.String> o) { |
+checkUnnamed758(core.Map<core.String, core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o["x"], unittest.equals('foo')); |
unittest.expect(o["y"], unittest.equals('foo')); |
} |
-buildUnnamed752() { |
+buildUnnamed759() { |
var o = new core.List<api.StackFrame>(); |
o.add(buildStackFrame()); |
o.add(buildStackFrame()); |
return o; |
} |
-checkUnnamed752(core.List<api.StackFrame> o) { |
+checkUnnamed759(core.List<api.StackFrame> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkStackFrame(o[0]); |
checkStackFrame(o[1]); |
} |
-buildUnnamed753() { |
+buildUnnamed760() { |
var o = new core.List<api.Variable>(); |
o.add(buildVariable()); |
o.add(buildVariable()); |
return o; |
} |
-checkUnnamed753(core.List<api.Variable> o) { |
+checkUnnamed760(core.List<api.Variable> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVariable(o[0]); |
checkVariable(o[1]); |
@@ -145,19 +145,19 @@ buildBreakpoint() { |
o.action = "foo"; |
o.condition = "foo"; |
o.createTime = "foo"; |
- o.evaluatedExpressions = buildUnnamed749(); |
- o.expressions = buildUnnamed750(); |
+ o.evaluatedExpressions = buildUnnamed756(); |
+ o.expressions = buildUnnamed757(); |
o.finalTime = "foo"; |
o.id = "foo"; |
o.isFinalState = true; |
- o.labels = buildUnnamed751(); |
+ o.labels = buildUnnamed758(); |
o.location = buildSourceLocation(); |
o.logLevel = "foo"; |
o.logMessageFormat = "foo"; |
- o.stackFrames = buildUnnamed752(); |
+ o.stackFrames = buildUnnamed759(); |
o.status = buildStatusMessage(); |
o.userEmail = "foo"; |
- o.variableTable = buildUnnamed753(); |
+ o.variableTable = buildUnnamed760(); |
} |
buildCounterBreakpoint--; |
return o; |
@@ -169,19 +169,19 @@ checkBreakpoint(api.Breakpoint o) { |
unittest.expect(o.action, unittest.equals('foo')); |
unittest.expect(o.condition, unittest.equals('foo')); |
unittest.expect(o.createTime, unittest.equals('foo')); |
- checkUnnamed749(o.evaluatedExpressions); |
- checkUnnamed750(o.expressions); |
+ checkUnnamed756(o.evaluatedExpressions); |
+ checkUnnamed757(o.expressions); |
unittest.expect(o.finalTime, unittest.equals('foo')); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.isFinalState, unittest.isTrue); |
- checkUnnamed751(o.labels); |
+ checkUnnamed758(o.labels); |
checkSourceLocation(o.location); |
unittest.expect(o.logLevel, unittest.equals('foo')); |
unittest.expect(o.logMessageFormat, unittest.equals('foo')); |
- checkUnnamed752(o.stackFrames); |
+ checkUnnamed759(o.stackFrames); |
checkStatusMessage(o.status); |
unittest.expect(o.userEmail, unittest.equals('foo')); |
- checkUnnamed753(o.variableTable); |
+ checkUnnamed760(o.variableTable); |
} |
buildCounterBreakpoint--; |
} |
@@ -253,40 +253,40 @@ checkCloudWorkspaceSourceContext(api.CloudWorkspaceSourceContext o) { |
buildCounterCloudWorkspaceSourceContext--; |
} |
-buildUnnamed754() { |
+buildUnnamed761() { |
var o = new core.List<api.ExtendedSourceContext>(); |
o.add(buildExtendedSourceContext()); |
o.add(buildExtendedSourceContext()); |
return o; |
} |
-checkUnnamed754(core.List<api.ExtendedSourceContext> o) { |
+checkUnnamed761(core.List<api.ExtendedSourceContext> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkExtendedSourceContext(o[0]); |
checkExtendedSourceContext(o[1]); |
} |
-buildUnnamed755() { |
+buildUnnamed762() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed755(core.Map<core.String, core.String> o) { |
+checkUnnamed762(core.Map<core.String, core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o["x"], unittest.equals('foo')); |
unittest.expect(o["y"], unittest.equals('foo')); |
} |
-buildUnnamed756() { |
+buildUnnamed763() { |
var o = new core.List<api.SourceContext>(); |
o.add(buildSourceContext()); |
o.add(buildSourceContext()); |
return o; |
} |
-checkUnnamed756(core.List<api.SourceContext> o) { |
+checkUnnamed763(core.List<api.SourceContext> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkSourceContext(o[0]); |
checkSourceContext(o[1]); |
@@ -299,13 +299,13 @@ buildDebuggee() { |
if (buildCounterDebuggee < 3) { |
o.agentVersion = "foo"; |
o.description = "foo"; |
- o.extSourceContexts = buildUnnamed754(); |
+ o.extSourceContexts = buildUnnamed761(); |
o.id = "foo"; |
o.isDisabled = true; |
o.isInactive = true; |
- o.labels = buildUnnamed755(); |
+ o.labels = buildUnnamed762(); |
o.project = "foo"; |
- o.sourceContexts = buildUnnamed756(); |
+ o.sourceContexts = buildUnnamed763(); |
o.status = buildStatusMessage(); |
o.uniquifier = "foo"; |
} |
@@ -318,13 +318,13 @@ checkDebuggee(api.Debuggee o) { |
if (buildCounterDebuggee < 3) { |
unittest.expect(o.agentVersion, unittest.equals('foo')); |
unittest.expect(o.description, unittest.equals('foo')); |
- checkUnnamed754(o.extSourceContexts); |
+ checkUnnamed761(o.extSourceContexts); |
unittest.expect(o.id, unittest.equals('foo')); |
unittest.expect(o.isDisabled, unittest.isTrue); |
unittest.expect(o.isInactive, unittest.isTrue); |
- checkUnnamed755(o.labels); |
+ checkUnnamed762(o.labels); |
unittest.expect(o.project, unittest.equals('foo')); |
- checkUnnamed756(o.sourceContexts); |
+ checkUnnamed763(o.sourceContexts); |
checkStatusMessage(o.status); |
unittest.expect(o.uniquifier, unittest.equals('foo')); |
} |
@@ -348,14 +348,14 @@ checkEmpty(api.Empty o) { |
buildCounterEmpty--; |
} |
-buildUnnamed757() { |
+buildUnnamed764() { |
var o = new core.Map<core.String, core.String>(); |
o["x"] = "foo"; |
o["y"] = "foo"; |
return o; |
} |
-checkUnnamed757(core.Map<core.String, core.String> o) { |
+checkUnnamed764(core.Map<core.String, core.String> o) { |
unittest.expect(o, unittest.hasLength(2)); |
unittest.expect(o["x"], unittest.equals('foo')); |
unittest.expect(o["y"], unittest.equals('foo')); |
@@ -367,7 +367,7 @@ buildExtendedSourceContext() { |
buildCounterExtendedSourceContext++; |
if (buildCounterExtendedSourceContext < 3) { |
o.context = buildSourceContext(); |
- o.labels = buildUnnamed757(); |
+ o.labels = buildUnnamed764(); |
} |
buildCounterExtendedSourceContext--; |
return o; |
@@ -377,19 +377,19 @@ checkExtendedSourceContext(api.ExtendedSourceContext o) { |
buildCounterExtendedSourceContext++; |
if (buildCounterExtendedSourceContext < 3) { |
checkSourceContext(o.context); |
- checkUnnamed757(o.labels); |
+ checkUnnamed764(o.labels); |
} |
buildCounterExtendedSourceContext--; |
} |
-buildUnnamed758() { |
+buildUnnamed765() { |
var o = new core.List<core.String>(); |
o.add("foo"); |
o.add("foo"); |
return o; |
} |
-checkUnnamed758(core.List<core.String> o) { |
+checkUnnamed765(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')); |
@@ -401,7 +401,7 @@ buildFormatMessage() { |
buildCounterFormatMessage++; |
if (buildCounterFormatMessage < 3) { |
o.format = "foo"; |
- o.parameters = buildUnnamed758(); |
+ o.parameters = buildUnnamed765(); |
} |
buildCounterFormatMessage--; |
return o; |
@@ -411,7 +411,7 @@ checkFormatMessage(api.FormatMessage o) { |
buildCounterFormatMessage++; |
if (buildCounterFormatMessage < 3) { |
unittest.expect(o.format, unittest.equals('foo')); |
- checkUnnamed758(o.parameters); |
+ checkUnnamed765(o.parameters); |
} |
buildCounterFormatMessage--; |
} |
@@ -483,14 +483,14 @@ checkGitSourceContext(api.GitSourceContext o) { |
buildCounterGitSourceContext--; |
} |
-buildUnnamed759() { |
+buildUnnamed766() { |
var o = new core.List<api.Breakpoint>(); |
o.add(buildBreakpoint()); |
o.add(buildBreakpoint()); |
return o; |
} |
-checkUnnamed759(core.List<api.Breakpoint> o) { |
+checkUnnamed766(core.List<api.Breakpoint> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkBreakpoint(o[0]); |
checkBreakpoint(o[1]); |
@@ -501,7 +501,7 @@ buildListActiveBreakpointsResponse() { |
var o = new api.ListActiveBreakpointsResponse(); |
buildCounterListActiveBreakpointsResponse++; |
if (buildCounterListActiveBreakpointsResponse < 3) { |
- o.breakpoints = buildUnnamed759(); |
+ o.breakpoints = buildUnnamed766(); |
o.nextWaitToken = "foo"; |
o.waitExpired = true; |
} |
@@ -512,21 +512,21 @@ buildListActiveBreakpointsResponse() { |
checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) { |
buildCounterListActiveBreakpointsResponse++; |
if (buildCounterListActiveBreakpointsResponse < 3) { |
- checkUnnamed759(o.breakpoints); |
+ checkUnnamed766(o.breakpoints); |
unittest.expect(o.nextWaitToken, unittest.equals('foo')); |
unittest.expect(o.waitExpired, unittest.isTrue); |
} |
buildCounterListActiveBreakpointsResponse--; |
} |
-buildUnnamed760() { |
+buildUnnamed767() { |
var o = new core.List<api.Breakpoint>(); |
o.add(buildBreakpoint()); |
o.add(buildBreakpoint()); |
return o; |
} |
-checkUnnamed760(core.List<api.Breakpoint> o) { |
+checkUnnamed767(core.List<api.Breakpoint> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkBreakpoint(o[0]); |
checkBreakpoint(o[1]); |
@@ -537,7 +537,7 @@ buildListBreakpointsResponse() { |
var o = new api.ListBreakpointsResponse(); |
buildCounterListBreakpointsResponse++; |
if (buildCounterListBreakpointsResponse < 3) { |
- o.breakpoints = buildUnnamed760(); |
+ o.breakpoints = buildUnnamed767(); |
o.nextWaitToken = "foo"; |
} |
buildCounterListBreakpointsResponse--; |
@@ -547,20 +547,20 @@ buildListBreakpointsResponse() { |
checkListBreakpointsResponse(api.ListBreakpointsResponse o) { |
buildCounterListBreakpointsResponse++; |
if (buildCounterListBreakpointsResponse < 3) { |
- checkUnnamed760(o.breakpoints); |
+ checkUnnamed767(o.breakpoints); |
unittest.expect(o.nextWaitToken, unittest.equals('foo')); |
} |
buildCounterListBreakpointsResponse--; |
} |
-buildUnnamed761() { |
+buildUnnamed768() { |
var o = new core.List<api.Debuggee>(); |
o.add(buildDebuggee()); |
o.add(buildDebuggee()); |
return o; |
} |
-checkUnnamed761(core.List<api.Debuggee> o) { |
+checkUnnamed768(core.List<api.Debuggee> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkDebuggee(o[0]); |
checkDebuggee(o[1]); |
@@ -571,7 +571,7 @@ buildListDebuggeesResponse() { |
var o = new api.ListDebuggeesResponse(); |
buildCounterListDebuggeesResponse++; |
if (buildCounterListDebuggeesResponse < 3) { |
- o.debuggees = buildUnnamed761(); |
+ o.debuggees = buildUnnamed768(); |
} |
buildCounterListDebuggeesResponse--; |
return o; |
@@ -580,7 +580,7 @@ buildListDebuggeesResponse() { |
checkListDebuggeesResponse(api.ListDebuggeesResponse o) { |
buildCounterListDebuggeesResponse++; |
if (buildCounterListDebuggeesResponse < 3) { |
- checkUnnamed761(o.debuggees); |
+ checkUnnamed768(o.debuggees); |
} |
buildCounterListDebuggeesResponse--; |
} |
@@ -730,27 +730,27 @@ checkSourceLocation(api.SourceLocation o) { |
buildCounterSourceLocation--; |
} |
-buildUnnamed762() { |
+buildUnnamed769() { |
var o = new core.List<api.Variable>(); |
o.add(buildVariable()); |
o.add(buildVariable()); |
return o; |
} |
-checkUnnamed762(core.List<api.Variable> o) { |
+checkUnnamed769(core.List<api.Variable> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVariable(o[0]); |
checkVariable(o[1]); |
} |
-buildUnnamed763() { |
+buildUnnamed770() { |
var o = new core.List<api.Variable>(); |
o.add(buildVariable()); |
o.add(buildVariable()); |
return o; |
} |
-checkUnnamed763(core.List<api.Variable> o) { |
+checkUnnamed770(core.List<api.Variable> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVariable(o[0]); |
checkVariable(o[1]); |
@@ -761,9 +761,9 @@ buildStackFrame() { |
var o = new api.StackFrame(); |
buildCounterStackFrame++; |
if (buildCounterStackFrame < 3) { |
- o.arguments = buildUnnamed762(); |
+ o.arguments = buildUnnamed769(); |
o.function = "foo"; |
- o.locals = buildUnnamed763(); |
+ o.locals = buildUnnamed770(); |
o.location = buildSourceLocation(); |
} |
buildCounterStackFrame--; |
@@ -773,9 +773,9 @@ buildStackFrame() { |
checkStackFrame(api.StackFrame o) { |
buildCounterStackFrame++; |
if (buildCounterStackFrame < 3) { |
- checkUnnamed762(o.arguments); |
+ checkUnnamed769(o.arguments); |
unittest.expect(o.function, unittest.equals('foo')); |
- checkUnnamed763(o.locals); |
+ checkUnnamed770(o.locals); |
checkSourceLocation(o.location); |
} |
buildCounterStackFrame--; |
@@ -840,14 +840,14 @@ checkUpdateActiveBreakpointResponse(api.UpdateActiveBreakpointResponse o) { |
buildCounterUpdateActiveBreakpointResponse--; |
} |
-buildUnnamed764() { |
+buildUnnamed771() { |
var o = new core.List<api.Variable>(); |
o.add(buildVariable()); |
o.add(buildVariable()); |
return o; |
} |
-checkUnnamed764(core.List<api.Variable> o) { |
+checkUnnamed771(core.List<api.Variable> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkVariable(o[0]); |
checkVariable(o[1]); |
@@ -858,7 +858,7 @@ buildVariable() { |
var o = new api.Variable(); |
buildCounterVariable++; |
if (buildCounterVariable < 3) { |
- o.members = buildUnnamed764(); |
+ o.members = buildUnnamed771(); |
o.name = "foo"; |
o.status = buildStatusMessage(); |
o.type = "foo"; |
@@ -872,7 +872,7 @@ buildVariable() { |
checkVariable(api.Variable o) { |
buildCounterVariable++; |
if (buildCounterVariable < 3) { |
- checkUnnamed764(o.members); |
+ checkUnnamed771(o.members); |
unittest.expect(o.name, unittest.equals('foo')); |
checkStatusMessage(o.status); |
unittest.expect(o.type, unittest.equals('foo')); |
@@ -1301,9 +1301,9 @@ main() { |
var mock = new HttpServerMock(); |
api.DebuggerDebuggeesResourceApi res = new api.ClouddebuggerApi(mock).debugger.debuggees; |
+ var arg_clientVersion = "foo"; |
var arg_includeInactive = true; |
var arg_project = "foo"; |
- var arg_clientVersion = "foo"; |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -1330,9 +1330,9 @@ main() { |
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); |
} |
} |
+ unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion)); |
unittest.expect(queryMap["includeInactive"].first, unittest.equals("$arg_includeInactive")); |
unittest.expect(queryMap["project"].first, unittest.equals(arg_project)); |
- unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion)); |
var h = { |
@@ -1341,7 +1341,7 @@ main() { |
var resp = convert.JSON.encode(buildListDebuggeesResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(includeInactive: arg_includeInactive, project: arg_project, clientVersion: arg_clientVersion).then(unittest.expectAsync(((api.ListDebuggeesResponse response) { |
+ res.list(clientVersion: arg_clientVersion, includeInactive: arg_includeInactive, project: arg_project).then(unittest.expectAsync(((api.ListDebuggeesResponse response) { |
checkListDebuggeesResponse(response); |
}))); |
}); |
@@ -1469,12 +1469,12 @@ main() { |
var mock = new HttpServerMock(); |
api.DebuggerDebuggeesBreakpointsResourceApi res = new api.ClouddebuggerApi(mock).debugger.debuggees.breakpoints; |
var arg_debuggeeId = "foo"; |
+ var arg_waitToken = "foo"; |
var arg_clientVersion = "foo"; |
- var arg_includeAllUsers = true; |
- var arg_stripResults = true; |
var arg_action_value = "foo"; |
+ var arg_includeAllUsers = true; |
var arg_includeInactive = true; |
- var arg_waitToken = "foo"; |
+ var arg_stripResults = true; |
mock.register(unittest.expectAsync((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -1508,12 +1508,12 @@ main() { |
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1])); |
} |
} |
+ unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken)); |
unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion)); |
- unittest.expect(queryMap["includeAllUsers"].first, unittest.equals("$arg_includeAllUsers")); |
- unittest.expect(queryMap["stripResults"].first, unittest.equals("$arg_stripResults")); |
unittest.expect(queryMap["action.value"].first, unittest.equals(arg_action_value)); |
+ unittest.expect(queryMap["includeAllUsers"].first, unittest.equals("$arg_includeAllUsers")); |
unittest.expect(queryMap["includeInactive"].first, unittest.equals("$arg_includeInactive")); |
- unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken)); |
+ unittest.expect(queryMap["stripResults"].first, unittest.equals("$arg_stripResults")); |
var h = { |
@@ -1522,7 +1522,7 @@ main() { |
var resp = convert.JSON.encode(buildListBreakpointsResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_debuggeeId, clientVersion: arg_clientVersion, includeAllUsers: arg_includeAllUsers, stripResults: arg_stripResults, action_value: arg_action_value, includeInactive: arg_includeInactive, waitToken: arg_waitToken).then(unittest.expectAsync(((api.ListBreakpointsResponse response) { |
+ res.list(arg_debuggeeId, waitToken: arg_waitToken, clientVersion: arg_clientVersion, action_value: arg_action_value, includeAllUsers: arg_includeAllUsers, includeInactive: arg_includeInactive, stripResults: arg_stripResults).then(unittest.expectAsync(((api.ListBreakpointsResponse response) { |
checkListBreakpointsResponse(response); |
}))); |
}); |