C# 클래스 System.Net.Tests.HttpWebRequestTest

파일 보기 프로젝트 열기: dotnet/corefx

공개 프로퍼티들

프로퍼티 타입 설명
EchoServers object[][]
StatusCodeServers object[][]

공개 메소드들

메소드 설명
HttpWebRequestTest ( ITestOutputHelper output ) : System.IO

비공개 메소드들

메소드 설명
Abort_BeginGetRequestStreamThenAbort_EndGetRequestStreamThrowsWebException ( Uri remoteServer ) : void
Abort_BeginGetResponseThenAbort_EndGetResponseThrowsWebException ( Uri remoteServer ) : void
Abort_BeginGetResponseThenAbort_ResponseCallbackCalledBeforeAbortReturns ( Uri remoteServer ) : void
Abort_BeginGetResponseUsingNoCallbackThenAbort_Success ( Uri remoteServer ) : void
Abort_CreateRequestThenAbort_Success ( Uri remoteServer ) : void
Accept_SetThenGetEmptyValue_ExpectNull ( Uri remoteServer ) : void
Accept_SetThenGetNullValue_ExpectNull ( Uri remoteServer ) : void
Accept_SetThenGetValidValue_ExpectSameValue ( Uri remoteServer ) : void
AllowReadStreamBuffering_SetFalseThenGet_ExpectFalse ( Uri remoteServer ) : void
AllowReadStreamBuffering_SetTrueThenGet_ExpectTrue ( Uri remoteServer ) : void
BeginGetRequestStream_CreatePostRequestThenAbort_ThrowsWebException ( Uri remoteServer ) : void
BeginGetRequestStream_CreatePostRequestThenCallTwice_ThrowsInvalidOperationException ( Uri remoteServer ) : void
BeginGetRequestStream_CreateRequestThenBeginGetResponsePrior_ThrowsInvalidOperationException ( Uri remoteServer ) : void
BeginGetRequestStream_UseCONNECTVerb_ThrowsProtocolViolationException ( Uri remoteServer ) : void
BeginGetRequestStream_UseGETVerb_ThrowsProtocolViolationException ( Uri remoteServer ) : void
BeginGetRequestStream_UseHEADVerb_ThrowsProtocolViolationException ( Uri remoteServer ) : void
BeginGetResponse_CreatePostRequestThenAbort_ThrowsWebException ( Uri remoteServer ) : void
BeginGetResponse_CreateRequestThenCallTwice_ThrowsInvalidOperationException ( Uri remoteServer ) : void
ContentLength_Get_ExpectSameAsGetResponseStream ( Uri remoteServer ) : Task
ContentType_AddHeaderWithNoContent_SendRequest_HeaderGetsSent ( Uri remoteServer ) : Task
ContentType_SetThenGetEmptyValue_ExpectNull ( Uri remoteServer ) : void
ContentType_SetThenGet_ExpectSameValue ( Uri remoteServer ) : void
ContinueTimeout_SetNegativeOne_Success ( Uri remoteServer ) : void
ContinueTimeout_SetNegativeTwo_ThrowsArgumentOutOfRangeException ( Uri remoteServer ) : void
ContinueTimeout_SetThenGetZero_ExpectZero ( Uri remoteServer ) : void
Credentials_SetDefaultCredentialsThenGet_ValuesMatch ( Uri remoteServer ) : void
Credentials_SetExplicitCredentialsThenGet_ValuesMatch ( Uri remoteServer ) : void
Ctor_CreateHttpWithString_ExpectNotNull ( Uri remoteServer ) : void
Ctor_CreateHttpWithUri_ExpectNotNull ( Uri remoteServer ) : void
Ctor_VerifyDefaults_Success ( Uri remoteServer ) : void
GetRequestStreamAsync_SetPOSTThenGet_ExpectNotNull ( Uri remoteServer ) : Task
GetRequestStreamAsync_WriteAndDisposeRequestStreamThenOpenRequestStream_ThrowsArgumentException ( Uri remoteServer ) : Task
GetResponseAsync_GetResponseStream_ContainsHost ( Uri remoteServer ) : Task
GetResponseAsync_GetResponseStream_ExpectNotNull ( Uri remoteServer ) : Task
GetResponseAsync_PostRequestStream_ContainsData ( Uri remoteServer ) : Task
GetResponseAsync_ResourceNotFound_ThrowsWebException ( Uri remoteServer ) : Task
GetResponseAsync_ServerNameNotInDns_ThrowsWebException ( ) : void
GetResponseAsync_UseDefaultCredentials_ExpectSuccess ( Uri remoteServer ) : Task
HaveResponse_GetResponseAsync_ExpectTrue ( Uri remoteServer ) : Task
Headers_GetResponseHeaders_ContainsExpectedValue ( Uri remoteServer ) : Task
Method_SetThenGetToGET_ExpectSameValue ( Uri remoteServer ) : void
Method_SetThenGetToPOST_ExpectSameValue ( Uri remoteServer ) : void
Proxy_GetDefault_ExpectNotNull ( Uri remoteServer ) : void
RequestStreamCallback ( IAsyncResult asynchronousResult ) : void
RequestUri_CreateHttpThenGet_ExpectSameUri ( Uri remoteServer ) : void
ResponseCallback ( IAsyncResult asynchronousResult ) : void
ResponseUri_GetResponseAsync_ExpectSameUri ( Uri remoteServer ) : Task
SimpleScenario_UseGETVerb_Success ( Uri remoteServer ) : Task
SimpleScenario_UsePOSTVerb_Success ( Uri remoteServer ) : Task
SupportsCookieContainer_GetDefault_ExpectTrue ( Uri remoteServer ) : void
UseDefaultCredentials_SetFalse_CredentialsNull ( Uri remoteServer ) : void
UseDefaultCredentials_SetTrue_CredentialsEqualsDefaultCredentials ( Uri remoteServer ) : void

메소드 상세

HttpWebRequestTest() 공개 메소드

public HttpWebRequestTest ( ITestOutputHelper output ) : System.IO
output ITestOutputHelper
리턴 System.IO

프로퍼티 상세

EchoServers 공개적으로 정적으로 프로퍼티

public static object[][] EchoServers
리턴 object[][]

StatusCodeServers 공개적으로 정적으로 프로퍼티

public static object[][] StatusCodeServers
리턴 object[][]