Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest > UnitTests > Engine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UUnitTestBase
- UUnitTest
- UProcessUnitTest
- UClientUnitTest
- UIPClient
- USteamClient
- UWebSocketClient
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/UnitTests/Engine/IPClient.h |
Include | #include "UnitTests/Engine/IPClient.h" |
Syntax
UCLASS&40;&41;
class UIPClient : public UClientUnitTest
Remarks
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.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
const TCHAR * | NetDriverLog | Log message identifying the expected net driver |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UIPClient
(
const FObjectInitializer& ObjectInitializer |
UIPClient |
Overridden from UClientUnitTest
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | 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) |
Overridden from UProcessUnitTest
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | NotifyProcessLog
(
TWeakPtr< FUnitTestProcess > InProcess, |
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 |
Overridden from UUnitTest
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Finishes initializing unit test settings, that rely upon the current unit test environment being loaded |