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

A class that use to validate schema.
Show file Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
ValidateSchema ( object sender, CustomerEventArgs e ) : void

Validate the response xml.

ValidateUtil ( ITestSite testSite, bool throwException, bool performSchemaValidation, bool ignoreSoapFaultSchemaValidationForSoap12 ) : System.IO

Initializes a new instance of the ValidateUtil class with specified parameters.

Method Details

ValidateSchema() public method

Validate the response xml.
public ValidateSchema ( object sender, CustomerEventArgs e ) : void
sender object The source of the event.
e CustomerEventArgs An CustomerEventArgs that contains event data.
return void

ValidateUtil() public method

Initializes a new instance of the ValidateUtil class with specified parameters.
public ValidateUtil ( ITestSite testSite, bool throwException, bool performSchemaValidation, bool ignoreSoapFaultSchemaValidationForSoap12 ) : System.IO
testSite ITestSite Implements Microsoft.Protocols.TestTools.IAdapter.Site.
throwException bool Indicate that whether throw exception when schema validation not success.
performSchemaValidation bool Indicate that whether perform schema validation.
ignoreSoapFaultSchemaValidationForSoap12 bool Indicate that whether ignore schema validation for SOAP fault in SOAP1.2.
return System.IO