| Index: generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart
|
| diff --git a/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart b/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart
|
| index 034e8f779cc55db772db4d58188f32fd73dce573..06fb09b868b055b7f652e8d8da85db63e77a3085 100644
|
| --- a/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart
|
| +++ b/generated/googleapis_beta/test/proximitybeacon/v1beta1_test.dart
|
| @@ -93,14 +93,14 @@ checkAttachmentInfo(api.AttachmentInfo o) {
|
| buildCounterAttachmentInfo--;
|
| }
|
|
|
| -buildUnnamed3459() {
|
| +buildUnnamed3442() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed3459(core.Map<core.String, core.String> o) {
|
| +checkUnnamed3442(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -119,7 +119,7 @@ buildBeacon() {
|
| o.indoorLevel = buildIndoorLevel();
|
| o.latLng = buildLatLng();
|
| o.placeId = "foo";
|
| - o.properties = buildUnnamed3459();
|
| + o.properties = buildUnnamed3442();
|
| o.provisioningKey = "foo";
|
| o.status = "foo";
|
| }
|
| @@ -138,7 +138,7 @@ checkBeacon(api.Beacon o) {
|
| checkIndoorLevel(o.indoorLevel);
|
| checkLatLng(o.latLng);
|
| unittest.expect(o.placeId, unittest.equals('foo'));
|
| - checkUnnamed3459(o.properties);
|
| + checkUnnamed3442(o.properties);
|
| unittest.expect(o.provisioningKey, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| @@ -170,14 +170,14 @@ checkBeaconAttachment(api.BeaconAttachment o) {
|
| buildCounterBeaconAttachment--;
|
| }
|
|
|
| -buildUnnamed3460() {
|
| +buildUnnamed3443() {
|
| var o = new core.List<api.AttachmentInfo>();
|
| o.add(buildAttachmentInfo());
|
| o.add(buildAttachmentInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3460(core.List<api.AttachmentInfo> o) {
|
| +checkUnnamed3443(core.List<api.AttachmentInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAttachmentInfo(o[0]);
|
| checkAttachmentInfo(o[1]);
|
| @@ -189,7 +189,7 @@ buildBeaconInfo() {
|
| buildCounterBeaconInfo++;
|
| if (buildCounterBeaconInfo < 3) {
|
| o.advertisedId = buildAdvertisedId();
|
| - o.attachments = buildUnnamed3460();
|
| + o.attachments = buildUnnamed3443();
|
| o.beaconName = "foo";
|
| }
|
| buildCounterBeaconInfo--;
|
| @@ -200,7 +200,7 @@ checkBeaconInfo(api.BeaconInfo o) {
|
| buildCounterBeaconInfo++;
|
| if (buildCounterBeaconInfo < 3) {
|
| checkAdvertisedId(o.advertisedId);
|
| - checkUnnamed3460(o.attachments);
|
| + checkUnnamed3443(o.attachments);
|
| unittest.expect(o.beaconName, unittest.equals('foo'));
|
| }
|
| buildCounterBeaconInfo--;
|
| @@ -248,14 +248,14 @@ checkDeleteAttachmentsResponse(api.DeleteAttachmentsResponse o) {
|
| buildCounterDeleteAttachmentsResponse--;
|
| }
|
|
|
| -buildUnnamed3461() {
|
| +buildUnnamed3444() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3461(core.List<core.String> o) {
|
| +checkUnnamed3444(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'));
|
| @@ -266,7 +266,7 @@ buildDiagnostics() {
|
| var o = new api.Diagnostics();
|
| buildCounterDiagnostics++;
|
| if (buildCounterDiagnostics < 3) {
|
| - o.alerts = buildUnnamed3461();
|
| + o.alerts = buildUnnamed3444();
|
| o.beaconName = "foo";
|
| o.estimatedLowBatteryDate = buildDate();
|
| }
|
| @@ -277,7 +277,7 @@ buildDiagnostics() {
|
| checkDiagnostics(api.Diagnostics o) {
|
| buildCounterDiagnostics++;
|
| if (buildCounterDiagnostics < 3) {
|
| - checkUnnamed3461(o.alerts);
|
| + checkUnnamed3444(o.alerts);
|
| unittest.expect(o.beaconName, unittest.equals('foo'));
|
| checkDate(o.estimatedLowBatteryDate);
|
| }
|
| @@ -353,27 +353,27 @@ checkEphemeralIdRegistrationParams(api.EphemeralIdRegistrationParams o) {
|
| buildCounterEphemeralIdRegistrationParams--;
|
| }
|
|
|
| -buildUnnamed3462() {
|
| +buildUnnamed3445() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed3462(core.List<core.String> o) {
|
| +checkUnnamed3445(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'));
|
| }
|
|
|
| -buildUnnamed3463() {
|
| +buildUnnamed3446() {
|
| var o = new core.List<api.Observation>();
|
| o.add(buildObservation());
|
| o.add(buildObservation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3463(core.List<api.Observation> o) {
|
| +checkUnnamed3446(core.List<api.Observation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkObservation(o[0]);
|
| checkObservation(o[1]);
|
| @@ -384,8 +384,8 @@ buildGetInfoForObservedBeaconsRequest() {
|
| var o = new api.GetInfoForObservedBeaconsRequest();
|
| buildCounterGetInfoForObservedBeaconsRequest++;
|
| if (buildCounterGetInfoForObservedBeaconsRequest < 3) {
|
| - o.namespacedTypes = buildUnnamed3462();
|
| - o.observations = buildUnnamed3463();
|
| + o.namespacedTypes = buildUnnamed3445();
|
| + o.observations = buildUnnamed3446();
|
| }
|
| buildCounterGetInfoForObservedBeaconsRequest--;
|
| return o;
|
| @@ -394,20 +394,20 @@ buildGetInfoForObservedBeaconsRequest() {
|
| checkGetInfoForObservedBeaconsRequest(api.GetInfoForObservedBeaconsRequest o) {
|
| buildCounterGetInfoForObservedBeaconsRequest++;
|
| if (buildCounterGetInfoForObservedBeaconsRequest < 3) {
|
| - checkUnnamed3462(o.namespacedTypes);
|
| - checkUnnamed3463(o.observations);
|
| + checkUnnamed3445(o.namespacedTypes);
|
| + checkUnnamed3446(o.observations);
|
| }
|
| buildCounterGetInfoForObservedBeaconsRequest--;
|
| }
|
|
|
| -buildUnnamed3464() {
|
| +buildUnnamed3447() {
|
| var o = new core.List<api.BeaconInfo>();
|
| o.add(buildBeaconInfo());
|
| o.add(buildBeaconInfo());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3464(core.List<api.BeaconInfo> o) {
|
| +checkUnnamed3447(core.List<api.BeaconInfo> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBeaconInfo(o[0]);
|
| checkBeaconInfo(o[1]);
|
| @@ -418,7 +418,7 @@ buildGetInfoForObservedBeaconsResponse() {
|
| var o = new api.GetInfoForObservedBeaconsResponse();
|
| buildCounterGetInfoForObservedBeaconsResponse++;
|
| if (buildCounterGetInfoForObservedBeaconsResponse < 3) {
|
| - o.beacons = buildUnnamed3464();
|
| + o.beacons = buildUnnamed3447();
|
| }
|
| buildCounterGetInfoForObservedBeaconsResponse--;
|
| return o;
|
| @@ -427,7 +427,7 @@ buildGetInfoForObservedBeaconsResponse() {
|
| checkGetInfoForObservedBeaconsResponse(api.GetInfoForObservedBeaconsResponse o) {
|
| buildCounterGetInfoForObservedBeaconsResponse++;
|
| if (buildCounterGetInfoForObservedBeaconsResponse < 3) {
|
| - checkUnnamed3464(o.beacons);
|
| + checkUnnamed3447(o.beacons);
|
| }
|
| buildCounterGetInfoForObservedBeaconsResponse--;
|
| }
|
| @@ -472,14 +472,14 @@ checkLatLng(api.LatLng o) {
|
| buildCounterLatLng--;
|
| }
|
|
|
| -buildUnnamed3465() {
|
| +buildUnnamed3448() {
|
| var o = new core.List<api.BeaconAttachment>();
|
| o.add(buildBeaconAttachment());
|
| o.add(buildBeaconAttachment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3465(core.List<api.BeaconAttachment> o) {
|
| +checkUnnamed3448(core.List<api.BeaconAttachment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBeaconAttachment(o[0]);
|
| checkBeaconAttachment(o[1]);
|
| @@ -490,7 +490,7 @@ buildListBeaconAttachmentsResponse() {
|
| var o = new api.ListBeaconAttachmentsResponse();
|
| buildCounterListBeaconAttachmentsResponse++;
|
| if (buildCounterListBeaconAttachmentsResponse < 3) {
|
| - o.attachments = buildUnnamed3465();
|
| + o.attachments = buildUnnamed3448();
|
| }
|
| buildCounterListBeaconAttachmentsResponse--;
|
| return o;
|
| @@ -499,19 +499,19 @@ buildListBeaconAttachmentsResponse() {
|
| checkListBeaconAttachmentsResponse(api.ListBeaconAttachmentsResponse o) {
|
| buildCounterListBeaconAttachmentsResponse++;
|
| if (buildCounterListBeaconAttachmentsResponse < 3) {
|
| - checkUnnamed3465(o.attachments);
|
| + checkUnnamed3448(o.attachments);
|
| }
|
| buildCounterListBeaconAttachmentsResponse--;
|
| }
|
|
|
| -buildUnnamed3466() {
|
| +buildUnnamed3449() {
|
| var o = new core.List<api.Beacon>();
|
| o.add(buildBeacon());
|
| o.add(buildBeacon());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3466(core.List<api.Beacon> o) {
|
| +checkUnnamed3449(core.List<api.Beacon> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBeacon(o[0]);
|
| checkBeacon(o[1]);
|
| @@ -522,7 +522,7 @@ buildListBeaconsResponse() {
|
| var o = new api.ListBeaconsResponse();
|
| buildCounterListBeaconsResponse++;
|
| if (buildCounterListBeaconsResponse < 3) {
|
| - o.beacons = buildUnnamed3466();
|
| + o.beacons = buildUnnamed3449();
|
| o.nextPageToken = "foo";
|
| o.totalCount = "foo";
|
| }
|
| @@ -533,21 +533,21 @@ buildListBeaconsResponse() {
|
| checkListBeaconsResponse(api.ListBeaconsResponse o) {
|
| buildCounterListBeaconsResponse++;
|
| if (buildCounterListBeaconsResponse < 3) {
|
| - checkUnnamed3466(o.beacons);
|
| + checkUnnamed3449(o.beacons);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.totalCount, unittest.equals('foo'));
|
| }
|
| buildCounterListBeaconsResponse--;
|
| }
|
|
|
| -buildUnnamed3467() {
|
| +buildUnnamed3450() {
|
| var o = new core.List<api.Diagnostics>();
|
| o.add(buildDiagnostics());
|
| o.add(buildDiagnostics());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3467(core.List<api.Diagnostics> o) {
|
| +checkUnnamed3450(core.List<api.Diagnostics> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDiagnostics(o[0]);
|
| checkDiagnostics(o[1]);
|
| @@ -558,7 +558,7 @@ buildListDiagnosticsResponse() {
|
| var o = new api.ListDiagnosticsResponse();
|
| buildCounterListDiagnosticsResponse++;
|
| if (buildCounterListDiagnosticsResponse < 3) {
|
| - o.diagnostics = buildUnnamed3467();
|
| + o.diagnostics = buildUnnamed3450();
|
| o.nextPageToken = "foo";
|
| }
|
| buildCounterListDiagnosticsResponse--;
|
| @@ -568,20 +568,20 @@ buildListDiagnosticsResponse() {
|
| checkListDiagnosticsResponse(api.ListDiagnosticsResponse o) {
|
| buildCounterListDiagnosticsResponse++;
|
| if (buildCounterListDiagnosticsResponse < 3) {
|
| - checkUnnamed3467(o.diagnostics);
|
| + checkUnnamed3450(o.diagnostics);
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterListDiagnosticsResponse--;
|
| }
|
|
|
| -buildUnnamed3468() {
|
| +buildUnnamed3451() {
|
| var o = new core.List<api.Namespace>();
|
| o.add(buildNamespace());
|
| o.add(buildNamespace());
|
| return o;
|
| }
|
|
|
| -checkUnnamed3468(core.List<api.Namespace> o) {
|
| +checkUnnamed3451(core.List<api.Namespace> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNamespace(o[0]);
|
| checkNamespace(o[1]);
|
| @@ -592,7 +592,7 @@ buildListNamespacesResponse() {
|
| var o = new api.ListNamespacesResponse();
|
| buildCounterListNamespacesResponse++;
|
| if (buildCounterListNamespacesResponse < 3) {
|
| - o.namespaces = buildUnnamed3468();
|
| + o.namespaces = buildUnnamed3451();
|
| }
|
| buildCounterListNamespacesResponse--;
|
| return o;
|
| @@ -601,7 +601,7 @@ buildListNamespacesResponse() {
|
| checkListNamespacesResponse(api.ListNamespacesResponse o) {
|
| buildCounterListNamespacesResponse++;
|
| if (buildCounterListNamespacesResponse < 3) {
|
| - checkUnnamed3468(o.namespaces);
|
| + checkUnnamed3451(o.namespaces);
|
| }
|
| buildCounterListNamespacesResponse--;
|
| }
|
| @@ -1288,8 +1288,8 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.BeaconsAttachmentsResourceApi res = new api.ProximitybeaconApi(mock).beacons.attachments;
|
| var arg_beaconName = "foo";
|
| - var arg_namespacedType = "foo";
|
| var arg_projectId = "foo";
|
| + var arg_namespacedType = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1317,8 +1317,8 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["namespacedType"].first, unittest.equals(arg_namespacedType));
|
| unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
|
| + unittest.expect(queryMap["namespacedType"].first, unittest.equals(arg_namespacedType));
|
|
|
|
|
| var h = {
|
| @@ -1327,7 +1327,7 @@ main() {
|
| var resp = convert.JSON.encode(buildDeleteAttachmentsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.batchDelete(arg_beaconName, namespacedType: arg_namespacedType, projectId: arg_projectId).then(unittest.expectAsync(((api.DeleteAttachmentsResponse response) {
|
| + res.batchDelete(arg_beaconName, projectId: arg_projectId, namespacedType: arg_namespacedType).then(unittest.expectAsync(((api.DeleteAttachmentsResponse response) {
|
| checkDeleteAttachmentsResponse(response);
|
| })));
|
| });
|
| @@ -1435,8 +1435,8 @@ main() {
|
| var mock = new HttpServerMock();
|
| api.BeaconsAttachmentsResourceApi res = new api.ProximitybeaconApi(mock).beacons.attachments;
|
| var arg_beaconName = "foo";
|
| - var arg_projectId = "foo";
|
| var arg_namespacedType = "foo";
|
| + var arg_projectId = "foo";
|
| mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| var path = (req.url).path;
|
| var pathOffset = 0;
|
| @@ -1464,8 +1464,8 @@ main() {
|
| addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| }
|
| }
|
| - unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
|
| unittest.expect(queryMap["namespacedType"].first, unittest.equals(arg_namespacedType));
|
| + unittest.expect(queryMap["projectId"].first, unittest.equals(arg_projectId));
|
|
|
|
|
| var h = {
|
| @@ -1474,7 +1474,7 @@ main() {
|
| var resp = convert.JSON.encode(buildListBeaconAttachmentsResponse());
|
| return new async.Future.value(stringResponse(200, h, resp));
|
| }), true);
|
| - res.list(arg_beaconName, projectId: arg_projectId, namespacedType: arg_namespacedType).then(unittest.expectAsync(((api.ListBeaconAttachmentsResponse response) {
|
| + res.list(arg_beaconName, namespacedType: arg_namespacedType, projectId: arg_projectId).then(unittest.expectAsync(((api.ListBeaconAttachmentsResponse response) {
|
| checkListBeaconAttachmentsResponse(response);
|
| })));
|
| });
|
|
|