Ark Server API (ASA) - Wiki
|
#include <AutomationTest.h>
Public Member Functions | |
FAutomationTestExecutionInfo () | |
~FAutomationTestExecutionInfo () | |
void | Clear () |
int32 | RemoveAllEvents (EAutomationEventType EventType) |
int32 | RemoveAllEvents (TFunctionRef< bool(FAutomationEvent &)> FilterPredicate) |
const TArray< FAutomationExecutionEntry > & | GetEntries () const |
void | AddEvent (const FAutomationEvent &Event, int StackOffset=0, bool bCaptureStack=true) |
void | AddWarning (const FString &WarningMessage) |
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 |
Private Attributes | |
TArray< FAutomationExecutionEntry > | Entries |
int32 | Errors |
int32 | Warnings |
TArray< FString > | ContextStack |
Simple class to store the results of the execution of a automation test
Definition at line 185 of file AutomationTest.h.
|
inline |
Constructor
Definition at line 189 of file AutomationTest.h.
|
inline |
Destructor
Definition at line 197 of file AutomationTest.h.
void FAutomationTestExecutionInfo::AddEvent | ( | const FAutomationEvent & | Event, |
int | StackOffset = 0, | ||
bool | bCaptureStack = true ) |
void FAutomationTestExecutionInfo::Clear | ( | ) |
Helper method to clear out the results from a previous execution
Definition at line 220 of file AutomationTest.h.
|
inline |
Any errors that occurred during execution
Definition at line 210 of file AutomationTest.h.
|
inline |
Definition at line 218 of file AutomationTest.h.
|
inline |
Definition at line 217 of file AutomationTest.h.
|
inline |
Definition at line 231 of file AutomationTest.h.
Definition at line 226 of file AutomationTest.h.
int32 FAutomationTestExecutionInfo::RemoveAllEvents | ( | EAutomationEventType | EventType | ) |
int32 FAutomationTestExecutionInfo::RemoveAllEvents | ( | TFunctionRef< bool(FAutomationEvent &)> | FilterPredicate | ) |
Any analytics items that occurred during execution
Definition at line 245 of file AutomationTest.h.
bool FAutomationTestExecutionInfo::bSuccessful |
Whether the automation test completed successfully or not
Definition at line 242 of file AutomationTest.h.
Definition at line 263 of file AutomationTest.h.
double FAutomationTestExecutionInfo::Duration |
Time to complete the task
Definition at line 254 of file AutomationTest.h.
|
private |
Any errors that occurred during execution
Definition at line 258 of file AutomationTest.h.
|
private |
Definition at line 260 of file AutomationTest.h.
TArray<FAutomationTelemetryData> FAutomationTestExecutionInfo::TelemetryItems |
Telemetry items that occurred during execution
Definition at line 248 of file AutomationTest.h.
FString FAutomationTestExecutionInfo::TelemetryStorage |
Telemetry storage name set by the test
Definition at line 251 of file AutomationTest.h.
|
private |
Definition at line 261 of file AutomationTest.h.