C# Class Habanero.Smooth.Test.TestOneToOneAutoMapper

Mostrar archivo Open project: Chillisoft/habanero.smooth

Private Methods

Method Description
AssertMockPropSetupCorrectly ( PropertyWrapper propertyWrapper, TypeWrapper ownerType, TypeWrapper relatedType, string relationshipName, string reverseRelName ) : void
GetAutomapAttribute ( PropertyWrapper propertyWrapper ) : AutoMapOneToOneAttribute
GetFKPropName ( string relationshipName ) : string
GetFakePropertyInfo ( ) : FakePropertyInfo
GetFakeTypeWrapper ( ) : TypeWrapper
GetMockTypeWrapper ( string typeName ) : FakeTypeWrapper
GetPropertyWrapper ( ) : PropertyWrapper
GetPropertyWrapper ( TypeWrapper &ownerType, TypeWrapper &relatedType, string &relatedFKPropName, string &owningFKPropName ) : PropertyWrapper
GetPropertyWrapper ( TypeWrapper &ownerType, string &owningFKPropName ) : PropertyWrapper
GetRandomString ( ) : string
SetNonDefaultNamingConvention ( ) : void
SetPropNamingConventionToDefault ( ) : void
Setup ( ) : void
SetupMockPropWrapper ( PropertyWrapper propertyWrapper, TypeWrapper ownerType, TypeWrapper relatedType, string relationshipName, string reverseRelName ) : void
TestAccept_Map_WhenHasTwoSingleReverseRel_WithNoAttributes_ShouldRaiseError ( ) : void
TestAccept_Map_WhenIsPrivateProperty_ShouldReturnNull ( ) : void
TestAccept_Map_WhenIsStaticProperty_ShouldReturnNull ( ) : void
TestAccept_Map_WhenMappedViaAttributesWithNoRevRel_WhouldSetReverseRelNameToMappedName ( ) : void
TestAccept_Map_WhenMappedViaAttributes_ButTypeIsInterface_ShouldNotMap ( ) : void
TestAccept_Map_WhenNoReverseRelNoAttribute_ShouldReturnNull ( ) : void
TestAccept_Map_WhenRelTypeCompos_AndRelPropsDefined_ShouldSetDeleteActionPrevent ( ) : void
TestAccept_Map_WhenRelationshipTypeDefinedAsAggregation_ShouldSetDeleteActionPrevent ( ) : void
TestAccept_Map_WhenRelationshipTypeDefinedAsAggregation_ShouldSetToAggregation ( ) : void
TestAccept_Map_WhenRelationshipTypeDefinedAsAssociation_ShouldSetDeleteActionDoNothing ( ) : void
TestAccept_Map_WhenRelationshipTypeNotDefined_ButRevRelComposition_ShouldSetDeleteActionDoNothing ( ) : void
TestAccept_Map_WhenRevRelTypeCompos_AndRelPropsDefined_ShouldSetDeleteActionDoNothing ( ) : void
Test_Accept_OwningBOHasFK_WhenAssociation_AndIOwnerHasFKPropDefined_WhenOnwnerLTRelated_ShouldReturnTrue_FixBug910 ( ) : void
Test_CreateRelPropDef_WithDefaultIDConventionName_ShouldCreateWithCorrectOwningAndRelatedPropNames ( ) : void
Test_CreateRelPropDef_WithNonDefaultIDConventionName_ShouldCreateWithCorrectOwningAndRelatedPropNames ( ) : void
Test_DefaultNameConventionIfNoneSet ( ) : void
Test_GetOwningPropName_NeitherHaveProps_ShouldReturnRevRelNameID ( ) : void
Test_GetOwningPropName_OwnerHasProp_RelatedHasProp_NonStandardNaming_ShouldReturnFoundRelName ( ) : void
Test_GetOwningPropName_OwnerHasProp_RelatedHasProp_ShouldReturnFoundRelName ( ) : void
Test_GetOwningPropName_OwnerHasProp_RelatedNotHasProp_ShouldReturnRelatedTypePkName ( ) : void
Test_GetOwningPropName_OwnerNotHasProp_RelatedHasProp_NonStandardNaming_ShouldReturnFoundRelName ( ) : void
Test_GetOwningPropName_OwnerNotHasProp_RelatedHasProp_ShouldReturnFoundRelName ( ) : void
Test_GetOwningPropName_WhenNeitherHaveProps_WhenOwnerGTRelated_ShouldReturnRevRelNameID ( ) : void
Test_GetRelatedPropName_NeitherHaveProps_NonDefaultNaming_ShouldReturnRevRelNameID ( ) : void
Test_GetRelatedPropName_NeitherHaveProps_ShouldReturnRevRelNameID ( ) : void
Test_GetRelatedPropName_OwnerHasProp_RelatedHasProp_FakeNameConvention_ShouldReturnFoundRelName ( ) : void
Test_GetRelatedPropName_OwnerHasProp_RelatedHasProp_ShouldReturnFoundRelName ( ) : void
Test_GetRelatedPropName_OwnerHasProp_RelatedNotHasProp_ShouldReturnRelatedTypePkName ( ) : void
Test_GetRelatedPropName_OwnerNotHasProp_RelatedHasProp_ShouldReturnFoundRelName ( ) : void
Test_GetRelatedPropName_WhenNeitherHaveProps_WhenOwnerGTRelated_ShouldReturnRevRelNameID ( ) : void
Test_Map_OwningBoHasFK_ShouldReturnRelatedTypePkName ( ) : void
Test_Map_PropWithIgnoreAttribute_ShouldReturnNull ( ) : void
Test_Map_ShouldCreateRelProp_WithCorrectNames ( ) : void
Test_Map_ShouldSetRelationshipAsOneToOne ( ) : void
Test_Map_ShouldSetReverseRelationshipName ( ) : void
Test_Map_WhenNotSingleRel_ShouldReturnNull ( ) : void
Test_Map_WhenNullPropInfo_ShouldReturnNull ( ) : void
Test_Map_WhenOwningBoHasFK_ShouldSetOwningBoHasFKTrue ( ) : void
Test_MustBeMapped_WhenPropIsInherited_ShouldRetFalse ( ) : void
Test_OwningBOHasForeignKey_WhenIsAggregation_AndNeitherHaveProps_ShouldRetFalse ( ) : void
Test_OwningBOHasForeignKey_WhenIsAssociation_AndNeitherHaveProps_WhenOwnerGTRelated_ShouldReturnTrue_FixBug909 ( ) : void
Test_OwningBOHasForeignKey_WhenIsAssociation_AndNeitherHaveProps_WhenOwnerLTRelated_ShouldReturnFalse_FixBug909 ( ) : void
Test_OwningBOHasForeignKey_WhenIsComposition_AndNeitherHaveProps_ShouldRetFalse ( ) : void
Test_OwningBoHasForeignKey_BothHaveProp_ShouldReturnFalse ( ) : void
Test_OwningBoHasForeignKey_BothHave_FakeNameConvention_ShouldReturnFalse ( ) : void
Test_OwningBoHasForeignKey_NeitherHaveProps_NonDefaultNaming_ShouldReturnFalse ( ) : void
Test_OwningBoHasForeignKey_NeitherHaveProps_OwnerLTRelated_ShouldReturnFalse ( ) : void
Test_OwningBoHasForeignKey_OwnerHasProp_RelatedNotHasProp_ShouldReturnTrue ( ) : void
Test_OwningBoHasForeignKey_OwnerNotHasProp_RelatedHasProp_ShouldReturnFalse ( ) : void
Test_OwningBoHasForeignKey_WhenNeitherHaveProps_WhenOwnerGTRelated_ShouldReturnTrue ( ) : void
Test_ReverseRelationshipName_ShouldBeSameAsPropReverseRelName ( ) : void
Test_SetPropNamingConvention_ShouldSetConvention ( ) : void