| Index: generated/googleapis/test/speech/v1_test.dart
|
| diff --git a/generated/googleapis/test/speech/v1_test.dart b/generated/googleapis/test/speech/v1_test.dart
|
| index aab290460fdeb6cf73b2cc4141fa88627adf4f39..dca3b85d954dbee62138916fdacafa05a33865ce 100644
|
| --- a/generated/googleapis/test/speech/v1_test.dart
|
| +++ b/generated/googleapis/test/speech/v1_test.dart
|
| @@ -85,14 +85,14 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed2686() {
|
| +buildUnnamed2707() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2686(core.List<api.Operation> o) {
|
| +checkUnnamed2707(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -104,7 +104,7 @@ buildListOperationsResponse() {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.operations = buildUnnamed2686();
|
| + o.operations = buildUnnamed2707();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -114,7 +114,7 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed2686(o.operations);
|
| + checkUnnamed2707(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
| @@ -140,27 +140,27 @@ checkLongRunningRecognizeRequest(api.LongRunningRecognizeRequest o) {
|
| buildCounterLongRunningRecognizeRequest--;
|
| }
|
|
|
| -buildUnnamed2687() {
|
| +buildUnnamed2708() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2687(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2708(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted1 = (o["x"]) 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["y"]) 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'));
|
| }
|
|
|
| -buildUnnamed2688() {
|
| +buildUnnamed2709() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2688(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2709(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted3 = (o["x"]) 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'));
|
| var casted4 = (o["y"]) 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'));
|
| @@ -173,9 +173,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed2687();
|
| + o.metadata = buildUnnamed2708();
|
| o.name = "foo";
|
| - o.response = buildUnnamed2688();
|
| + o.response = buildUnnamed2709();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -186,9 +186,9 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed2687(o.metadata);
|
| + checkUnnamed2708(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed2688(o.response);
|
| + checkUnnamed2709(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -214,14 +214,14 @@ checkRecognitionAudio(api.RecognitionAudio o) {
|
| buildCounterRecognitionAudio--;
|
| }
|
|
|
| -buildUnnamed2689() {
|
| +buildUnnamed2710() {
|
| var o = new core.List<api.SpeechContext>();
|
| o.add(buildSpeechContext());
|
| o.add(buildSpeechContext());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2689(core.List<api.SpeechContext> o) {
|
| +checkUnnamed2710(core.List<api.SpeechContext> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSpeechContext(o[0]);
|
| checkSpeechContext(o[1]);
|
| @@ -238,7 +238,7 @@ buildRecognitionConfig() {
|
| o.maxAlternatives = 42;
|
| o.profanityFilter = true;
|
| o.sampleRateHertz = 42;
|
| - o.speechContexts = buildUnnamed2689();
|
| + o.speechContexts = buildUnnamed2710();
|
| }
|
| buildCounterRecognitionConfig--;
|
| return o;
|
| @@ -253,7 +253,7 @@ checkRecognitionConfig(api.RecognitionConfig o) {
|
| unittest.expect(o.maxAlternatives, unittest.equals(42));
|
| unittest.expect(o.profanityFilter, unittest.isTrue);
|
| unittest.expect(o.sampleRateHertz, unittest.equals(42));
|
| - checkUnnamed2689(o.speechContexts);
|
| + checkUnnamed2710(o.speechContexts);
|
| }
|
| buildCounterRecognitionConfig--;
|
| }
|
| @@ -279,14 +279,14 @@ checkRecognizeRequest(api.RecognizeRequest o) {
|
| buildCounterRecognizeRequest--;
|
| }
|
|
|
| -buildUnnamed2690() {
|
| +buildUnnamed2711() {
|
| var o = new core.List<api.SpeechRecognitionResult>();
|
| o.add(buildSpeechRecognitionResult());
|
| o.add(buildSpeechRecognitionResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2690(core.List<api.SpeechRecognitionResult> o) {
|
| +checkUnnamed2711(core.List<api.SpeechRecognitionResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSpeechRecognitionResult(o[0]);
|
| checkSpeechRecognitionResult(o[1]);
|
| @@ -297,7 +297,7 @@ buildRecognizeResponse() {
|
| var o = new api.RecognizeResponse();
|
| buildCounterRecognizeResponse++;
|
| if (buildCounterRecognizeResponse < 3) {
|
| - o.results = buildUnnamed2690();
|
| + o.results = buildUnnamed2711();
|
| }
|
| buildCounterRecognizeResponse--;
|
| return o;
|
| @@ -306,19 +306,19 @@ buildRecognizeResponse() {
|
| checkRecognizeResponse(api.RecognizeResponse o) {
|
| buildCounterRecognizeResponse++;
|
| if (buildCounterRecognizeResponse < 3) {
|
| - checkUnnamed2690(o.results);
|
| + checkUnnamed2711(o.results);
|
| }
|
| buildCounterRecognizeResponse--;
|
| }
|
|
|
| -buildUnnamed2691() {
|
| +buildUnnamed2712() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed2691(core.List<core.String> o) {
|
| +checkUnnamed2712(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'));
|
| @@ -329,7 +329,7 @@ buildSpeechContext() {
|
| var o = new api.SpeechContext();
|
| buildCounterSpeechContext++;
|
| if (buildCounterSpeechContext < 3) {
|
| - o.phrases = buildUnnamed2691();
|
| + o.phrases = buildUnnamed2712();
|
| }
|
| buildCounterSpeechContext--;
|
| return o;
|
| @@ -338,19 +338,19 @@ buildSpeechContext() {
|
| checkSpeechContext(api.SpeechContext o) {
|
| buildCounterSpeechContext++;
|
| if (buildCounterSpeechContext < 3) {
|
| - checkUnnamed2691(o.phrases);
|
| + checkUnnamed2712(o.phrases);
|
| }
|
| buildCounterSpeechContext--;
|
| }
|
|
|
| -buildUnnamed2692() {
|
| +buildUnnamed2713() {
|
| var o = new core.List<api.WordInfo>();
|
| o.add(buildWordInfo());
|
| o.add(buildWordInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2692(core.List<api.WordInfo> o) {
|
| +checkUnnamed2713(core.List<api.WordInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkWordInfo(o[0]);
|
| checkWordInfo(o[1]);
|
| @@ -363,7 +363,7 @@ buildSpeechRecognitionAlternative() {
|
| if (buildCounterSpeechRecognitionAlternative < 3) {
|
| o.confidence = 42.0;
|
| o.transcript = "foo";
|
| - o.words = buildUnnamed2692();
|
| + o.words = buildUnnamed2713();
|
| }
|
| buildCounterSpeechRecognitionAlternative--;
|
| return o;
|
| @@ -374,19 +374,19 @@ checkSpeechRecognitionAlternative(api.SpeechRecognitionAlternative o) {
|
| if (buildCounterSpeechRecognitionAlternative < 3) {
|
| unittest.expect(o.confidence, unittest.equals(42.0));
|
| unittest.expect(o.transcript, unittest.equals('foo'));
|
| - checkUnnamed2692(o.words);
|
| + checkUnnamed2713(o.words);
|
| }
|
| buildCounterSpeechRecognitionAlternative--;
|
| }
|
|
|
| -buildUnnamed2693() {
|
| +buildUnnamed2714() {
|
| var o = new core.List<api.SpeechRecognitionAlternative>();
|
| o.add(buildSpeechRecognitionAlternative());
|
| o.add(buildSpeechRecognitionAlternative());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2693(core.List<api.SpeechRecognitionAlternative> o) {
|
| +checkUnnamed2714(core.List<api.SpeechRecognitionAlternative> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSpeechRecognitionAlternative(o[0]);
|
| checkSpeechRecognitionAlternative(o[1]);
|
| @@ -397,7 +397,7 @@ buildSpeechRecognitionResult() {
|
| var o = new api.SpeechRecognitionResult();
|
| buildCounterSpeechRecognitionResult++;
|
| if (buildCounterSpeechRecognitionResult < 3) {
|
| - o.alternatives = buildUnnamed2693();
|
| + o.alternatives = buildUnnamed2714();
|
| }
|
| buildCounterSpeechRecognitionResult--;
|
| return o;
|
| @@ -406,35 +406,35 @@ buildSpeechRecognitionResult() {
|
| checkSpeechRecognitionResult(api.SpeechRecognitionResult o) {
|
| buildCounterSpeechRecognitionResult++;
|
| if (buildCounterSpeechRecognitionResult < 3) {
|
| - checkUnnamed2693(o.alternatives);
|
| + checkUnnamed2714(o.alternatives);
|
| }
|
| buildCounterSpeechRecognitionResult--;
|
| }
|
|
|
| -buildUnnamed2694() {
|
| +buildUnnamed2715() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed2694(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed2715(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted5 = (o["x"]) 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'));
|
| var casted6 = (o["y"]) 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'));
|
| }
|
|
|
| -buildUnnamed2695() {
|
| +buildUnnamed2716() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed2694());
|
| - o.add(buildUnnamed2694());
|
| + o.add(buildUnnamed2715());
|
| + o.add(buildUnnamed2715());
|
| return o;
|
| }
|
|
|
| -checkUnnamed2695(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed2716(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed2694(o[0]);
|
| - checkUnnamed2694(o[1]);
|
| + checkUnnamed2715(o[0]);
|
| + checkUnnamed2715(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -443,7 +443,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed2695();
|
| + o.details = buildUnnamed2716();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -454,7 +454,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed2695(o.details);
|
| + checkUnnamed2716(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
|
|