Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
testframework.c File Reference

Go to the source code of this file.

Data Structures

class  array
 Result for an object found in CGame.IsBoxCollidingGeometryProxy. More...
 
class  TFModule
 

Typedefs

typedef array< ref TFResultTFResultArr
 

Enumerations

enum  TFR { FAIL = -1, SUCCESS, PENDING }
 

Functions

void TFResult (TFR result)
 
TFResult And (TFResult other)
 
TFResult Or (TFResult other)
 
void TestFramework ()
 
void ~TestFramework ()
 
protected override void EOnInit (IEntity other, int extra)
 
protected override void EOnFrame (IEntity other, float timeSlice)
 
protected void AddInitTest (string test)
 
protected void AddFrameTest (string test)
 
protected bool Assert (bool condition)
 
TFResult NTFR (TFR result)
 
TFResult BTFR (bool result)
 
TFResult CTFR ()
 

Variables

enum TFR Result
 
class TFModule m_OnInitModule
 Test Framework. More...
 
private ref TFModule m_OnFrameModule
 

Typedef Documentation

◆ TFResultArr

typedef array<ref TFResult> TFResultArr

Definition at line 43 of file testframework.c.

Enumeration Type Documentation

◆ TFR

enum TFR
Enumerator
FAIL 
SUCCESS 
PENDING 

Definition at line 1 of file testframework.c.

Function Documentation

◆ AddFrameTest()

protected void AddFrameTest ( string  test)

Definition at line 254 of file testframework.c.

◆ AddInitTest()

protected void AddInitTest ( string  test)

Definition at line 249 of file testframework.c.

◆ And()

TFResult And ( TFResult  other)

Definition at line 17 of file testframework.c.

◆ Assert()

protected bool Assert ( bool  condition)

Definition at line 262 of file testframework.c.

◆ BTFR()

TFResult BTFR ( bool  result)

Definition at line 278 of file testframework.c.

◆ CTFR()

TFResult CTFR ( )

Definition at line 286 of file testframework.c.

◆ EOnFrame()

protected override void EOnFrame ( IEntity  other,
float  timeSlice 
)

Definition at line 240 of file testframework.c.

◆ EOnInit()

protected override void EOnInit ( IEntity  other,
int  extra 
)

Definition at line 235 of file testframework.c.

◆ NTFR()

TFResult NTFR ( TFR  result)

Definition at line 273 of file testframework.c.

◆ Or()

TFResult Or ( TFResult  other)

Definition at line 30 of file testframework.c.

◆ TestFramework()

void TestFramework ( )

Definition at line 217 of file testframework.c.

◆ TFResult()

void TFResult ( TFR  result)

Definition at line 12 of file testframework.c.

◆ ~TestFramework()

void ~TestFramework ( )

Definition at line 226 of file testframework.c.

Variable Documentation

◆ m_OnFrameModule

private ref TFModule m_OnFrameModule

Definition at line 215 of file testframework.c.

◆ m_OnInitModule

class TFModule m_OnInitModule

Test Framework.

◆ Result

enum TFR Result