C# Class tsg_Gunpowder, gunpowder

Inheritance: MonoBehaviour
Afficher le fichier Open project: calebhc/gunpowder

Méthodes publiques

Свойство Type Description
Input tsg_Wrapper,
currentSimulation tsg_Simulation,
currentSpecContext string
failedExpectation bool
failedExpectations Stack
simulationsToRun Queue

Protected Properties

Свойство Type Description
LoadSpecs Func
failCount int
pendingCount int

Méthodes publiques

Méthode Description
afterEach ( Func func ) : void
beforeEach ( Func func ) : void
context ( string name, Func func ) : void
describe ( string name, Func func ) : void
expect ( object actual ) : tsg_Matcher,
find ( string objectName ) : tsg_Selector,
it ( string name ) : void
it ( string name, Func func ) : void
loadScene ( string name ) : void
match ( object actual ) : tsg_Matcher,
move ( string direction, float milliseconds, Func callback ) : void
pressButton ( string button, float milliseconds, Func callback ) : void
pressKey ( string key, float milliseconds, Func callback ) : void
waits ( float milliseconds, Func callback ) : void
xit ( string name, Func func ) : void

Méthodes protégées

Méthode Description
Awake ( ) : void
specResults ( ) : string

Private Methods

Méthode Description
Start ( ) : void
StartSpecs ( ) : IEnumerator
beginSpecs ( ) : void
buildContextString ( string name ) : string
resetScene ( ) : void
runNextSpec ( ) : IEnumerator
runSimulations ( ) : IEnumerator
runTestPreparatorsAround ( Func func ) : void
updateSpecResults ( ) : void

Method Details

Awake() protected méthode

protected Awake ( ) : void
Résultat void

afterEach() public méthode

public afterEach ( Func func ) : void
func Func
Résultat void

beforeEach() public méthode

public beforeEach ( Func func ) : void
func Func
Résultat void

context() public méthode

public context ( string name, Func func ) : void
name string
func Func
Résultat void

describe() public méthode

public describe ( string name, Func func ) : void
name string
func Func
Résultat void

expect() public méthode

public expect ( object actual ) : tsg_Matcher,
actual object
Résultat tsg_Matcher,

find() public méthode

public find ( string objectName ) : tsg_Selector,
objectName string
Résultat tsg_Selector,

it() public méthode

public it ( string name ) : void
name string
Résultat void

it() public méthode

public it ( string name, Func func ) : void
name string
func Func
Résultat void

loadScene() public méthode

public loadScene ( string name ) : void
name string
Résultat void

match() public méthode

public match ( object actual ) : tsg_Matcher,
actual object
Résultat tsg_Matcher,

move() public méthode

public move ( string direction, float milliseconds, Func callback ) : void
direction string
milliseconds float
callback Func
Résultat void

pressButton() public méthode

public pressButton ( string button, float milliseconds, Func callback ) : void
button string
milliseconds float
callback Func
Résultat void

pressKey() public méthode

public pressKey ( string key, float milliseconds, Func callback ) : void
key string
milliseconds float
callback Func
Résultat void

specResults() protected méthode

protected specResults ( ) : string
Résultat string

waits() public méthode

public waits ( float milliseconds, Func callback ) : void
milliseconds float
callback Func
Résultat void

xit() public méthode

public xit ( string name, Func func ) : void
name string
func Func
Résultat void

Property Details

Input public_oe static_oe property

public static tsg_Wrapper, Input
Résultat tsg_Wrapper,

LoadSpecs protected_oe static_oe property

protected static Func LoadSpecs
Résultat Func

currentSimulation public_oe static_oe property

public static tsg_Simulation, currentSimulation
Résultat tsg_Simulation,

currentSpecContext public_oe static_oe property

public static string currentSpecContext
Résultat string

failCount protected_oe static_oe property

protected static int failCount
Résultat int

failedExpectation public_oe static_oe property

public static bool failedExpectation
Résultat bool

failedExpectations public_oe static_oe property

public static Stack failedExpectations
Résultat Stack

pendingCount protected_oe static_oe property

protected static int pendingCount
Résultat int

simulationsToRun public_oe static_oe property

public static Queue simulationsToRun
Résultat Queue