UUnitTestManager::NotifyCloseDialogResult

When a log window is closed, a dialog pops up asking if the unit test should be aborted - this returns the result NOTE: This dialog is non-modal, i.e. doesn't block the game thread - so the unit test is not guaranteed to still exist

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

void NotifyCloseDialogResult
(
    const TSharedRef< SWindow > & DialogWindow,
    EAppReturnType::Type Result,
    bool bNoResult
)

Remarks

When a log window is closed, a dialog pops up asking if the unit test should be aborted - this returns the result NOTE: This dialog is non-modal, i.e. doesn't block the game thread - so the unit test is not guaranteed to still exist

Parameters

Parameter

Description

DialogWindow

The dialog window the result is coming from

Result

The result (yes/no) for the dialog

bNoResult

Whether or not the result is invalid, e.g. the dialog was closed instead of a button clicked

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