Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
Inheritance Hierarchy
- FAutomationTestBase
- TSharedFromThis
- FAutomationSpecBase
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/AutomationTest.h |
| Include | #include "Misc/AutomationTest.h" |
Syntax
class FAutomationSpecBase :
public FAutomationTestBase,
public TSharedFromThis< FAutomationSpecBase >
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bEnableSkipIfError | Whether or not BeforeEach and It blocks should skip execution if the test has already failed | |
| FTimespan | DefaultTimeout | The timespan for how long a block should be allowed to execute before giving up and failing the test |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAutomationSpecBase
(
const FString& InName, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | |||
| void | |||
| void | BeforeEach
(
EAsyncExecution Execution, |
||
| void | BeforeEach
(
TFunction< void()> DoWork |
||
| void | BeforeEach
(
EAsyncExecution Execution, |
||
| void | Define () |
||
| void | |||
| void | |||
| bool | IsStressTest () |
||
| void | |||
| void | |||
| void | |||
| void | LatentAfterEach
(
TFunction< void(const FDoneDelegate&)> DoWork |
||
| void | LatentAfterEach
(
EAsyncExecution Execution, |
||
| void | LatentAfterEach
(
const FTimespan& Timeout, |
||
| void | LatentAfterEach
(
EAsyncExecution Execution, |
||
| void | LatentBeforeEach
(
TFunction< void(const FDoneDelegate&)> DoWork |
||
| void | LatentBeforeEach
(
EAsyncExecution Execution, |
||
| void | LatentBeforeEach
(
EAsyncExecution Execution, |
||
| void | LatentBeforeEach
(
const FTimespan& Timeout, |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | PostDefine () |
||
| void | Redefine () |
||
| void | xAfterEach
(
TFunction< void()> DoWork |
||
| void | xAfterEach
(
EAsyncExecution Execution, |
||
| void | xAfterEach
(
EAsyncExecution Execution, |
||
| void | xBeforeEach
(
TFunction< void()> DoWork |
||
| void | xBeforeEach
(
EAsyncExecution Execution, |
||
| void | xBeforeEach
(
EAsyncExecution Execution, |
||
| void | |||
| void | |||
| void | |||
| void | |||
| void | xLatentAfterEach
(
TFunction< void(const FDoneDelegate&)> DoWork |
||
| void | xLatentAfterEach
(
const FTimespan& Timeout, |
||
| void | xLatentAfterEach
(
EAsyncExecution Execution, |
||
| void | xLatentAfterEach
(
EAsyncExecution Execution, |
||
| void | xLatentBeforeEach
(
TFunction< void(const FDoneDelegate&)> DoWork |
||
| void | xLatentBeforeEach
(
const FTimespan& Timeout, |
||
| void | xLatentBeforeEach
(
EAsyncExecution Execution, |
||
| void | xLatentBeforeEach
(
EAsyncExecution Execution, |
||
| void | |||
| void | |||
| void | |||
| void |
Overridden from FAutomationTestBase
| Type | Name | Description | |
|---|---|---|---|
| uint32 | Pure virtual method; returns the number of participants for this test | ||
| void | Asks the test to enumerate variants that will all go through the "RunTest" function with different parameters (for load all maps, this should enumerate all maps to load)\ | ||
| int32 | GetTestSourceFileLine
(
const FString& InTestName |
Gets the line number where this test was defined. | |
| FString | GetTestSourceFileName
(
const FString& InTestName |
Gets the filename where this test was defined. | |
| bool | Virtual call to execute the automation test. |