Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/AutomationTest.h |
Include |
#include "Misc/AutomationTest.h" |
class FAutomationTestFramework
Class representing the main framework for running automation tests
Name | Description | ||
---|---|---|---|
|
OnCaptureFrameTrace |
Called when a frame trace should be captured |
|
|
OnPerformanceDataRetrieved |
Called when the performance data is retrieved. |
|
|
OnScreenshotCompared |
Called when a screenshot comparison completes. |
|
|
FSimpleMulticas... |
OnScreenshotTakenAndCompared |
The final call related to screenshots, after they've been taken, and after they've been compared (or not if automation isn't running). |
|
OnTestDataRetrieved |
Called when the test data is retrieved. |
|
|
FSimpleMulticas... |
PostTestingEvent |
Called after all unit tests have completed |
|
FSimpleMulticas... |
PreTestingEvent |
Called right before unit testing is about to begin |
No constructors are accessible with public or protected access.
No destructors are accessible with public or protected access.
Name | Description | ||
---|---|---|---|
|
AddAnalyticsItemToCurrentTest ( |
Adds a analytics string to the current test to be parsed later. |
|
|
BuildTestBlacklistFromConfig() |
Load the test Blacklist from the config. |
|
|
ContainsTest ( |
Checks if a provided test is contained within the framework. |
|
|
DequeueAllCommands() |
Dequeue all latent and network commands |
|
|
EnqueueLatentCommand |
Enqueues a latent command for execution on a subsequent frame |
|
|
EnqueueNetworkCommand |
Enqueues a network command for execution in accordance with this workers role |
|
|
ExecuteLatentCommands() |
Execute all latent functions that complete during update |
|
|
ExecuteNetworkCommands() |
Execute the next network command if you match the role, otherwise just dequeue |
|
|
FAutomationT... |
Get() |
Return the singleton instance of the framework. |
|
GetCaptureStack() |
||
|
FAutomationT... |
GetCurrentTest() |
Returns the actively executing test or null if there isn't one |
|
FAutomationT... |
GetInstance() |
|
|
GetUserAutomationDirectory() |
Gets a scratch space location outside of the project and saved directories. |
|
|
GetValidTestNames ( |
Populates the provided array with the names of all tests in the framework that are valid to run for the current application settings. |
|
|
LoadTestModules() |
Load any modules that are not loaded by default and have test classes in them |
|
|
NotifyPerformanceDataRetrieved |
||
|
NotifyScreenshotComparisonComplete ( |
||
|
NotifyScreenshotTakenAndCompared() |
||
|
NotifyTestDataRetrieved |
||
|
FOnTestScree... |
OnScreenshotAndTraceCaptured() |
Accessor for delegate called when a png screenshot is captured and a frame trace |
|
FOnTestScree... |
OnScreenshotCaptured() |
Accessor for delegate called when a png screenshot is captured |
|
RegisterAutomationTest ( |
Register a automation test into the framework. |
|
|
ResetTests() |
Reset status of worker (delete local files, etc) |
|
|
RunSmokeTests() |
Attempt to run all fast smoke tests that are valid for the current application configuration. |
|
|
SetCaptureStack ( |
||
|
SetDeveloperDirectoryIncluded ( |
Sets whether we want to include content in developer directories in automation testing |
|
|
SetForceSmokeTests ( |
Sets forcing smoke tests. |
|
|
SetRequestedTestFilter ( |
Sets which set of tests to pull from. |
|
|
ShouldTestContent ( |
Whether the testing framework should allow content to be tested or not. |
|
|
StartTestByName |
Attempt to start the specified test. |
|
|
StopTest ( |
Stop the current test and return the results of execution |
|
|
UnregisterAutomationTest ( |
Unregister a automation test with the provided name from the framework. |