C# Class Dev2.Common.Tests.ExtensionMethodsTest

显示文件 Open project: Warewolf-ESB/Warewolf

Private Methods

Method Description
ExtensionMethods_AttributeSafe_WhenAttributeDoesNotExist_ExpectEmptyString ( ) : void
ExtensionMethods_AttributeSafe_WhenAttributeExist_ExpectAttributeValue ( ) : void
ExtensionMethods_CleanEncodingHeaderForXmlSave_WhenSavingXElement_ExpectEncodingHeaderRemoved ( ) : void
ExtensionMethods_Contains_WhenSubstringIsContained_ExpectTrue ( ) : void
ExtensionMethods_Contains_WhenSubstringIsNotContained_ExpectFalse ( ) : void
ExtensionMethods_ElementSafeStringBuilder_WhenElementDoesNotExist_ExpectEmptyString ( ) : void
ExtensionMethods_ElementSafeStringBuilder_WhenElementExist_ExpectElement ( ) : void
ExtensionMethods_ElementSafe_WhenElementDoesNotExist_ExpectEmptyString ( ) : void
ExtensionMethods_ElementSafe_WhenElementExist_ExpectElement ( ) : void
ExtensionMethods_ElementStringSafe_WhenElementDoesNotExist_ExpectEmptyString ( ) : void
ExtensionMethods_ElementStringSafe_WhenElementExist_ExpectElement ( ) : void
ExtensionMethods_EncodeForXmlDocument_WhenInvalidXmlDocument_ExpectException ( ) : void
ExtensionMethods_EncodeForXmlDocument_WhenValidUTF8XmlDocument_ExpectStream ( ) : void
ExtensionMethods_EncodeForXmlDocument_WhenValidUnicodeXmlDocument_ExpectStream ( ) : void
ExtensionMethods_Escape_WhenNonXmlString_ExpectSameStringBuilder ( ) : void
ExtensionMethods_Escape_WhenXmlString_ExpectEscapedStringBuilder ( ) : void
ExtensionMethods_ExtractXmlAttributeFromUnsafeXml_WhenAttributeNotPresent_ExpectEmptyString ( ) : void
ExtensionMethods_ExtractXmlAttributeFromUnsafeXml_WhenAttributePresentAndEndTagInvalid_ExpectEmptyString ( ) : void
ExtensionMethods_ExtractXmlAttributeFromUnsafeXml_WhenAttributePresent_ExpectAttributeValue ( ) : void
ExtensionMethods_GetAllMessages_WhenUnrollingException_ExpectFullExceptionList ( ) : void
ExtensionMethods_IndexOf_WhenStringBuilderContainsValue_ExpectValidIndex ( ) : void
ExtensionMethods_IndexOf_WhenStringBuilderDoesContainValueAndIndexIsAfter_ExpectNegativeIndex ( ) : void
ExtensionMethods_IndexOf_WhenStringBuilderDoesNotContainValueAndCaseMatchOn_ExpectNegativeIndex ( ) : void
ExtensionMethods_IndexOf_WhenStringBuilderDoesNotContainValue_ExpectNegativeIndex ( ) : void
ExtensionMethods_IsEqual_WhenComparingTwoStringBuilderNotTheSame_ExpectFalse ( ) : void
ExtensionMethods_IsEqual_WhenComparingTwoStringBuilder_ExpectFalse ( ) : void
ExtensionMethods_IsEqual_WhenComparingTwoStringBuilder_ExpectTrue ( ) : void
ExtensionMethods_IsNullOrEmpty_EmptyStringBuilder_True ( ) : void
ExtensionMethods_IsNullOrEmpty_NonEmptyStringBuilder_False ( ) : void
ExtensionMethods_IsNullOrEmpty_NullStringBuilder_True ( ) : void
ExtensionMethods_IsNullOrEmpty_NullStringStringBuilder_True ( ) : void
ExtensionMethods_LastIndexOf_WhenNormalStringInMiddle_ExpectLastIndex ( ) : void
ExtensionMethods_LastIndexOf_WhenNormalStringWithCaseIgnore_ExpectLastIndex ( ) : void
ExtensionMethods_LastIndexOf_WhenNormalString_ExpectLastIndex ( ) : void
ExtensionMethods_ReturnAsTagSet_WhenValidString_ExpectTagSet ( ) : void
ExtensionMethods_Substring_WhenStartAndEndInBoundAndNotStartingAtZero_ExpectString ( ) : void
ExtensionMethods_Substring_WhenStartAndEndInBound_ExpectString ( ) : void
ExtensionMethods_Substring_WhenStartAndEndOutOfBound_ExpectString ( ) : void
ExtensionMethods_ToBase64String_WhenValidString_ExpectBase64Data ( ) : void
ExtensionMethods_ToByteArray_WhenValidString_ExpectValidBytes ( ) : void
ExtensionMethods_ToObservableCollection_WhenIEnumableContainsData_ExpectCollection ( ) : void
ExtensionMethods_ToObservableCollection_WhenIEnumableContainsNothing_ExpectEmptyCollection ( ) : void
ExtensionMethods_ToStreamForXmlLoad_WhenLoadingXElement_ExpectException ( ) : void
ExtensionMethods_ToStreamForXmlLoad_WhenLoadingXElement_ExpectValidXElement ( ) : void
ExtensionMethods_ToStringBuilder_String_StringBuilder ( ) : void
ExtensionMethods_ToStringBuilder_XElement_ExpectStringBuilder ( ) : void
ExtensionMethods_Unescape_WhenEscapedXmlString_ExpectUnescapedStringBuilder ( ) : void
ExtensionMethods_Unescape_WhenNormalString_ExpectSameStringBuilder ( ) : void
ExtensionMethods_WriteToFile_RollbackIfError ( ) : void
ExtensionMethods_WriteToFile_WhenSavingStringBuilderToFileWithExistingDataThatIsShorter_ExpectSavedFileWithNoMangle ( ) : void
ExtensionMethods_WriteToFile_WhenSavingStringBuilder_ExpectSavedFile ( ) : void