UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAutomationTestExecutionInfo Class Reference

#include <AutomationTest.h>

Public Member Functions

 FAutomationTestExecutionInfo ()
 
 ~FAutomationTestExecutionInfo ()
 
CORE_API void Clear ()
 
CORE_API int32 RemoveAllEvents (EAutomationEventType EventType)
 
CORE_API int32 RemoveAllEvents (TFunctionRef< bool(FAutomationEvent &)> FilterPredicate)
 
const TArray< FAutomationExecutionEntry > & GetEntries () const
 
CORE_API void AddEvent (const FAutomationEvent &Event, int StackOffset=0, bool bCaptureStack=true)
 
CORE_API void AddWarning (const FString &WarningMessage)
 
CORE_API void AddError (const FString &ErrorMessage)
 
int32 GetWarningTotal () const
 
int32 GetErrorTotal () const
 
const FString & GetContext () const
 
void PushContext (const FString &Context)
 
void PopContext ()
 

Public Attributes

bool bSuccessful
 
TArray< FString > AnalyticsItems
 
TArray< FAutomationTelemetryDataTelemetryItems
 
FString TelemetryStorage
 
double Duration
 

Detailed Description

Simple class to store the results of the execution of a automation test

Constructor & Destructor Documentation

◆ FAutomationTestExecutionInfo()

FAutomationTestExecutionInfo::FAutomationTestExecutionInfo ( )
inline

Constructor

◆ ~FAutomationTestExecutionInfo()

FAutomationTestExecutionInfo::~FAutomationTestExecutionInfo ( )
inline

Destructor

Member Function Documentation

◆ AddError()

void FAutomationTestExecutionInfo::AddError ( const FString &  ErrorMessage)

◆ AddEvent()

void FAutomationTestExecutionInfo::AddEvent ( const FAutomationEvent Event,
int  StackOffset = 0,
bool  bCaptureStack = true 
)

◆ AddWarning()

void FAutomationTestExecutionInfo::AddWarning ( const FString &  WarningMessage)

◆ Clear()

void FAutomationTestExecutionInfo::Clear ( )

Helper method to clear out the results from a previous execution

◆ GetContext()

const FString & FAutomationTestExecutionInfo::GetContext ( ) const
inline

◆ GetEntries()

const TArray< FAutomationExecutionEntry > & FAutomationTestExecutionInfo::GetEntries ( ) const
inline

Any errors that occurred during execution

◆ GetErrorTotal()

int32 FAutomationTestExecutionInfo::GetErrorTotal ( ) const
inline

◆ GetWarningTotal()

int32 FAutomationTestExecutionInfo::GetWarningTotal ( ) const
inline

◆ PopContext()

void FAutomationTestExecutionInfo::PopContext ( )
inline

◆ PushContext()

void FAutomationTestExecutionInfo::PushContext ( const FString &  Context)
inline

◆ RemoveAllEvents() [1/2]

int32 FAutomationTestExecutionInfo::RemoveAllEvents ( EAutomationEventType  EventType)

◆ RemoveAllEvents() [2/2]

int32 FAutomationTestExecutionInfo::RemoveAllEvents ( TFunctionRef< bool(FAutomationEvent &)>  FilterPredicate)

Member Data Documentation

◆ AnalyticsItems

TArray<FString> FAutomationTestExecutionInfo::AnalyticsItems

Any analytics items that occurred during execution

◆ bSuccessful

bool FAutomationTestExecutionInfo::bSuccessful

Whether the automation test completed successfully or not

◆ Duration

double FAutomationTestExecutionInfo::Duration

Time to complete the task

◆ TelemetryItems

TArray<FAutomationTelemetryData> FAutomationTestExecutionInfo::TelemetryItems

Telemetry items that occurred during execution

◆ TelemetryStorage

FString FAutomationTestExecutionInfo::TelemetryStorage

Telemetry storage name set by the test


The documentation for this class was generated from the following files: