UUnitTestManager::WithinUnitTestLimits

Tests whether currently active unit tests, and optionally/additionally, a unit test about to be executed, fall within limits/restrictions on unit test counts and memory usage

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/UnitTestManager.h

Include

#include "UnitTestManager.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/UnitTestManager.cpp

Syntax

bool WithinUnitTestLimits
(
    UClass * PendingUnitTest
)

Remarks

Tests whether currently active unit tests, and optionally/additionally, a unit test about to be executed, fall within limits/restrictions on unit test counts and memory usage

Returns

Returns true if within limits, and false if not

Parameters

Parameter

Description

PendingUnitTest

Optionally specify a unit test pending execution, to estimate and factor in its resource usage

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss