diff --git a/SenAsyncTestCase.m b/SenAsyncTestCase.m index 80ecb9b..3903393 100644 --- a/SenAsyncTestCase.m +++ b/SenAsyncTestCase.m @@ -42,12 +42,10 @@ - (void)waitForStatus:(SenAsyncTestCaseStatus)status timeout:(NSTimeInterval)tim self.expectedStatus = status; self.loopUntil = [NSDate dateWithTimeIntervalSinceNow:timeout]; - NSLog(@"Wait loop start"); while (!self.notified && [self.loopUntil timeIntervalSinceNow] > 0) { [[NSRunLoop currentRunLoop] runMode:NSDefaultRunLoopMode beforeDate:self.loopUntil]; } - NSLog(@"Wait loop finished"); // Only assert when notified. Do not assert when timed out // Fail if not notified @@ -75,7 +73,6 @@ - (void)notify:(SenAsyncTestCaseStatus)status self.notifiedStatus = status; // self.notified must be set at the last of this method self.notified = YES; - NSLog(@"Notified"); } @end