From 7f99c4485c4574a6d112535794a3e4967edcdfc6 Mon Sep 17 00:00:00 2001 From: Joel Fischer Date: Mon, 18 Jul 2016 14:57:17 -0400 Subject: Update SDLLockScreenManager MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- .../DevAPISpecs/SDLFakeViewControllerPresenter.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 SmartDeviceLinkTests/DevAPISpecs/SDLFakeViewControllerPresenter.h (limited to 'SmartDeviceLinkTests/DevAPISpecs/SDLFakeViewControllerPresenter.h') 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 + +#import "SDLViewControllerPresentable.h" + +@interface SDLFakeViewControllerPresenter : NSObject + +@property (assign, nonatomic) BOOL presented; + +@end -- cgit v1.2.1