summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Elias <francois.elias@livio.io>2020-10-19 14:07:00 -0400
committerFrank Elias <francois.elias@livio.io>2020-10-19 14:07:00 -0400
commit3e4c0c5962f3bd8d0b16173d064225ce982fcfc9 (patch)
tree8b1d89292230a57059e34e30d8ef15c006decaa1
parenteeb04ff3a74f0ad70594d745f3c6c3cc64171dc2 (diff)
downloadsdl_ios-bugfix/issue-1784-deprecate-autoCompleteText-property-in-SDLKeyboardProperties.tar.gz
More tests added
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLKeyboardPropertiesSpec.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLKeyboardPropertiesSpec.m b/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLKeyboardPropertiesSpec.m
index 518f20369..b1f15a63f 100644
--- a/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLKeyboardPropertiesSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLKeyboardPropertiesSpec.m
@@ -93,6 +93,10 @@ describe(@"Getter/Setter Tests", ^ {
expect(testStruct.keypressMode).to(equal(testMode));
expect(testStruct.limitedCharacterList).to(equal(testLimitedCharacterList));
expect(testStruct.autoCompleteList).to(equal(testAutoCompleteList));
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ expect(testStruct.autoCompleteText).to(beNil());
+#pragma clang diagnostic pop
});
it(@"Should return nil if not set", ^ {
@@ -103,6 +107,10 @@ describe(@"Getter/Setter Tests", ^ {
expect(testStruct.keypressMode).to(beNil());
expect(testStruct.limitedCharacterList).to(beNil());
expect(testStruct.autoCompleteList).to(beNil());
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+ expect(testStruct.autoCompleteText).to(beNil());
+#pragma clang diagnostic pop
});
});