Skip to content

Commit

Permalink
Misc changes to test files
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxiao0228 committed Jan 11, 2021
1 parent e91d7c4 commit 4f8fb91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bluepill/tests/BPAppTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ - (void)setUp {
self.config.runtime = @BP_DEFAULT_RUNTIME;
self.config.repeatTestsCount = @1;
self.config.errorRetriesCount = @1;
self.config.deviceType = @BP_DEFAULT_DEVICE_TYPE;}
self.config.deviceType = @BP_DEFAULT_DEVICE_TYPE;
}

- (void)tearDown {
// Put teardown code here. This method is called after the invocation of each test method in the class.
[super tearDown];
}

Expand Down
2 changes: 1 addition & 1 deletion bluepill/tests/BPIntegrationTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ - (void)testTwoBPInstancesWithXCTestRunFile {
config.testBundlePath = nil;
config.testRunnerAppPath = nil;
NSString *baseSDK = [[NSString stringWithUTF8String:BP_DEFAULT_BASE_SDK] stringByReplacingOccurrencesOfString:@"iOS " withString:@""];
NSString *xcTestRunFile = [NSString stringWithFormat:@"Build/Products/BPSampleApp_iphonesimulator%@-arm64-i386-x86_64.xctestrun", baseSDK];
NSString *xcTestRunFile = [NSString stringWithFormat:@"Build/Products/BPSampleApp_iphonesimulator%@-x86_64.xctestrun", baseSDK];
config.xcTestRunPath = [[[BPTestHelper derivedDataPath] stringByDeletingLastPathComponent] stringByAppendingPathComponent:xcTestRunFile];
NSError *err;
[config validateConfigWithError:&err];
Expand Down

0 comments on commit 4f8fb91

Please sign in to comment.