diff options
author | leonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com> | 2021-02-09 12:34:53 +0200 |
---|---|---|
committer | leonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com> | 2021-02-09 12:34:53 +0200 |
commit | a777efc87946cd89aa6dd93082af1aab6ab25be5 (patch) | |
tree | 06c72146cb12b95f9ac98e29b3c16e48d5be43da | |
parent | 8aa002866ee85b969eaafc85f55974148d7e1a63 (diff) | |
download | sdl_ios-a777efc87946cd89aa6dd93082af1aab6ab25be5.tar.gz |
SDL0238 'Keyboard Enhancements r2': fix SDLPresentKeyboardOperation test (workaround due to wrong architecture)
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m | 7 |
1 files changed, 7 insertions, 0 deletions
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]; |