C# Class System.Net.Tests.WebUtilityTests

Datei anzeigen Open project: dotnet/corefx

Public Methods

Method Description
CharRange ( int start, int end ) : string
HtmlDecode_TestData ( ) : IEnumerable
HtmlEncode_TestData ( ) : IEnumerable
UrlDecodeToBytes_TestData ( ) : IEnumerable
UrlDecode_SharedTestData ( ) : string>>.IEnumerable
UrlDecode_TestData ( ) : IEnumerable
UrlEncodeDecode_Roundtrip_SharedTestData ( ) : IEnumerable
UrlEncodeToBytes_TestData ( ) : IEnumerable
UrlEncode_SharedTestData ( ) : string>>.IEnumerable
UrlEncode_TestData ( ) : IEnumerable

Private Methods

Method Description
HtmlDecode ( string value, string expected ) : void
HtmlDecode_TextWriterOutput ( string value, string expected ) : void
HtmlEncode ( string value, string expected ) : void
HtmlEncode_TextWriterOutput ( string value, string expected ) : void
UrlDecode ( string encodedValue, string expected ) : void
UrlDecodeToBytes ( byte value, int offset, int count, byte expected ) : void
UrlDecodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeException ( int byteCount, int offset, int count ) : void
UrlDecodeToBytes_InvalidOffset_ThrowsArgumentOutOfRangeException ( int offset ) : void
UrlDecodeToBytes_NoDecodingNeeded_ReturnsNewClonedArray ( ) : void
UrlDecodeToBytes_NullBytes_ThrowsArgumentNullException ( ) : void
UrlEncode ( string value, string expected ) : void
UrlEncodeDecodeToBytes_Roundtrip ( string url ) : void
UrlEncodeDecodeToBytes_Roundtrip_AstralPlanes ( ) : void
UrlEncodeDecode_Roundtrip ( string value ) : void
UrlEncodeDecode_Roundtrip_AstralPlanes ( ) : void
UrlEncodeToBytes ( byte value, int offset, int count, byte expected ) : void
UrlEncodeToBytes_ExcludeIrrelevantData ( string value, int offset, int count, string expected ) : void
UrlEncodeToBytes_InvalidCount_ThrowsArgumentOutOfRangeExceptioh ( int byteCount, int offset, int count ) : void
UrlEncodeToBytes_InvalidOffset_ThrowsArgumentOutOfRangeException ( int offset ) : void
UrlEncodeToBytes_NoEncodingNeeded_ReturnsNewClonedArray ( ) : void
UrlEncodeToBytes_NullBytes_ThrowsArgumentNullException ( ) : void

Method Details

CharRange() public static method

public static CharRange ( int start, int end ) : string
start int
end int
return string

HtmlDecode_TestData() public static method

public static HtmlDecode_TestData ( ) : IEnumerable
return IEnumerable

HtmlEncode_TestData() public static method

public static HtmlEncode_TestData ( ) : IEnumerable
return IEnumerable

UrlDecodeToBytes_TestData() public static method

public static UrlDecodeToBytes_TestData ( ) : IEnumerable
return IEnumerable

UrlDecode_SharedTestData() public static method

public static UrlDecode_SharedTestData ( ) : string>>.IEnumerable
return string>>.IEnumerable

UrlDecode_TestData() public static method

public static UrlDecode_TestData ( ) : IEnumerable
return IEnumerable

UrlEncodeDecode_Roundtrip_SharedTestData() public static method

public static UrlEncodeDecode_Roundtrip_SharedTestData ( ) : IEnumerable
return IEnumerable

UrlEncodeToBytes_TestData() public static method

public static UrlEncodeToBytes_TestData ( ) : IEnumerable
return IEnumerable

UrlEncode_SharedTestData() public static method

public static UrlEncode_SharedTestData ( ) : string>>.IEnumerable
return string>>.IEnumerable

UrlEncode_TestData() public static method

public static UrlEncode_TestData ( ) : IEnumerable
return IEnumerable