C# Класс Microsoft.Protocols.TestSuites.SharedAdapter.SubResponseValidationWrapper

This class is used to validate the schema for each specified sub response.
Показать файл Открыть проект

Открытые методы

Метод Описание
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