Closed crokita closed 1 year ago
Fixes #554
This PR makes no API changes.
Add tests for the new _updateTargetStateWithErrorState method
When sending updates of invalid data followed by valid data to the T&G manager, the valid data will not be thrown out with the invalid data.
Resolved an issue with _updatePendingOperationsWithNewScreenData where the wrong identifier was used in the for loop for looping over tasks.
Also fixed _TextAndGraphicUpdateOperation to properly await on sending shows so that the task does not immediately complete.
Fixed variables in test returning undefined due to non-existent SDL.rpc.enums.MetadataType.MEDIA_TITLE value.
@renonick87 while reviewing, please verify that this check is in place: https://github.com/smartdevicelink/sdl_ios/pull/2107/commits/8180e65affca9258425cef1f016b36768c18c288
Fixes #554
Risk
This PR makes no API changes.
Testing Plan
Unit Tests
Add tests for the new _updateTargetStateWithErrorState method
Summary
When sending updates of invalid data followed by valid data to the T&G manager, the valid data will not be thrown out with the invalid data.
Bug Fixes
Resolved an issue with _updatePendingOperationsWithNewScreenData where the wrong identifier was used in the for loop for looping over tasks.
Also fixed _TextAndGraphicUpdateOperation to properly await on sending shows so that the task does not immediately complete.
Fixed variables in test returning undefined due to non-existent SDL.rpc.enums.MetadataType.MEDIA_TITLE value.