summaryrefslogtreecommitdiff
path: root/SmartDeviceLinkTests/DevAPISpecs
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-08-23 16:29:57 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-08-23 16:29:57 -0400
commit78873ede34e5c27032f77030ac2cdc23de53c1af (patch)
tree29e407d1d27b0c334bfbcb1224f5f890991a986e /SmartDeviceLinkTests/DevAPISpecs
parent87f08bf0f8351f48486b87fa6d1021f7eb389968 (diff)
downloadsdl_ios-78873ede34e5c27032f77030ac2cdc23de53c1af.tar.gz
Make SDLManagerDelegate methods required again
* SDLManagerDelegate removed `managerDidBecomeReady` * SDLManagerDelegate `hmiLevel:didChangeToLevel:` is now sent right after becoming ready with the current HMI level * Fixed some container types not having generics * Changed SDLLockScreenConfiguration `showInOptional` -> `showInOptionalState` * SDLLifecycleConfiguration `port` is now a UInt16 instead of a string * SDLLifecycleConfiguration ipAddress is now null_resettable * SDLLifecycleManager now properly sends AppHMIType and TTSName in RegisterAppInterface
Diffstat (limited to 'SmartDeviceLinkTests/DevAPISpecs')
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenConfigurationSpec.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenConfigurationSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenConfigurationSpec.m
index e761a6e12..59c3974df 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenConfigurationSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenConfigurationSpec.m
@@ -15,7 +15,7 @@ describe(@"a lock screen configuration", ^{
it(@"should properly set properties", ^{
expect(@(testConfig.enableAutomaticLockScreen)).to(beFalsy());
- expect(@(testConfig.showInOptional)).to(beFalsy());
+ expect(@(testConfig.showInOptionalState)).to(beFalsy());
expect(testConfig.backgroundColor).to(equal([UIColor colorWithRed:(57.0/255.0) green:(78.0/255.0) blue:(96.0/255.0) alpha:1.0]));
expect(testConfig.appIcon).to(beNil());
expect(testConfig.customViewController).to(beNil());
@@ -29,7 +29,7 @@ describe(@"a lock screen configuration", ^{
it(@"should properly set properties", ^{
expect(@(testConfig.enableAutomaticLockScreen)).to(beTruthy());
- expect(@(testConfig.showInOptional)).to(beFalsy());
+ expect(@(testConfig.showInOptionalState)).to(beFalsy());
expect(testConfig.backgroundColor).to(equal([UIColor colorWithRed:(57.0/255.0) green:(78.0/255.0) blue:(96.0/255.0) alpha:1.0]));
expect(testConfig.appIcon).to(beNil());
expect(testConfig.customViewController).to(beNil());
@@ -49,7 +49,7 @@ describe(@"a lock screen configuration", ^{
it(@"should properly set properties", ^{
expect(@(testConfig.enableAutomaticLockScreen)).to(beTruthy());
- expect(@(testConfig.showInOptional)).to(beFalsy());
+ expect(@(testConfig.showInOptionalState)).to(beFalsy());
expect(testConfig.backgroundColor).to(equal([UIColor blueColor]));
expect(testConfig.appIcon).to(equal(testImage));
expect(testConfig.customViewController).to(beNil());
@@ -67,7 +67,7 @@ describe(@"a lock screen configuration", ^{
it(@"should properly set properties", ^{
expect(@(testConfig.enableAutomaticLockScreen)).to(beTruthy());
- expect(@(testConfig.showInOptional)).to(beFalsy());
+ expect(@(testConfig.showInOptionalState)).to(beFalsy());
expect(testConfig.backgroundColor).to(equal([UIColor colorWithRed:(57.0/255.0) green:(78.0/255.0) blue:(96.0/255.0) alpha:1.0]));
expect(testConfig.appIcon).to(beNil());
expect(testConfig.customViewController).to(equal(testVC));