Class UnitTestCommandlet
A commandlet for running unit tests, without having to launch the game client.
Inherited Members
Namespace: UE4.NetcodeUnitTest
Assembly: UE4DotNet.dll
Syntax
public class UnitTestCommandlet : Commandlet
Remarks
Uses a heavily stripped down game client, with allowances for Slate, and some hacks for enabling proper netcode usage.
Usage: "UE4Editor.exe shootergame -run=NetcodeUnitTest.UnitTestCommandlet"
Parameters: -UnitTest=UnitTestName - Launches only the specified unit test
-UnitTestNoAutoClose - Sets the default option for the 'AutoClose' button to False
-UnitTestServerParms="CommandlineParameters" - Adds additional commandline parameters to unit test server instances (useful for e.g. unsuppressing specific logs)
-UnitTestClientParms="CommandlineParameters" - Adds additional commandline parameters to unit test client instances
-UnitTestClientDebug - Launches unit test clients with a valid render interface (so you can interact with the client window), and a larger window
-UnitTestCap=x - Caps the maximum number of unit tests that can run at the same time
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static UnitTestCommandlet DefaultObject { get; }
Property Value
Type | Description |
---|---|
UnitTestCommandlet |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static UnitTestCommandlet New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
UnitTestCommandlet |
Operators
| Improve this Doc View SourceImplicit(IntPtr to UnitTestCommandlet)
Convert from IntPtr to UObject
Declaration
public static implicit operator UnitTestCommandlet(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
UnitTestCommandlet |