C# Class ExpectedEvent, UnityTest

Inheritance: EventHistory
Mostra file Open project: MrJoy/UnityTest Class Usage Examples

Public Methods

Method Description
Assert ( Evt mask, ExpectedEvent, expected, ArrayList actual ) : bool
ExpectedEvent ( Evt n ) : System
ExpectedEvent ( Evt n, bool e, bool a ) : System
ExpectedEvent ( Evt n, bool e, bool a, int f ) : System
ExpectedEvent ( Evt n, bool e, bool a, int f, float r ) : System
ExpectedEvent ( Evt n, bool e, bool a, int f, float r, string o ) : System
ExpectedEvent ( Evt n, int f ) : System
ExpectedEvent ( Evt n, int f, float r ) : System
ToString ( ) : string

Protected Methods

Method Description
CheckAgainst ( float lastTime, EventHistory, actualEvent ) : bool
CheckOther ( EventHistory, actualEvent ) : bool
CheckState ( EventHistory, actualEvent ) : bool
CheckTimes ( float lastTime, EventHistory, actualEvent ) : bool
CommonChecks ( EventHistory, actualEvent ) : bool
OtherToString ( System sb ) : void
StatesToString ( System sb ) : void
TimeToString ( System sb ) : void

Method Details

Assert() public static method

public static Assert ( Evt mask, ExpectedEvent, expected, ArrayList actual ) : bool
mask Evt
expected ExpectedEvent,
actual ArrayList
return bool

CheckAgainst() protected method

protected CheckAgainst ( float lastTime, EventHistory, actualEvent ) : bool
lastTime float
actualEvent EventHistory,
return bool

CheckOther() protected method

protected CheckOther ( EventHistory, actualEvent ) : bool
actualEvent EventHistory,
return bool

CheckState() protected method

protected CheckState ( EventHistory, actualEvent ) : bool
actualEvent EventHistory,
return bool

CheckTimes() protected method

protected CheckTimes ( float lastTime, EventHistory, actualEvent ) : bool
lastTime float
actualEvent EventHistory,
return bool

CommonChecks() protected method

protected CommonChecks ( EventHistory, actualEvent ) : bool
actualEvent EventHistory,
return bool

ExpectedEvent() public method

public ExpectedEvent ( Evt n ) : System
n Evt
return System

ExpectedEvent() public method

public ExpectedEvent ( Evt n, bool e, bool a ) : System
n Evt
e bool
a bool
return System

ExpectedEvent() public method

public ExpectedEvent ( Evt n, bool e, bool a, int f ) : System
n Evt
e bool
a bool
f int
return System

ExpectedEvent() public method

public ExpectedEvent ( Evt n, bool e, bool a, int f, float r ) : System
n Evt
e bool
a bool
f int
r float
return System

ExpectedEvent() public method

public ExpectedEvent ( Evt n, bool e, bool a, int f, float r, string o ) : System
n Evt
e bool
a bool
f int
r float
o string
return System

ExpectedEvent() public method

public ExpectedEvent ( Evt n, int f ) : System
n Evt
f int
return System

ExpectedEvent() public method

public ExpectedEvent ( Evt n, int f, float r ) : System
n Evt
f int
r float
return System

OtherToString() protected method

protected OtherToString ( System sb ) : void
sb System
return void

StatesToString() protected method

protected StatesToString ( System sb ) : void
sb System
return void

TimeToString() protected method

protected TimeToString ( System sb ) : void
sb System
return void

ToString() public method

public ToString ( ) : string
return string