FAITestBase

Unreal Engine C++ API Reference > Developer > AITestSuite

Inheritance Hierarchy

  • FAITestBase

References

   
Module AITestSuite
Header /Engine/Source/Developer/AITestSuite/Public/AITestsCommon.h
Include #include "AITestsCommon.h"

Syntax

struct FAITestBase  

Variables

Type Name Description
FAutomationTest... TestRunner  

Constructors

Type Name Description
  FAITestBase ()  

Destructors

Type Name Description
  ~FAITestBase ()  

Functions

Type Name Description
void AddAutoDestroyObject ( UObject& ObjectRef )  
FAutomationT... GetTestRunner ()  
UWorld & GetWorld ()  
bool InstantTest ()  
ClassToSpawn... NewAutoDestroyObject ( UObject* Outer )  
void SetTestRunner ( FAutomationTestBase& AutomationTes... )  
bool SetUp ()  
void TearDown () It's essential that overriding functions call the super-implementation. Otherwise the check in ~FAITestBase will fail.
bool Update ()  
void VerifyLatentResults () Lets the Test instance test the results. Use AITEST_*_LATENT macros

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library