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

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

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 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 d4ee2751d912505bda67c45e721bd2276f61fcf9..8fe1d1cff16633497c3ae3bc0c450c599ed95fb1 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--;
}
-buildUnnamed816() {
+buildUnnamed891() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed816(core.List<api.Variable> o) {
+checkUnnamed891(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed817() {
+buildUnnamed892() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed817(core.List<core.String> o) {
+checkUnnamed892(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'));
}
-buildUnnamed818() {
+buildUnnamed893() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed818(core.Map<core.String, core.String> o) {
+checkUnnamed893(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'));
}
-buildUnnamed819() {
+buildUnnamed894() {
var o = new core.List<api.StackFrame>();
o.add(buildStackFrame());
o.add(buildStackFrame());
return o;
}
-checkUnnamed819(core.List<api.StackFrame> o) {
+checkUnnamed894(core.List<api.StackFrame> o) {
unittest.expect(o, unittest.hasLength(2));
checkStackFrame(o[0]);
checkStackFrame(o[1]);
}
-buildUnnamed820() {
+buildUnnamed895() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed820(core.List<api.Variable> o) {
+checkUnnamed895(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 = buildUnnamed816();
- o.expressions = buildUnnamed817();
+ o.evaluatedExpressions = buildUnnamed891();
+ o.expressions = buildUnnamed892();
o.finalTime = "foo";
o.id = "foo";
o.isFinalState = true;
- o.labels = buildUnnamed818();
+ o.labels = buildUnnamed893();
o.location = buildSourceLocation();
o.logLevel = "foo";
o.logMessageFormat = "foo";
- o.stackFrames = buildUnnamed819();
+ o.stackFrames = buildUnnamed894();
o.status = buildStatusMessage();
o.userEmail = "foo";
- o.variableTable = buildUnnamed820();
+ o.variableTable = buildUnnamed895();
}
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'));
- checkUnnamed816(o.evaluatedExpressions);
- checkUnnamed817(o.expressions);
+ checkUnnamed891(o.evaluatedExpressions);
+ checkUnnamed892(o.expressions);
unittest.expect(o.finalTime, unittest.equals('foo'));
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isFinalState, unittest.isTrue);
- checkUnnamed818(o.labels);
+ checkUnnamed893(o.labels);
checkSourceLocation(o.location);
unittest.expect(o.logLevel, unittest.equals('foo'));
unittest.expect(o.logMessageFormat, unittest.equals('foo'));
- checkUnnamed819(o.stackFrames);
+ checkUnnamed894(o.stackFrames);
checkStatusMessage(o.status);
unittest.expect(o.userEmail, unittest.equals('foo'));
- checkUnnamed820(o.variableTable);
+ checkUnnamed895(o.variableTable);
}
buildCounterBreakpoint--;
}
@@ -253,40 +253,40 @@ checkCloudWorkspaceSourceContext(api.CloudWorkspaceSourceContext o) {
buildCounterCloudWorkspaceSourceContext--;
}
-buildUnnamed821() {
+buildUnnamed896() {
var o = new core.List<api.ExtendedSourceContext>();
o.add(buildExtendedSourceContext());
o.add(buildExtendedSourceContext());
return o;
}
-checkUnnamed821(core.List<api.ExtendedSourceContext> o) {
+checkUnnamed896(core.List<api.ExtendedSourceContext> o) {
unittest.expect(o, unittest.hasLength(2));
checkExtendedSourceContext(o[0]);
checkExtendedSourceContext(o[1]);
}
-buildUnnamed822() {
+buildUnnamed897() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed822(core.Map<core.String, core.String> o) {
+checkUnnamed897(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'));
}
-buildUnnamed823() {
+buildUnnamed898() {
var o = new core.List<api.SourceContext>();
o.add(buildSourceContext());
o.add(buildSourceContext());
return o;
}
-checkUnnamed823(core.List<api.SourceContext> o) {
+checkUnnamed898(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 = buildUnnamed821();
+ o.extSourceContexts = buildUnnamed896();
o.id = "foo";
o.isDisabled = true;
o.isInactive = true;
- o.labels = buildUnnamed822();
+ o.labels = buildUnnamed897();
o.project = "foo";
- o.sourceContexts = buildUnnamed823();
+ o.sourceContexts = buildUnnamed898();
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'));
- checkUnnamed821(o.extSourceContexts);
+ checkUnnamed896(o.extSourceContexts);
unittest.expect(o.id, unittest.equals('foo'));
unittest.expect(o.isDisabled, unittest.isTrue);
unittest.expect(o.isInactive, unittest.isTrue);
- checkUnnamed822(o.labels);
+ checkUnnamed897(o.labels);
unittest.expect(o.project, unittest.equals('foo'));
- checkUnnamed823(o.sourceContexts);
+ checkUnnamed898(o.sourceContexts);
checkStatusMessage(o.status);
unittest.expect(o.uniquifier, unittest.equals('foo'));
}
@@ -348,14 +348,14 @@ checkEmpty(api.Empty o) {
buildCounterEmpty--;
}
-buildUnnamed824() {
+buildUnnamed899() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed824(core.Map<core.String, core.String> o) {
+checkUnnamed899(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 = buildUnnamed824();
+ o.labels = buildUnnamed899();
}
buildCounterExtendedSourceContext--;
return o;
@@ -377,19 +377,19 @@ checkExtendedSourceContext(api.ExtendedSourceContext o) {
buildCounterExtendedSourceContext++;
if (buildCounterExtendedSourceContext < 3) {
checkSourceContext(o.context);
- checkUnnamed824(o.labels);
+ checkUnnamed899(o.labels);
}
buildCounterExtendedSourceContext--;
}
-buildUnnamed825() {
+buildUnnamed900() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed825(core.List<core.String> o) {
+checkUnnamed900(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 = buildUnnamed825();
+ o.parameters = buildUnnamed900();
}
buildCounterFormatMessage--;
return o;
@@ -411,7 +411,7 @@ checkFormatMessage(api.FormatMessage o) {
buildCounterFormatMessage++;
if (buildCounterFormatMessage < 3) {
unittest.expect(o.format, unittest.equals('foo'));
- checkUnnamed825(o.parameters);
+ checkUnnamed900(o.parameters);
}
buildCounterFormatMessage--;
}
@@ -483,14 +483,14 @@ checkGitSourceContext(api.GitSourceContext o) {
buildCounterGitSourceContext--;
}
-buildUnnamed826() {
+buildUnnamed901() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed826(core.List<api.Breakpoint> o) {
+checkUnnamed901(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 = buildUnnamed826();
+ o.breakpoints = buildUnnamed901();
o.nextWaitToken = "foo";
o.waitExpired = true;
}
@@ -512,21 +512,21 @@ buildListActiveBreakpointsResponse() {
checkListActiveBreakpointsResponse(api.ListActiveBreakpointsResponse o) {
buildCounterListActiveBreakpointsResponse++;
if (buildCounterListActiveBreakpointsResponse < 3) {
- checkUnnamed826(o.breakpoints);
+ checkUnnamed901(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
unittest.expect(o.waitExpired, unittest.isTrue);
}
buildCounterListActiveBreakpointsResponse--;
}
-buildUnnamed827() {
+buildUnnamed902() {
var o = new core.List<api.Breakpoint>();
o.add(buildBreakpoint());
o.add(buildBreakpoint());
return o;
}
-checkUnnamed827(core.List<api.Breakpoint> o) {
+checkUnnamed902(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 = buildUnnamed827();
+ o.breakpoints = buildUnnamed902();
o.nextWaitToken = "foo";
}
buildCounterListBreakpointsResponse--;
@@ -547,20 +547,20 @@ buildListBreakpointsResponse() {
checkListBreakpointsResponse(api.ListBreakpointsResponse o) {
buildCounterListBreakpointsResponse++;
if (buildCounterListBreakpointsResponse < 3) {
- checkUnnamed827(o.breakpoints);
+ checkUnnamed902(o.breakpoints);
unittest.expect(o.nextWaitToken, unittest.equals('foo'));
}
buildCounterListBreakpointsResponse--;
}
-buildUnnamed828() {
+buildUnnamed903() {
var o = new core.List<api.Debuggee>();
o.add(buildDebuggee());
o.add(buildDebuggee());
return o;
}
-checkUnnamed828(core.List<api.Debuggee> o) {
+checkUnnamed903(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 = buildUnnamed828();
+ o.debuggees = buildUnnamed903();
}
buildCounterListDebuggeesResponse--;
return o;
@@ -580,7 +580,7 @@ buildListDebuggeesResponse() {
checkListDebuggeesResponse(api.ListDebuggeesResponse o) {
buildCounterListDebuggeesResponse++;
if (buildCounterListDebuggeesResponse < 3) {
- checkUnnamed828(o.debuggees);
+ checkUnnamed903(o.debuggees);
}
buildCounterListDebuggeesResponse--;
}
@@ -730,27 +730,27 @@ checkSourceLocation(api.SourceLocation o) {
buildCounterSourceLocation--;
}
-buildUnnamed829() {
+buildUnnamed904() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed829(core.List<api.Variable> o) {
+checkUnnamed904(core.List<api.Variable> o) {
unittest.expect(o, unittest.hasLength(2));
checkVariable(o[0]);
checkVariable(o[1]);
}
-buildUnnamed830() {
+buildUnnamed905() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed830(core.List<api.Variable> o) {
+checkUnnamed905(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 = buildUnnamed829();
+ o.arguments = buildUnnamed904();
o.function = "foo";
- o.locals = buildUnnamed830();
+ o.locals = buildUnnamed905();
o.location = buildSourceLocation();
}
buildCounterStackFrame--;
@@ -773,9 +773,9 @@ buildStackFrame() {
checkStackFrame(api.StackFrame o) {
buildCounterStackFrame++;
if (buildCounterStackFrame < 3) {
- checkUnnamed829(o.arguments);
+ checkUnnamed904(o.arguments);
unittest.expect(o.function, unittest.equals('foo'));
- checkUnnamed830(o.locals);
+ checkUnnamed905(o.locals);
checkSourceLocation(o.location);
}
buildCounterStackFrame--;
@@ -840,14 +840,14 @@ checkUpdateActiveBreakpointResponse(api.UpdateActiveBreakpointResponse o) {
buildCounterUpdateActiveBreakpointResponse--;
}
-buildUnnamed831() {
+buildUnnamed906() {
var o = new core.List<api.Variable>();
o.add(buildVariable());
o.add(buildVariable());
return o;
}
-checkUnnamed831(core.List<api.Variable> o) {
+checkUnnamed906(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 = buildUnnamed831();
+ o.members = buildUnnamed906();
o.name = "foo";
o.status = buildStatusMessage();
o.type = "foo";
@@ -872,7 +872,7 @@ buildVariable() {
checkVariable(api.Variable o) {
buildCounterVariable++;
if (buildCounterVariable < 3) {
- checkUnnamed831(o.members);
+ checkUnnamed906(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.expectAsync2((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.expectAsync1(((api.ListActiveBreakpointsResponse response) {
+ res.list(arg_debuggeeId, successOnTimeout: arg_successOnTimeout, waitToken: arg_waitToken).then(unittest.expectAsync1(((api.ListActiveBreakpointsResponse response) {
checkListActiveBreakpointsResponse(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_stripResults = true;
var arg_waitToken = "foo";
- var arg_action_value = "foo";
var arg_clientVersion = "foo";
- var arg_includeInactive = true;
+ var arg_action_value = "foo";
var arg_includeAllUsers = true;
- var arg_stripResults = true;
+ var arg_includeInactive = true;
mock.register(unittest.expectAsync2((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["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));
- unittest.expect(queryMap["includeInactive"].first, unittest.equals("$arg_includeInactive"));
+ unittest.expect(queryMap["action.value"].first, unittest.equals(arg_action_value));
unittest.expect(queryMap["includeAllUsers"].first, unittest.equals("$arg_includeAllUsers"));
- unittest.expect(queryMap["stripResults"].first, unittest.equals("$arg_stripResults"));
+ unittest.expect(queryMap["includeInactive"].first, unittest.equals("$arg_includeInactive"));
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, action_value: arg_action_value, clientVersion: arg_clientVersion, includeInactive: arg_includeInactive, includeAllUsers: arg_includeAllUsers, stripResults: arg_stripResults).then(unittest.expectAsync1(((api.ListBreakpointsResponse response) {
+ res.list(arg_debuggeeId, stripResults: arg_stripResults, waitToken: arg_waitToken, clientVersion: arg_clientVersion, action_value: arg_action_value, includeAllUsers: arg_includeAllUsers, includeInactive: arg_includeInactive).then(unittest.expectAsync1(((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