fixed FBSimulatorCrashLogTests
Reviewed By: c-ryan747 Differential Revision: D13301206 fbshipit-source-id: b5970221065b32271390e6c74ac016d07dd8e4d2
This commit is contained in:
Родитель
bd8dba94d6
Коммит
c5ab5c8540
|
@ -32,7 +32,7 @@
|
|||
FBApplicationLaunchConfiguration *configuration = [self.tableSearchAppLaunch injectingLibrary:path];
|
||||
FBApplicationLaunchConfiguration *appLaunch = [configuration withEnvironmentAdditions:@{@"SHIMULATOR_CRASH_AFTER" : @"1"}];
|
||||
|
||||
FBFuture<FBCrashLogInfo *> *crashLogFuture = [simulator notifyOfCrash:[FBCrashLogInfo predicateForName:@"TableSearch"]];
|
||||
FBFuture<FBCrashLogInfo *> *crashLogFuture = [simulator notifyOfCrash:[FBCrashLogInfo predicateForIdentifier:@"TableSearch"]];
|
||||
|
||||
NSError *error = nil;
|
||||
BOOL success = [[simulator launchApplication:appLaunch] await:&error] != nil;
|
||||
|
|
Загрузка…
Ссылка в новой задаче