C# Class Microsoft.Protocols.TestSuites.MS_OXCPERM.MS_OXCPERMSUTControlAdapter

The Implementation of the SUT Control Adapter interface.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase, IMS_OXCPERMSUTControlAdapter
显示文件 Open project: OfficeDev/Interop-TestSuites

Public Methods

Method Description
GetUserFreeBusyStatus ( string testUserName, string password ) : string

Gets the free/busy status appointment information for User2 (as specified in ptfconfig) through testUserName's account.

Initialize ( ITestSite testSite ) : void

Initialize the adapter.

Private Methods

Method Description
AcceptServerCertificate ( ) : void

If the SOAP over HTTPS is used as transport, the adapter uses this function to avoid closing base connection. Local client will accept any valid server certificate after executing this function.

ValidateServerCertificate ( object sender, X509Certificate certificate, X509Chain chain, System sslPolicyErrors ) : bool

Verify the remote Secure Sockets Layer (SSL) certificate used for authentication. In adapter, this method always return true, make client can communicate with server under HTTPS without a certification.

Method Details

GetUserFreeBusyStatus() public method

Gets the free/busy status appointment information for User2 (as specified in ptfconfig) through testUserName's account.
public GetUserFreeBusyStatus ( string testUserName, string password ) : string
testUserName string The user who gets the free/busy status information.
password string The testUserName's password.
return string

Initialize() public method

Initialize the adapter.
public Initialize ( ITestSite testSite ) : void
testSite ITestSite Test site.
return void