Module |
|
Header |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/UnitTests/Engine/IPClient.h |
Include |
#include "UnitTests/Engine/IPClient.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UIPClient : public UClientUnitTest
Basic unit test for launching a server and connecting a client, while verifying that the correct net driver was used, and that the client connected successfully.
Name | Description | ||
---|---|---|---|
|
const TCHAR ... |
NetDriverLog |
Log message identifying the expected net driver |
Name | Description | |
---|---|---|
|
UIPClient ( |
Name | Description | ||
---|---|---|---|
|
ExecuteClientUnitTest() |
Interface and hooked events for client unit tests Override this, to implement the client unit test NOTE: Should be called last, in overridden functions IMPORTANT: EndUnitTest should be triggered, upon completion of the unit test (which may be delayed, for many unit tests) |
Name | Description | ||
---|---|---|---|
|
NotifyProcessLog ( |
Interface for process unit tests For implementation in subclasses, for helping to verify success/fail upon completion of unit tests NOTE: Not called again once VerificationState is set WARNING: Be careful when iterating InLogLines in multiple different for loops, if the sequence of detected logs is important |
Name | Description | ||
---|---|---|---|
|
InitializeEnvironmentSettings() |
Finishes initializing unit test settings, that rely upon the current unit test environment being loaded |