C# 클래스 Microsoft.Protocols.TestSuites.Common.ActiveSyncClient

This class is partial class ActiveSyncClient, mainly aims to verify the response XML whether consistent with the schemas.
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites 1 사용 예제들

공개 메소드들

메소드 설명
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