FUnitTestProcess

Struct used for handling a launched UE4 client/server process

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

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

Include

#include "ProcessUnitTest.h"

Syntax

struct FUnitTestProcess

Remarks

Struct used for handling a launched UE4 client/server process

Variables

Name Description

Public variable

ELogType

 

BaseLogType

The base log type for this process (client? server? process?)

Public variable

bool

 

bStripErrorLogs

Whether or not to strip Error logs for this process (e.g. for unit test servers, when we expect to crash)

Public variable

EErrorLogStage

 

ErrorLogStage

If this process is outputting an error log, this is the current stage of error parsing (or ELS_NoError if not parsing)

Public variable

TArray< FErrorL...

 

ErrorText

Gathered error log text

Public variable

FString

 

LogPrefix

The prefix to use for StdOut log output

Public variable

const TCHAR ...

 

MainLogColor

The OutputDeviceColor string, to use for setting the log output color

Public variable

FProcHandle

 

ProcessHandle

Process handle for the launched process

Public variable

uint32

 

ProcessID

The process ID

Public variable

FString

 

ProcessTag

Human-readable tag given to this process.

Public variable

void *

 

ReadPipe

Handle to StdOut for the launched process

Public variable

FSlateColor

 

SlateLogColor

The log output color to use in the slate log window

Public variable

ESuspendState

 

SuspendState

The suspend state of the process (implemented as a part of unit test code, does not relate to OS API)

Public variable

void *

 

WritePipe

Handle to StdIn for the launched process (unused)

Constructors

Name Description

Public function

FUnitTestProcess()

Base constructor

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