C# Class xUnit.GWT.Story

显示文件 Open project: BenHall/xUnit.GWT

Protected Properties

Property Type Description
Pending System.Action

Public Methods

Method Description
Given ( string message ) : void
Given ( string message, System.Action givenAction ) : void
SetGiven ( string message, System.Action givenAction ) : void
SetThen ( string message, System.Action givenAction ) : void
SetWhen ( string message, System.Action givenAction ) : void
Story ( ) : System
Then ( string message ) : void
Then ( string message, System.Action givenAction ) : void
ToTestCommands ( string story, MethodInfo method ) : IEnumerable
When ( string message ) : void
When ( string message, System.Action givenAction ) : void

Private Methods

Method Description
GetTestPart ( List list, string message ) : TestPart

Method Details

Given() public method

public Given ( string message ) : void
message string
return void

Given() public static method

public static Given ( string message, System.Action givenAction ) : void
message string
givenAction System.Action
return void

SetGiven() public static method

public static SetGiven ( string message, System.Action givenAction ) : void
message string
givenAction System.Action
return void

SetThen() public static method

public static SetThen ( string message, System.Action givenAction ) : void
message string
givenAction System.Action
return void

SetWhen() public static method

public static SetWhen ( string message, System.Action givenAction ) : void
message string
givenAction System.Action
return void

Story() public method

public Story ( ) : System
return System

Then() public method

public Then ( string message ) : void
message string
return void

Then() public static method

public static Then ( string message, System.Action givenAction ) : void
message string
givenAction System.Action
return void

ToTestCommands() public static method

public static ToTestCommands ( string story, MethodInfo method ) : IEnumerable
story string
method System.Reflection.MethodInfo
return IEnumerable

When() public method

public When ( string message ) : void
message string
return void

When() public static method

public static When ( string message, System.Action givenAction ) : void
message string
givenAction System.Action
return void

Property Details

Pending protected_oe property

protected Action,System Pending
return System.Action