summaryrefslogtreecommitdiff
path: root/SmartDeviceLinkTests/DevAPISpecs/SDLFakeViewControllerPresenter.h
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-07-18 14:57:17 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-07-18 14:57:17 -0400
commit7f99c4485c4574a6d112535794a3e4967edcdfc6 (patch)
tree821c368e17491defc502a6c56068e40b9d3a9707 /SmartDeviceLinkTests/DevAPISpecs/SDLFakeViewControllerPresenter.h
parent67d147a71d455d63987644c2284b73120af89593 (diff)
downloadsdl_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.h17
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