C# Класс Microsoft.Protocols.TestSuites.Common.ActiveSyncClient

This class is partial class ActiveSyncClient, mainly aims to verify the response XML whether consistent with the schemas.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ValidateResponseSchema ( string decodeXMLstring, ITestSite testSite ) : void

The schema validation for the XML string.

Приватные методы

Метод Описание
GetTargetNamespace ( string schema ) : string

Get the target namespace of the schema

ReadXsdFile ( string fileName ) : string

Read the xsd file content

ValidationCallBack ( object sender, ValidationEventArgs args ) : void

The callback method that will handle XML schema validation events.

Описание методов

ValidateResponseSchema() публичный Метод

The schema validation for the XML string.
public ValidateResponseSchema ( string decodeXMLstring, ITestSite testSite ) : void
decodeXMLstring string The XML string which is decoded from WBXML format
testSite ITestSite An instance of interface ITestSite which provides logging, assertions, and adapters for test code onto its execution context.
Результат void