/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/UnitTest.h
Base class for all unit tests
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract, Config=UnitTestStats) class UUnitTest : public [UUnitTestBase](API\Plugins\NetcodeUnitTest\UUnitTestBase)
bool
bAborted
Whether or not the unit test has aborted execution
bool
bCompleted
Whether or not the unit test has completed
bool
bDeveloperMode
Whether or not developer-mode has been enabled for this unit test (prevents it from ending execution)
bool
bFirstTimeStats
Whether it's the first time this unit test has run, i.e. whether prior memory stats exist (NOTE: Not set until first tick)
bool
bObsolete
Whether or not this unit test is obsolete - i.e. based on code no longer present in the game/engine
bool
bUnreliable
Whether or not this unit test is unreliable, i.e. prone to giving incorrect/unexpected results, requiring multiple runs
bool
bWorkInProgress
Whether or not this unit test is a 'work in progress', and should not be included in automated tests
uint64
CurrentMemoryUsage
The current realtime memory usage of the unit test
TMap<FString, ...
ExpectedResult
The unit test result we expect for each games codebase, i.e. whether we expect that the problem is fixed yet or not NOTE: Games which don't have an expected result specified here, are considered 'unsupported' and the unit test isn't run for them
float
LastExecutionTime
The amount of time it took to execute the unit test the last time it was run
double
LastNetTick
The time of the last NetTick event
double
LastTimeoutReset
The last time that the unit test timeout was reset
FString
LastTimeoutResetEvent
Every timeout reset specifies a string to identify/describe the event that triggered it, for tracking
TSharedPtr<SLo...
LogWindow
The log window associated with this unit test
uint64
PeakMemoryUsage
Config variables Stores stats on the highest-ever reported memory usage, for this unit test - for estimating memory usage
double
StartTime
The time at which execution of the unit test started
TArray<TShared...
StatusLogSummary
Collects unit test status logs, that have been printed to the summary window
double
TimeoutExpire
The time at which the unit test timeout will expire
float
TimeToPeakMem
The amount of time it takes to reach 'PeakMemoryUsage' (or within 90% of its value)
TUniquePtr<FOu...
UnitLog
The log file for outputting all log information for the current unit test
FString
UnitLogDir
The log directory for this unit test
TArray<TObject...
UnitTasks
UnitTask's which must be run before different stages of the unit test can execute
EUnitTaskFlags
UnitTaskState
Marks the state of met unit task requirement flags and active unit task blocking flags
TArray<FString...
UnitTestBugTrackIDs
The bug tracking identifiers related to this unit test (e.g. TTP numbers)
TArray<FString...
UnitTestCLs
Source control changelists relevant to this unit test
FDateTime
UnitTestDate
The date this unit test was added to the project (for ordering in help command)
FString
UnitTestName
Variables which should be specified by every subclass The name/command for this unit test (N.B. Must be set in class constructor)
uint32
UnitTestTimeout
The amount of time (in seconds), before the unit test should timeout and be marked as broken
FString
UnitTestType
The type of unit test this is (e.g. bug/exploit) (N.B. Must be set in class constructor)
EUnitTestVerifi...
VerificationState
Whether or not the success or failure of the current unit test has been verified