2011-02-08 13:48:34 -05:00
|
|
|
//
|
|
|
|
// iTchRunnerMain.mm
|
|
|
|
// iTchRunner
|
|
|
|
//
|
|
|
|
// Created by Phil on 04/02/2011.
|
|
|
|
// Copyright Two Blue Cubes Ltd 2011. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2012-12-06 13:39:08 -05:00
|
|
|
#define CATCH_CONFIG_RUNNER
|
2011-05-24 03:23:02 -04:00
|
|
|
#include "catch.hpp"
|
2011-02-08 13:48:34 -05:00
|
|
|
#import "internal/iTchRunnerAppDelegate.h"
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
2011-03-29 03:29:01 -04:00
|
|
|
{
|
2012-03-17 14:36:00 -04:00
|
|
|
#if !CATCH_ARC_ENABLED
|
2011-02-08 13:48:34 -05:00
|
|
|
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
|
2012-03-17 14:36:00 -04:00
|
|
|
#endif
|
|
|
|
|
2011-03-29 03:29:01 -04:00
|
|
|
Catch::registerTestMethods();
|
2011-02-08 13:48:34 -05:00
|
|
|
int retVal = UIApplicationMain(argc, argv, nil, @"iTchRunnerAppDelegate");
|
2012-03-17 14:36:00 -04:00
|
|
|
|
|
|
|
#if !CATCH_ARC_ENABLED
|
2011-02-08 13:48:34 -05:00
|
|
|
[pool release];
|
2012-03-17 14:36:00 -04:00
|
|
|
#endif
|
|
|
|
|
2011-02-08 13:48:34 -05:00
|
|
|
return retVal;
|
|
|
|
}
|