mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-24 03:53:29 +01:00
27 lines
533 B
Plaintext
27 lines
533 B
Plaintext
//
|
|
// iTchRunnerMain.mm
|
|
// iTchRunner
|
|
//
|
|
// Created by Phil on 04/02/2011.
|
|
// Copyright Two Blue Cubes Ltd 2011. All rights reserved.
|
|
//
|
|
|
|
#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;
|
|
}
|