C# 클래스 Microsoft.Protocols.TestSuites.MS_WSSREST.AdapterHelper

The class provides the methods to assist MS-WSSRESTAdapter.
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites

공개 메소드들

메소드 설명
AnalyseResponse ( XmlDocument response ) : List

Analyze http response.

GetResponseContent ( Stream stream ) : string

Get content from stream.

GetXmlData ( HttpWebResponse httpResponse ) : XmlDocument

Get xml content from http response.

Initialize ( ITestSite testSite ) : void

Initialize object of "Site".

메소드 상세

AnalyseResponse() 공개 정적인 메소드

Analyze http response.
public static AnalyseResponse ( XmlDocument response ) : List
response System.Xml.XmlDocument The http response.
리턴 List

GetResponseContent() 공개 정적인 메소드

Get content from stream.
public static GetResponseContent ( Stream stream ) : string
stream Stream The response stream.
리턴 string

GetXmlData() 공개 정적인 메소드

Get xml content from http response.
public static GetXmlData ( HttpWebResponse httpResponse ) : XmlDocument
httpResponse System.Net.HttpWebResponse The http web response.
리턴 System.Xml.XmlDocument

Initialize() 공개 정적인 메소드

Initialize object of "Site".
public static Initialize ( ITestSite testSite ) : void
testSite ITestSite A object provides logging, assertions, and SUT adapters for test code onto its execution context.
리턴 void