Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: generated/googleapis/test/clouddebugger/v2_test.dart

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 131cd668c54673e2897d70de1ff67aadca2c9529..83fce38a92289b21959e4b7af7304ba1f93bc764 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--;
}
-buildUnnamed776() {
+buildUnnamed802() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed776(core.List<api.Variable> o) {
+checkUnnamed802(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed777() {
+buildUnnamed803() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed777(core.List<core.String> o) {
+checkUnnamed803(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'));
}
-buildUnnamed778() {
+buildUnnamed804() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed778(core.Map<core.String, core.String> o) {
+checkUnnamed804(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'));
}
-buildUnnamed779() {
+buildUnnamed805() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed779(core.List<api.StackFrame> o) {
+checkUnnamed805(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
}
-buildUnnamed780() {
+buildUnnamed806() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed780(core.List<api.Variable> o) {
+checkUnnamed806(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 = buildUnnamed776();
- o.expressions = buildUnnamed777();
+ o.evaluatedExpressions = buildUnnamed802();
+ o.expressions = buildUnnamed803();
o.finalTime = "foo";
o.id = "foo";
o.isFinalState = true;
- o.labels = buildUnnamed778();
+ o.labels = buildUnnamed804();
o.location = buildSourceLocation();
o.logLevel = "foo";
o.logMessageFormat = "foo";
- o.stackFrames = buildUnnamed779();
+ o.stackFrames = buildUnnamed805();
o.status = buildStatusMessage();
o.userEmail = "foo";
- o.variableTable = buildUnnamed780();
+ o.variableTable = buildUnnamed806();
}
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'));
- checkUnnamed776(o.evaluatedExpressions);
- checkUnnamed777(o.expressions);
+ checkUnnamed802(o.evaluatedExpressions);
+ checkUnnamed803(o.expressions);
unittest.expect(o.finalTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isFinalState, unittest.isTrue);
- checkUnnamed778(o.labels);
+ checkUnnamed804(o.labels);
checkSourceLocation(o.location);
unittest.expect(o.logLevel, unittest.equals('foo'));
unittest.expect(o.logMessageFormat, unittest.equals('foo'));
- checkUnnamed779(o.stackFrames);
+ checkUnnamed805(o.stackFrames);
checkStatusMessage(o.status);
unittest.expect(o.userEmail, unittest.equals('foo'));
- checkUnnamed780(o.variableTable);
+ checkUnnamed806(o.variableTable);
}
buildCounterBreakpoint--;
}
@@ -253,40 +253,40 @@ checkCloudWorkspaceSourceContext(api.CloudWorkspaceSourceContext o) {
buildCounterCloudWorkspaceSourceContext--;
}
-buildUnnamed781() {
+buildUnnamed807() {
var o = new core.List<api.ExtendedSourceContext>();
o.add(buildExtendedSourceContext());
o.add(buildExtendedSourceContext());
return o;
}
-checkUnnamed781(core.List<api.ExtendedSourceContext> o) {
+checkUnnamed807(core.List<api.ExtendedSourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedSourceContext(o[0]);
checkExtendedSourceContext(o[1]);
}
-buildUnnamed782() {
+buildUnnamed808() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed782(core.Map<core.String, core.String> o) {
+checkUnnamed808(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'));
}
-buildUnnamed783() {
+buildUnnamed809() {
var o = new core.List<api.SourceContext>();
o.add(buildSourceContext());
o.add(buildSourceContext());
return o;
}
-checkUnnamed783(core.List<api.SourceContext> o) {
+checkUnnamed809(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 = buildUnnamed781();
+ o.extSourceContexts = buildUnnamed807();
o.id = "foo";
o.isDisabled = true;
o.isInactive = true;
- o.labels = buildUnnamed782();
+ o.labels = buildUnnamed808();
o.project = "foo";
- o.sourceContexts = buildUnnamed783();
+ o.sourceContexts = buildUnnamed809();
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'));
- checkUnnamed781(o.extSourceContexts);
+ checkUnnamed807(o.extSourceContexts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isDisabled, unittest.isTrue);
unittest.expect(o.isInactive, unittest.isTrue);
- checkUnnamed782(o.labels);
+ checkUnnamed808(o.labels);
unittest.expect(o.project, unittest.equals('foo'));
- checkUnnamed783(o.sourceContexts);
+ checkUnnamed809(o.sourceContexts);
checkStatusMessage(o.status);
unittest.expect(o.uniquifier, unittest.equals('foo'));
}
@@ -348,14 +348,14 @@ checkEmpty(api.Empty o) {
buildCounterEmpty--;
}
-buildUnnamed784() {
+buildUnnamed810() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed784(core.Map<core.String, core.String> o) {
+checkUnnamed810(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 = buildUnnamed784();
+ o.labels = buildUnnamed810();
}
buildCounterExtendedSourceContext--;
return o;
@@ -377,19 +377,19 @@ checkExtendedSourceContext(api.ExtendedSourceContext o) {
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
checkSourceContext(o.context);
- checkUnnamed784(o.labels);
+ checkUnnamed810(o.labels);
}
buildCounterExtendedSourceContext--;
}
-buildUnnamed785() {
+buildUnnamed811() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed785(core.List<core.String> o) {
+checkUnnamed811(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 = buildUnnamed785();
+ o.parameters = buildUnnamed811();
}
buildCounterFormatMessage--;
return o;
@@ -411,7 +411,7 @@ checkFormatMessage(api.FormatMessage o) {
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed785(o.parameters);
+ checkUnnamed811(o.parameters);
}
buildCounterFormatMessage--;
}
@@ -483,14 +483,14 @@ checkGitSourceContext(api.GitSourceContext o) {
buildCounterGitSourceContext--;
}
-buildUnnamed786() {
+buildUnnamed812() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed786(core.List<api.Breakpoint> o) {
+checkUnnamed812(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 = buildUnnamed786();
+ o.breakpoints = buildUnnamed812();
o.nextWaitToken = "foo";
o.waitExpired = true;
}
@@ -512,21 +512,21 @@ buildListActiveBreakpointsResponse() {
checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) {
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- checkUnnamed786(o.breakpoints);
+ checkUnnamed812(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
unittest.expect(o.waitExpired, unittest.isTrue);
}
buildCounterListActiveBreakpointsResponse--;
}
-buildUnnamed787() {
+buildUnnamed813() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed787(core.List<api.Breakpoint> o) {
+checkUnnamed813(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 = buildUnnamed787();
+ o.breakpoints = buildUnnamed813();
o.nextWaitToken = "foo";
}
buildCounterListBreakpointsResponse--;
@@ -547,20 +547,20 @@ buildListBreakpointsResponse() {
checkListBreakpointsResponse(api.ListBreakpointsResponse o) {
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- checkUnnamed787(o.breakpoints);
+ checkUnnamed813(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
}
buildCounterListBreakpointsResponse--;
}
-buildUnnamed788() {
+buildUnnamed814() {
var o = new core.List<api.Debuggee>();
o.add(buildDebuggee());
o.add(buildDebuggee());
return o;
}
-checkUnnamed788(core.List<api.Debuggee> o) {
+checkUnnamed814(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 = buildUnnamed788();
+ o.debuggees = buildUnnamed814();
}
buildCounterListDebuggeesResponse--;
return o;
@@ -580,7 +580,7 @@ buildListDebuggeesResponse() {
checkListDebuggeesResponse(api.ListDebuggeesResponse o) {
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- checkUnnamed788(o.debuggees);
+ checkUnnamed814(o.debuggees);
}
buildCounterListDebuggeesResponse--;
}
@@ -730,27 +730,27 @@ checkSourceLocation(api.SourceLocation o) {
buildCounterSourceLocation--;
}
-buildUnnamed789() {
+buildUnnamed815() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed789(core.List<api.Variable> o) {
+checkUnnamed815(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed790() {
+buildUnnamed816() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed790(core.List<api.Variable> o) {
+checkUnnamed816(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 = buildUnnamed789();
+ o.arguments = buildUnnamed815();
o.function = "foo";
- o.locals = buildUnnamed790();
+ o.locals = buildUnnamed816();
o.location = buildSourceLocation();
}
buildCounterStackFrame--;
@@ -773,9 +773,9 @@ buildStackFrame() {
checkStackFrame(api.StackFrame o) {
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- checkUnnamed789(o.arguments);
+ checkUnnamed815(o.arguments);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed790(o.locals);
+ checkUnnamed816(o.locals);
checkSourceLocation(o.location);
}
buildCounterStackFrame--;
@@ -840,14 +840,14 @@ checkUpdateActiveBreakpointResponse(api.UpdateActiveBreakpointResponse o) {
buildCounterUpdateActiveBreakpointResponse--;
}
-buildUnnamed791() {
+buildUnnamed817() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed791(core.List<api.Variable> o) {
+checkUnnamed817(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 = buildUnnamed791();
+ o.members = buildUnnamed817();
o.name = "foo";
o.status = buildStatusMessage();
o.type = "foo";
@@ -872,7 +872,7 @@ buildVariable() {
checkVariable(api.Variable o) {
buildCounterVariable++;
if (buildCounterVariable < 3) {
- checkUnnamed791(o.members);
+ checkUnnamed817(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_successOnTimeout = true;
var arg_waitToken = "foo";
+ var arg_successOnTimeout = true;
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["successOnTimeout"].first, unittest.equals("$arg_successOnTimeout"));
unittest.expect(queryMap["waitToken"].first, unittest.equals(arg_waitToken));
+ unittest.expect(queryMap["successOnTimeout"].first, unittest.equals("$arg_successOnTimeout"));
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, successOnTimeout: arg_successOnTimeout, waitToken: arg_waitToken).then(unittest.expectAsync(((api.ListActiveBreakpointsResponse response) {
+ res.list(arg_debuggeeId, waitToken: arg_waitToken, successOnTimeout: arg_successOnTimeout).then(unittest.expectAsync(((api.ListActiveBreakpointsResponse response) {
checkListActiveBreakpointsResponse(response);
})));
});
@@ -1472,8 +1472,8 @@ main() {
var arg_waitToken = "foo";
var arg_clientVersion = "foo";
var arg_action_value = "foo";
- var arg_includeAllUsers = true;
var arg_includeInactive = true;
+ var arg_includeAllUsers = true;
var arg_stripResults = true;
mock.register(unittest.expectAsync((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -1511,8 +1511,8 @@ main() {
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["includeAllUsers"].first, unittest.equals("$arg_includeAllUsers"));
unittest.expect(queryMap["includeInactive"].first, unittest.equals("$arg_includeInactive"));
+ unittest.expect(queryMap["includeAllUsers"].first, unittest.equals("$arg_includeAllUsers"));
unittest.expect(queryMap["stripResults"].first, unittest.equals("$arg_stripResults"));
@@ -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, includeAllUsers: arg_includeAllUsers, includeInactive: arg_includeInactive, stripResults: arg_stripResults).then(unittest.expectAsync(((api.ListBreakpointsResponse response) {
+ 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) {
checkListBreakpointsResponse(response);
})));
});
« no previous file with comments | « generated/googleapis/test/cloudbuild/v1_test.dart ('k') | generated/googleapis/test/cloudfunctions/v1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698