C# Class SenseNet.ContentRepository.Tests.FieldTest

Inheritance: TestBase
显示文件 Open project: maxpavlov/FlexNet

Private Properties

Property Type Description
BooleanTest ContentAccessor
CheckTypes bool
DatetimeTest ContentAccessor
FieldOnGeneric_Boolean void
FieldOnGeneric_DateTime void
FieldOnGeneric_LongText void
FieldOnGeneric_Number void
FieldOnGeneric_ShortText void
FieldOnGeneric_Version void
FieldOnGeneric_WhoAndWhen void
FieldOnHandler_Boolean void
FieldOnHandler_DateTime void
FieldOnHandler_GeneralReference void
FieldOnHandler_HyperLink void
FieldOnHandler_LongText void
FieldOnHandler_NullValue_Decimal void
FieldOnHandler_NullValue_Int void
FieldOnHandler_Number void
FieldOnHandler_NumberOnByte void
FieldOnHandler_NumberOnDouble void
FieldOnHandler_NumberOnInt16 void
FieldOnHandler_NumberOnInt32 void
FieldOnHandler_NumberOnInt64 void
FieldOnHandler_NumberOnSByte void
FieldOnHandler_NumberOnSingle void
FieldOnHandler_NumberOnUInt16 void
FieldOnHandler_NumberOnUInt32 void
FieldOnHandler_NumberOnUInt64 void
FieldOnHandler_Ref_AllowedTypes void
FieldOnHandler_Ref_MultipleNotNull void
FieldOnHandler_Ref_MultipleNull void
FieldOnHandler_Ref_Query void
FieldOnHandler_Ref_SelectionRoot void
FieldOnHandler_Ref_SingleNotNull void
FieldOnHandler_Ref_SingleNull void
FieldOnHandler_ShortText void
FieldOnHandler_UserReference void
FieldOnHandler_UsersReference void
FieldOnHandler_WhoAndWhen void
Field_DefaultValue void
Field_NamingConvention_BadContentField void
Field_NamingConvention_BadContentListField void
Field_NamingConvention_Correct void
Field_OuterField_OnTheContent void
Field_OuterField_OnTheContentList void
Field_Parse void
Field_ParseContent void
GenericControlByField void
GetDefaultControl SenseNet.Portal.UI.Controls.FieldControl
HyperLinkTest ContentAccessor
InstallContentTypes void
ItIsDateTimeDefault bool
LongTextTest ContentAccessor
NumberTest ContentAccessor
ParseField bool
RemoveContentTypes void
ShortTextTest ContentAccessor
VersionTest ContentAccessor
WhoAndWhenTest ContentAccessor
XssProtection void

Public Methods

Method Description
FieldOnGeneric_Binary ( ) : void
FieldOnGeneric_Choice ( ) : void
FieldOnGeneric_Color ( ) : void
FieldOnGeneric_HyperLink ( ) : void
FieldOnGeneric_Integer ( ) : void
FieldOnGeneric_Lock ( ) : void
FieldOnGeneric_NodeType ( ) : void
FieldOnGeneric_Reference ( ) : void
FieldOnGeneric_Security ( ) : void
FieldOnGeneric_SiteRelativeUrl ( ) : void
FieldOnGeneric_UrlList ( ) : void
FieldOnGeneric_VersioningMode ( ) : void
FieldOnHandler_NullValueTest ( string fieldName, object realValue1, object realValue2 ) : void

Private Methods

Method Description
BooleanTest ( string contentTypeName ) : ContentAccessor
CheckTypes ( Type fieldType, Type expectedType, string &message ) : bool
DatetimeTest ( string contentTypeName ) : ContentAccessor
FieldOnGeneric_Boolean ( ) : void
FieldOnGeneric_DateTime ( ) : void
FieldOnGeneric_LongText ( ) : void
FieldOnGeneric_Number ( ) : void
FieldOnGeneric_ShortText ( ) : void
FieldOnGeneric_Version ( ) : void
FieldOnGeneric_WhoAndWhen ( ) : void
FieldOnHandler_Boolean ( ) : void
FieldOnHandler_DateTime ( ) : void
FieldOnHandler_GeneralReference ( ) : void
FieldOnHandler_HyperLink ( ) : void
FieldOnHandler_LongText ( ) : void
FieldOnHandler_NullValue_Decimal ( ) : void
FieldOnHandler_NullValue_Int ( ) : void
FieldOnHandler_Number ( ) : void
FieldOnHandler_NumberOnByte ( ) : void
FieldOnHandler_NumberOnDouble ( ) : void
FieldOnHandler_NumberOnInt16 ( ) : void
FieldOnHandler_NumberOnInt32 ( ) : void
FieldOnHandler_NumberOnInt64 ( ) : void
FieldOnHandler_NumberOnSByte ( ) : void
FieldOnHandler_NumberOnSingle ( ) : void
FieldOnHandler_NumberOnUInt16 ( ) : void
FieldOnHandler_NumberOnUInt32 ( ) : void
FieldOnHandler_NumberOnUInt64 ( ) : void
FieldOnHandler_Ref_AllowedTypes ( ) : void
FieldOnHandler_Ref_MultipleNotNull ( ) : void
FieldOnHandler_Ref_MultipleNull ( ) : void
FieldOnHandler_Ref_Query ( ) : void
FieldOnHandler_Ref_SelectionRoot ( ) : void
FieldOnHandler_Ref_SingleNotNull ( ) : void
FieldOnHandler_Ref_SingleNull ( ) : void
FieldOnHandler_ShortText ( ) : void
FieldOnHandler_UserReference ( ) : void
FieldOnHandler_UsersReference ( ) : void
FieldOnHandler_WhoAndWhen ( ) : void
Field_DefaultValue ( ) : void
Field_NamingConvention_BadContentField ( ) : void
Field_NamingConvention_BadContentListField ( ) : void
Field_NamingConvention_Correct ( ) : void
Field_OuterField_OnTheContent ( ) : void
Field_OuterField_OnTheContentList ( ) : void
Field_Parse ( ) : void
Field_ParseContent ( ) : void
GenericControlByField ( ) : void
GetDefaultControl ( Type fieldType ) : FieldControl
HyperLinkTest ( string contentTypeName ) : ContentAccessor
InstallContentTypes ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void
ItIsDateTimeDefault ( System.DateTime value ) : bool
LongTextTest ( string contentTypeName ) : ContentAccessor
NumberTest ( string contentTypeName ) : ContentAccessor
ParseField ( Content content, string fieldName, string value ) : bool
RemoveContentTypes ( ) : void
ShortTextTest ( string contentTypeName ) : ContentAccessor
VersionTest ( string contentTypeName ) : ContentAccessor
WhoAndWhenTest ( string contentTypeName ) : ContentAccessor
XssProtection ( ) : void

Method Details

FieldOnGeneric_Binary() public method

public FieldOnGeneric_Binary ( ) : void
return void

FieldOnGeneric_Choice() public method

public FieldOnGeneric_Choice ( ) : void
return void

FieldOnGeneric_Color() public method

public FieldOnGeneric_Color ( ) : void
return void

FieldOnGeneric_HyperLink() public method

public FieldOnGeneric_HyperLink ( ) : void
return void

FieldOnGeneric_Integer() public method

public FieldOnGeneric_Integer ( ) : void
return void

FieldOnGeneric_Lock() public method

public FieldOnGeneric_Lock ( ) : void
return void

FieldOnGeneric_NodeType() public method

public FieldOnGeneric_NodeType ( ) : void
return void

FieldOnGeneric_Reference() public method

public FieldOnGeneric_Reference ( ) : void
return void

FieldOnGeneric_Security() public method

public FieldOnGeneric_Security ( ) : void
return void

FieldOnGeneric_SiteRelativeUrl() public method

public FieldOnGeneric_SiteRelativeUrl ( ) : void
return void

FieldOnGeneric_UrlList() public method

public FieldOnGeneric_UrlList ( ) : void
return void

FieldOnGeneric_VersioningMode() public method

public FieldOnGeneric_VersioningMode ( ) : void
return void

FieldOnHandler_NullValueTest() public method

public FieldOnHandler_NullValueTest ( string fieldName, object realValue1, object realValue2 ) : void
fieldName string
realValue1 object
realValue2 object
return void