C# Class System.Net.Mime.Tests.SmtpDateTimeTest

显示文件 Open project: dotnet/corefx

Private Methods

Method Description
SmtpDateTime_CreatedFromDateTimeString_ShouldParseCorrectly ( string input, int expectedYear, int expectedMonth, int expectedDay, int expectedHour, int expectedMinut, int expectedSecond, string expectedTimeZoneOffset, DateTimeKind expectedKind ) : void
SmtpDateTime_InvalidInput_ShouldThrowException ( string input ) : void
SmtpDateTime_WithDateThatHasKindSetToLocal_ShouldSetTimeZoneCorrectly ( ) : void
SmtpDateTime_WithDateThatHasUnspecifiedKind_ShouldSetTimeZoneCorrectly ( ) : void
SmtpDateTime_WithInvalidTimeZone_ShouldParseDateCorrectly ( ) : void
SmtpDate_TimeSpanToOffset_ShouldConvertCorrectly ( ) : void
SmtpDate_TimeSpanToOffset_WithNonGmtOffset_ShouldConvertCorrectly ( ) : void
SmtpDate_ToString_ShouldOutputCorrectDateString ( ) : void
SmtpDate_TryParseTimeZoneString_WithInvalidShortHand_ShouldThrowException ( ) : void
SmtpDate_TryParseTimeZoneString_WithUnknownShortHand_ShouldReturnFalse ( ) : void
SmtpDate_TryParseTimeZoneString_WithValidShortHand_ShouldReturnCorrectOffset ( ) : void
SmtpDate_ValidateTimeZoneOffsetValue_WithValidAndInvalidOffsets_ShouldReturnCorrectly ( ) : void
SmtpDate_ValidateTimeZoneShortHandValue_WithInvalidShortHand_ShouldReturnFalse ( ) : void
SmtpDate_ValidateTimeZoneShortHandValue_WithValidShortHand_ShouldReturnTrue ( ) : void
SmtpDate_WithCompletelyInvalidDateString_ShouldThrowException ( ) : void