Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/Gauntlet/EngineTest/Tests/EngineTest.BootTest.cs
Marc Audy 608734e30d Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4664414
#rb
#rnx

[CL 4666113 by Marc Audy in Dev-Framework branch]
2018-12-17 12:24:20 -05:00

36 lines
685 B
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
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;
}
}
}