Navigation
API > API/Developer > API/Developer/AutomationController
A struct to maintain a collection of data which was reported as part of an automation test result.
| Name | FAutomationTestResults |
| Type | struct |
| Header File | /Engine/Source/Developer/AutomationController/Public/IAutomationReport.h |
| Include Path | #include "IAutomationReport.h" |
Syntax
struct FAutomationTestResults
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAutomationTestResults() |
Default Constructor | IAutomationReport.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Artifacts | TArray< FAutomationArtifact > | Artifacts generated during the run of the test. | IAutomationReport.h | |
| Duration | float | The time this test took to complete | IAutomationReport.h | |
| GameInstance | FString | The instance which reported these results | IAutomationReport.h | |
| State | EAutomationState | The current state of this test | IAutomationReport.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Entries | TArray< FAutomationExecutionEntry > | All events reported as part of this test | IAutomationReport.h | |
| ErrorTotal | int32 | IAutomationReport.h | ||
| WarningTotal | int32 | IAutomationReport.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddEvent
(
const FAutomationExecutionEntry& Event |
IAutomationReport.h | ||
const TArray< FAutomationExecutionEntry > & GetEntries() |
IAutomationReport.h | ||
int32 GetErrorTotal() |
IAutomationReport.h | ||
int32 GetLogTotal() |
IAutomationReport.h | ||
int32 GetWarningTotal() |
IAutomationReport.h | ||
void Reset() |
IAutomationReport.h | ||
void SetEvents
(
const TArray< FAutomationExecutionEntry >& InEvents, |
IAutomationReport.h |