Navigation
API > API/Developer > API/Developer/AITestSuite
| Name | FAITestBase |
| Type | struct |
| Header File | /Engine/Source/Developer/AITestSuite/Public/AITestsCommon.h |
| Include Path | #include "AITestsCommon.h" |
Syntax
struct FAITestBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAITestBase() |
AITestsCommon.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FAITestBase() |
AITestsCommon.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bTearedDown | uint32 | AITestsCommon.h | ||
| SpawnedObjects | TArray< UObject * > | Internals | AITestsCommon.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool InstantTest() |
AITestsCommon.h | ||
virtual void SetTestRunner
(
FAutomationTestBase& AutomationTestInstance |
AITestsCommon.h | ||
virtual bool SetUp() |
AITestsCommon.h | ||
virtual void TearDown() |
It's essential that overriding functions call the super-implementation. Otherwise, the check in ~FAITestBase will fail. | AITestsCommon.h | |
virtual bool Update() |
AITestsCommon.h | ||
virtual void VerifyLatentResults() |
Lets the Test instance test the results. Use AITEST_*_LATENT macros | AITestsCommon.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddAutoDestroyObject
(
UObject& ObjectRef |
AITestsCommon.h | ||
FAutomationTestBase & GetTestRunner() |
AITestsCommon.h | ||
virtual UWorld & GetWorld() |
AITestsCommon.h | ||
ClassToSpawn * NewAutoDestroyObject
(
UObject* Outer |
AITestsCommon.h |