• Home
  • Raw
  • Download

Lines Matching refs:NSString

68 NSString *STComposeString(NSString *, ...) NS_FORMAT_FUNCTION(1, 2);
70 NSString *STComposeString(NSString *, ...);
90NSString *_expression = [NSString stringWithFormat:@"Expected noErr, got %ld for (%s)", (long)a1va…
93 inFile:[NSString stringWithUTF8String:__FILE__] \
99 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == noErr fai…
101 inFile:[NSString stringWithUTF8String:__FILE__] \
120NSString *_expression = [NSString stringWithFormat:@"Expected %s(%ld) but got %ld for (%s)", #a2, …
123 inFile:[NSString stringWithUTF8String:__FILE__] \
129 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == (%s) fail…
131 inFile:[NSString stringWithUTF8String:__FILE__] \
149 NSString *_expression = [NSString stringWithFormat:@"((%s) != NULL)", #a1]; \
152 inFile:[NSString stringWithUTF8String:__FILE__] \
158 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) != NULL fail…
160 inFile:[NSString stringWithUTF8String:__FILE__] \
177 NSString *_expression = [NSString stringWithFormat:@"((%s) == NULL)", #a1]; \
180 … inFile:[NSString stringWithUTF8String:__FILE__] \
186 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == NULL fail…
188 inFile:[NSString stringWithUTF8String:__FILE__] \
206 [self failWithException:[NSException failureInFile:[NSString stringWithUTF8String:__FILE__] \
215 NSString *_expression = [NSString stringWithFormat:@"((%s) != (%s))", #a1, #a2]; \
218 inFile:[NSString stringWithUTF8String:__FILE__] \
225 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) != (%s)", #a…
227 inFile:[NSString stringWithUTF8String:__FILE__] \
250 inFile:[NSString stringWithUTF8String:__FILE__] \
255 …[self failWithException:([NSException failureInRaise:[NSString stringWithFormat:@"(%s) != (%s)", #…
257 inFile:[NSString stringWithUTF8String:__FILE__] \
275 [self failWithException:[NSException failureInFile:[NSString stringWithUTF8String:__FILE__] \
284NSString *_expression = [NSString stringWithFormat:@"(%s (%lg) %s %s (%lg))", #a1, a1DoubleValue, …
287 inFile:[NSString stringWithUTF8String:__FILE__] \
295 failureInRaise:[NSString stringWithFormat:@"(%s) %s (%s)", #a1, #op, #a2] \
297 inFile:[NSString stringWithUTF8String:__FILE__] \
364 if ([a1value isKindOfClass:[NSString class]] && \
365 [a2value isKindOfClass:[NSString class]] && \
369 … inFile:[NSString stringWithUTF8String:__FILE__] \
374 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == (%s)", #a…
376 inFile:[NSString stringWithUTF8String:__FILE__] \
398 if ([a1value isKindOfClass:[NSString class]] && \
399 [a2value isKindOfClass:[NSString class]] && \
403 … inFile:[NSString stringWithUTF8String:__FILE__] \
408 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) != (%s)", #a…
410 inFile:[NSString stringWithUTF8String:__FILE__] \
430 …[self failWithException:[NSException failureInEqualityBetweenObject:[NSString stringWithUTF8String…
431 … andObject:[NSString stringWithUTF8String:a2value] \
432 … inFile:[NSString stringWithUTF8String:__FILE__] \
437 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == (%s)", #a…
439 inFile:[NSString stringWithUTF8String:__FILE__] \
458 …[self failWithException:[NSException failureInEqualityBetweenObject:[NSString stringWithUTF8String…
459 … andObject:[NSString stringWithUTF8String:a2value] \
460 … inFile:[NSString stringWithUTF8String:__FILE__] \
465 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) != (%s)", #a…
467 inFile:[NSString stringWithUTF8String:__FILE__] \
491 [self failWithException:[NSException failureInFile:[NSString stringWithUTF8String:__FILE__] \
505 NSString *string; \
507 … string = [NSString stringWithFormat:@"(%0.3f == %0.3f)", a1FloatValue[j], a2FloatValue[j]]; \
511 NSString *desc = STComposeString(description, ##__VA_ARGS__); \
512 …desc = [NSString stringWithFormat:@"%@ With Accuracy %0.3f: %@", string, (float)accuracyvalue, des…
513 … [self failWithException:[NSException failureInFile:[NSString stringWithUTF8String:__FILE__] \
522 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == (%s)", #a…
524 inFile:[NSString stringWithUTF8String:__FILE__] \
562 … inFile:[NSString stringWithUTF8String:__FILE__] \
567 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == (%s)", #a…
569 inFile:[NSString stringWithUTF8String:__FILE__] \
588 [self failWithException:[NSException failureInFile:[NSString stringWithUTF8String:__FILE__] \
600 … inFile:[NSString stringWithUTF8String:__FILE__] \
607 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == (%s)", #a…
609 inFile:[NSString stringWithUTF8String:__FILE__] \
634 [self failWithException:[NSException failureInFile:[NSString stringWithUTF8String:__FILE__] \
648 … inFile:[NSString stringWithUTF8String:__FILE__] \
655 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == (%s)", #a…
657 … inFile:[NSString stringWithUTF8String:__FILE__] \
671 [self failWithException:[NSException failureInFile:[NSString stringWithUTF8String:__FILE__] \
688 NSString *_a1 = [NSString stringWithUTF8String:#a1]; \
689 NSString *_expression = [NSString stringWithFormat:@"((%@) == nil)", _a1]; \
692 … inFile:[NSString stringWithUTF8String:__FILE__] \
698 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) == nil fails…
700 inFile:[NSString stringWithUTF8String:__FILE__] \
718 NSString *_a1 = [NSString stringWithUTF8String:#a1]; \
719 NSString *_expression = [NSString stringWithFormat:@"((%@) != nil)", _a1]; \
722 … inFile:[NSString stringWithUTF8String:__FILE__] \
728 …[self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) != nil fails…
730 inFile:[NSString stringWithUTF8String:__FILE__] \
747 NSString *_expression = [NSString stringWithUTF8String:#expr]; \
750 … inFile:[NSString stringWithUTF8String:__FILE__] \
769 NSString *_expression = [NSString stringWithUTF8String:#expr]; \
772 … inFile:[NSString stringWithUTF8String:__FILE__] \
778 … [self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"(%s) ", #expr] \
780 inFile:[NSString stringWithUTF8String:__FILE__] \
797 NSString *_expression = [NSString stringWithUTF8String:#expr]; \
800 … inFile:[NSString stringWithUTF8String:__FILE__] \
819 NSString *_expression = [NSString stringWithUTF8String:#expr]; \
822 … inFile:[NSString stringWithUTF8String:__FILE__] \
828 … [self failWithException:[NSException failureInRaise:[NSString stringWithFormat:@"!(%s) ", #expr] \
830 inFile:[NSString stringWithUTF8String:__FILE__] \
851 [self failWithException:[NSException failureInRaise:[NSString stringWithUTF8String:#expr] \
853 inFile:[NSString stringWithUTF8String:__FILE__] \
876NSString *_descrip = STComposeString(@"(Expected exception: %@) %@", NSStringFromClass([specificEx…
877 [self failWithException:[NSException failureInRaise:[NSString stringWithUTF8String:#expr] \
879 inFile:[NSString stringWithUTF8String:__FILE__] \
884NSString *_descrip = STComposeString(@"(Expected exception: %@) %@", NSStringFromClass([specificEx…
885 [self failWithException:[NSException failureInRaise:[NSString stringWithUTF8String:#expr] \
887 inFile:[NSString stringWithUTF8String:__FILE__] \
912NSString *_descrip = STComposeString(@"(Expected exception: %@ (name: %@)) %@", NSStringFromClass(…
914 [NSException failureInRaise:[NSString stringWithUTF8String:#expr] \
916 inFile:[NSString stringWithUTF8String:__FILE__] \
922NSString *_descrip = STComposeString(@"(Expected exception: %@) %@", NSStringFromClass([specificEx…
924 [NSException failureInRaise:[NSString stringWithUTF8String:#expr] \
926 inFile:[NSString stringWithUTF8String:__FILE__] \
931NSString *_descrip = STComposeString(@"(Expected exception: %@) %@", NSStringFromClass([specificEx…
933 [NSException failureInRaise:[NSString stringWithUTF8String:#expr] \
935 inFile:[NSString stringWithUTF8String:__FILE__] \
953 [self failWithException:[NSException failureInRaise:[NSString stringWithUTF8String:#expr] \
955 inFile:[NSString stringWithUTF8String:__FILE__] \
976 [self failWithException:[NSException failureInRaise:[NSString stringWithUTF8String:#expr] \
978 inFile:[NSString stringWithUTF8String:__FILE__] \
1007NSString *_descrip = STComposeString(@"(Expected exception: %@ (name: %@)) %@", NSStringFromClass(…
1009 [NSException failureInRaise:[NSString stringWithUTF8String:#expr] \
1011 inFile:[NSString stringWithUTF8String:__FILE__] \
1025 + (NSException *)failureInFile:(NSString *)filename
1027 withDescription:(NSString *)formatString, ... NS_FORMAT_FUNCTION(3, 4);
1028 + (NSException *)failureInCondition:(NSString *)condition
1030 inFile:(NSString *)filename
1032 withDescription:(NSString *)formatString, ... NS_FORMAT_FUNCTION(5, 6);
1035 inFile:(NSString *)filename
1037 … withDescription:(NSString *)formatString, ... NS_FORMAT_FUNCTION(5, 6);
1041 inFile:(NSString *)filename
1043 … withDescription:(NSString *)formatString, ... NS_FORMAT_FUNCTION(6, 7);
1044 + (NSException *)failureInRaise:(NSString *)expression
1045 inFile:(NSString *)filename
1047 withDescription:(NSString *)formatString, ... NS_FORMAT_FUNCTION(4, 5);
1048 + (NSException *)failureInRaise:(NSString *)expression
1050 inFile:(NSString *)filename
1052 withDescription:(NSString *)formatString, ... NS_FORMAT_FUNCTION(5, 6);
1076 GTM_EXTERN NSString *const SenTestFailureException;
1078 GTM_EXTERN NSString *const SenTestFilenameKey;
1079 GTM_EXTERN NSString *const SenTestLineNumberKey;