diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-12-02 16:37:20 -0500 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-12-02 16:37:20 -0500 |
commit | eafd1cc52c9bc9eb7cc89bfc7d7780c52d8bcc36 (patch) | |
tree | cccf1bc8ee1da65c254a467c72d8fad1c97a37b7 | |
parent | 2eebf48b3dde164ee0e44d0c41f853443ac323fa (diff) | |
download | sdl_ios-eafd1cc52c9bc9eb7cc89bfc7d7780c52d8bcc36.tar.gz |
Revert "Added tests for SDLNotificationDispatcher's new methods, and updated them to match changed classnames."
This reverts commit 7cf4a0d9057fc03c3cb142d64a5d17e5affcea8b.
-rw-r--r-- | SmartDeviceLink/SDLNotificationDispatcher.m | 8 | ||||
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLNotificationDispatcherSpec.m | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/SmartDeviceLink/SDLNotificationDispatcher.m b/SmartDeviceLink/SDLNotificationDispatcher.m index cae44a5fd..bbf6cc713 100644 --- a/SmartDeviceLink/SDLNotificationDispatcher.m +++ b/SmartDeviceLink/SDLNotificationDispatcher.m @@ -146,7 +146,7 @@ NS_ASSUME_NONNULL_BEGIN [self postRPCResponseNotification:SDLDidReceiveGetVehicleDataResponse response:response]; } -- (void)onGetWayPointsResponse:(SDLGetWaypointsResponse *)response { +- (void)onGetWaypointsResponse:(SDLGetWaypointsResponse *)response { [self postRPCResponseNotification:SDLDidReceiveGetWaypointsResponse response:response]; } @@ -226,7 +226,7 @@ NS_ASSUME_NONNULL_BEGIN [self postRPCResponseNotification:SDLDidReceiveSubscribeVehicleDataResponse response:response]; } -- (void)onSubscribeWayPointsResponse:(SDLSubscribeWaypointsResponse *)response { +- (void)onSubscribeWaypointsResponse:(SDLSubscribeWaypointsResponse *)response { [self postRPCResponseNotification:SDLDidReceiveSubscribeWaypointsResponse response:response]; } @@ -250,7 +250,7 @@ NS_ASSUME_NONNULL_BEGIN [self postRPCResponseNotification:SDLDidReceiveUnsubscribeVehicleDataResponse response:response]; } -- (void)onUnsubscribeWayPointsResponse:(SDLUnsubscribeWaypointsResponse *)response { +- (void)onUnsubscribeWaypointsResponse:(SDLUnsubscribeWaypointsResponse *)response { [self postRPCResponseNotification:SDLDidReceiveUnsubscribeWaypointsResponse response:response]; } @@ -318,7 +318,7 @@ NS_ASSUME_NONNULL_BEGIN [self postRPCNotificationNotification:SDLDidReceiveVehicleDataNotification notification:notification]; } -- (void)onOnWayPointChange:(SDLOnWaypointChange *)notification { +- (void)onOnWaypointChange:(SDLOnWaypointChange *)notification { [self postRPCNotificationNotification:SDLDidReceiveWaypointNotification notification:notification]; } diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLNotificationDispatcherSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLNotificationDispatcherSpec.m index f43a8535b..ba3b2f1c1 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLNotificationDispatcherSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLNotificationDispatcherSpec.m @@ -38,7 +38,6 @@ describe(@"a notification dispatcher", ^{ expect(@([testDispatcher respondsToSelector:@selector(onGenericResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onGetDTCsResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onGetVehicleDataResponse:)])).to(beTruthy()); - expect(@([testDispatcher respondsToSelector:@selector(onGetWayPointsResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onReceivedLockScreenIcon:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onOnAppInterfaceUnregistered:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onOnAudioPassThru:)])).to(beTruthy()); @@ -54,7 +53,6 @@ describe(@"a notification dispatcher", ^{ expect(@([testDispatcher respondsToSelector:@selector(onOnTBTClientState:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onOnTouchEvent:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onOnVehicleData:)])).to(beTruthy()); - expect(@([testDispatcher respondsToSelector:@selector(onOnWayPointChange:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onPerformAudioPassThruResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onPerformInteractionResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onPutFileResponse:)])).to(beTruthy()); @@ -73,13 +71,11 @@ describe(@"a notification dispatcher", ^{ expect(@([testDispatcher respondsToSelector:@selector(onSpeakResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onSubscribeButtonResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onSubscribeVehicleDataResponse:)])).to(beTruthy()); - expect(@([testDispatcher respondsToSelector:@selector(onSubscribeWayPointsResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onSyncPDataResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onUpdateTurnListResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onUnregisterAppInterfaceResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onUnsubscribeButtonResponse:)])).to(beTruthy()); expect(@([testDispatcher respondsToSelector:@selector(onUnsubscribeVehicleDataResponse:)])).to(beTruthy()); - expect(@([testDispatcher respondsToSelector:@selector(onUnsubscribeWayPointsResponse:)])).to(beTruthy()); }); describe(@"when told to post a notification", ^{ |