summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com>2021-02-09 12:34:53 +0200
committerleonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com>2021-02-09 12:34:53 +0200
commita777efc87946cd89aa6dd93082af1aab6ab25be5 (patch)
tree06c72146cb12b95f9ac98e29b3c16e48d5be43da
parent8aa002866ee85b969eaafc85f55974148d7e1a63 (diff)
downloadsdl_ios-a777efc87946cd89aa6dd93082af1aab6ab25be5.tar.gz
SDL0238 'Keyboard Enhancements r2': fix SDLPresentKeyboardOperation test (workaround due to wrong architecture)
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m7
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];