C# Class Microsoft.Protocols.TestSuites.MS_COPYS.TestSuiteManageHelper

This class used to support required functions for test class initialization and clean up.
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Public Methods

Method Description
AcceptServerCertificate ( ) : void

A method used to accept server certificate if current transport type is HTTPS

GetSoapProtoclVersionByCurrentSetting ( ) : SoapProtocolVersion

A method is used to get SOAP version for proxy class. It is used to for "SoapVersion" property of proxy class.

Initialize ( ITestSite testSiteInstance ) : void

A method used to initialize the helper. It will get necessary values from configuration properties.

Private Methods

Method Description
CheckInitializationStatus ( ) : void

A method used to check the helper whether has been initialized.

Method Details

AcceptServerCertificate() public static method

A method used to accept server certificate if current transport type is HTTPS
public static AcceptServerCertificate ( ) : void
return void

GetSoapProtoclVersionByCurrentSetting() public static method

A method is used to get SOAP version for proxy class. It is used to for "SoapVersion" property of proxy class.
public static GetSoapProtoclVersionByCurrentSetting ( ) : SoapProtocolVersion
return SoapProtocolVersion

Initialize() public static method

A method used to initialize the helper. It will get necessary values from configuration properties.
public static Initialize ( ITestSite testSiteInstance ) : void
testSiteInstance ITestSite A parameter represents the ITestSite instance.
return void