| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Developer/AutomationController/Public/IAutomationReport.h |
Include |
#include "IAutomationReport.h" |
class IAutomationReport : public TSharedFromThis< IAutomationReport >
Interface for automation test results
Name | Description | ||
---|---|---|---|
|
OnSetResults |
Name | Description | |
---|---|---|
|
~IAutomationReport() |
Virtual destructor |
Name | Description | ||
---|---|---|---|
|
AddArtifact ( |
||
|
ClustersUpdated ( |
Updates the report when the number of clusters changes. |
|
|
Empty() |
Remove all child tests |
|
|
TSharedPtr< ... |
EnsureReportExists ( |
Add a child test to the hierarchy, creating internal tree nodes as needed. |
|
const bool |
ExpandInUI() |
Should we expand this node in the UI - A child has passed the filter. |
|
GetAssetPath() |
Gets the asset path associated with a test, it may not have one. |
|
|
GetChildReports() |
Returns the array of child reports. |
|
|
GetCommand() |
Returns the complete command for an automation test including any relevant parameters. |
|
|
GetCompletionStatus ( |
Returns completion statistics for this branch of the testing hierarchy. |
|
|
const int32 |
GetCurrentPassIndex ( |
Finds the current pass by looking at the current state |
|
const FStrin... |
GetDisplayName() |
Returns the name of this level in the test hierarchy for the purposes of grouping. |
|
GetDisplayNameWithDecoration() |
Returns the name of this level in the test hierarchy for the purposes of UI. |
|
|
const bool |
GetDurationRange ( |
Gets the min and max time this test took to execute. |
|
GetEnabledTestNames |
Gets the names of all the enabled tests |
|
|
GetEnabledTestsNum() |
Recursively gets the number of enabled tests |
|
|
GetFilteredChildren() |
Returns the array of child reports that should be visible to the UI based on filtering. |
|
|
const FStrin... |
GetFullTestPath() |
Returns the full path for the test, e.g. System.Audio.PlaySoundTest. |
|
GetGameInstanceName ( |
Gets the name of the instance that ran the test. |
|
|
TSharedPtr< ... |
GetNextReportToExecute |
Returns the next test in the hierarchy to run. |
|
const int32 |
GetNumDevicesRunningTest() |
Get the number of devices which have been given this test to run. |
|
const int32 |
GetNumParticipantsRequired() |
Get the number of participants this test requires. |
|
const int32 |
GetNumResults ( |
Gets the number of available test results for a given cluster. |
|
GetOpenCommand() |
||
|
const FAutom... |
GetResults |
Gets a copy of errors and warnings that were found |
|
GetSourceFile() |
Gets the source file the test was defined on. |
|
|
GetSourceFileLine() |
Gets the source file line number the test was defined on. |
|
|
EAutomationS... |
GetState |
Returns the state of the test (not run, in process, success, failure). |
|
GetTestFlags() |
Get the test type. |
|
|
GetTestParameter() |
Get the name of the asset associated with this test. |
|
|
GetTotalNumChildren() |
Recursively gets the number of child nodes |
|
|
GetTotalNumFilteredChildren() |
Recursively gets the total number of filtered children |
|
|
const bool |
HasErrors() |
Returns if there have been any errors in the test. |
|
const bool |
HasWarnings() |
Returns if there have been any warnings in the test. |
|
IncrementNetworkCommandResponses() |
Increment the number of network responses. |
|
|
IsEnabled() |
Return if this test should be executed |
|
|
const bool |
IsParent() |
Is this a parent type. |
|
const bool |
IsSmokeTest() |
Is this a smoke test. |
|
IsSupported ( |
Returns if a particular platform is supported |
|
|
ResetForExecution ( |
Recursively resets the report to "needs to be run", clears cached warnings and errors. |
|
|
ResetNetworkCommandResponses() |
||
|
SetEnabled ( |
Sets whether this test should be executed or not. |
|
|
SetEnabledTests |
Sets which tests are enabled based off the enabled tests list |
|
|
SetFilter ( |
Filters the visible tests based on search text, execution status, regression test, etc. |
|
|
SetNumParticipantsRequired ( |
Set the number of participants this test requires if less than what is already set. |
|
|
SetResults ( |
Sets the results of the test for use by the UI. |
|
|
SetSupport ( |
Sets whether this test is supported on a particular platform. |
|
|
SetTestFlags ( |
Set the test flags. |
|
|
StopRunningTest() |
Stop the test which is creating this report. |
Name |
Description |
---|---|
FOnSetResultsEvent |
Event that allows log to refresh once a test has finished. |