aboutsummaryrefslogtreecommitdiff
path: root/projects/runners/iTchRunner/itChRunnerMain.mm
blob: cac5faecca4c4a431002e2cd455f3349aef73392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//
//  iTchRunnerMain.mm
//  iTchRunner
//
//  Created by Phil on 04/02/2011.
//  Copyright Two Blue Cubes Ltd 2011. All rights reserved.
//

#define CATCH_CONFIG_RUNNER
#include "catch.hpp"
#import "internal/iTchRunnerAppDelegate.h"

int main(int argc, char *argv[]) 
{    
#if !CATCH_ARC_ENABLED
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
#endif
    
    Catch::registerTestMethods();
    int retVal = UIApplicationMain(argc, argv, nil, @"iTchRunnerAppDelegate");

#if !CATCH_ARC_ENABLED
    [pool release];
#endif

    return retVal;
}