File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed
Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 66// Copyright (c) 2013 Brian Nickel. All rights reserved.
77//
88
9- #import < KIFUITestActor.h>
9+ #import < KIF/ KIFUITestActor.h>
1010
1111extern NSString * const LECompareOptionThresholdPixels;
1212
Original file line number Diff line number Diff line change 77//
88
99#import " KIFUITestActor+Lela.h"
10- #import < NSError-KIFAdditions.h>
10+ #import < KIF/ NSError-KIFAdditions.h>
1111#import " Lela.h"
1212#import < XCTest/XCTest.h>
1313
Original file line number Diff line number Diff line change @@ -90,15 +90,9 @@ + (UIImage *)expectedImageWithName:(NSString *)name
9090+ (UIImage *)captureScreenshot
9191{
9292 // Create a graphics context with the target size
93- // On iOS 4 and later, use UIGraphicsBeginImageContextWithOptions to take the scale into consideration
94- // On iOS prior to 4, fall back to use UIGraphicsBeginImageContext
9593 CGRect imageRect = [self .class currentScreenBoundsDependOnOrientation ];
9694 CGSize imageSize = imageRect.size ;
97- if (NULL != &UIGraphicsBeginImageContextWithOptions)
98- UIGraphicsBeginImageContextWithOptions (imageSize, NO , 0 );
99- else
100- UIGraphicsBeginImageContext (imageSize);
101-
95+ UIGraphicsBeginImageContextWithOptions (imageSize, NO , 0 );
10296 CGContextRef context = UIGraphicsGetCurrentContext ();
10397
10498 // Iterate over every window from back to front
You can’t perform that action at this time.
0 commit comments