Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
RainNapper committed May 8, 2020
1 parent a41bec9 commit ba8bbe8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion bp/src/BPTestBundleConnection.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#import "BPExecutionContext.h"
#import "BPSimulator.h"


// This is a small subset of XCTestManager_IDEInterface protocol
@protocol BPTestBundleConnectionDelegate <NSObject>
- (void)_XCT_launchProcessWithPath:(NSString *)path bundleID:(NSString *)bundleID arguments:(NSArray *)arguments environmentVariables:(NSDictionary *)environment;
Expand Down
3 changes: 1 addition & 2 deletions bp/src/BPTestBundleConnection.m
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,7 @@ - (id)_XCT_initializationForUITestingDidFailWithError:(NSError *__strong)errPtr
}

- (BOOL)shouldRecordVideo {
NSString *videoDirectory = self.context.config.videosDirectory;
return videoDirectory != nil && [videoDirectory length] > 0;
return self.context.config.videosDirectory.length > 0;
}

- (void)startVideoRecordingForTestClass:(NSString *)testClass method:(NSString *)method
Expand Down

0 comments on commit ba8bbe8

Please sign in to comment.