Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
testframework.c File Reference

Go to the source code of this file.

Classes

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)
 
override void EOnInit (IEntity other, int extra)
 
override void EOnFrame (IEntity other, float timeSlice)
 
void AddInitTest (string test)
 
void AddFrameTest (string test)
 
bool Assert (bool condition)
 
TFResult NTFR (TFR result)
 
TFResult BTFR (bool result)
 
TFResult CTFR ()
 

Variables

enum TFR Result
 
class TFModule m_OnInitModule
 Test Framework.
 

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()

void AddFrameTest ( string test)
protected

Definition at line 254 of file testframework.c.

◆ AddInitTest()

void AddInitTest ( string test)
protected

Definition at line 249 of file testframework.c.

◆ And()

TFResult And ( TFResult other)

Definition at line 17 of file testframework.c.

◆ Assert()

bool Assert ( bool condition)
protected

Definition at line 262 of file testframework.c.

◆ BTFR()

TFResult BTFR ( bool result)
protected

Definition at line 278 of file testframework.c.

◆ CTFR()

TFResult CTFR ( )
protected

Definition at line 286 of file testframework.c.

◆ EOnFrame()

override void EOnFrame ( IEntity other,
float timeSlice )
protected

Definition at line 240 of file testframework.c.

◆ EOnInit()

override void EOnInit ( IEntity other,
int extra )
protected

Definition at line 235 of file testframework.c.

◆ NTFR()

TFResult NTFR ( TFR result)
protected

Definition at line 273 of file testframework.c.

◆ Or()

TFResult Or ( TFResult other)

Definition at line 30 of file testframework.c.

◆ TFResult()

void TFResult ( TFR result)

Definition at line 12 of file testframework.c.

Variable Documentation

◆ m_OnInitModule

class TFModule m_OnInitModule

Test Framework.

◆ Result

enum TFR Result