-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0262 New vehicle data SeatOccupancy #1866
0262 New vehicle data SeatOccupancy #1866
Conversation
…with the RPC Generator, files fixed manually afterwards.
…ed init method instead of the deprecated one)
…th develop branch)
…at occupancy and seat status structs
Codecov Report
@@ Coverage Diff @@
## develop #1866 +/- ##
===========================================
- Coverage 84.75% 84.69% -0.06%
===========================================
Files 422 420 -2
Lines 21156 21058 -98
===========================================
- Hits 17931 17836 -95
+ Misses 3225 3222 -3 |
Hello @atiwari9, could you please review this PR? Thank you. |
@standa1-ford - Please take note. @yoooriii - Please tag @standa1-ford for sdl_ios reviews. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great Work! Approved!
Hello @NicoleYarroch @jordynmackool. Could you review please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are also missing changes to VehicleDataManager.swift
SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLSeatStatusSpec.m
Outdated
Show resolved
Hide resolved
SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLSeatStatusSpec.m
Outdated
Show resolved
Hide resolved
SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLSubscribeVehicleDataResponseSpec.m
Outdated
Show resolved
Hide resolved
SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m
Outdated
Show resolved
Hide resolved
SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m
Outdated
Show resolved
Hide resolved
…review Co-authored-by: Joel Fischer <[email protected]>
…review-2 (remove assign self from init: self=[self initWww] to suppress warnings)
Hello @joeljfischer. I have updated the PR. Could you please confirm it is ok ? Thank you. Note: I had a few warnings like this: ${}/SDLUnsubscribeVehicleData.m:40:13: Although the value stored to 'self' is used in the enclosing expression, the value is never actually read from 'self' so I had to remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- PR Description tags the wrong issue number. (Fixes 0262 New vehicle data SeatOccupancy #1866)
- SDLMaxProxyRPCVersion property in SDLGlobals.m should be set to 7.1.0
- Warning in Swift example app. function getAllVehicleData implemented a deprecated init
SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLGetVehicleDataSpec.m
Outdated
Show resolved
Hide resolved
SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSubscribeVehicleDataSpec.m
Show resolved
Hide resolved
SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSubscribeVehicleDataSpec.m
Outdated
Show resolved
Hide resolved
SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLUnsubscribeVehicleDataSpec.m
Outdated
Show resolved
Hide resolved
SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLUnsubscribeVehicleDataResponseSpec.m
Outdated
Show resolved
Hide resolved
SmartDeviceLinkTests/RPCSpecs/ResponseSpecs/SDLSubscribeVehicleDataResponseSpec.m
Outdated
Show resolved
Hide resolved
Also note that there are merge conflicts on this PR |
@yoooriii please see the review feedback from the Livio team above. Once the comments are addressed please tag @FrankElias77 and he can re-review. Thanks! |
…this, 2 conflicts in SmartDeviceLink-iOS.xcodeproj/project.pbxproj resolved (accepted both A+B)
All fixed. |
Hello @FrankElias77. I have already fixed the PR. Could you please re-review? Thank you. |
'develop' branch merged, conflicts resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yoooriii SDLSubscribeVehicleDataSpec is missing one init function can you add it please
…t SDLSubscribeVehicleDataSpec
Hello @FrankElias77. I have updated the PR, could you please proceed? Thank you. |
SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSubscribeVehicleDataSpec.m
Outdated
Show resolved
Hide resolved
SmartDeviceLinkTests/RPCSpecs/RequestSpecs/SDLSubscribeVehicleDataSpec.m
Outdated
Show resolved
Hide resolved
…this. 2 conflicts in SmartDeviceLink-iOS.xcodeproj/project.pbxproj resolved
Hello @FrankElias77. I have updated the PR and also I merged develop into is so now unit tests work well. Could you please proceed? Thank you. |
Fixes #1487
This PR is ready for review.
Risk
This PR makes minor API changes.
Testing Plan
Unit Tests
2 new tests added to test newly introduced structures
Core version / branch / commit hash / module tested against: Core: sdl_0262_new_vehicle_data_seatOccupancy
HMI name / version / branch / commit hash / module tested against: HMI: sdl_0262_new_vehicle_data_seatOccupancy
Summary
Added new vehicle data SeatOccupancy to know if a vehicle seat is occupied and belted.
New structures are:
Breaking Changes
No breaking changes
CLA