• Home
  • Raw
  • Download

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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
531 STInternalAssertEqualGLKVectorsOrMatrices(a1, a2, accuracy, description, ##__VA_ARGS__)
533 #define STAssertEqualGLKMatrices(a1, a2, accuracy, description, ...) \ argument
534 STInternalAssertEqualGLKVectorsOrMatrices(a1, a2, accuracy, description, ##__VA_ARGS__)
536 #define STAssertEqualGLKQuaternions(a1, a2, accuracy, description, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
876 …tring(@"(Expected exception: %@) %@", NSStringFromClass([specificException class]), description); \
884 …tring(@"(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, ...) \ argument
912 …exception: %@ (name: %@)) %@", NSStringFromClass([specificException class]), aName, description); \
922 …tring(@"(Expected exception: %@) %@", NSStringFromClass([specificException class]), description); \
931 …tring(@"(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, ...) \ argument
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, ...) \ argument
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, ...) \ argument
1007 …exception: %@ (name: %@)) %@", NSStringFromClass([specificException class]), aName, description); \