C# Class Habanero.Naked.Tests.TestUIGridCreator

Show file Open project: Chillisoft/habanero.smooth

Protected Methods

Method Description
GetFactory ( ) : IDefClassFactory

Private Methods

Method Description
AssertGridColumnTypeIsCheckBox ( IUIGridColumn gridColumn ) : void
AssertGridColumnTypeIsComboBox ( IUIGridColumn gridColumn ) : void
AssertGridColumnTypeIsDateTime ( IUIGridColumn gridColumn ) : void
AssertGridColumnTypeIsTextBox ( IUIGridColumn gridColumn ) : void
Test_Construct_ShouldConstruct ( ) : void
Test_CreateGridInfo_TwoProperty_ShouldHaveAppropriateColumnInfo ( ) : void
Test_CreateUIGrid_ShouldCreateFilterDefForGrid ( ) : void
Test_CreateUIGrid_ShouldReturnNewUIDef ( ) : void
Test_CreateUIGrid_WhenClassDefHasOnePropAndOnePKProp_ShouldCreateFilterDefWithOneFilterPropertyDef ( ) : void
Test_CreateUIGrid_WhenNotHasViewAndHasStringProp_ShouldCreateGridColumn ( ) : void
Test_CreateUIGrid_With2Props_ShouldCreate2GridColumns ( ) : void
Test_GetUIFormField_Lookup_ShouldBeComboBoxColumnType ( ) : void
Test_GetUIFormField_WhenBool_ShouldCreateCheckBox ( ) : void
Test_GetUIFormField_WhenDateTime_ShouldCreateDateTimePicker ( ) : void
Test_GetUIFormField_WhenInt_ShouldCreateTextBox ( ) : void
Test_GetUIFormField_WhenPropNull_ShouldRaiseError ( ) : void
Test_GetUIFormField_WhenString_ShouldHaveTextBoxPropertyAndColumnType ( ) : void

Method Details

GetFactory() protected method

protected GetFactory ( ) : IDefClassFactory
return IDefClassFactory