summaryrefslogtreecommitdiff
path: root/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m
diff options
context:
space:
mode:
authorleonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com>2020-07-06 23:33:30 +0300
committerleonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com>2020-07-07 00:16:22 +0300
commit723bccb8f903a3172d5293f273dde26fb8abbf3f (patch)
treeddee309d8f16f342977d773c77eeaee8b2f52c20 /SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m
parent44bcdf668c0e1c7ae5ba93b64bb6649c34468549 (diff)
downloadsdl_ios-723bccb8f903a3172d5293f273dde26fb8abbf3f.tar.gz
sdl-0253 "New vehicle data StabilityControlsStatus": apply review comments use [[x alloc] init] instead of [x new]; replace (nullable, strong, nonatomic) with (strong, nonatomic, nullable);
replace .to(beFalse()); with .to(equal(@NO)); in tests replace .to(beTrue()); with .to(equal(@YES)); in tests reorder headers import alphabetically
Diffstat (limited to 'SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m')
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m11
1 files changed, 5 insertions, 6 deletions
diff --git a/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m b/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m
index f1b8d6b2c..96fb7b91b 100644
--- a/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m
@@ -4,13 +4,12 @@
#import <Foundation/Foundation.h>
-
-#import <Quick/Quick.h>
#import <Nimble/Nimble.h>
+#import <Quick/Quick.h>
-#import "SDLUnsubscribeVehicleDataResponse.h"
-#import "SDLRPCParameterNames.h"
#import "SDLRPCFunctionNames.h"
+#import "SDLRPCParameterNames.h"
+#import "SDLUnsubscribeVehicleDataResponse.h"
#import "SDLVehicleDataResult.h"
#import "SDLVehicleDataResultCode.h"
@@ -159,7 +158,7 @@ describe(@"Getter/Setter Tests", ^ {
});
it(@"Should return nil if not set", ^ {
- SDLUnsubscribeVehicleDataResponse* testResponse = [SDLUnsubscribeVehicleDataResponse new];
+ SDLUnsubscribeVehicleDataResponse* testResponse = [[SDLUnsubscribeVehicleDataResponse alloc] init];
expect(testResponse.gps).to(beNil());
expect(testResponse.speed).to(beNil());
@@ -194,7 +193,7 @@ describe(@"Getter/Setter Tests", ^ {
});
it(@"Should set and get Generic Network Signal Data", ^{
- SDLUnsubscribeVehicleDataResponse *testResponse = [SDLUnsubscribeVehicleDataResponse new];
+ SDLUnsubscribeVehicleDataResponse *testResponse = [[SDLUnsubscribeVehicleDataResponse alloc] init];
[testResponse setOEMCustomVehicleData:@"customOEMVehicleData" withVehicleDataState:customOEMvehicleDataResult];