| Index: generated/googleapis_beta/test/speech/v1beta1_test.dart
|
| diff --git a/generated/googleapis_beta/test/speech/v1beta1_test.dart b/generated/googleapis_beta/test/speech/v1beta1_test.dart
|
| index 03791e5b03027650401a456c08b1b238140486bb..f8fcfb8d1edf00da5404ec4b51b20e6c693a43b8 100644
|
| --- a/generated/googleapis_beta/test/speech/v1beta1_test.dart
|
| +++ b/generated/googleapis_beta/test/speech/v1beta1_test.dart
|
| @@ -106,14 +106,14 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed4088() {
|
| +buildUnnamed3925() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed4088(core.List<api.Operation> o) {
|
| +checkUnnamed3925(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -125,7 +125,7 @@ buildListOperationsResponse() {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.operations = buildUnnamed4088();
|
| + o.operations = buildUnnamed3925();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -135,32 +135,32 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed4088(o.operations);
|
| + checkUnnamed3925(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed4089() {
|
| +buildUnnamed3926() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed4089(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3926(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'));
|
| }
|
|
|
| -buildUnnamed4090() {
|
| +buildUnnamed3927() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed4090(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3927(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 = buildUnnamed4089();
|
| + o.metadata = buildUnnamed3926();
|
| o.name = "foo";
|
| - o.response = buildUnnamed4090();
|
| + o.response = buildUnnamed3927();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -186,9 +186,9 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed4089(o.metadata);
|
| + checkUnnamed3926(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed4090(o.response);
|
| + checkUnnamed3927(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -243,14 +243,14 @@ checkRecognitionConfig(api.RecognitionConfig o) {
|
| buildCounterRecognitionConfig--;
|
| }
|
|
|
| -buildUnnamed4091() {
|
| +buildUnnamed3928() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed4091(core.List<core.String> o) {
|
| +checkUnnamed3928(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'));
|
| @@ -261,7 +261,7 @@ buildSpeechContext() {
|
| var o = new api.SpeechContext();
|
| buildCounterSpeechContext++;
|
| if (buildCounterSpeechContext < 3) {
|
| - o.phrases = buildUnnamed4091();
|
| + o.phrases = buildUnnamed3928();
|
| }
|
| buildCounterSpeechContext--;
|
| return o;
|
| @@ -270,7 +270,7 @@ buildSpeechContext() {
|
| checkSpeechContext(api.SpeechContext o) {
|
| buildCounterSpeechContext++;
|
| if (buildCounterSpeechContext < 3) {
|
| - checkUnnamed4091(o.phrases);
|
| + checkUnnamed3928(o.phrases);
|
| }
|
| buildCounterSpeechContext--;
|
| }
|
| @@ -296,14 +296,14 @@ checkSpeechRecognitionAlternative(api.SpeechRecognitionAlternative o) {
|
| buildCounterSpeechRecognitionAlternative--;
|
| }
|
|
|
| -buildUnnamed4092() {
|
| +buildUnnamed3929() {
|
| var o = new core.List<api.SpeechRecognitionAlternative>();
|
| o.add(buildSpeechRecognitionAlternative());
|
| o.add(buildSpeechRecognitionAlternative());
|
| return o;
|
| }
|
|
|
| -checkUnnamed4092(core.List<api.SpeechRecognitionAlternative> o) {
|
| +checkUnnamed3929(core.List<api.SpeechRecognitionAlternative> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSpeechRecognitionAlternative(o[0]);
|
| checkSpeechRecognitionAlternative(o[1]);
|
| @@ -314,7 +314,7 @@ buildSpeechRecognitionResult() {
|
| var o = new api.SpeechRecognitionResult();
|
| buildCounterSpeechRecognitionResult++;
|
| if (buildCounterSpeechRecognitionResult < 3) {
|
| - o.alternatives = buildUnnamed4092();
|
| + o.alternatives = buildUnnamed3929();
|
| }
|
| buildCounterSpeechRecognitionResult--;
|
| return o;
|
| @@ -323,35 +323,35 @@ buildSpeechRecognitionResult() {
|
| checkSpeechRecognitionResult(api.SpeechRecognitionResult o) {
|
| buildCounterSpeechRecognitionResult++;
|
| if (buildCounterSpeechRecognitionResult < 3) {
|
| - checkUnnamed4092(o.alternatives);
|
| + checkUnnamed3929(o.alternatives);
|
| }
|
| buildCounterSpeechRecognitionResult--;
|
| }
|
|
|
| -buildUnnamed4093() {
|
| +buildUnnamed3930() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed4093(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3930(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'));
|
| }
|
|
|
| -buildUnnamed4094() {
|
| +buildUnnamed3931() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed4093());
|
| - o.add(buildUnnamed4093());
|
| + o.add(buildUnnamed3930());
|
| + o.add(buildUnnamed3930());
|
| return o;
|
| }
|
|
|
| -checkUnnamed4094(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed3931(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed4093(o[0]);
|
| - checkUnnamed4093(o[1]);
|
| + checkUnnamed3930(o[0]);
|
| + checkUnnamed3930(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -360,7 +360,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed4094();
|
| + o.details = buildUnnamed3931();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -371,7 +371,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed4094(o.details);
|
| + checkUnnamed3931(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| @@ -398,14 +398,14 @@ checkSyncRecognizeRequest(api.SyncRecognizeRequest o) {
|
| buildCounterSyncRecognizeRequest--;
|
| }
|
|
|
| -buildUnnamed4095() {
|
| +buildUnnamed3932() {
|
| var o = new core.List<api.SpeechRecognitionResult>();
|
| o.add(buildSpeechRecognitionResult());
|
| o.add(buildSpeechRecognitionResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed4095(core.List<api.SpeechRecognitionResult> o) {
|
| +checkUnnamed3932(core.List<api.SpeechRecognitionResult> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSpeechRecognitionResult(o[0]);
|
| checkSpeechRecognitionResult(o[1]);
|
| @@ -416,7 +416,7 @@ buildSyncRecognizeResponse() {
|
| var o = new api.SyncRecognizeResponse();
|
| buildCounterSyncRecognizeResponse++;
|
| if (buildCounterSyncRecognizeResponse < 3) {
|
| - o.results = buildUnnamed4095();
|
| + o.results = buildUnnamed3932();
|
| }
|
| buildCounterSyncRecognizeResponse--;
|
| return o;
|
| @@ -425,7 +425,7 @@ buildSyncRecognizeResponse() {
|
| checkSyncRecognizeResponse(api.SyncRecognizeResponse o) {
|
| buildCounterSyncRecognizeResponse++;
|
| if (buildCounterSyncRecognizeResponse < 3) {
|
| - checkUnnamed4095(o.results);
|
| + checkUnnamed3932(o.results);
|
| }
|
| buildCounterSyncRecognizeResponse--;
|
| }
|
|
|