| 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 f8fcfb8d1edf00da5404ec4b51b20e6c693a43b8..3a66e4ea268bf5f5defbd9a06967343a7b08819b 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--;
|
| }
|
|
|
| -buildUnnamed3925() {
|
| +buildUnnamed3636() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3925(core.List<api.Operation> o) {
|
| +checkUnnamed3636(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 = buildUnnamed3925();
|
| + o.operations = buildUnnamed3636();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -135,32 +135,32 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed3925(o.operations);
|
| + checkUnnamed3636(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed3926() {
|
| +buildUnnamed3637() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3926(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3637(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'));
|
| }
|
|
|
| -buildUnnamed3927() {
|
| +buildUnnamed3638() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3927(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3638(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 = buildUnnamed3926();
|
| + o.metadata = buildUnnamed3637();
|
| o.name = "foo";
|
| - o.response = buildUnnamed3927();
|
| + o.response = buildUnnamed3638();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -186,9 +186,9 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed3926(o.metadata);
|
| + checkUnnamed3637(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed3927(o.response);
|
| + checkUnnamed3638(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -243,14 +243,14 @@ checkRecognitionConfig(api.RecognitionConfig o) {
|
| buildCounterRecognitionConfig--;
|
| }
|
|
|
| -buildUnnamed3928() {
|
| +buildUnnamed3639() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3928(core.List<core.String> o) {
|
| +checkUnnamed3639(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 = buildUnnamed3928();
|
| + o.phrases = buildUnnamed3639();
|
| }
|
| buildCounterSpeechContext--;
|
| return o;
|
| @@ -270,7 +270,7 @@ buildSpeechContext() {
|
| checkSpeechContext(api.SpeechContext o) {
|
| buildCounterSpeechContext++;
|
| if (buildCounterSpeechContext < 3) {
|
| - checkUnnamed3928(o.phrases);
|
| + checkUnnamed3639(o.phrases);
|
| }
|
| buildCounterSpeechContext--;
|
| }
|
| @@ -296,14 +296,14 @@ checkSpeechRecognitionAlternative(api.SpeechRecognitionAlternative o) {
|
| buildCounterSpeechRecognitionAlternative--;
|
| }
|
|
|
| -buildUnnamed3929() {
|
| +buildUnnamed3640() {
|
| var o = new core.List<api.SpeechRecognitionAlternative>();
|
| o.add(buildSpeechRecognitionAlternative());
|
| o.add(buildSpeechRecognitionAlternative());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3929(core.List<api.SpeechRecognitionAlternative> o) {
|
| +checkUnnamed3640(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 = buildUnnamed3929();
|
| + o.alternatives = buildUnnamed3640();
|
| }
|
| buildCounterSpeechRecognitionResult--;
|
| return o;
|
| @@ -323,35 +323,35 @@ buildSpeechRecognitionResult() {
|
| checkSpeechRecognitionResult(api.SpeechRecognitionResult o) {
|
| buildCounterSpeechRecognitionResult++;
|
| if (buildCounterSpeechRecognitionResult < 3) {
|
| - checkUnnamed3929(o.alternatives);
|
| + checkUnnamed3640(o.alternatives);
|
| }
|
| buildCounterSpeechRecognitionResult--;
|
| }
|
|
|
| -buildUnnamed3930() {
|
| +buildUnnamed3641() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed3930(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed3641(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'));
|
| }
|
|
|
| -buildUnnamed3931() {
|
| +buildUnnamed3642() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed3930());
|
| - o.add(buildUnnamed3930());
|
| + o.add(buildUnnamed3641());
|
| + o.add(buildUnnamed3641());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3931(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed3642(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed3930(o[0]);
|
| - checkUnnamed3930(o[1]);
|
| + checkUnnamed3641(o[0]);
|
| + checkUnnamed3641(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -360,7 +360,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed3931();
|
| + o.details = buildUnnamed3642();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -371,7 +371,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed3931(o.details);
|
| + checkUnnamed3642(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| @@ -398,14 +398,14 @@ checkSyncRecognizeRequest(api.SyncRecognizeRequest o) {
|
| buildCounterSyncRecognizeRequest--;
|
| }
|
|
|
| -buildUnnamed3932() {
|
| +buildUnnamed3643() {
|
| var o = new core.List<api.SpeechRecognitionResult>();
|
| o.add(buildSpeechRecognitionResult());
|
| o.add(buildSpeechRecognitionResult());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3932(core.List<api.SpeechRecognitionResult> o) {
|
| +checkUnnamed3643(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 = buildUnnamed3932();
|
| + o.results = buildUnnamed3643();
|
| }
|
| buildCounterSyncRecognizeResponse--;
|
| return o;
|
| @@ -425,7 +425,7 @@ buildSyncRecognizeResponse() {
|
| checkSyncRecognizeResponse(api.SyncRecognizeResponse o) {
|
| buildCounterSyncRecognizeResponse++;
|
| if (buildCounterSyncRecognizeResponse < 3) {
|
| - checkUnnamed3932(o.results);
|
| + checkUnnamed3643(o.results);
|
| }
|
| buildCounterSyncRecognizeResponse--;
|
| }
|
|
|