Moved boilerplate main for obj bindings into header
This commit is contained in:
1 parent
9a79ee7958
commit
04ecced419
3 files changed
+91
-17
No files matched your search
@@ -1,17 +1 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "../../../catch_runner.hpp"
|
||||
|
||||
#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 );
|
||||
|
||||
[pool drain];
|
||||
return result;
|
||||
}
|
||||
#import "../../../catch_objc_main.hpp"
|
||||
Reference in new issue
Block a user