Navigation
API > API/Plugins > API/Plugins/RuntimeTests
Automation test base class that wraps a test world and handles checking tick counts
| Name | FEngineTickTestBase |
| Type | class |
| Header File | /Engine/Plugins/Tests/RuntimeTests/Source/RuntimeTests/Public/EngineRuntimeTests.h |
| Include Path | #include "EngineRuntimeTests.h" |
Syntax
class FEngineTickTestBase : public FAutomationTestBase
Inheritance Hierarchy
- FAutomationTestBase → FEngineTickTestBase
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEngineTickTestBase
(
const FString& InName, |
EngineRuntimeTests.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FEngineTickTestBase() |
EngineRuntimeTests.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool BeginPlayInTestWorld() |
Start play in world, prepare for ticking | EngineRuntimeTests.h | |
virtual bool CheckTickCount
(
const TCHAR* TickTestName, |
Checks TickCount on every actor | EngineRuntimeTests.h | |
virtual bool CreateTestActors
(
int32 ActorCount, |
Spawn actors of subclass | EngineRuntimeTests.h | |
virtual bool CreateTestWorld() |
Creates a world where actors can be spawned | EngineRuntimeTests.h | |
virtual bool DestroyAllTestActors() |
Destroys the test actors | EngineRuntimeTests.h | |
virtual bool DestroyTestWorld() |
Destroys the test world | EngineRuntimeTests.h | |
UWorld * GetTestWorld() |
Gets the world being tested | EngineRuntimeTests.h | |
virtual bool ReportAnyErrors() |
Reports errors to automation system, returns true if there were errors | EngineRuntimeTests.h | |
virtual bool ResetTestActors() |
Reset the test | EngineRuntimeTests.h | |
virtual bool TickTestWorld
(
float DeltaTime |
Tick one frame in test world | EngineRuntimeTests.h |