Lines Matching full:description
66 // as a description if you have the NS_FORMAT_FUNCTION on.
82 // description: A format string as in the printf() function. Can be nil or
85 #define STAssertNoErr(a1, description, ...) \
95 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
103 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
111 // description: A format string as in the printf() function. Can be nil or
114 #define STAssertErr(a1, a2, description, ...) \
125 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
133 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
141 // description: A format string as in the printf() function. Can be nil or
144 #define STAssertNotNULL(a1, description, ...) \
154 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
162 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
169 // description: A format string as in the printf() function. Can be nil or
172 #define STAssertNULL(a1, description, ...) \
182 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
190 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
199 // description: A format string as in the printf() function. Can be nil or
202 #define STAssertNotEquals(a1, a2, description, ...) \
208 withDescription:@"Type mismatch -- %@", STComposeString(description, ##__VA_ARGS__)]]; \
220 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
229 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
237 // description: A format string as in the printf() function. Can be nil or
240 #define STAssertNotEqualObjects(a1, a2, description, ...) \
252 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
259 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
268 // description: A format string as in the printf() function. Can be nil or
271 #define STAssertOperation(a1, a2, op, description, ...) \
277 withDescription:@"Type mismatch -- %@", STComposeString(description, ##__VA_ARGS__)]]; \
289 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
299 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
308 // description: A format string as in the printf() function. Can be nil or
311 #define STAssertGreaterThan(a1, a2, description, ...) \
312 STAssertOperation(a1, a2, >, description, ##__VA_ARGS__)
319 // description: A format string as in the printf() function. Can be nil or
322 #define STAssertGreaterThanOrEqual(a1, a2, description, ...) \
323 STAssertOperation(a1, a2, >=, description, ##__VA_ARGS__)
330 // description: A format string as in the printf() function. Can be nil or
333 #define STAssertLessThan(a1, a2, description, ...) \
334 STAssertOperation(a1, a2, <, description, ##__VA_ARGS__)
341 // description: A format string as in the printf() function. Can be nil or
344 #define STAssertLessThanOrEqual(a1, a2, description, ...) \
345 STAssertOperation(a1, a2, <=, description, ##__VA_ARGS__)
355 // description: A format string as in the printf() function. Can be nil or
358 #define STAssertEqualStrings(a1, a2, description, ...) \
371 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
378 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
390 // description: A format string as in the printf() function. Can be nil or
393 #define STAssertNotEqualStrings(a1, a2, description, ...) \
405 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
412 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
420 // description: A format string as in the printf() function. Can be nil or
423 #define STAssertEqualCStrings(a1, a2, description, ...) \
434 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
441 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
449 // description: A format string as in the printf() function. Can be nil or
452 #define STAssertNotEqualCStrings(a1, a2, description, ...) \
462 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
469 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
482 _{description A format string as in the printf() function. Can be nil or
487 #define STInternalAssertEqualGLKVectorsOrMatrices(a1, a2, accuracy, description, ...) \
493 withDescription:@"Type mismatch -- %@", STComposeString(description, ##__VA_ARGS__)]]; \
511 NSString *desc = STComposeString(description, ##__VA_ARGS__); \
526 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
530 #define STAssertEqualGLKVectors(a1, a2, accuracy, description, ...) \
531 STInternalAssertEqualGLKVectorsOrMatrices(a1, a2, accuracy, description, ##__VA_ARGS__)
533 #define STAssertEqualGLKMatrices(a1, a2, accuracy, description, ...) \
534 STInternalAssertEqualGLKVectorsOrMatrices(a1, a2, accuracy, description, ##__VA_ARGS__)
536 #define STAssertEqualGLKQuaternions(a1, a2, accuracy, description, ...) \
537 STInternalAssertEqualGLKVectorsOrMatrices(a1, a2, accuracy, description, ##__VA_ARGS__)
547 _{description A format string as in the printf() function. Can be nil or
551 #define STAssertEqualObjects(a1, a2, description, ...) \
564 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
571 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
580 _{description A format string as in the printf() function. Can be nil or
584 #define STAssertEquals(a1, a2, description, ...) \
590 withDescription:@"Type mismatch -- %@", STComposeString(description, ##__VA_ARGS__)]]; \
602 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
611 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
625 _{description A format string as in the printf() function. Can be nil or
630 #define STAssertEqualsWithAccuracy(a1, a2, accuracy, description, ...) \
636 withDescription:@"Type mismatch -- %@", STComposeString(description, ##__VA_ARGS__)]]; \
650 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
659 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
666 _{description A format string as in the printf() function. Can be nil or
670 #define STFail(description, ...) \
673 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]
679 _{description A format string as in the printf() function. Can be nil or
683 #define STAssertNil(a1, description, ...) \
694 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
702 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
709 _{description A format string as in the printf() function. Can be nil or
713 #define STAssertNotNil(a1, description, ...) \
724 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
732 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
739 _{description A format string as in the printf() function. Can be nil or
743 #define STAssertTrue(expr, description, ...) \
752 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
760 _{description A format string as in the printf() function. Can be nil or
764 #define STAssertTrueNoThrow(expr, description, ...) \
774 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
782 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
789 _{description A format string as in the printf() function. Can be nil or
793 #define STAssertFalse(expr, description, ...) \
802 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
810 _{description A format string as in the printf() function. Can be nil or
814 #define STAssertFalseNoThrow(expr, description, ...) \
824 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
832 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
839 _{description A format string as in the printf() function. Can be nil or
843 #define STAssertThrows(expr, description, ...) \
855 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
863 _{description A format string as in the printf() function. Can be nil or
867 #define STAssertThrowsSpecific(expr, specificException, description, ...) \
876 NSString *_descrip = STComposeString(@"(Expected exception: %@) %@", NSStringFromClass([specificException class]), description); \
884 NSString *_descrip = STComposeString(@"(Expected exception: %@) %@", NSStringFromClass([specificException class]), description); \
900 _{description A format string as in the printf() function. Can be nil or
905 #define STAssertThrowsSpecificNamed(expr, specificException, aName, description, ...) \
912 NSString *_descrip = STComposeString(@"(Expected exception: %@ (name: %@)) %@", NSStringFromClass([specificException class]), aName, description); \
922 NSString *_descrip = STComposeString(@"(Expected exception: %@) %@", NSStringFromClass([specificException class]), description); \
931 NSString *_descrip = STComposeString(@"(Expected exception: %@) %@", NSStringFromClass([specificException class]), description); \
943 _{description A format string as in the printf() function. Can be nil or
947 #define STAssertNoThrow(expr, description, ...) \
957 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
966 _{description A format string as in the printf() function. Can be nil or
970 #define STAssertNoThrowSpecific(expr, specificException, description, ...) \
980 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
995 _{description A format string as in the printf() function. Can be nil or
1000 #define STAssertNoThrowSpecificNamed(expr, specificException, aName, description, ...) \
1007 NSString *_descrip = STComposeString(@"(Expected exception: %@ (name: %@)) %@", NSStringFromClass([specificException class]), aName, description); \