summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-07-28 09:40:43 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-07-28 09:40:43 -0400
commit1d9af4acf971dff0acef49b51e31bbaf2f3d830e (patch)
treea36930603de8aa7d51a1c421e9c9b321867ba837
parentd0169655aaab4ed67467354b85a72a78aa59cb80 (diff)
downloadsdl_ios-feature/issue-1139-supported-character-sets.tar.gz
Update uses of deprecated enum valuesfeature/issue-1139-supported-character-sets
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLChoiceSetManagerSpec.m2
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLTextFieldSpec.m2
-rw-r--r--SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m2
3 files changed, 3 insertions, 3 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLChoiceSetManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLChoiceSetManagerSpec.m
index c9ce76b50..47156d1c0 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLChoiceSetManagerSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLChoiceSetManagerSpec.m
@@ -95,7 +95,7 @@ describe(@"choice set manager tests", ^{
testCell3 = [[SDLChoiceCell alloc] initWithText:@"test3"];
enabledWindowCapability = [[SDLWindowCapability alloc] init];
- enabledWindowCapability.textFields = @[[[SDLTextField alloc] initWithName:SDLTextFieldNameMenuName characterSet:SDLCharacterSetType5 width:500 rows:1]];
+ enabledWindowCapability.textFields = @[[[SDLTextField alloc] initWithName:SDLTextFieldNameMenuName characterSet:SDLCharacterSetUtf8 width:500 rows:1]];
disabledWindowCapability = [[SDLWindowCapability alloc] init];
disabledWindowCapability.textFields = @[];
blankWindowCapability = [[SDLWindowCapability alloc] init];
diff --git a/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLTextFieldSpec.m b/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLTextFieldSpec.m
index fcde49e1e..d8b6e8983 100644
--- a/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLTextFieldSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLTextFieldSpec.m
@@ -18,7 +18,7 @@ QuickSpecBegin(SDLTextFieldSpec)
describe(@"Getter/Setter Tests", ^ {
__block SDLTextFieldName testName = SDLTextFieldNameETA;
- __block SDLCharacterSet testCharacterSet = SDLCharacterSetCID1;
+ __block SDLCharacterSet testCharacterSet = SDLCharacterSetUtf8;
__block NSUInteger testWidth = 100;
__block NSUInteger testRows = 4;
diff --git a/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m b/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m
index ad77dea1d..d820195c6 100644
--- a/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m
+++ b/SmartDeviceLinkTests/SDLSystemCapabilityManagerSpec.m
@@ -104,7 +104,7 @@ describe(@"System capability manager", ^{
#pragma clang diagnostic pop
SDLTextField *textField = [[SDLTextField alloc] init];
textField.name = SDLTextFieldNameMainField1;
- textField.characterSet = SDLCharacterSetCID1;
+ textField.characterSet = SDLCharacterSetUtf8;
textField.width = @(123);
textField.rows = @(1);
testDisplayCapabilities.textFields = @[textField];