You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
36 lines
685 B
C#
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;
|
|
}
|
|
}
|
|
}
|