Files
UnrealEngine/Engine/Build/IOS/UECmdLineRun/UECmdLineRun.m
2025-05-18 13:04:45 +08:00

34 lines
844 B
Objective-C

// Copyright Epic Games, Inc. All Rights Reserved.
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <XCTest/XCTest.h>
@interface UECmdLineRun : XCTestCase
@end
@implementation UECmdLineRun
- (void)setUp
{
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown
{
// Put teardown code here. This method is called after the invocation of each test method in the class.
[super tearDown];
}
- (void)testCmdLineRun
{
// by running the runloop from the test, the full game will be running as if launched normalled
// the unit test is run from the startup of the normal application path, this lets it continue on
// since the system will quit the app as soon as all tests are complete
[[NSRunLoop currentRunLoop] run];
}
@end