| Index: generated/googleapis/test/script/v1_test.dart
|
| diff --git a/generated/googleapis/test/script/v1_test.dart b/generated/googleapis/test/script/v1_test.dart
|
| index c135fa3111d2851747d8f8479b0f8feed69bddc7..00255f2785e8163f856a4f8d238379c8a98a9b92 100644
|
| --- a/generated/googleapis/test/script/v1_test.dart
|
| +++ b/generated/googleapis/test/script/v1_test.dart
|
| @@ -51,14 +51,14 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed868() {
|
| +buildUnnamed3056() {
|
| var o = new core.List<api.ScriptStackTraceElement>();
|
| o.add(buildScriptStackTraceElement());
|
| o.add(buildScriptStackTraceElement());
|
| return o;
|
| }
|
|
|
| -checkUnnamed868(core.List<api.ScriptStackTraceElement> o) {
|
| +checkUnnamed3056(core.List<api.ScriptStackTraceElement> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkScriptStackTraceElement(o[0]);
|
| checkScriptStackTraceElement(o[1]);
|
| @@ -71,7 +71,7 @@ buildExecutionError() {
|
| if (buildCounterExecutionError < 3) {
|
| o.errorMessage = "foo";
|
| o.errorType = "foo";
|
| - o.scriptStackTraceElements = buildUnnamed868();
|
| + o.scriptStackTraceElements = buildUnnamed3056();
|
| }
|
| buildCounterExecutionError--;
|
| return o;
|
| @@ -82,19 +82,19 @@ checkExecutionError(api.ExecutionError o) {
|
| if (buildCounterExecutionError < 3) {
|
| unittest.expect(o.errorMessage, unittest.equals('foo'));
|
| unittest.expect(o.errorType, unittest.equals('foo'));
|
| - checkUnnamed868(o.scriptStackTraceElements);
|
| + checkUnnamed3056(o.scriptStackTraceElements);
|
| }
|
| buildCounterExecutionError--;
|
| }
|
|
|
| -buildUnnamed869() {
|
| +buildUnnamed3057() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed869(core.List<core.Object> o) {
|
| +checkUnnamed3057(core.List<core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted1 = (o[0]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
|
| var casted2 = (o[1]) 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'));
|
| @@ -107,7 +107,7 @@ buildExecutionRequest() {
|
| if (buildCounterExecutionRequest < 3) {
|
| o.devMode = true;
|
| o.function = "foo";
|
| - o.parameters = buildUnnamed869();
|
| + o.parameters = buildUnnamed3057();
|
| o.sessionState = "foo";
|
| }
|
| buildCounterExecutionRequest--;
|
| @@ -119,7 +119,7 @@ checkExecutionRequest(api.ExecutionRequest o) {
|
| if (buildCounterExecutionRequest < 3) {
|
| unittest.expect(o.devMode, unittest.isTrue);
|
| unittest.expect(o.function, unittest.equals('foo'));
|
| - checkUnnamed869(o.parameters);
|
| + checkUnnamed3057(o.parameters);
|
| unittest.expect(o.sessionState, unittest.equals('foo'));
|
| }
|
| buildCounterExecutionRequest--;
|
| @@ -131,6 +131,7 @@ buildExecutionResponse() {
|
| buildCounterExecutionResponse++;
|
| if (buildCounterExecutionResponse < 3) {
|
| o.result = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| + o.status = "foo";
|
| }
|
| buildCounterExecutionResponse--;
|
| return o;
|
| @@ -140,31 +141,32 @@ checkExecutionResponse(api.ExecutionResponse o) {
|
| buildCounterExecutionResponse++;
|
| if (buildCounterExecutionResponse < 3) {
|
| var casted3 = (o.result) 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'));
|
| + unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterExecutionResponse--;
|
| }
|
|
|
| -buildUnnamed870() {
|
| +buildUnnamed3058() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed870(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3058(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted4 = (o["x"]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
|
| var casted5 = (o["y"]) 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'));
|
| }
|
|
|
| -buildUnnamed871() {
|
| +buildUnnamed3059() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed871(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3059(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted6 = (o["x"]) 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'));
|
| var casted7 = (o["y"]) as core.Map; unittest.expect(casted7, unittest.hasLength(3)); unittest.expect(casted7["list"], unittest.equals([1, 2, 3])); unittest.expect(casted7["bool"], unittest.equals(true)); unittest.expect(casted7["string"], unittest.equals('foo'));
|
| @@ -177,9 +179,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed870();
|
| + o.metadata = buildUnnamed3058();
|
| o.name = "foo";
|
| - o.response = buildUnnamed871();
|
| + o.response = buildUnnamed3059();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -190,9 +192,9 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed870(o.metadata);
|
| + checkUnnamed3058(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed871(o.response);
|
| + checkUnnamed3059(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -218,30 +220,30 @@ checkScriptStackTraceElement(api.ScriptStackTraceElement o) {
|
| buildCounterScriptStackTraceElement--;
|
| }
|
|
|
| -buildUnnamed872() {
|
| +buildUnnamed3060() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed872(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3060(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted8 = (o["x"]) as core.Map; unittest.expect(casted8, unittest.hasLength(3)); unittest.expect(casted8["list"], unittest.equals([1, 2, 3])); unittest.expect(casted8["bool"], unittest.equals(true)); unittest.expect(casted8["string"], unittest.equals('foo'));
|
| var casted9 = (o["y"]) as core.Map; unittest.expect(casted9, unittest.hasLength(3)); unittest.expect(casted9["list"], unittest.equals([1, 2, 3])); unittest.expect(casted9["bool"], unittest.equals(true)); unittest.expect(casted9["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed873() {
|
| +buildUnnamed3061() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed872());
|
| - o.add(buildUnnamed872());
|
| + o.add(buildUnnamed3060());
|
| + o.add(buildUnnamed3060());
|
| return o;
|
| }
|
|
|
| -checkUnnamed873(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed3061(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed872(o[0]);
|
| - checkUnnamed872(o[1]);
|
| + checkUnnamed3060(o[0]);
|
| + checkUnnamed3060(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -250,7 +252,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed873();
|
| + o.details = buildUnnamed3061();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -261,7 +263,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed873(o.details);
|
| + checkUnnamed3061(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
|
|