summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Gluck <justin.gluck@livio.io>2019-08-13 13:19:48 -0400
committerJustin Gluck <justin.gluck@livio.io>2019-08-13 13:19:48 -0400
commit3a4986a2f35ec3a9071cf3196d2849309666ef4d (patch)
tree23cf859402ee817b174dc10b96c045cf785267b6
parentead52e30500855ddcba0db43ec6e20c46ad6adbe (diff)
downloadsdl_ios-3a4986a2f35ec3a9071cf3196d2849309666ef4d.tar.gz
fixed description
-rw-r--r--Example Apps/Example ObjC/ProxyManager.m4
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m4
2 files changed, 5 insertions, 3 deletions
diff --git a/Example Apps/Example ObjC/ProxyManager.m b/Example Apps/Example ObjC/ProxyManager.m
index 980c5b137..ad2472b3f 100644
--- a/Example Apps/Example ObjC/ProxyManager.m
+++ b/Example Apps/Example ObjC/ProxyManager.m
@@ -114,7 +114,9 @@ NS_ASSUME_NONNULL_BEGIN
[self sdlex_startManager];
return;
}
- SDLConfiguration *config = [SDLConfiguration configurationWithLifecycle:lifecycleConfiguration lockScreen:[SDLLockScreenConfiguration enabledConfigurationWithAppIcon:[UIImage imageNamed:ExampleAppLogoName] backgroundColor:nil] logging:[self.class sdlex_logConfiguration] fileManager:[SDLFileManagerConfiguration defaultConfiguration]];
+ SDLLockScreenConfiguration *lockScreen = [SDLLockScreenConfiguration enabledConfigurationWithAppIcon:[UIImage imageNamed:ExampleAppLogoName] backgroundColor:nil];
+
+ SDLConfiguration *config = [SDLConfiguration configurationWithLifecycle:lifecycleConfiguration lockScreen:lockScreen logging:[self.class sdlex_logConfiguration] fileManager:[SDLFileManagerConfiguration defaultConfiguration]];
self.sdlManager = [[SDLManager alloc] initWithConfiguration:config delegate:self];
[self sdlex_startManager];
}
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m
index 05f88b769..5455aae8a 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLLockScreenManagerSpec.m
@@ -234,7 +234,7 @@ describe(@"a lock screen manager", ^{
});
});
- context(@"with showDeviceLogo as false", ^{
+ fcontext(@"with showDeviceLogo as NO", ^{
beforeEach(^{
SDLLockScreenConfiguration *config = [SDLLockScreenConfiguration enabledConfiguration];
config.showDeviceLogo = NO;
@@ -251,7 +251,7 @@ describe(@"a lock screen manager", ^{
[[NSNotificationCenter defaultCenter] postNotificationName:SDLDidReceiveLockScreenIcon object:nil userInfo:@{ SDLNotificationUserInfoObject: testIcon }];
});
- it(@"should have a vehicle icon if showDeviceLogo is set to true", ^{
+ it(@"should not have a vehicle icon if showDeviceLogo is set to NO", ^{
expect(((SDLLockScreenViewController *)testManager.lockScreenViewController).vehicleIcon).to(beNil());
});
});