Navigation
API > API/Developer > API/Developer/AITestSuite
Inheritance Hierarchy
- FAITestBase
- FAITest_SimpleComponentBasedTest
- FExecutionTestBase
- FEntityTestBase
- FProcessingPhasesTestBase
References
| Module | AITestSuite |
| Header | /Engine/Source/Developer/AITestSuite/Public/AITestsCommon.h |
| Include | #include "AITestsCommon.h" |
Syntax
struct FAITestBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| FAutomationTestBase * | TestRunner |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAITestBase () |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~FAITestBase () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddAutoDestroyObject
(
UObject& ObjectRef |
||
| FAutomationTestBase & | |||
| UWorld & | GetWorld () |
||
| bool | InstantTest () |
||
| ClassToSpawn * | NewAutoDestroyObject
(
UObject* Outer |
||
| void | SetTestRunner
(
FAutomationTestBase& AutomationTestInstance |
||
| bool | SetUp () |
||
| void | TearDown () |
It's essential that overriding functions call the super-implementation. Otherwise the check in ~FAITestBase will fail. | |
| bool | Update () |
||
| void | Lets the Test instance test the results. Use AITEST_*_LATENT macros |