Files
UnrealEngineUWP/Engine/Source/Programs/UnrealBuildTool.Tests/UnrealHeaderToolTests.cs
Tim Smith 0f0682ee83 Adjusted UHT table initialization in preperation for plugins.
#rb none
#rnx
#preflight 6241ac18bd063ab82296cc0a

[CL 19525715 by Tim Smith in ue5-main branch]
2022-03-28 08:54:49 -04:00

31 lines
777 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using EpicGames.Core;
using EpicGames.UHT.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UnrealBuildTool.Modes;
namespace UnrealBuildToolTests
{
[TestClass]
public class UnrealHeaderToolTests
{
[TestMethod]
public void Run()
{
string[] Arguments = new string[] { };
CommandLineArguments CommandLineArguments = new CommandLineArguments(Arguments);
UhtGlobalOptions Options = new UhtGlobalOptions(CommandLineArguments);
// Initialize the attributes
UhtTables Tables = new UhtTables();
// Initialize the configuration
IUhtConfig Config = new UhtConfigImpl(CommandLineArguments);
// Run the tests
Assert.IsTrue(UhtTestHarness.RunTests(Tables, Config, Options));
}
}
}