C# Class Passive.Test.DynamicModelTests.DynamicModelSteps

Mostra file Open project: Talljoe/Passive

Private Properties

Property Type Description
CreateApplianceFromDynamic Appliance
GetPropertyLambda object>.Func
GivenIHaveAModelFor void
ThenIShouldGetAllItems void
ThenIShouldGetAppliance void
ThenIShouldGetNoResults void
ThenIShouldOnlyGetApplianceWithMoreThanNAmps void
ThenIShouldOnlyGetXColoredAppliances void
ThenIShouldOnlyHaveNResults void
ThenPropertyShouldBy void
ThenTheQueryShouldThrowAnException void
ThenTheRecordsShouldBeReverseSortedBy void
ThenTheRecordsShouldBeSortedBy void
ThenTheRecordsShouldOnlyHaveTheColumns void
ThenTheyShouldBeASubsetOfAllData void
ThenTheyShouldHaveTheIds void
WhenIAskForASingleRow void
WhenIAskForAllRows void
WhenIAskForAnInvalidColumn void
WhenIAskForAppliancesWithMoreThanNAmps void
WhenIAskForPage void
WhenIAskForTheColumns void
WhenIAskForTheRecordWithTheIdOf void
WhenILimitTheQueryTo void
WhenILimitTheQueryToMoreRowsThanAreInTheDatabase void
WhenIOnlyWantAppliancesColored void
WhenIOrderRowsBy void
WhenThePageSizeIs void

Public Methods

Method Description
DynamicModelSteps ( DynamicModelContext context ) : System

Private Methods

Method Description
CreateApplianceFromDynamic ( dynamic d ) : Appliance
GetPropertyLambda ( string column ) : object>.Func
GivenIHaveAModelFor ( string modelName ) : void
ThenIShouldGetAllItems ( ) : void
ThenIShouldGetAppliance ( int id ) : void
ThenIShouldGetNoResults ( ) : void
ThenIShouldOnlyGetApplianceWithMoreThanNAmps ( int amps ) : void
ThenIShouldOnlyGetXColoredAppliances ( string color ) : void
ThenIShouldOnlyHaveNResults ( int rows ) : void
ThenPropertyShouldBy ( string property, int value ) : void
ThenTheQueryShouldThrowAnException ( ) : void
ThenTheRecordsShouldBeReverseSortedBy ( string column ) : void
ThenTheRecordsShouldBeSortedBy ( string column ) : void
ThenTheRecordsShouldOnlyHaveTheColumns ( string columns ) : void
ThenTheyShouldBeASubsetOfAllData ( ) : void
ThenTheyShouldHaveTheIds ( string ids ) : void
WhenIAskForASingleRow ( ) : void
WhenIAskForAllRows ( ) : void
WhenIAskForAnInvalidColumn ( ) : void
WhenIAskForAppliancesWithMoreThanNAmps ( int amps ) : void
WhenIAskForPage ( int page ) : void
WhenIAskForTheColumns ( string columns ) : void
WhenIAskForTheRecordWithTheIdOf ( int id ) : void
WhenILimitTheQueryTo ( int rows ) : void
WhenILimitTheQueryToMoreRowsThanAreInTheDatabase ( ) : void
WhenIOnlyWantAppliancesColored ( string color ) : void
WhenIOrderRowsBy ( string order ) : void
WhenThePageSizeIs ( int pageSize ) : void

Method Details

DynamicModelSteps() public method

public DynamicModelSteps ( DynamicModelContext context ) : System
context DynamicModelContext
return System