Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/Gauntlet/Framework/Base/Gauntlet.AppInstall.cs
david harvey be77fd4212 Gauntlet roles can be marked as 'Deferred Launch' so they must be launched manually from TickTest.
- this can be used to update the command line for a particular role based on output from another role, for example.
 - add new interface to Windows app install to allow the command line to be updated before launch.


#rnx
#rb Andrew.Grant, Jerome.Delattre, Eric.Knapik
#preflight 640700988c0039bbf793298d

[CL 24537804 by david harvey in ue5-main branch]
2023-03-07 06:02:39 -05:00

48 lines
1.1 KiB
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Text;
namespace Gauntlet
{
/// <summary>
/// IAppInstall represents an instance of an application that has been installed on a device and may now be run
/// </summary>
public interface IAppInstall
{
/// <summary>
/// Description of this app
/// </summary>
string Name { get; }
/// <summary>
/// Create a running instance of the app
/// </summary>
/// <returns></returns>
IAppInstance Run();
/// <summary>
/// The device that we'll be run on
/// </summary>
ITargetDevice Device { get; }
/// <summary>
/// IAppInstallDynamicCommandLine can be implemented by IAppInstall classes where the platform
/// allows the command line to be updated after installation
/// </summary>
public interface IDynamicCommandLine
{
/// <summary>
/// Appends the given string to the installed application's command line
/// </summary>
/// <param name="AdditionalCommandLine"></param>
void AppendCommandline(string AdditionalCommandLine);
}
}
}