2019-01-17 18:54:05 -05:00
|
|
|
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
2018-09-26 10:08:47 -04:00
|
|
|
|
|
|
|
|
using UE4GameTest;
|
|
|
|
|
using EpicGame;
|
|
|
|
|
using Gauntlet;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Text.RegularExpressions;
|
|
|
|
|
|
|
|
|
|
namespace EngineTest
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Runs automated tests on a platform
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class BootTest : UE4GameTestNode
|
|
|
|
|
{
|
|
|
|
|
public BootTest(Gauntlet.UnrealTestContext InContext)
|
|
|
|
|
: base(InContext)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override UE4GameTestConfig GetConfiguration()
|
|
|
|
|
{
|
|
|
|
|
UE4GameTestConfig Config = base.GetConfiguration();
|
|
|
|
|
|
|
|
|
|
Config.RequireRole(UnrealRoleType.Client);
|
|
|
|
|
|
|
|
|
|
if (Context.TestParams.ParseParam("server"))
|
|
|
|
|
{
|
|
|
|
|
Config.RequireRole(UnrealRoleType.Server);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return Config;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|