C# 클래스 Microsoft.Protocols.TestSuites.SharedAdapter.SubResponseValidationWrapper

This class is used to validate the schema for each specified sub response.
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites

공개 메소드들

메소드 설명
Validate ( string rawResponse, ITestSite site ) : void

This method is used to validate the sub response according to the current record sub request token and sub request type.

비공개 메소드들

메소드 설명
ExtractSubResponseNode ( string rawResponse ) : XmlDocument

This method is used to get the corresponding sub response according to the current record sub request token.

InvokeCaptureCode ( object subResponse, ITestSite site ) : void

This method is used to invoke capture logic according the sub response type.

SerializeSubResponse ( XmlDocument subResponseDocument, ITestSite site ) : object

This method is used to serialize the sub response to a specified sub response instance.

메소드 상세

Validate() 공개 메소드

This method is used to validate the sub response according to the current record sub request token and sub request type.
public Validate ( string rawResponse, ITestSite site ) : void
rawResponse string Specify the raw XML string response returned by the protocol server.
site ITestSite An object provides logging, assertions, and SUT adapters for test code onto its execution context.
리턴 void