C# Class Microsoft.Protocols.TestSuites.MS_WSSREST.AdapterHelper

The class provides the methods to assist MS-WSSRESTAdapter.
Afficher le fichier Open project: OfficeDev/Interop-TestSuites

Méthodes publiques

Méthode Description
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".

Method Details

AnalyseResponse() public static méthode

Analyze http response.
public static AnalyseResponse ( XmlDocument response ) : List
response System.Xml.XmlDocument The http response.
Résultat List

GetResponseContent() public static méthode

Get content from stream.
public static GetResponseContent ( Stream stream ) : string
stream Stream The response stream.
Résultat string

GetXmlData() public static méthode

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

Initialize() public static méthode

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.
Résultat void