Module |
|
Header |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/UnitTestBase.h |
Include |
#include "UnitTestBase.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract)
class UUnitTestBase :
public UObject,
public FUnitLogInterface
Base class for the unit test framework event implementation (all engine/external-triggered events are wrapped, in order to hook logs triggered during their execution)
All wrapped functions/events, begin with 'UT'
Name | Description | |
---|---|---|
|
UUnitTestBase ( |
Name | Description | ||
---|---|---|---|
|
IsTickable() |
Must override in subclasses, that need ticking. |
|
|
NetTick() |
Tick function that runs at a tickrate of ~60 fps, for interacting with netcode (high UnitTick tickrate, can lead to net buffer overflows) |
|
|
PostUnitTick ( |
For cleanup actions that should occur after the primary tick function is called |
|
|
StartUnitTest() |
Adds the unit test to tracking, and starts it |
|
|
TickIsComplete ( |
Tick function for checking if the unit test is completed (happens after all above tick events) |
|
|
UnitTick ( |
Main tick function for the unit test |
|
|
UTStartUnitTest() |