C# Class System.Net.Http.WinHttpHandlerUnitTests.WinHttpHandlerTest

Mostra file Open project: dotnet/corefx

Public Methods

Method Description
WinHttpHandlerTest ( ITestOutputHelper output ) : System

Private Methods

Method Description
AutomaticRedirection_SetFalseAndGet_ValueIsFalse ( ) : void
AutomaticRedirection_SetFalse_ExpectedWinHttpHandleSettings ( ) : void
AutomaticRedirection_SetTrue_ExpectedWinHttpHandleSettings ( ) : void
CheckCertificateRevocationList_SetFalse_ExpectedWinHttpHandleSettings ( ) : void
CheckCertificateRevocationList_SetTrue_ExpectedWinHttpHandleSettings ( ) : void
CookieContainer_WhenCreated_ReturnsNull ( ) : void
CookieUsePolicy_SetIgnoreCookies_ExpectedWinHttpHandleSettings ( ) : void
CookieUsePolicy_SetIgnoreCookies_NoExceptionThrown ( ) : void
CookieUsePolicy_SetUseInternalCookieStoreOnly_ExpectedWinHttpHandleSettings ( ) : void
CookieUsePolicy_SetUseInternalCookieStoreOnly_NoExceptionThrown ( ) : void
CookieUsePolicy_SetUseSpecifiedCookieContainerAndContainer_ExpectedWinHttpHandleSettings ( ) : void
CookieUsePolicy_SetUseSpecifiedCookieContainer_NoExceptionThrown ( ) : void
CookieUsePolicy_SetUsingInvalidEnum_ThrowsArgumentOutOfRangeException ( ) : void
CookieUsePolicy_UseSpecifiedCookieContainerAndNullContainer_ThrowsInvalidOperationException ( ) : void
CookieUsePolicy_WhenCreated_ReturnsUseInternalCookieStoreOnly ( ) : void
Ctor_ExpectedDefaultPropertyValues ( ) : void
GetAsync_MultipleRequestsReusingSameClient_Success ( ) : Task
MaxAutomaticRedirections_SetNegativeValue_ThrowsArgumentOutOfRangeException ( ) : void
MaxAutomaticRedirections_SetValidValue_ExpectedWinHttpHandleSettings ( ) : void
MaxAutomaticRedirections_SetZero_ThrowsArgumentOutOfRangeException ( ) : void
MaxConnectionsPerServer_SetNegativeValue_ThrowsArgumentOutOfRangeException ( ) : void
MaxConnectionsPerServer_SetPositiveValue_Success ( ) : void
MaxConnectionsPerServer_SetZero_ThrowsArgumentOutOfRangeException ( ) : void
Properties_AddItemToDictionary_ItemPresent ( ) : void
Properties_Get_CountIsZero ( ) : void
ReceiveDataTimeout_SetInfiniteValue_NoExceptionThrown ( ) : void
ReceiveDataTimeout_SetNegativeValue_ThrowsArgumentOutOfRangeException ( ) : void
ReceiveDataTimeout_SetTooLargeValue_ThrowsArgumentOutOfRangeException ( ) : void
ReceiveDataTimeout_SetZeroValue_ThrowsArgumentOutOfRangeException ( ) : void
ReceiveHeadersTimeout_SetInfiniteValue_NoExceptionThrown ( ) : void
ReceiveHeadersTimeout_SetNegativeValue_ThrowsArgumentOutOfRangeException ( ) : void
ReceiveHeadersTimeout_SetTooLargeValue_ThrowsArgumentOutOfRangeException ( ) : void
ReceiveHeadersTimeout_SetZeroValue_ThrowsArgumentOutOfRangeException ( ) : void
SendAsync_AutomaticProxySupportAndUseDefaultWebProxy_ExpectedWinHttpSessionProxySettings ( ) : void
SendAsync_AutomaticProxySupportAndUseWinInetSettings_ExpectedWinHttpSessionProxySettings ( ) : void
SendAsync_MultipleCallsWithDispose_NoHandleLeaksManuallyVerifiedUsingLogging ( ) : void
SendAsync_NoAutomaticProxySupportAndUseWinInetSettingsWithAutoDetectButPACFileNotDetectedOnNetwork_ExpectedWinHttpProxySettings ( ) : void
SendAsync_NoAutomaticProxySupportAndUseWinInetSettingsWithAutoDetectSettingAndManualSettingButPACFileNotFoundOnNetwork_ExpectedWinHttpProxySettings ( ) : void
SendAsync_NoAutomaticProxySupportAndUseWinInetSettingsWithAutoDetectSetting_ExpectedWinHttpProxySettings ( ) : void
SendAsync_NoAutomaticProxySupportAndUseWinInetSettingsWithEmptySettings_ExpectedWinHttpProxySettings ( ) : void
SendAsync_NoAutomaticProxySupportAndUseWinInetSettingsWithManualSettingsOnly_ExpectedWinHttpProxySettings ( ) : void
SendAsync_NoAutomaticProxySupportAndUseWinInetSettingsWithMissingRegistrySettings_ExpectedWinHttpProxySettings ( ) : void
SendAsync_NoWinHttpDecompressionSupportAndResponseBodyIsDeflateCompressed_ExpectedResponse ( ) : Task
SendAsync_NoWinHttpDecompressionSupportAndResponseBodyIsGZipCompressed_ExpectedResponse ( ) : Task
SendAsync_NoWinHttpDecompressionSupportAndResponseBodyIsNotCompressed_ExpectedResponse ( ) : Task
SendAsync_PostContentWithContentLengthAndChunkedEncodingHeaders_Success ( ) : Task
SendAsync_PostNoContentObjectWithChunkedEncodingHeader_ExpectInvalidOperationException ( ) : Task
SendAsync_ReadAllDataFromStreamingServer_AllDataRead ( ) : Task
SendAsync_ReadFromStreamingServer_PartialDataRead ( ) : Task
SendAsync_RequestWithCanceledToken_ExpectTaskCanceledException ( ) : Task
SendAsync_SlowGetRequestWithTimedCancellation_ExpectTaskCanceledException ( ) : Task
SendAsync_SlowPostRequestWithTimedCancellation_ExpectTaskCanceledException ( ) : Task
SendAsync_UseCustomProxyWithBypass_ExpectedWinHttpProxySettings ( ) : void
SendAsync_UseCustomProxyWithNoBypass_ExpectedWinHttpProxySettings ( ) : void
SendAsync_UseNoProxy_ExpectedWinHttpProxySettings ( ) : void
SendAsync_WinHttpOpenReturnsError_ExpectHttpRequestException ( ) : Task
SslProtocols_SetUsingInvalidEnum_Throws ( ) : void
SslProtocols_SetUsingNone_Success ( ) : void
SslProtocols_SetUsingSupported_Success ( SslProtocols protocol ) : void
SslProtocols_SetUsingUnsupported_Throws ( SslProtocols protocol ) : void
SslProtocols_SetUsingValidEnums_ExpectedWinHttpHandleSettings ( ) : void
WindowsProxyUsePolicy_SetDoNotUseProxy_NoExceptionThrown ( ) : void
WindowsProxyUsePolicy_SetUseCustomProxy_NoExceptionThrown ( ) : void
WindowsProxyUsePolicy_SetUseWinHttpProxy_NoExceptionThrown ( ) : void
WindowsProxyUsePolicy_SetUseWinWinInetProxy_NoExceptionThrown ( ) : void
WindowsProxyUsePolicy_SetUsingInvalidEnum_ThrowArgumentOutOfRangeException ( ) : void
WindowsProxyUsePolicy_UseCustomProxyAndNullProxy_ThrowsInvalidOperationException ( ) : Task
WindowsProxyUsePolicy_UseNonNullProxyAndIncorrectWindowsProxyUsePolicy_ThrowsInvalidOperationException ( ) : Task

Method Details

WinHttpHandlerTest() public method

public WinHttpHandlerTest ( ITestOutputHelper output ) : System
output ITestOutputHelper
return System