C# 클래스 Habanero.Faces.Test.Base.TestBOEditorControl

파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

보호된 메소드들

메소드 설명
CreateControlFactory ( ) : IControlFactory
CreateEditorControl ( IClassDef classDef ) : IBOPanelEditorControl
CreateEditorControl ( IControlFactory controlFactory, IClassDef def, string uiDefName ) : IBOPanelEditorControl
GetControlFactory ( ) : IControlFactory
GetCustomClassDef ( ) : IClassDef

비공개 메소드들

메소드 설명
AssertControlsAreDisabled ( IBusinessObjectPanel controlWin ) : void
AssertControlsAreEnabled ( IBusinessObjectPanel controlWin ) : void
AssertErrorProviderHasErrors ( IBusinessObjectPanel controlWin, string propertyName ) : void
AssertErrorProvidersHaveBeenCleared ( IBusinessObjectPanel controlWin ) : void
SetSurnameTextBoxToNull ( IBusinessObjectPanel controlWin ) : void
TestConstructor_DefaultUIDef_NoControlFactory ( ) : void
TestConstructor_NullClassDef_ShouldRaiseError ( ) : void
TestConstructor_NullControlFactory_ShouldRaiseError ( ) : void
TestConstructor_NullUIDef_ShouldRaiseError ( ) : void
TestConstructor_uiDefDoesNotHaveAUIForm_ShouldRaiseError ( ) : void
TestFixtureSetup ( ) : void
Test_ApplyChangesToBo_WhenControlIsEdited_ShouldUpdateTheBusinessObject ( ) : void
Test_HasErrors_WhenBOInvalid_ShouldBeTrue ( ) : void
Test_HasErrors_WhenBONull_ShouldBeFalse ( ) : void
Test_HasErrors_WhenBOValid_ButCompulsorytFieldSetToNull_ShouldBeTrue ( ) : void
Test_HasErrors_WhenBOValid_ShouldBeFalse ( ) : void
Test_IfInvalidState_WhenSetBOToNull_ShouldClearErrorProviders ( ) : void
Test_IfInvalidState_WhenSetBOToValidBo_ShouldClearErrorProviders ( ) : void
Test_IfValidState_WhenSetControlValueToInvalidValue_ShouldUpdatesErrorProviders ( ) : void
Test_IsDirty_WhenBONull_ShouldBeFalse ( ) : void
Test_IsDirty_WhenControlIsEdited_ShouldBeTrue ( ) : void
Test_IsDirty_WhenNoEditsDone_ShouldBeFalse ( ) : void
Test_SetBusinessObject_Null ( ) : void
Test_WhenSetBOInInvalidState_SetsErrorProviders ( ) : void
Test_setBusinessObject_ChangesBOInBOControl ( ) : void

메소드 상세

CreateControlFactory() 보호된 추상적인 메소드

protected abstract CreateControlFactory ( ) : IControlFactory
리턴 IControlFactory

CreateEditorControl() 보호된 추상적인 메소드

protected abstract CreateEditorControl ( IClassDef classDef ) : IBOPanelEditorControl
classDef IClassDef
리턴 IBOPanelEditorControl

CreateEditorControl() 보호된 추상적인 메소드

protected abstract CreateEditorControl ( IControlFactory controlFactory, IClassDef def, string uiDefName ) : IBOPanelEditorControl
controlFactory IControlFactory
def IClassDef
uiDefName string
리턴 IBOPanelEditorControl

GetControlFactory() 보호된 메소드

protected GetControlFactory ( ) : IControlFactory
리턴 IControlFactory

GetCustomClassDef() 보호된 정적인 메소드

protected static GetCustomClassDef ( ) : IClassDef
리턴 IClassDef