C# Class Habanero.Smooth.Test.TestTypeWrapper

Mostrar archivo Open project: Chillisoft/habanero.smooth

Private Methods

Method Description
GetFKPropName ( Type classType ) : string
GetRandomBool ( ) : bool
GetRandomPropInfoArray ( ) : System.Reflection.PropertyInfo[]
GetRandomString ( ) : string
GetRandomTypeArray ( ) : System.Type[]
Setup ( ) : void
Test_AssemblyName_ReturnsCorrectName ( ) : void
Test_AssemblyQualifiedName_ShouldReturnFromType ( ) : void
Test_BaseType_ShouldReturnFromType ( ) : void
Test_BaseType_WhenNoBaseType_ShouldReturnFalse ( ) : void
Test_BaseType_WhenNoBaseType_ShouldReturnNull ( ) : void
Test_EqualEquals ( Type otherType, bool expectedResult ) : void
Test_EqualEquals_WhenBothNullTypeWrapper_ShouldRetTrue ( ) : void
Test_EqualEquals_WhenNullTypeWrapper_ShouldRetFalse ( ) : void
Test_Equals ( object other, bool expectedResult ) : void
Test_Equals_WhenSecondRefToSelf_ShouldReturnTrue ( ) : void
Test_Equals_WhenSelfObject_ShouldReturnTrue ( ) : void
Test_Equals_WhenSelf_ShouldReturnTrue ( ) : void
Test_Equals_WhenStringNull_ShouldReturnFalse ( ) : void
Test_Equals_WhenType ( Type otherType, bool expectedResult ) : void
Test_Equals_WhenTypeWrapperWrapsType ( Type otherType, bool expectedResult ) : void
Test_GetAttribute_WhenHasAttribute_ShouldReturnAttribute ( ) : void
Test_GetAttribute_WhenHasNoAttribute_ShouldReturnNull ( ) : void
Test_GetGenericArguments_ShouldReturnFromType ( ) : void
Test_GetHashCode_ShouldReturnCalculatedCode ( ) : void
Test_GetNullableUnderlyingType_WhenIs_ShouldRetGuid ( ) : void
Test_GetNullableUnderlyingType_WhenNot_ShouldRetGuid ( ) : void
Test_GetPKPropName_WhenInheritance_ShouldBasePropName ( ) : void
Test_GetPKPropName_WhenInheritsFromGenericBOSuperType_ShouldNotUseBasePropToDetermineName ( ) : void
Test_GetPKPropName_WhenInheritsFromGenericBO_ShouldUseGenericTypeToDetermineName ( ) : void
Test_GetPKPropName_WhenNonStdNaming_WhenNoAttribute_ShouldRetNonStdNamePropName ( ) : void
Test_GetPKPropName_WhenStdNamingPropNonExist_WhenNoAttribute_ShouldRetStdNamePropName ( ) : void
Test_GetPKPropName_WhenStdNamingPropNonExist_WhenUsePrimaryKeyAttribute_ShouldReturnAttributeProp ( ) : void
Test_GetPKPropName_WhenSubClass_WhenIDPropDeclaredInClassDefXml_ShouldReturnDefinedClassDef_FixBug1355 ( ) : void
Test_GetProperties_ShouldReturnFromType ( ) : void
Test_GetProperty_ShouldReturnFromType ( ) : void
Test_GetUnderlyingSystemType_ShouldReturnType ( ) : void
Test_HasBaseType_WhemHas_ShouldRetTrue ( ) : void
Test_HasIgnoreAttribute_WhenHas_ShouldRetTrue ( ) : void
Test_HasIgnoreAttribute_WhenNotHas_ShouldRetFalse ( ) : void
Test_HasProperty_WhenHas_ShouldReturnTrue ( ) : void
Test_HasProperty_WhenNotHas_ShouldReturnFalse ( ) : void
Test_IdentityNameConvention_ShouldBeDefaultIfNotSet ( ) : void
Test_IsBaseTypeLayerSuperType_WhenDoesNotInherit_ShouldReturnFalse ( ) : void
Test_IsBaseTypeLayerSuperType_WhenInheritFromAnotherBO_ShouldReturnFalse ( ) : void
Test_IsBaseTypeLayerSuperType_WhenInheritFromGenericBO_ShouldReturnTrue ( ) : void
Test_IsBaseTypeLayerSuperType_WhenInheritsDirectlyFromBO_ShouldReturnTrue ( ) : void
Test_IsBusinessObject_WhenTypeImplementsIBo_ShouldRetTrue ( ) : void
Test_IsBusinessObject_WhenTypeNotImplementsIBo_ShouldRetFalse ( ) : void
Test_IsEnumType_WhenIsEnum_ShouldReturnTrue ( ) : void
Test_IsEnumType_WhenIsNullableEnum_ShouldReturnTrue ( ) : void
Test_IsGenericBusinessObject_WhenTypeImplementsGenericBO_ShouldRetTrue ( ) : void
Test_IsGenericBusinessObject_WhenTypeImplementsIBo_ShouldRetFalse ( ) : void
Test_IsGenericBusinessObject_WhenTypeInheritsFromTypeThatImplementsGenericBO_ShouldRetTrue ( ) : void
Test_IsGenericBusinessObject_WhenTypeNotImplementsIBo_ShouldRetFalse ( ) : void
Test_IsGenericType_ShouldReturnFromType ( ) : void
Test_IsNullableType_WhenIs_ShouldRetTrue ( ) : void
Test_IsNullableType_WhenNot_ShouldRetFalse ( ) : void
Test_IsOfTypeGeneric_WhenInnerTypeIsOfType_ShouldReturnTrue ( ) : void
Test_IsOfType_WhenInnerTypeIsOfType_ShouldReturnTrue ( ) : void
Test_IsOfType_WhenInnerTypeNotIsOfType_ShouldReturnFalse ( ) : void
Test_IsRealType_WhenAbstract_ShouldReturnFalse ( ) : void
Test_IsRealType_WhenGeneric_ShouldReturnFalse ( ) : void
Test_IsRealType_WhenIsInterface_ShouldReturnFalse ( ) : void
Test_MakeGenericBusinessObjectCollection_ShouldReturnBOColForInnerType ( ) : void
Test_NameSpace_ShouldReturnTypeNameSpace ( ) : void
Test_Name_ShouldReturnTypeName ( ) : void
Test_NotEqual ( Type otherType, bool expectedResult ) : void
Test_NotEquals_WhenNullTypeWrapper_ShouldRetFalse ( ) : void
Test_SetIdentityNameConvention_ShouldSetCustomConvention ( ) : void
Test_TableName_ReturnsCorrectName ( ) : void
Test_TableName_WhenAttributeNotDefined_ShouldReturnNull ( ) : void
Test_ToStringShouldReturnTypeToString ( ) : void
Test_TypeEqualEquals ( Type otherType, bool expectedResult ) : void
Test_TypeNotEquals ( Type otherType, bool expectedResult ) : void