summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com>2021-02-10 22:52:19 +0200
committerleonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com>2021-02-10 22:52:19 +0200
commit06151956a9988c5a07d6016bd7dd343396491cc2 (patch)
treef49ea94ee3f008e9a2c127507a98fc9c153a34d2
parent39ff5b40a88941db4b90e8a3e87886f4cd918c40 (diff)
downloadsdl_ios-06151956a9988c5a07d6016bd7dd343396491cc2.tar.gz
SDL0238 'Keyboard Enhancements r2': remove out of date unused test file
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLConfigurableKeyboardsSpec.m64
1 files changed, 0 insertions, 64 deletions
diff --git a/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLConfigurableKeyboardsSpec.m b/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLConfigurableKeyboardsSpec.m
deleted file mode 100644
index 98be16be8..000000000
--- a/SmartDeviceLinkTests/RPCSpecs/StructSpecs/SDLConfigurableKeyboardsSpec.m
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-// SDLScreenParamsSpec.m
-// SmartDeviceLink
-
-
-#import <Foundation/Foundation.h>
-
-#import <Quick/Quick.h>
-#import <Nimble/Nimble.h>
-
-#import "SDLConfigurableKeyboards.h"
-#import "SDLRPCParameterNames.h"
-
-
-QuickSpecBegin(SDLConfigurableKeyboardsSpec)
-
-SDLKeyboardLayout keyboardLayout = SDLKeyboardLayoutNumeric;
-NSNumber *numConfigurableKeys = @123;
-
-describe(@"getter/setter tests", ^{
- context(@"init", ^{
- SDLConfigurableKeyboards* testStruct = [[SDLConfigurableKeyboards alloc] init];
-
- it(@"should return nil if not set", ^{
- expect(testStruct.keyboardLayout).to(beNil());
- expect(testStruct.numConfigurableKeys).to(beNil());
- });
- });
-
- context(@"init and assign", ^{
- SDLConfigurableKeyboards* testStruct = [[SDLConfigurableKeyboards alloc] init];
- testStruct.keyboardLayout = keyboardLayout;
- testStruct.numConfigurableKeys = numConfigurableKeys;
-
- it(@"expect all properties to be set properly", ^{
- expect(testStruct.keyboardLayout).to(equal(keyboardLayout));
- expect(testStruct.numConfigurableKeys).to(equal(numConfigurableKeys));
- });
- });
-
- context(@"initWithDictionary:", ^{
- NSDictionary<NSString *, id> *dict = @{
- SDLRPCParameterNameKeyboardLayout: keyboardLayout,
- SDLRPCParameterNameNumConfigurableKeys: numConfigurableKeys,
- };
- SDLConfigurableKeyboards* testStruct = [[SDLConfigurableKeyboards alloc] initWithDictionary:dict];
-
- it(@"expect all properties to be set properly", ^{
- expect(testStruct.keyboardLayout).to(equal(keyboardLayout));
- expect(testStruct.numConfigurableKeys).to(equal(numConfigurableKeys));
- });
- });
-
- context(@"initWithKeyboardLayout:numConfigurableKeys:", ^{
- SDLConfigurableKeyboards* testStruct = [[SDLConfigurableKeyboards alloc] initWithKeyboardLayout:keyboardLayout numConfigurableKeys:numConfigurableKeys.intValue];
-
- it(@"expect all properties to be set properly", ^{
- expect(testStruct.keyboardLayout).to(equal(keyboardLayout));
- expect(testStruct.numConfigurableKeys).to(equal(numConfigurableKeys));
- });
- });
-});
-
-QuickSpecEnd