diff -r c59dec088990 -r a910102a1c9d Test.h --- a/Test.h Sun Jun 01 14:01:44 2008 -0700 +++ b/Test.h Tue Apr 07 11:13:25 2009 -0700 @@ -82,6 +82,7 @@ CAssert(_val==_expected, @"Unexpected value for %s: %@ (expected %@)", #VAL,$object(_val),$object(_expected)); \ }while(0) +#define AssertAbstractMethod() _AssertAbstractMethodFailed(self,_cmd); // Nasty internals ... #if DEBUG @@ -92,3 +93,4 @@ #endif DEBUG void _AssertFailed( id rcvr, const void *selOrFn, const char *sourceFile, int sourceLine, const char *condString, NSString *message, ... ) __attribute__((noreturn)); +void _AssertAbstractMethodFailed( id rcvr, SEL cmd) __attribute__((noreturn));