![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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< FAutomationTelemetryData > | TelemetryItems |
| FString | TelemetryStorage |
| double | Duration |
Simple class to store the results of the execution of a automation test
|
inline |
Constructor
|
inline |
Destructor
| void FAutomationTestExecutionInfo::AddError | ( | const FString & | ErrorMessage | ) |
| void FAutomationTestExecutionInfo::AddEvent | ( | const FAutomationEvent & | Event, |
| int | StackOffset = 0, |
||
| bool | bCaptureStack = true |
||
| ) |
| void FAutomationTestExecutionInfo::AddWarning | ( | const FString & | WarningMessage | ) |
| void FAutomationTestExecutionInfo::Clear | ( | ) |
Helper method to clear out the results from a previous execution
|
inline |
|
inline |
Any errors that occurred during execution
|
inline |
|
inline |
|
inline |
|
inline |
| int32 FAutomationTestExecutionInfo::RemoveAllEvents | ( | EAutomationEventType | EventType | ) |
| int32 FAutomationTestExecutionInfo::RemoveAllEvents | ( | TFunctionRef< bool(FAutomationEvent &)> | FilterPredicate | ) |
| TArray<FString> FAutomationTestExecutionInfo::AnalyticsItems |
Any analytics items that occurred during execution
| bool FAutomationTestExecutionInfo::bSuccessful |
Whether the automation test completed successfully or not
| double FAutomationTestExecutionInfo::Duration |
Time to complete the task
| TArray<FAutomationTelemetryData> FAutomationTestExecutionInfo::TelemetryItems |
Telemetry items that occurred during execution
| FString FAutomationTestExecutionInfo::TelemetryStorage |
Telemetry storage name set by the test