Show / Hide Table of Contents

Class UnitTestManager

Manages centralized execution and tracking of unit tests, as well as handling console commands,

Inheritance
System.Object
UObject
UnitTestManager
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.NetcodeUnitTest
Assembly: UE4DotNet.dll
Syntax
public class UnitTestManager : UObject
Remarks

and some misc tasks like local log hooking

Properties

| Improve this Doc View Source

ActiveUnitTests

Holds a list of currently active unit tests

Declaration
public ObjectArrayField<UnitTest> ActiveUnitTests { get; }
Property Value
Type Description
ObjectArrayField<UnitTest>
| Improve this Doc View Source

AutoCloseMemoryPercent

As above, but when reaching this limit, recently started unit test(s) will be terminated/re-queued, to get back within limits

Declaration
public byte AutoCloseMemoryPercent { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

bCapUnitTestCount

Declaration
public bool bCapUnitTestCount { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

bCapUnitTestMemory

Declaration
public bool bCapUnitTestMemory { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static UnitTestManager DefaultObject { get; }
Property Value
Type Description
UnitTestManager
| Improve this Doc View Source

FinishedUnitTests

Unit tests which are finished, and are kept around until printing the final summary

Declaration
public ObjectArrayField<UnitTest> FinishedUnitTests { get; }
Property Value
Type Description
ObjectArrayField<UnitTest>
| Improve this Doc View Source

MaxAutoCloseCount

Limits the number of auto-aborts a particular unit test will allow, before it is no longer accepted for re-queueing

Declaration
public byte MaxAutoCloseCount { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

MaxMemoryPercent

When total physical memory usage, as a percentage, reaches this limit, no new unit tests can be started

Declaration
public byte MaxMemoryPercent { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

MaxUnitTestCount

Specifies the maximum number of unit tests that can be run at any given time

Declaration
public byte MaxUnitTestCount { get; set; }
Property Value
Type Description
System.Byte
| Improve this Doc View Source

PendingUnitTests

Holds a list of unit tests pending execution

Declaration
public ObjectArrayField<Class> PendingUnitTests { get; }
Property Value
Type Description
ObjectArrayField<Class>
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static UnitTestManager New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
UnitTestManager

Operators

| Improve this Doc View Source

Implicit(IntPtr to UnitTestManager)

Convert from IntPtr to UObject

Declaration
public static implicit operator UnitTestManager(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
UnitTestManager
  • Improve this Doc
  • View Source
Back to top Generated by DocFX