C# Class Given.Common.TestStateManager

Inheritance: ITestStateManager
Mostrar archivo Open project: ncgonz/given Class Usage Examples

Public Properties

Property Type Description
_teardownMethods List

Public Methods

Method Description
AddGiven ( string text, Delegate method ) : void
AddTearDown ( after teardownMethod ) : void
AddThen ( string text, MethodInfo method ) : void
AddWhen ( string text, when method ) : void
Cleanup ( ) : void
SetThenState ( string methodName, TestState state, string message ) : void
TestStateManager ( object specification ) : System
WriteSpecification ( object[]>.Action consoleAction = null ) : void

Method Details

AddGiven() public method

public AddGiven ( string text, Delegate method ) : void
text string
method System.Delegate
return void

AddTearDown() public method

public AddTearDown ( after teardownMethod ) : void
teardownMethod after
return void

AddThen() public method

public AddThen ( string text, MethodInfo method ) : void
text string
method System.Reflection.MethodInfo
return void

AddWhen() public method

public AddWhen ( string text, when method ) : void
text string
method when
return void

Cleanup() public method

public Cleanup ( ) : void
return void

SetThenState() public method

public SetThenState ( string methodName, TestState state, string message ) : void
methodName string
state TestState
message string
return void

TestStateManager() public method

public TestStateManager ( object specification ) : System
specification object
return System

WriteSpecification() public method

public WriteSpecification ( object[]>.Action consoleAction = null ) : void
consoleAction object[]>.Action
return void

Property Details

_teardownMethods public_oe property

public List _teardownMethods
return List