Show / Hide Table of Contents

Class UnitTest

Base class for all unit tests

Inheritance
System.Object
UObject
UnitTestBase
UnitTest
ProcessUnitTest
VMReflection
NetBitsTest
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 UnitTest : UnitTestBase

Properties

| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

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

LastExecutionTime

The amount of time it took to execute the unit test the last time it was run

Declaration
public float LastExecutionTime { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

StaticClass

Get UE4 Class

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

TimeToPeakMem

The amount of time it takes to reach 'PeakMemoryUsage' (or within 90% of its value)

Declaration
public float TimeToPeakMem { get; set; }
Property Value
Type Description
System.Single
| Improve this Doc View Source

UnitTasks

UnitTask's which must be run before different stages of the unit test can execute

Declaration
public ObjectArrayField<UnitTask> UnitTasks { get; }
Property Value
Type Description
ObjectArrayField<UnitTask>

Methods

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

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

Operators

| Improve this Doc View Source

Implicit(IntPtr to UnitTest)

Convert from IntPtr to UObject

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