| Index: generated/googleapis/test/cloudfunctions/v1_test.dart
|
| diff --git a/generated/googleapis/test/cloudfunctions/v1_test.dart b/generated/googleapis/test/cloudfunctions/v1_test.dart
|
| index 2c2edc0e40af5713cbf8fbd519ebd3521f3edd89..886cd22fccfa968ffcf7b565e0d81e82858c5a36 100644
|
| --- a/generated/googleapis/test/cloudfunctions/v1_test.dart
|
| +++ b/generated/googleapis/test/cloudfunctions/v1_test.dart
|
| @@ -7,7 +7,7 @@ import "dart:convert" as convert;
|
|
|
| import 'package:http/http.dart' as http;
|
| import 'package:http/testing.dart' as http_testing;
|
| -import 'package:unittest/unittest.dart' as unittest;
|
| +import 'package:test/test.dart' as unittest;
|
|
|
| import 'package:googleapis/cloudfunctions/v1.dart' as api;
|
|
|
| @@ -46,19 +46,19 @@ class HttpServerMock extends http.BaseClient {
|
| }
|
|
|
| http.StreamedResponse stringResponse(
|
| - core.int status, core.Map headers, core.String body) {
|
| + core.int status, core.Map<core.String, core.String> headers, core.String body) {
|
| var stream = new async.Stream.fromIterable([convert.UTF8.encode(body)]);
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed97() {
|
| +buildUnnamed99() {
|
| 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;
|
| }
|
|
|
| -checkUnnamed97(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed99(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'));
|
| @@ -69,7 +69,7 @@ buildOperationMetadataV1Beta2() {
|
| var o = new api.OperationMetadataV1Beta2();
|
| buildCounterOperationMetadataV1Beta2++;
|
| if (buildCounterOperationMetadataV1Beta2 < 3) {
|
| - o.request = buildUnnamed97();
|
| + o.request = buildUnnamed99();
|
| o.target = "foo";
|
| o.type = "foo";
|
| }
|
| @@ -80,7 +80,7 @@ buildOperationMetadataV1Beta2() {
|
| checkOperationMetadataV1Beta2(api.OperationMetadataV1Beta2 o) {
|
| buildCounterOperationMetadataV1Beta2++;
|
| if (buildCounterOperationMetadataV1Beta2 < 3) {
|
| - checkUnnamed97(o.request);
|
| + checkUnnamed99(o.request);
|
| unittest.expect(o.target, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| }
|
|
|