C# Class Microsoft.Protocols.TestSuites.Common.ActiveSyncClient

This class is partial class ActiveSyncClient, mainly aims to verify the response XML whether consistent with the schemas.
Datei anzeigen Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
ValidateResponseSchema ( string decodeXMLstring, ITestSite testSite ) : void

The schema validation for the XML string.

Private Methods

Method Description
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.

Method Details

ValidateResponseSchema() public method

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.
return void