2
0
mirror of https://github.com/catchorg/Catch2 synced 2026-02-14 13:22:11 +00:00
Files
Catch2/Test/Xcode/OCTest/Main.mm
2010-11-16 07:00:08 +00:00

18 lines
378 B
Plaintext

#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;
}