Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/Gauntlet/EngineTest/Tests/EngineTest.BootTest.cs
Ben Marsh 530369c613 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4662695 by Ben Marsh in Dev-Build branch]
2018-12-14 14:49:12 -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;
}
}
}