Catch/projects/runners/iTchRunner/itChRunnerMain.mm

27 lines
533 B
Plaintext
Raw Normal View History

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