| 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 83fce38a92289b21959e4b7af7304ba1f93bc764..453b346d4269b4c259d11924007a920f4c715d97 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--;
|
| }
|
|
|
| -buildUnnamed802() {
|
| +buildUnnamed793() {
|
| var o = new core.List<api.Variable>();
|
| o.add(buildVariable());
|
| o.add(buildVariable());
|
| return o;
|
| }
|
|
|
| -checkUnnamed802(core.List<api.Variable> o) {
|
| +checkUnnamed793(core.List<api.Variable> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVariable(o[0]);
|
| checkVariable(o[1]);
|
| }
|
|
|
| -buildUnnamed803() {
|
| +buildUnnamed794() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed803(core.List<core.String> o) {
|
| +checkUnnamed794(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'));
|
| }
|
|
|
| -buildUnnamed804() {
|
| +buildUnnamed795() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed804(core.Map<core.String, core.String> o) {
|
| +checkUnnamed795(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'));
|
| }
|
|
|
| -buildUnnamed805() {
|
| +buildUnnamed796() {
|
| var o = new core.List<api.StackFrame>();
|
| o.add(buildStackFrame());
|
| o.add(buildStackFrame());
|
| return o;
|
| }
|
|
|
| -checkUnnamed805(core.List<api.StackFrame> o) {
|
| +checkUnnamed796(core.List<api.StackFrame> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkStackFrame(o[0]);
|
| checkStackFrame(o[1]);
|
| }
|
|
|
| -buildUnnamed806() {
|
| +buildUnnamed797() {
|
| var o = new core.List<api.Variable>();
|
| o.add(buildVariable());
|
| o.add(buildVariable());
|
| return o;
|
| }
|
|
|
| -checkUnnamed806(core.List<api.Variable> o) {
|
| +checkUnnamed797(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 = buildUnnamed802();
|
| - o.expressions = buildUnnamed803();
|
| + o.evaluatedExpressions = buildUnnamed793();
|
| + o.expressions = buildUnnamed794();
|
| o.finalTime = "foo";
|
| o.id = "foo";
|
| o.isFinalState = true;
|
| - o.labels = buildUnnamed804();
|
| + o.labels = buildUnnamed795();
|
| o.location = buildSourceLocation();
|
| o.logLevel = "foo";
|
| o.logMessageFormat = "foo";
|
| - o.stackFrames = buildUnnamed805();
|
| + o.stackFrames = buildUnnamed796();
|
| o.status = buildStatusMessage();
|
| o.userEmail = "foo";
|
| - o.variableTable = buildUnnamed806();
|
| + o.variableTable = buildUnnamed797();
|
| }
|
| 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'));
|
| - checkUnnamed802(o.evaluatedExpressions);
|
| - checkUnnamed803(o.expressions);
|
| + checkUnnamed793(o.evaluatedExpressions);
|
| + checkUnnamed794(o.expressions);
|
| unittest.expect(o.finalTime, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.isFinalState, unittest.isTrue);
|
| - checkUnnamed804(o.labels);
|
| + checkUnnamed795(o.labels);
|
| checkSourceLocation(o.location);
|
| unittest.expect(o.logLevel, unittest.equals('foo'));
|
| unittest.expect(o.logMessageFormat, unittest.equals('foo'));
|
| - checkUnnamed805(o.stackFrames);
|
| + checkUnnamed796(o.stackFrames);
|
| checkStatusMessage(o.status);
|
| unittest.expect(o.userEmail, unittest.equals('foo'));
|
| - checkUnnamed806(o.variableTable);
|
| + checkUnnamed797(o.variableTable);
|
| }
|
| buildCounterBreakpoint--;
|
| }
|
| @@ -253,40 +253,40 @@ checkCloudWorkspaceSourceContext(api.CloudWorkspaceSourceContext o) {
|
| buildCounterCloudWorkspaceSourceContext--;
|
| }
|
|
|
| -buildUnnamed807() {
|
| +buildUnnamed798() {
|
| var o = new core.List<api.ExtendedSourceContext>();
|
| o.add(buildExtendedSourceContext());
|
| o.add(buildExtendedSourceContext());
|
| return o;
|
| }
|
|
|
| -checkUnnamed807(core.List<api.ExtendedSourceContext> o) {
|
| +checkUnnamed798(core.List<api.ExtendedSourceContext> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkExtendedSourceContext(o[0]);
|
| checkExtendedSourceContext(o[1]);
|
| }
|
|
|
| -buildUnnamed808() {
|
| +buildUnnamed799() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed808(core.Map<core.String, core.String> o) {
|
| +checkUnnamed799(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'));
|
| }
|
|
|
| -buildUnnamed809() {
|
| +buildUnnamed800() {
|
| var o = new core.List<api.SourceContext>();
|
| o.add(buildSourceContext());
|
| o.add(buildSourceContext());
|
| return o;
|
| }
|
|
|
| -checkUnnamed809(core.List<api.SourceContext> o) {
|
| +checkUnnamed800(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 = buildUnnamed807();
|
| + o.extSourceContexts = buildUnnamed798();
|
| o.id = "foo";
|
| o.isDisabled = true;
|
| o.isInactive = true;
|
| - o.labels = buildUnnamed808();
|
| + o.labels = buildUnnamed799();
|
| o.project = "foo";
|
| - o.sourceContexts = buildUnnamed809();
|
| + o.sourceContexts = buildUnnamed800();
|
| 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'));
|
| - checkUnnamed807(o.extSourceContexts);
|
| + checkUnnamed798(o.extSourceContexts);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.isDisabled, unittest.isTrue);
|
| unittest.expect(o.isInactive, unittest.isTrue);
|
| - checkUnnamed808(o.labels);
|
| + checkUnnamed799(o.labels);
|
| unittest.expect(o.project, unittest.equals('foo'));
|
| - checkUnnamed809(o.sourceContexts);
|
| + checkUnnamed800(o.sourceContexts);
|
| checkStatusMessage(o.status);
|
| unittest.expect(o.uniquifier, unittest.equals('foo'));
|
| }
|
| @@ -348,14 +348,14 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed810() {
|
| +buildUnnamed801() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed810(core.Map<core.String, core.String> o) {
|
| +checkUnnamed801(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 = buildUnnamed810();
|
| + o.labels = buildUnnamed801();
|
| }
|
| buildCounterExtendedSourceContext--;
|
| return o;
|
| @@ -377,19 +377,19 @@ checkExtendedSourceContext(api.ExtendedSourceContext o) {
|
| buildCounterExtendedSourceContext++;
|
| if (buildCounterExtendedSourceContext < 3) {
|
| checkSourceContext(o.context);
|
| - checkUnnamed810(o.labels);
|
| + checkUnnamed801(o.labels);
|
| }
|
| buildCounterExtendedSourceContext--;
|
| }
|
|
|
| -buildUnnamed811() {
|
| +buildUnnamed802() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed811(core.List<core.String> o) {
|
| +checkUnnamed802(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 = buildUnnamed811();
|
| + o.parameters = buildUnnamed802();
|
| }
|
| buildCounterFormatMessage--;
|
| return o;
|
| @@ -411,7 +411,7 @@ checkFormatMessage(api.FormatMessage o) {
|
| buildCounterFormatMessage++;
|
| if (buildCounterFormatMessage < 3) {
|
| unittest.expect(o.format, unittest.equals('foo'));
|
| - checkUnnamed811(o.parameters);
|
| + checkUnnamed802(o.parameters);
|
| }
|
| buildCounterFormatMessage--;
|
| }
|
| @@ -483,14 +483,14 @@ checkGitSourceContext(api.GitSourceContext o) {
|
| buildCounterGitSourceContext--;
|
| }
|
|
|
| -buildUnnamed812() {
|
| +buildUnnamed803() {
|
| var o = new core.List<api.Breakpoint>();
|
| o.add(buildBreakpoint());
|
| o.add(buildBreakpoint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed812(core.List<api.Breakpoint> o) {
|
| +checkUnnamed803(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 = buildUnnamed812();
|
| + o.breakpoints = buildUnnamed803();
|
| o.nextWaitToken = "foo";
|
| o.waitExpired = true;
|
| }
|
| @@ -512,21 +512,21 @@ buildListActiveBreakpointsResponse() {
|
| checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) {
|
| buildCounterListActiveBreakpointsResponse++;
|
| if (buildCounterListActiveBreakpointsResponse < 3) {
|
| - checkUnnamed812(o.breakpoints);
|
| + checkUnnamed803(o.breakpoints);
|
| unittest.expect(o.nextWaitToken, unittest.equals('foo'));
|
| unittest.expect(o.waitExpired, unittest.isTrue);
|
| }
|
| buildCounterListActiveBreakpointsResponse--;
|
| }
|
|
|
| -buildUnnamed813() {
|
| +buildUnnamed804() {
|
| var o = new core.List<api.Breakpoint>();
|
| o.add(buildBreakpoint());
|
| o.add(buildBreakpoint());
|
| return o;
|
| }
|
|
|
| -checkUnnamed813(core.List<api.Breakpoint> o) {
|
| +checkUnnamed804(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 = buildUnnamed813();
|
| + o.breakpoints = buildUnnamed804();
|
| o.nextWaitToken = "foo";
|
| }
|
| buildCounterListBreakpointsResponse--;
|
| @@ -547,20 +547,20 @@ buildListBreakpointsResponse() {
|
| checkListBreakpointsResponse(api.ListBreakpointsResponse o) {
|
| buildCounterListBreakpointsResponse++;
|
| if (buildCounterListBreakpointsResponse < 3) {
|
| - checkUnnamed813(o.breakpoints);
|
| + checkUnnamed804(o.breakpoints);
|
| unittest.expect(o.nextWaitToken, unittest.equals('foo'));
|
| }
|
| buildCounterListBreakpointsResponse--;
|
| }
|
|
|
| -buildUnnamed814() {
|
| +buildUnnamed805() {
|
| var o = new core.List<api.Debuggee>();
|
| o.add(buildDebuggee());
|
| o.add(buildDebuggee());
|
| return o;
|
| }
|
|
|
| -checkUnnamed814(core.List<api.Debuggee> o) {
|
| +checkUnnamed805(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 = buildUnnamed814();
|
| + o.debuggees = buildUnnamed805();
|
| }
|
| buildCounterListDebuggeesResponse--;
|
| return o;
|
| @@ -580,7 +580,7 @@ buildListDebuggeesResponse() {
|
| checkListDebuggeesResponse(api.ListDebuggeesResponse o) {
|
| buildCounterListDebuggeesResponse++;
|
| if (buildCounterListDebuggeesResponse < 3) {
|
| - checkUnnamed814(o.debuggees);
|
| + checkUnnamed805(o.debuggees);
|
| }
|
| buildCounterListDebuggeesResponse--;
|
| }
|
| @@ -730,27 +730,27 @@ checkSourceLocation(api.SourceLocation o) {
|
| buildCounterSourceLocation--;
|
| }
|
|
|
| -buildUnnamed815() {
|
| +buildUnnamed806() {
|
| var o = new core.List<api.Variable>();
|
| o.add(buildVariable());
|
| o.add(buildVariable());
|
| return o;
|
| }
|
|
|
| -checkUnnamed815(core.List<api.Variable> o) {
|
| +checkUnnamed806(core.List<api.Variable> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVariable(o[0]);
|
| checkVariable(o[1]);
|
| }
|
|
|
| -buildUnnamed816() {
|
| +buildUnnamed807() {
|
| var o = new core.List<api.Variable>();
|
| o.add(buildVariable());
|
| o.add(buildVariable());
|
| return o;
|
| }
|
|
|
| -checkUnnamed816(core.List<api.Variable> o) {
|
| +checkUnnamed807(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 = buildUnnamed815();
|
| + o.arguments = buildUnnamed806();
|
| o.function = "foo";
|
| - o.locals = buildUnnamed816();
|
| + o.locals = buildUnnamed807();
|
| o.location = buildSourceLocation();
|
| }
|
| buildCounterStackFrame--;
|
| @@ -773,9 +773,9 @@ buildStackFrame() {
|
| checkStackFrame(api.StackFrame o) {
|
| buildCounterStackFrame++;
|
| if (buildCounterStackFrame < 3) {
|
| - checkUnnamed815(o.arguments);
|
| + checkUnnamed806(o.arguments);
|
| unittest.expect(o.function, unittest.equals('foo'));
|
| - checkUnnamed816(o.locals);
|
| + checkUnnamed807(o.locals);
|
| checkSourceLocation(o.location);
|
| }
|
| buildCounterStackFrame--;
|
| @@ -840,14 +840,14 @@ checkUpdateActiveBreakpointResponse(api.UpdateActiveBreakpointResponse o) {
|
| buildCounterUpdateActiveBreakpointResponse--;
|
| }
|
|
|
| -buildUnnamed817() {
|
| +buildUnnamed808() {
|
| var o = new core.List<api.Variable>();
|
| o.add(buildVariable());
|
| o.add(buildVariable());
|
| return o;
|
| }
|
|
|
| -checkUnnamed817(core.List<api.Variable> o) {
|
| +checkUnnamed808(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 = buildUnnamed817();
|
| + o.members = buildUnnamed808();
|
| o.name = "foo";
|
| o.status = buildStatusMessage();
|
| o.type = "foo";
|
| @@ -872,7 +872,7 @@ buildVariable() {
|
| checkVariable(api.Variable o) {
|
| buildCounterVariable++;
|
| if (buildCounterVariable < 3) {
|
| - checkUnnamed817(o.members);
|
| + checkUnnamed808(o.members);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| checkStatusMessage(o.status);
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -1184,8 +1184,8 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.ControllerDebuggeesBreakpointsResourceApi res = new api.ClouddebuggerApi(mock).controller.debuggees.breakpoints;
|
| var arg_debuggeeId = "foo";
|
| - var arg_waitToken = "foo";
|
| var arg_successOnTimeout = true;
|
| + var arg_waitToken = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1219,8 +1219,8 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken));
|
| unittest.expect(queryMap["successOnTimeout"].first, unittest.equals("$arg_successOnTimeout"));
|
| + unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken));
|
|
|
|
|
| var h = {
|
| @@ -1229,7 +1229,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListActiveBreakpointsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_debuggeeId, waitToken: arg_waitToken, successOnTimeout: arg_successOnTimeout).then(unittest.expectAsync(((api.ListActiveBreakpointsResponse response) {
|
| + res.list(arg_debuggeeId, successOnTimeout: arg_successOnTimeout, waitToken: arg_waitToken).then(unittest.expectAsync(((api.ListActiveBreakpointsResponse response) {
|
| checkListActiveBreakpointsResponse(response);
|
| })));
|
| });
|
| @@ -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(clientVersion: arg_clientVersion, includeInactive: arg_includeInactive, project: arg_project).then(unittest.expectAsync(((api.ListDebuggeesResponse response) {
|
| + res.list(includeInactive: arg_includeInactive, project: arg_project, clientVersion: arg_clientVersion).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_action_value = "foo";
|
| - var arg_includeInactive = true;
|
| var arg_includeAllUsers = true;
|
| + var arg_includeInactive = true;
|
| var arg_stripResults = true;
|
| + var arg_waitToken = "foo";
|
| + var arg_action_value = "foo";
|
| + var arg_clientVersion = "foo";
|
| 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["action.value"].first, unittest.equals(arg_action_value));
|
| - unittest.expect(queryMap["includeInactive"].first, unittest.equals("$arg_includeInactive"));
|
| unittest.expect(queryMap["includeAllUsers"].first, unittest.equals("$arg_includeAllUsers"));
|
| + unittest.expect(queryMap["includeInactive"].first, unittest.equals("$arg_includeInactive"));
|
| unittest.expect(queryMap["stripResults"].first, unittest.equals("$arg_stripResults"));
|
| + unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken));
|
| + unittest.expect(queryMap["action.value"].first, unittest.equals(arg_action_value));
|
| + unittest.expect(queryMap["clientVersion"].first, unittest.equals(arg_clientVersion));
|
|
|
|
|
| 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, waitToken: arg_waitToken, clientVersion: arg_clientVersion, action_value: arg_action_value, includeInactive: arg_includeInactive, includeAllUsers: arg_includeAllUsers, stripResults: arg_stripResults).then(unittest.expectAsync(((api.ListBreakpointsResponse response) {
|
| + res.list(arg_debuggeeId, includeAllUsers: arg_includeAllUsers, includeInactive: arg_includeInactive, stripResults: arg_stripResults, waitToken: arg_waitToken, action_value: arg_action_value, clientVersion: arg_clientVersion).then(unittest.expectAsync(((api.ListBreakpointsResponse response) {
|
| checkListBreakpointsResponse(response);
|
| })));
|
| });
|
|
|