Lines Matching refs:description
85 #define STAssertNoErr(a1, description, ...) \ argument
95 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
103 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
114 #define STAssertErr(a1, a2, description, ...) \ argument
125 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
133 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
144 #define STAssertNotNULL(a1, description, ...) \ argument
154 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
162 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
172 #define STAssertNULL(a1, description, ...) \ argument
182 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
190 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
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__)]]; \
240 #define STAssertNotEqualObjects(a1, a2, description, ...) \ argument
252 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
259 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \
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__)]]; \
311 #define STAssertGreaterThan(a1, a2, description, ...) \ argument
312 STAssertOperation(a1, a2, >, description, ##__VA_ARGS__)
322 #define STAssertGreaterThanOrEqual(a1, a2, description, ...) \ argument
323 STAssertOperation(a1, a2, >=, description, ##__VA_ARGS__)
333 #define STAssertLessThan(a1, a2, description, ...) \ argument
334 STAssertOperation(a1, a2, <, description, ##__VA_ARGS__)
344 #define STAssertLessThanOrEqual(a1, a2, description, ...) \ argument
345 STAssertOperation(a1, a2, <=, description, ##__VA_ARGS__)
358 #define STAssertEqualStrings(a1, a2, description, ...) \ argument
371 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
378 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
393 #define STAssertNotEqualStrings(a1, a2, description, ...) \ argument
405 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
412 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
423 #define STAssertEqualCStrings(a1, a2, description, ...) \ argument
434 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
441 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
452 #define STAssertNotEqualCStrings(a1, a2, description, ...) \ argument
462 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
469 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
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__)
551 #define STAssertEqualObjects(a1, a2, description, ...) \ argument
564 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
571 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
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__)]]; \
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__)]]; \
670 #define STFail(description, ...) \ argument
673 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]
683 #define STAssertNil(a1, description, ...) \ argument
694 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
702 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
713 #define STAssertNotNil(a1, description, ...) \ argument
724 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
732 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
743 #define STAssertTrue(expr, description, ...) \ argument
752 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
764 #define STAssertTrueNoThrow(expr, description, ...) \ argument
774 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
782 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
793 #define STAssertFalse(expr, description, ...) \ argument
802 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
814 #define STAssertFalseNoThrow(expr, description, ...) \ argument
824 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
832 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
843 #define STAssertThrows(expr, description, ...) \ argument
855 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
867 #define STAssertThrowsSpecific(expr, specificException, description, ...) \ argument
876 …tring(@"(Expected exception: %@) %@", NSStringFromClass([specificException class]), description); \
884 …tring(@"(Expected exception: %@) %@", NSStringFromClass([specificException class]), description); \
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); \
947 #define STAssertNoThrow(expr, description, ...) \ argument
957 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
970 #define STAssertNoThrowSpecific(expr, specificException, description, ...) \ argument
980 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \
1000 #define STAssertNoThrowSpecificNamed(expr, specificException, aName, description, ...) \ argument
1007 …exception: %@ (name: %@)) %@", NSStringFromClass([specificException class]), aName, description); \