UClientUnitTest::ResetTimeout

Resets the unit test timeout code - should be used liberally, within every unit test, when progress is made during execution

Windows
MacOS
Linux

Override Hierarchy

UUnitTest::ResetTimeout()

UClientUnitTest::ResetTimeout()

References

Module

NetcodeUnitTest

Header

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

Include

#include "ClientUnitTest.h"

Source

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

Syntax

virtual void ResetTimeout
(
    FString ResetReason,
    bool bResetConnTimeout,
    uint32 MinDuration
)

Remarks

Resets the unit test timeout code - should be used liberally, within every unit test, when progress is made during execution

Parameters

Parameter

Description

ResetReason

Human-readable reason for resetting the timeout

bResetConnTimeout

Whether or not to also reset timeouts on unit test connections

MinDuration

The minimum timeout duration (used in subclasses, to override the timeout duration)

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