catch2/runners/iTchRunner/itChRunnerMain.mm

21 lines
472 B
Plaintext
Raw Normal View History

2011-02-08 19:48:34 +01:00
//
// iTchRunnerMain.mm
// iTchRunner
//
// Created by Phil on 04/02/2011.
// Copyright Two Blue Cubes Ltd 2011. All rights reserved.
//
#import "internal/iTchRunnerAppDelegate.h"
2011-03-29 09:29:01 +02:00
#include "catch_objc.hpp"
2011-02-08 19:48:34 +01:00
int main(int argc, char *argv[])
2011-03-29 09:29:01 +02:00
{
2011-02-08 19:48:34 +01:00
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
2011-03-29 09:29:01 +02:00
Catch::registerTestMethods();
2011-02-08 19:48:34 +01:00
int retVal = UIApplicationMain(argc, argv, nil, @"iTchRunnerAppDelegate");
[pool release];
return retVal;
}