C# Class System.Net.Tests.WebUtilityTests

Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static CharRange ( int start, int end ) : string
start int
end int
Résultat string

HtmlDecode_TestData() public static méthode

public static HtmlDecode_TestData ( ) : IEnumerable
Résultat IEnumerable

HtmlEncode_TestData() public static méthode

public static HtmlEncode_TestData ( ) : IEnumerable
Résultat IEnumerable

UrlDecodeToBytes_TestData() public static méthode

public static UrlDecodeToBytes_TestData ( ) : IEnumerable
Résultat IEnumerable

UrlDecode_SharedTestData() public static méthode

public static UrlDecode_SharedTestData ( ) : string>>.IEnumerable
Résultat string>>.IEnumerable

UrlDecode_TestData() public static méthode

public static UrlDecode_TestData ( ) : IEnumerable
Résultat IEnumerable

UrlEncodeDecode_Roundtrip_SharedTestData() public static méthode

public static UrlEncodeDecode_Roundtrip_SharedTestData ( ) : IEnumerable
Résultat IEnumerable

UrlEncodeToBytes_TestData() public static méthode

public static UrlEncodeToBytes_TestData ( ) : IEnumerable
Résultat IEnumerable

UrlEncode_SharedTestData() public static méthode

public static UrlEncode_SharedTestData ( ) : string>>.IEnumerable
Résultat string>>.IEnumerable

UrlEncode_TestData() public static méthode

public static UrlEncode_TestData ( ) : IEnumerable
Résultat IEnumerable