Files
Catch2/Test/Xcode/OCTest/Main.mm
T

18 lines
378 B
Plaintext
Raw Normal View History

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