Class StringUtilsTests
Inheritance
StringUtilsTests
Assembly: Tests.dll
Syntax
public class StringUtilsTests
Constructors
StringUtilsTests()
Declaration
public StringUtilsTests()
Methods
Coalesce_Should_ReturnEmpty_When_AllNullOrEmpty()
Declaration
public void Coalesce_Should_ReturnEmpty_When_AllNullOrEmpty()
Coalesce_Should_ReturnEmpty_When_OptionsIsNull()
Declaration
public void Coalesce_Should_ReturnEmpty_When_OptionsIsNull()
Coalesce_Should_ReturnFirstNonEmpty()
Declaration
public void Coalesce_Should_ReturnFirstNonEmpty()
Coalesce_Should_ReturnFirstValid_When_AllValid()
Declaration
public void Coalesce_Should_ReturnFirstValid_When_AllValid()
Coalesce_Should_SkipEmptyStrings()
Declaration
public void Coalesce_Should_SkipEmptyStrings()
Declaration
public void FormatLogMessage_Should_CombinePrefixAndMessage()
Declaration
public void FormatLogMessage_WithArgs_Should_FormatAndPrefix()
Declaration
public void FormatLogMessage_WithArgs_Should_HandleBadFormat()
IsNullOrWhiteSpace_Should_ReturnFalse_When_HasContent()
Declaration
public void IsNullOrWhiteSpace_Should_ReturnFalse_When_HasContent()
IsNullOrWhiteSpace_Should_ReturnTrue_When_Empty()
Declaration
public void IsNullOrWhiteSpace_Should_ReturnTrue_When_Empty()
IsNullOrWhiteSpace_Should_ReturnTrue_When_Null()
Declaration
public void IsNullOrWhiteSpace_Should_ReturnTrue_When_Null()
IsNullOrWhiteSpace_Should_ReturnTrue_When_WhitespaceOnly()
Declaration
public void IsNullOrWhiteSpace_Should_ReturnTrue_When_WhitespaceOnly()
Declaration
public void SafeFormat_Should_FormatCorrectly_When_ValidArgs()
Declaration
public void SafeFormat_Should_ReturnEmpty_When_TemplateIsEmpty()
Declaration
public void SafeFormat_Should_ReturnEmpty_When_TemplateIsNull()
Declaration
public void SafeFormat_Should_ReturnFormatError_When_BadTemplate()
Declaration
public void SafeFormat_Should_ReturnTemplate_When_ArgsIsEmpty()
Declaration
public void SafeFormat_Should_ReturnTemplate_When_ArgsIsNull()
Declaration
public void SafeFormat_Should_ReturnTemplate_When_NoArgs()