From a777efc87946cd89aa6dd93082af1aab6ab25be5 Mon Sep 17 00:00:00 2001 From: "leonid lokhmatov, Luxoft" Date: Tue, 9 Feb 2021 12:34:53 +0200 Subject: SDL0238 'Keyboard Enhancements r2': fix SDLPresentKeyboardOperation test (workaround due to wrong architecture) --- SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m index 1f90b61a7..eae0c2098 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m @@ -46,6 +46,13 @@ describe(@"present keyboard operation", ^{ testInitialProperties = [[SDLKeyboardProperties alloc] initWithLanguage:SDLLanguageArSa keyboardLayout:SDLKeyboardLayoutAZERTY keypressMode:SDLKeypressModeResendCurrentEntry limitedCharacterList:nil autoCompleteList:nil maskInputCharacters:nil customKeys:nil]; }); + afterEach(^{ + if (testOp) { + [[NSNotificationCenter defaultCenter] removeObserver:testOp]; + testOp = nil; + } + }); + it(@"should have a priority of 'normal'", ^{ testOp = [[SDLPresentKeyboardOperation alloc] init]; -- cgit v1.2.1