diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-07-18 14:57:17 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-07-18 14:57:17 -0400 |
commit | 7f99c4485c4574a6d112535794a3e4967edcdfc6 (patch) | |
tree | 821c368e17491defc502a6c56068e40b9d3a9707 /SmartDeviceLinkTests/DevAPISpecs/SDLFakeViewControllerPresenter.h | |
parent | 67d147a71d455d63987644c2284b73120af89593 (diff) | |
download | sdl_ios-7f99c4485c4574a6d112535794a3e4967edcdfc6.tar.gz |
Update SDLLockScreenManager
* Add SDLFakeViewControllerPresenter that helps unit tests
* Update the SDL Logo to be used on the lock screen
* Add additional Lock Screen Manager tests
* Fix a conflict between SDLLockScreenManagerSpec and the old spec of the same name that was testing the lock screen status manager spec
* SDLLockScreenPresenter protocol now has a dismiss method that’s now implemented in real and fake classes for testing
Diffstat (limited to 'SmartDeviceLinkTests/DevAPISpecs/SDLFakeViewControllerPresenter.h')
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLFakeViewControllerPresenter.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLFakeViewControllerPresenter.h b/SmartDeviceLinkTests/DevAPISpecs/SDLFakeViewControllerPresenter.h new file mode 100644 index 000000000..797868e74 --- /dev/null +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLFakeViewControllerPresenter.h @@ -0,0 +1,17 @@ +// +// SDLFakeViewControllerPresenter.h +// SmartDeviceLink-iOS +// +// Created by Joel Fischer on 7/18/16. +// Copyright © 2016 smartdevicelink. All rights reserved. +// + +#import <Foundation/Foundation.h> + +#import "SDLViewControllerPresentable.h" + +@interface SDLFakeViewControllerPresenter : NSObject <SDLViewControllerPresentable> + +@property (assign, nonatomic) BOOL presented; + +@end |