Navigation
API > API/Plugins > API/Plugins/ProjectLauncher
Helper base class for an automated test launch extension Creates an item in the extension menu that will toggle the test on and off note: It is not necessary for an automated test extensions to use this class
| Name | FAutomatedTestLaunchExtensionInstance |
| Type | class |
| Header File | /Engine/Plugins/Developer/ProjectLauncher/Source/ProjectLauncher/Public/Extension/LaunchExtension.h |
| Include Path | #include "Extension/LaunchExtension.h" |
Syntax
class FAutomatedTestLaunchExtensionInstance : public ProjectLauncher::FLaunchExtensionInstance
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FLaunchExtensionInstance → FAutomatedTestLaunchExtensionInstance
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAutomatedTestLaunchExtensionInstance
(
FArgs& InArgs |
Extension/LaunchExtension.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsTestActive() |
Determine if this automated test is currently active | Extension/LaunchExtension.h |
Overridden from FLaunchExtensionInstance
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetExtensionsMenuEntry
(
FExtensionsMenuEntry& MenuEntry |
Describes how this extension is represented in the extensions menu - a common section for all automated tests | Extension/LaunchExtension.h | |
virtual void MakeCustomExtensionSubmenu
(
FMenuBuilder& MenuBuilder |
Populate the custom extension menu for this automated test extension. | Extension/LaunchExtension.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CustomizeAutomatedTestCommandLine
(
FString& InOutCommandLine |
Advanced hook to allow any advanced modification of the command line when this extension's automated test is launched | Extension/LaunchExtension.h | |
ILauncherProfileAutomatedTestPtr GetTest() |
Access this extension's automated test if it has been created | Extension/LaunchExtension.h | |
const FString GetTestInternalName () |
Internal name for the automated test. | Extension/LaunchExtension.h | |
virtual bool HasCustomExtensionMenu() |
Extension/LaunchExtension.h | ||
void OnTestAdded
(
ILauncherProfileAutomatedTestRef AutomatedTest |
Hook to allow any modification of the automated test & profile once it has been created. | Extension/LaunchExtension.h | |
virtual void OnTestRemoved
(
ILauncherProfileAutomatedTestRef AutomatedTest |
Advanced hook to allow any modification of the profile just before the automated test is removed | Extension/LaunchExtension.h |
Overridden from FLaunchExtensionInstance
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CustomizeAutomatedTestCommandLine
(
const ILauncherProfileAutomatedTestRef& InAutomatedTest, |
Advanced hook to allow any advanced modification of the command line when an automated test is launched | Extension/LaunchExtension.h |