C# 클래스 JenkinsTransport.UnitTests.TestHelpers.TestWebResponse

Implementation of a WebResponse for the purpose of unit testing
상속: System.Net.WebResponse, IDisposable
파일 보기 프로젝트 열기: csnate/cctray-jenkins-transport 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
GetResponseStream ( ) : Stream

See WebResponse.GetResponseStream.

TestWebResponse ( Stream responseStream ) : System

Initializes a new instance of TestWebResponse with the response stream to return.

TestWebResponse ( System.Xml.Linq.XDocument xdoc ) : System

Initialize a new instance of TestWebResponse using the supplied XDocument

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetResponseStream() 공개 메소드

See WebResponse.GetResponseStream.
public GetResponseStream ( ) : Stream
리턴 Stream

TestWebResponse() 공개 메소드

Initializes a new instance of TestWebResponse with the response stream to return.
public TestWebResponse ( Stream responseStream ) : System
responseStream Stream
리턴 System

TestWebResponse() 공개 메소드

Initialize a new instance of TestWebResponse using the supplied XDocument
public TestWebResponse ( System.Xml.Linq.XDocument xdoc ) : System
xdoc System.Xml.Linq.XDocument
리턴 System