catch2/Test/Xcode/OCTest/Main.mm

15 lines
338 B
Plaintext
Raw Normal View History

2010-11-14 23:47:30 +01:00
#import <Foundation/Foundation.h>
#import "../../../catch_runner.hpp"
#import "CatchOCTestCase.h"
int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// insert code here...
int result = Catch::Main( argc, (char* const*)argv );
[pool drain];
return result;
}