C# Class Qowaiv.UnitTests.PostalCodeTest

Show file Open project: Corniel/Qowaiv

Public Properties

Property Type Description
TestStruct PostalCode

Private Methods

Method Description
CanConvertFromString_PostalCode_IsTrue ( ) : void
CanConvertToString_PostalCode_IsTrue ( ) : void
CanNotConvertFromInt32_PostalCode_IsTrue ( ) : void
CanNotConvertToInt32_PostalCode_IsTrue ( ) : void
CompareTo_ObjectTestStruct_0 ( ) : void
CompareTo_newObject_ThrowsArgumentException ( ) : void
CompareTo_null_ThrowsArgumentException ( ) : void
Constructor_InvalidSerializationInfo_ThrowsSerializationException ( ) : void
Constructor_SerializationInfoIsNull_ThrowsArgumentNullException ( ) : void
ConvertFromInstanceDescriptor_PostalCode_Successful ( ) : void
ConvertFromString_StringValue_TestStruct ( ) : void
ConvertFrom_StringEmpty_PostalCodeEmpty ( ) : void
ConvertFrom_StringNull_PostalCodeEmpty ( ) : void
ConvertToString_TestStruct_StringValue ( ) : void
ConverterExists_PostalCode_IsTrue ( ) : void
DataContractSerializeDeserialize_PostalCodeSerializeObject_AreEqual ( ) : void
DataContractSerializeDeserialize_TestStruct_AreEqual ( ) : void
DebuggerDisplay_DebugToString_HasAttribute ( ) : void
DebuggerDisplay_DefaultValue_String ( ) : void
DebuggerDisplay_TestStruct_String ( ) : void
Empty_None_EqualsDefault ( ) : void
Equals_EmptyEmpty_IsTrue ( ) : void
Equals_EmptyTestStruct_IsFalse ( ) : void
Equals_FormattedAndUnformatted_IsTrue ( ) : void
Equals_TestStructEmpty_IsFalse ( ) : void
Equals_TestStructNull_IsFalse ( ) : void
Equals_TestStructObjectTestStruct_IsTrue ( ) : void
Equals_TestStructObject_IsFalse ( ) : void
Equals_TestStructTestStruct_IsTrue ( ) : void
Explicit_PostalCodeToString_AreEqual ( ) : void
Explicit_StringToPostalCode_AreEqual ( ) : void
FromJson_DateTimeValue_AssertNotSupportedException ( ) : void
FromJson_DoubleValue_AssertNotSupportedException ( ) : void
FromJson_Int64Value_AssertNotSupportedException ( ) : void
FromJson_InvalidStringValue_AssertFormatException ( ) : void
FromJson_None_EmptyValue ( ) : void
FromJson_StringValue_AreEqual ( ) : void
GetHash_Empty_Hash ( ) : void
GetHash_TestStruct_Hash ( ) : void
GetObjectData_Null_ThrowsArgumentNullException ( ) : void
GetObjectData_SerializationInfo_AreEqual ( ) : void
GetSchema_None_IsNull ( ) : void
IsEmptyOrUnknown_Default_IsFalse ( ) : void
IsEmptyOrUnknown_TestStruct_IsFalse ( ) : void
IsEmptyOrUnknown_Unknown_IsTrue ( ) : void
IsEmpty_Default_IsTrue ( ) : void
IsEmpty_TestStruct_IsFalse ( ) : void
IsEmpty_Unknown_IsFalse ( ) : void
IsNotValid ( Country country, bool alfa, bool prefix ) : void
IsNotValid ( Country country, string code, bool test, bool alpha, bool prefix, int lengths ) : void
IsNotValid ( string code, Country country ) : void
IsNotValidCustomCases_AD_All ( ) : void
IsNotValidCustomCases_AF_All ( ) : void
IsNotValidCustomCases_AI_All ( ) : void
IsNotValidCustomCases_AL_All ( ) : void
IsNotValidCustomCases_AM_All ( ) : void
IsNotValidCustomCases_AR_All ( ) : void
IsNotValidCustomCases_AS_All ( ) : void
IsNotValidCustomCases_AT_All ( ) : void
IsNotValidCustomCases_AU_All ( ) : void
IsNotValidCustomCases_AX_All ( ) : void
IsNotValidCustomCases_AZ_All ( ) : void
IsNotValidCustomCases_BA_All ( ) : void
IsNotValidCustomCases_BB_All ( ) : void
IsNotValidCustomCases_BD_All ( ) : void
IsNotValidCustomCases_BE_All ( ) : void
IsNotValidCustomCases_BG_All ( ) : void
IsNotValidCustomCases_BH_All ( ) : void
IsNotValidCustomCases_BL_All ( ) : void
IsNotValidCustomCases_BM_All ( ) : void
IsNotValidCustomCases_BN_All ( ) : void
IsNotValidCustomCases_BO_All ( ) : void
IsNotValidCustomCases_BR_All ( ) : void
IsNotValidCustomCases_BT_All ( ) : void
IsNotValidCustomCases_BY_All ( ) : void
IsNotValidCustomCases_CA_All ( ) : void
IsNotValidCustomCases_CC_All ( ) : void
IsNotValidCustomCases_CH_All ( ) : void
IsNotValidCustomCases_CL_All ( ) : void
IsNotValidCustomCases_CN_All ( ) : void
IsNotValidCustomCases_CO_All ( ) : void
IsNotValidCustomCases_CR_All ( ) : void
IsNotValidCustomCases_CU_All ( ) : void
IsNotValidCustomCases_CV_All ( ) : void
IsNotValidCustomCases_CX_All ( ) : void
IsNotValidCustomCases_CY_All ( ) : void
IsNotValidCustomCases_CZ_All ( ) : void
IsNotValidCustomCases_DE_All ( ) : void
IsNotValidCustomCases_DK_All ( ) : void
IsNotValidCustomCases_DZ_All ( ) : void
IsNotValidCustomCases_EC_All ( ) : void
IsNotValidCustomCases_EE_All ( ) : void
IsNotValidCustomCases_EG_All ( ) : void
IsNotValidCustomCases_ES_All ( ) : void
IsNotValidCustomCases_ET_All ( ) : void
IsNotValidCustomCases_FI_All ( ) : void
IsNotValidCustomCases_FK_All ( ) : void
IsNotValidCustomCases_FM_All ( ) : void
IsNotValidCustomCases_FO_All ( ) : void
IsNotValidCustomCases_FR_All ( ) : void
IsNotValidCustomCases_GA_All ( ) : void
IsNotValidCustomCases_GB_All ( ) : void
IsNotValidCustomCases_GE_All ( ) : void
IsNotValidCustomCases_GF_All ( ) : void
IsNotValidCustomCases_GG_All ( ) : void
IsNotValidCustomCases_GI_All ( ) : void
IsNotValidCustomCases_GL_All ( ) : void
IsNotValidCustomCases_GP_All ( ) : void
IsNotValidCustomCases_GR_All ( ) : void
IsNotValidCustomCases_GS_All ( ) : void
IsNotValidCustomCases_GT_All ( ) : void
IsNotValidCustomCases_GU_All ( ) : void
IsNotValidCustomCases_GW_All ( ) : void
IsNotValidCustomCases_HM_All ( ) : void
IsNotValidCustomCases_HN_All ( ) : void
IsNotValidCustomCases_HR_All ( ) : void
IsNotValidCustomCases_HT_All ( ) : void
IsNotValidCustomCases_HU_All ( ) : void
IsNotValidCustomCases_ID_All ( ) : void
IsNotValidCustomCases_IL_All ( ) : void
IsNotValidCustomCases_IM_All ( ) : void
IsNotValidCustomCases_IN_All ( ) : void
IsNotValidCustomCases_IO_All ( ) : void
IsNotValidCustomCases_IQ_All ( ) : void
IsNotValidCustomCases_IR_All ( ) : void
IsNotValidCustomCases_IS_All ( ) : void
IsNotValidCustomCases_IT_All ( ) : void
IsNotValidCustomCases_JE_All ( ) : void
IsNotValidCustomCases_JO_All ( ) : void
IsNotValidCustomCases_JP_All ( ) : void
IsNotValidCustomCases_KG_All ( ) : void
IsNotValidCustomCases_KH_All ( ) : void
IsNotValidCustomCases_KR_All ( ) : void
IsNotValidCustomCases_KY_All ( ) : void
IsNotValidCustomCases_KZ_All ( ) : void
IsNotValidCustomCases_LA_All ( ) : void
IsNotValidCustomCases_LB_All ( ) : void
IsNotValidCustomCases_LI_All ( ) : void
IsNotValidCustomCases_LK_All ( ) : void
IsNotValidCustomCases_LR_All ( ) : void
IsNotValidCustomCases_LS_All ( ) : void
IsNotValidCustomCases_LT_All ( ) : void
IsNotValidCustomCases_LU_All ( ) : void
IsNotValidCustomCases_LV_All ( ) : void
IsNotValidCustomCases_LY_All ( ) : void
IsNotValidCustomCases_MA_All ( ) : void
IsNotValidCustomCases_MC_All ( ) : void
IsNotValidCustomCases_MD_All ( ) : void
IsNotValidCustomCases_ME_All ( ) : void
IsNotValidCustomCases_MF_All ( ) : void
IsNotValidCustomCases_MG_All ( ) : void
IsNotValidCustomCases_MH_All ( ) : void
IsNotValidCustomCases_MK_All ( ) : void
IsNotValidCustomCases_MM_All ( ) : void
IsNotValidCustomCases_MN_All ( ) : void
IsNotValidCustomCases_MP_All ( ) : void
IsNotValidCustomCases_MQ_All ( ) : void
IsNotValidCustomCases_MT_All ( ) : void
IsNotValidCustomCases_MX_All ( ) : void
IsNotValidCustomCases_MY_All ( ) : void
IsNotValidCustomCases_MZ_All ( ) : void
IsNotValidCustomCases_NA_All ( ) : void
IsNotValidCustomCases_NC_All ( ) : void
IsNotValidCustomCases_NE_All ( ) : void
IsNotValidCustomCases_NF_All ( ) : void
IsNotValidCustomCases_NG_All ( ) : void
IsNotValidCustomCases_NI_All ( ) : void
IsNotValidCustomCases_NL_All ( ) : void
IsNotValidCustomCases_NO_All ( ) : void
IsNotValidCustomCases_NP_All ( ) : void
IsNotValidCustomCases_NZ_All ( ) : void
IsNotValidCustomCases_OM_All ( ) : void
IsNotValidCustomCases_PA_All ( ) : void
IsNotValidCustomCases_PE_All ( ) : void
IsNotValidCustomCases_PF_All ( ) : void
IsNotValidCustomCases_PG_All ( ) : void
IsNotValidCustomCases_PH_All ( ) : void
IsNotValidCustomCases_PK_All ( ) : void
IsNotValidCustomCases_PL_All ( ) : void
IsNotValidCustomCases_PM_All ( ) : void
IsNotValidCustomCases_PN_All ( ) : void
IsNotValidCustomCases_PR_All ( ) : void
IsNotValidCustomCases_PS_All ( ) : void
IsNotValidCustomCases_PT_All ( ) : void
IsNotValidCustomCases_PW_All ( ) : void
IsNotValidCustomCases_PY_All ( ) : void
IsNotValidCustomCases_RE_All ( ) : void
IsNotValidCustomCases_RO_All ( ) : void
IsNotValidCustomCases_RS_All ( ) : void
IsNotValidCustomCases_RU_All ( ) : void
IsNotValidCustomCases_SA_All ( ) : void
IsNotValidCustomCases_SD_All ( ) : void
IsNotValidCustomCases_SE_All ( ) : void
IsNotValidCustomCases_SG_All ( ) : void
IsNotValidCustomCases_SH_All ( ) : void
IsNotValidCustomCases_SI_All ( ) : void
IsNotValidCustomCases_SK_All ( ) : void
IsNotValidCustomCases_SM_All ( ) : void
IsNotValidCustomCases_SN_All ( ) : void
IsNotValidCustomCases_SV_All ( ) : void
IsNotValidCustomCases_SZ_All ( ) : void
IsNotValidCustomCases_TC_All ( ) : void
IsNotValidCustomCases_TD_All ( ) : void
IsNotValidCustomCases_TH_All ( ) : void
IsNotValidCustomCases_TJ_All ( ) : void
IsNotValidCustomCases_TM_All ( ) : void
IsNotValidCustomCases_TN_All ( ) : void
IsNotValidCustomCases_TR_All ( ) : void
IsNotValidCustomCases_TT_All ( ) : void
IsNotValidCustomCases_TW_All ( ) : void
IsNotValidCustomCases_UA_All ( ) : void
IsNotValidCustomCases_US_All ( ) : void
IsNotValidCustomCases_UY_All ( ) : void
IsNotValidCustomCases_VA_All ( ) : void
IsNotValidCustomCases_VC_All ( ) : void
IsNotValidCustomCases_VE_All ( ) : void
IsNotValidCustomCases_VG_All ( ) : void
IsNotValidCustomCases_VI_All ( ) : void
IsNotValidCustomCases_VN_All ( ) : void
IsNotValidCustomCases_WF_All ( ) : void
IsNotValidCustomCases_YT_All ( ) : void
IsNotValidCustomCases_ZA_All ( ) : void
IsNotValidCustomCases_ZM_All ( ) : void
IsNotValid_AD_All ( ) : void
IsNotValid_AF_All ( ) : void
IsNotValid_AI_All ( ) : void
IsNotValid_AL_All ( ) : void
IsNotValid_AM_All ( ) : void
IsNotValid_AR_All ( ) : void
IsNotValid_AS_All ( ) : void
IsNotValid_AT_All ( ) : void
IsNotValid_AU_All ( ) : void
IsNotValid_AX_All ( ) : void
IsNotValid_AZ_All ( ) : void
IsNotValid_BA_All ( ) : void
IsNotValid_BB_All ( ) : void
IsNotValid_BD_All ( ) : void
IsNotValid_BE_All ( ) : void
IsNotValid_BG_All ( ) : void
IsNotValid_BH_All ( ) : void
IsNotValid_BL_All ( ) : void
IsNotValid_BM_All ( ) : void
IsNotValid_BN_All ( ) : void
IsNotValid_BO_All ( ) : void
IsNotValid_BR_All ( ) : void
IsNotValid_BT_All ( ) : void
IsNotValid_BY_All ( ) : void
IsNotValid_CA_All ( ) : void
IsNotValid_CC_All ( ) : void
IsNotValid_CH_All ( ) : void
IsNotValid_CL_All ( ) : void
IsNotValid_CN_All ( ) : void
IsNotValid_CO_All ( ) : void
IsNotValid_CR_All ( ) : void
IsNotValid_CU_All ( ) : void
IsNotValid_CV_All ( ) : void
IsNotValid_CX_All ( ) : void
IsNotValid_CY_All ( ) : void
IsNotValid_CZ_All ( ) : void
IsNotValid_DE_All ( ) : void
IsNotValid_DK_All ( ) : void
IsNotValid_DZ_All ( ) : void
IsNotValid_EC_All ( ) : void
IsNotValid_EE_All ( ) : void
IsNotValid_EG_All ( ) : void
IsNotValid_ES_All ( ) : void
IsNotValid_ET_All ( ) : void
IsNotValid_FI_All ( ) : void
IsNotValid_FK_All ( ) : void
IsNotValid_FM_All ( ) : void
IsNotValid_FO_All ( ) : void
IsNotValid_FR_All ( ) : void
IsNotValid_GA_All ( ) : void
IsNotValid_GB_All ( ) : void
IsNotValid_GE_All ( ) : void
IsNotValid_GF_All ( ) : void
IsNotValid_GG_All ( ) : void
IsNotValid_GI_All ( ) : void
IsNotValid_GL_All ( ) : void
IsNotValid_GP_All ( ) : void
IsNotValid_GR_All ( ) : void
IsNotValid_GS_All ( ) : void
IsNotValid_GT_All ( ) : void
IsNotValid_GU_All ( ) : void
IsNotValid_GW_All ( ) : void
IsNotValid_HM_All ( ) : void
IsNotValid_HN_All ( ) : void
IsNotValid_HR_All ( ) : void
IsNotValid_HT_All ( ) : void
IsNotValid_HU_All ( ) : void
IsNotValid_ID_All ( ) : void
IsNotValid_IL_All ( ) : void
IsNotValid_IM_All ( ) : void
IsNotValid_IN_All ( ) : void
IsNotValid_IO_All ( ) : void
IsNotValid_IQ_All ( ) : void
IsNotValid_IR_All ( ) : void
IsNotValid_IS_All ( ) : void
IsNotValid_IT_All ( ) : void
IsNotValid_JE_All ( ) : void
IsNotValid_JO_All ( ) : void
IsNotValid_JP_All ( ) : void
IsNotValid_KG_All ( ) : void
IsNotValid_KH_All ( ) : void
IsNotValid_KR_All ( ) : void
IsNotValid_KY_All ( ) : void
IsNotValid_KZ_All ( ) : void
IsNotValid_LA_All ( ) : void
IsNotValid_LB_All ( ) : void
IsNotValid_LI_All ( ) : void
IsNotValid_LK_All ( ) : void
IsNotValid_LR_All ( ) : void
IsNotValid_LS_All ( ) : void
IsNotValid_LT_All ( ) : void
IsNotValid_LU_All ( ) : void
IsNotValid_LV_All ( ) : void
IsNotValid_LY_All ( ) : void
IsNotValid_MA_All ( ) : void
IsNotValid_MC_All ( ) : void
IsNotValid_MD_All ( ) : void
IsNotValid_ME_All ( ) : void
IsNotValid_MF_All ( ) : void
IsNotValid_MG_All ( ) : void
IsNotValid_MH_All ( ) : void
IsNotValid_MK_All ( ) : void
IsNotValid_MM_All ( ) : void
IsNotValid_MN_All ( ) : void
IsNotValid_MP_All ( ) : void
IsNotValid_MQ_All ( ) : void
IsNotValid_MT_All ( ) : void
IsNotValid_MX_All ( ) : void
IsNotValid_MY_All ( ) : void
IsNotValid_MZ_All ( ) : void
IsNotValid_NA_All ( ) : void
IsNotValid_NC_All ( ) : void
IsNotValid_NE_All ( ) : void
IsNotValid_NF_All ( ) : void
IsNotValid_NG_All ( ) : void
IsNotValid_NI_All ( ) : void
IsNotValid_NL_All ( ) : void
IsNotValid_NO_All ( ) : void
IsNotValid_NP_All ( ) : void
IsNotValid_NZ_All ( ) : void
IsNotValid_OM_All ( ) : void
IsNotValid_PA_All ( ) : void
IsNotValid_PE_All ( ) : void
IsNotValid_PF_All ( ) : void
IsNotValid_PG_All ( ) : void
IsNotValid_PH_All ( ) : void
IsNotValid_PK_All ( ) : void
IsNotValid_PL_All ( ) : void
IsNotValid_PM_All ( ) : void
IsNotValid_PN_All ( ) : void
IsNotValid_PR_All ( ) : void
IsNotValid_PS_All ( ) : void
IsNotValid_PT_All ( ) : void
IsNotValid_PW_All ( ) : void
IsNotValid_PY_All ( ) : void
IsNotValid_RE_All ( ) : void
IsNotValid_RO_All ( ) : void
IsNotValid_RS_All ( ) : void
IsNotValid_RU_All ( ) : void
IsNotValid_SA_All ( ) : void
IsNotValid_SD_All ( ) : void
IsNotValid_SE_All ( ) : void
IsNotValid_SG_All ( ) : void
IsNotValid_SH_All ( ) : void
IsNotValid_SI_All ( ) : void
IsNotValid_SK_All ( ) : void
IsNotValid_SM_All ( ) : void
IsNotValid_SN_All ( ) : void
IsNotValid_SV_All ( ) : void
IsNotValid_SZ_All ( ) : void
IsNotValid_TC_All ( ) : void
IsNotValid_TD_All ( ) : void
IsNotValid_TH_All ( ) : void
IsNotValid_TJ_All ( ) : void
IsNotValid_TM_All ( ) : void
IsNotValid_TN_All ( ) : void
IsNotValid_TR_All ( ) : void
IsNotValid_TT_All ( ) : void
IsNotValid_TW_All ( ) : void
IsNotValid_UA_All ( ) : void
IsNotValid_US_All ( ) : void
IsNotValid_UY_All ( ) : void
IsNotValid_VA_All ( ) : void
IsNotValid_VC_All ( ) : void
IsNotValid_VE_All ( ) : void
IsNotValid_VG_All ( ) : void
IsNotValid_VI_All ( ) : void
IsNotValid_VN_All ( ) : void
IsNotValid_WF_All ( ) : void
IsNotValid_YT_All ( ) : void
IsNotValid_ZA_All ( ) : void
IsNotValid_ZM_All ( ) : void
IsUnknown_Default_IsFalse ( ) : void
IsUnknown_TestStruct_IsFalse ( ) : void
IsUnknown_Unknown_IsTrue ( ) : void
IsValid ( string postalcode, Country country ) : void
IsValid ( string countrycode, string postalcode ) : void
IsValidFor_0123456_3Countries ( ) : void
IsValidFor_TestStruct_1Country ( ) : void
IsValid_Data_IsFalse ( ) : void
IsValid_Data_IsTrue ( ) : void
IsValid_EmptyCA_IsFalse ( ) : void
IsValid_TestStructBE_IsFalse ( ) : void
IsValid_TestStructCA_IsTrue ( ) : void
IsValid_UnknownCA_IsFalse ( ) : void
Length_DefaultValue_0 ( ) : void
Length_TestStruct_IntValue ( ) : void
OperatorIsNot_TestStructTestStruct_IsFalse ( ) : void
OperatorIs_TestStructTestStruct_IsTrue ( ) : void
OrderByDescending_PostalCode_AreEqual ( ) : void
OrderBy_PostalCode_AreEqual ( ) : void
Parse_InvalidInput_ThrowsFormatException ( ) : void
Parse_Unknown_AreEqual ( ) : void
SerializeDeserialize_Empty_AreEqual ( ) : void
SerializeDeserialize_PostalCodeSerializeObject_AreEqual ( ) : void
SerializeDeserialize_TestStruct_AreEqual ( ) : void
ToJson_DefaultValue_AreEqual ( ) : void
ToJson_TestStruct_AreEqual ( ) : void
ToString_765AD_ComplexPattern ( ) : void
ToString_AD765AD_ComplexPattern ( ) : void
ToString_CustomFormatter_SupportsCustomFormatting ( ) : void
ToString_EmptyCA_IsStringEmpty ( ) : void
ToString_Empty_IsStringEmpty ( ) : void
ToString_TestStructAL_ComplexPattern ( ) : void
ToString_TestStructCA_ComplexPattern ( ) : void
ToString_TestStructNL_ComplexPattern ( ) : void
ToString_TestStructSO_ComplexPattern ( ) : void
ToString_UnknownCA_IsQuestionMark ( ) : void
ToString_Unknown_IsQuestionMark ( ) : void
TryParse_InvalidInput_DefaultValue ( ) : void
TryParse_TestStructInput_AreEqual ( ) : void
TyrParse_Null_IsValid ( ) : void
TyrParse_StringEmpty_IsValid ( ) : void
TyrParse_StringValue_IsNotValid ( ) : void
TyrParse_StringValue_IsValid ( ) : void
XmlSerializeDeserialize_Empty_AreEqual ( ) : void
XmlSerializeDeserialize_PostalCodeSerializeObject_AreEqual ( ) : void
XmlSerializeDeserialize_TestStruct_AreEqual ( ) : void

Property Details

TestStruct public static property

The test instance for most tests.
public static PostalCode TestStruct
return PostalCode