C# Class Microsoft.Protocols.TestSuites.MS_WOPI.MS_WOPI_S06_ServerTime

Inheritance: Microsoft.Protocols.TestSuites.SharedTestSuite.S06_ServerTime
显示文件 Open project: OfficeDev/Interop-TestSuites

Protected Methods

Method Description
InitializeContext ( string requestFileUrl, string userName, string password, string domain ) : void

This method is used to get WOPI token and add headers.

MergeConfigurationFile ( ITestSite site ) : void

This method is used to merge the configuration of the WOPI and FSSHTTP.

Private Methods

Method Description
MSWOPISharedTestClassCleanup ( ) : void
MSWOPISharedTestClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void
TestCaseLevelInitializeMethod ( ) : void

Method Details

InitializeContext() protected method

This method is used to get WOPI token and add headers.
protected InitializeContext ( string requestFileUrl, string userName, string password, string domain ) : void
requestFileUrl string A parameter represents the file URL.
userName string A parameter represents the user name we used.
password string A parameter represents the password of the user.
domain string A parameter represents the domain.
return void

MergeConfigurationFile() protected method

This method is used to merge the configuration of the WOPI and FSSHTTP.
protected MergeConfigurationFile ( ITestSite site ) : void
site ITestSite A parameter represents the site.
return void