C# Class Habanero.Smooth.Test.TestOneToManyAutoMapper

Mostrar archivo Open project: Chillisoft/habanero.smooth

Private Methods

Method Description
GetFakeTypeWrapper ( ) : TypeWrapper
GetRelationshipAttributeDef_WhenOneToManyAssociation_ShouldSetDeleteParentActionPrevent ( ) : void
Map_WhenHasOneToManyAssociation_ShouldMapPreventDelete ( ) : void
SetFakeNameConvention ( ) : INamingConventions
Setup ( ) : void
TestAccept_Map_WhenHasTwoSingleReverseRel_WithNoAttributes_ShouldRaiseError ( ) : void
TestAccept_Map_WhenIsPrivateProperty_ShouldReturnNull ( ) : void
TestAccept_Map_WhenIsStaticProperty_ShouldReturnNull ( ) : void
TestAutoMap_WithTwoMultipleRelationshipsToTheSameBO ( ) : void
TestAutoMap_WithTwoSingleRelationshipToTheSameBO ( ) : void
TestAutoMap_WithTwoSingleRelationshipToTheSameBO_WhereReverseRelsAreDefined_WithPropAndRelNameMatching ( ) : void
TestAutoMap_WithTwoSingleRelationshipToTheSameBO_WithPropAndRelNameMatching ( ) : void
Test_Construct_WithNullPropInfo_ShouldRaiseError ( ) : void
Test_CreateRelPropDef_WhenAutoMapPrimaryKey_WhenNoReverse_ShouldCreateRelProp_WithPrimaryKeyName ( ) : void
Test_CreateRelPropDef_WhenHasReverse_ShouldCreateRelProp_WithNonStdNaming_WithNonStdReverseRelName ( ) : void
Test_CreateRelPropDef_WhenHasReverse_ShouldCreateRelProp_WithReverseRelNameID ( ) : void
Test_CreateRelPropDef_WhenNoReverseRel_WithDefaultIDConventionName ( ) : void
Test_CreateRelPropDef__WhenNonDefaultNameConventionSet_WhenNoReverseRel_ShouldCreateRelPropWithConventionName ( ) : void
Test_DefaultNameConventionIfNoneSet ( ) : void
Test_GetOwningPropName_ShouldReturnClassTypeID ( ) : void
Test_GetOwningPropName_WhenAutoMapPK_ShouldReturnClassTypeID ( ) : void
Test_GetRelatatedPropName_WhenNoRevNonDefaultNaming_ShouldReturnNamingProp ( ) : void
Test_GetRelatatedPropName_WhenStdNamingPropAndRelDeclaredProp_ShouldReturnDeclaredPropName ( ) : void
Test_GetRelatedPropName_WhenRelatedClassHasAttributeDeclaredIdProp_ShouldUseDeclaredIDPropName ( ) : void
Test_MapWithPropWrapper_PropWithIgnoreAttribute_ShouldReturnNull ( ) : void
Test_Map_PropWithIgnoreAttribute_ShouldReturnNull ( ) : void
Test_Map_ShouldSetDeleteActionPrevent_OwningBOHasFKFalse ( ) : void
Test_Map_WhenDeleteParentActionDefined_ShouldSetToDeleteRelated ( ) : void
Test_Map_WhenHasSingleReverseRel_ShouldReturnRelDefWithRevRelNameSet ( ) : void
Test_Map_WhenIsMultipleRel_BoCol_NotReverse_ShouldReturnRelDefWithConventionRevName ( ) : void
Test_Map_WhenIsMultiple_ShouldCreateRelProp_WhenNoReverseRel_WithDefaultConventionName ( ) : void
Test_Map_WhenIs_IBoCol_ShouldReturnRelDefWitConventionForRevName ( ) : void
Test_Map_WhenMappedToRelViaAttributes_WhouldSetReverseRelName ( ) : void
Test_Map_WhenMappedViaAttributesWithNoRevRel_WhouldSetReverseRelNameToMappedName ( ) : void
Test_Map_WhenNoDeleteParentActionDefined_ShouldSetToPrevent ( ) : void
Test_Map_WhenNoRelationshipTypeDefined_ShouldSetToAssociation ( ) : void
Test_Map_WhenNonDefaultNameConventionSet_WhenNoReverseRel_ShouldCreateRelPropWithConventionName ( ) : void
Test_Map_WhenNotRelToIBoCol_ShouldReturnNull ( ) : void
Test_Map_WhenNullPropInfo_ShouldReturnNull ( ) : void
Test_Map_WhenRelationshipTypeDefined_ShouldSetToComposition ( ) : void
Test_MustBeMapped_WhenPropIsInherited_ShouldRetFalse ( ) : void
Test_SetPropNamingConvention_ShouldSetConvention ( ) : void