Auto registers OC Classes

This commit is contained in:
Phil Nash committed 2010-11-16 07:00:08 +00:00
1 parent d52f61cc67
commit f59ecbcad6
4 files changed
+71 -53

No files matched your search

+3
View File
@@ -3,9 +3,12 @@
#import "CatchOCTestCase.h"
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
Catch::registerTestMethods();
// insert code here...
int result = Catch::Main( argc, (char* const*)argv );