Lines Matching refs:reason
39 reason:(NSString *)reason;
45 reason:(NSString *)reason {
53 reason:reason
73 NSString *reason = testDescription;
75 return [self failureInFile:filename atLine:lineNumber reason:reason];
93 NSString *reason = [NSString stringWithFormat:@"'%@' should be %s. %@",
96 return [self failureInFile:filename atLine:lineNumber reason:reason];
114 NSString *reason =
118 return [self failureInFile:filename atLine:lineNumber reason:reason];
137 NSString *reason;
139 reason =
143 reason =
148 return [self failureInFile:filename atLine:lineNumber reason:reason];
165 NSString *reason = [NSString stringWithFormat:@"'%@' should raise. %@",
168 return [self failureInFile:filename atLine:lineNumber reason:reason];
186 NSString *reason;
189 reason = [exception reason];
191 // not one of our exception, use the exceptions reason and our description
192 reason = [NSString stringWithFormat:@"'%@' raised '%@'. %@",
193 expression, [exception reason], testDescription];
196 return [self failureInFile:filename atLine:lineNumber reason:reason];
202 NSString *reason = @"";
206 reason =
210 return reason;
277 [[exception reason] UTF8String]);