Метод | Описание | |
---|---|---|
CheckExclusiveLockExist ( string file, string exclusiveLockId ) : bool |
This method is used to test whether the exclusive lock with the specified id exist on the file.
|
|
CheckExclusiveLockExist ( string file, string exclusiveLockId, string userName, string password, string domain ) : bool |
This method is used to test whether the exclusive lock with the specified id exist on the file.
|
|
CheckSchemaLockExist ( string file, string schemaLockId ) : bool |
This method is used to test whether the lock with the specified id exist on the file.
|
|
CheckSchemaLockExist ( string file, string schemaLockId, string userName, string password, string domain ) : bool |
This method is used to test whether the lock with the specified id exist on the file.
|
|
FetchEditorTable ( string file ) : EditorsTable |
This method is used to fetch editor table on the specified file.
|
|
InitializeContext ( string requestFileUrl, string userName, string password, string domain ) : void |
Override to initialize the shared context based on the specified request file URL, user name, password and domain.
|
|
IsPresentInCoauthSession ( string fileUrl, string clientId, string schemaLockId, string userName, string password, string domain ) : bool |
This method is used to check the user with specified client whether exist in a coauthoring session.
|
|
MergeConfigurationFile ( ITestSite site ) : void |
Override to merge the common configuration and should/man configuration file.
|
|
PrepareCoauthoringSession ( string fileUrl, string clientId, string schemaLockId, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : CoauthStatusType |
This method is used to prepare a coauthoring session on the file with the specified schema lock id and client id.
|
|
PrepareCoauthoringSession ( string fileUrl, string clientId, string schemaLockId, string userName, string password, string domain, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : CoauthStatusType |
This method is used to prepare a coauthoring session on the file with the specified schema lock id and client id.
|
|
PrepareExclusiveLock ( string fileUrl, string exclusiveLockId, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void |
This method is used to prepare an exclusive lock on the file with the specified exclusive lock id.
|
|
PrepareExclusiveLock ( string fileUrl, string exclusiveLockId, string userName, string password, string domain, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void |
This method is used to prepare an exclusive lock on the file with the specified exclusive lock id.
|
|
PrepareFile ( ) : string |
This method is used to upload a new Txt file to a random generated URL which is based on the current test case name.
|
|
PrepareJoinEditorsTable ( string fileUrl, string clientId ) : void |
This method is used to prepare to join a editors table on the file using the specified client id.
|
|
PrepareJoinEditorsTable ( string fileUrl, string clientId, string userName, string password, string domain, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void |
This method is used to prepare to join a editors table on the file using the specified client id.
|
|
PrepareSchemaLock ( string fileUrl, string clientId, string schemaLockId, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void |
This method is used to prepare a schema lock on the file with the specified schema lock id and client id.
|
|
PrepareSchemaLock ( string fileUrl, string clientId, string schemaLockId, string userName, string password, string domain, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void |
This method is used to prepare a schema lock on the file with the specified schema lock id and client id.
|
|
PrepareSharedLock ( string fileUrl, string clientId, string schemaLockId, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void |
This method is used to prepare a schema lock or coauthoring on the file with the specified schema lock id and client id.
|
|
PrepareSharedLock ( string fileUrl, string clientId, string schemaLockId, string userName, string password, string domain, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void |
This method is used to prepare a schema lock or coauthoring on the file with the specified schema lock id and client id.
|
Метод | Описание | |
---|---|---|
ClassCleanup ( ) : void | ||
ClassInitialize ( TestContext testContext ) : void | ||
MSFSSHTTP_FSSHTTPBTestCleanup ( ) : void | ||
MSFSSHTTP_FSSHTTPBTestInitialize ( ) : void |
protected CheckExclusiveLockExist ( string file, string exclusiveLockId ) : bool | ||
file | string | Specify the file. |
exclusiveLockId | string | Specify the exclusive lock. |
Результат | bool |
protected CheckExclusiveLockExist ( string file, string exclusiveLockId, string userName, string password, string domain ) : bool | ||
file | string | Specify the file. |
exclusiveLockId | string | Specify the exclusive lock. |
userName | string | Specify the user name of the user who calls cell storage service. |
password | string | Specify the password of the user who calls cell storage service. |
domain | string | Specify the domain of the user who calls cell storage service. |
Результат | bool |
protected CheckSchemaLockExist ( string file, string schemaLockId ) : bool | ||
file | string | Specify the file. |
schemaLockId | string | Specify the schemaLock ID. |
Результат | bool |
protected CheckSchemaLockExist ( string file, string schemaLockId, string userName, string password, string domain ) : bool | ||
file | string | Specify the file. |
schemaLockId | string | Specify the schemaLock ID. |
userName | string | Specify the user name of the user who calls cell storage service. |
password | string | Specify the password of the user who calls cell storage service. |
domain | string | Specify the domain of the user who calls cell storage service. |
Результат | bool |
protected FetchEditorTable ( string file ) : EditorsTable | ||
file | string | Specify the file URL. |
Результат | EditorsTable |
protected abstract InitializeContext ( string requestFileUrl, string userName, string password, string domain ) : void | ||
requestFileUrl | string | Specify the request file URL. |
userName | string | Specify the user name. |
password | string | Specify the password. |
domain | string | Specify the domain. |
Результат | void |
protected IsPresentInCoauthSession ( string fileUrl, string clientId, string schemaLockId, string userName, string password, string domain ) : bool | ||
fileUrl | string | Specify the file which is locked. |
clientId | string | Specify the client ID. |
schemaLockId | string | Specify the schemaLock ID. |
userName | string | Specify the user name of the user who calls cell storage service. |
password | string | Specify the password of the user who calls cell storage service. |
domain | string | Specify the domain of the user who calls cell storage service. |
Результат | bool |
protected abstract MergeConfigurationFile ( ITestSite site ) : void | ||
site | ITestSite | An instance of interface ITestSite which provides logging, assertions, /// and adapters for test code onto its execution context. |
Результат | void |
protected PrepareCoauthoringSession ( string fileUrl, string clientId, string schemaLockId, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : CoauthStatusType | ||
fileUrl | string | Specify the file which is locked. |
clientId | string | Specify the client ID. |
schemaLockId | string | Specify the schemaLock ID. |
timeout | int | Specify the timeout value. |
Результат | CoauthStatusType |
protected PrepareCoauthoringSession ( string fileUrl, string clientId, string schemaLockId, string userName, string password, string domain, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : CoauthStatusType | ||
fileUrl | string | Specify the file which is locked. |
clientId | string | Specify the client ID. |
schemaLockId | string | Specify the schemaLock ID. |
userName | string | Specify the user name of the user who calls cell storage service. |
password | string | Specify the password of the user who calls cell storage service. |
domain | string | Specify the domain of the user who calls cell storage service. |
timeout | int | Specify the timeout value. |
Результат | CoauthStatusType |
protected PrepareExclusiveLock ( string fileUrl, string exclusiveLockId, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void | ||
fileUrl | string | Specify the file which is locked. |
exclusiveLockId | string | Specify the exclusive lock id. |
timeout | int | Specify the timeout value. |
Результат | void |
protected PrepareExclusiveLock ( string fileUrl, string exclusiveLockId, string userName, string password, string domain, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void | ||
fileUrl | string | Specify the file which is locked. |
exclusiveLockId | string | Specify the exclusive lock id. |
userName | string | Specify the user name of the user who calls cell storage service. |
password | string | Specify the password of the user who calls cell storage service. |
domain | string | Specify the domain of the user who calls cell storage service. |
timeout | int | Specify the timeout value. |
Результат | void |
protected PrepareJoinEditorsTable ( string fileUrl, string clientId ) : void | ||
fileUrl | string | Specify the file. |
clientId | string | Specify the client ID. |
Результат | void |
protected PrepareJoinEditorsTable ( string fileUrl, string clientId, string userName, string password, string domain, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void | ||
fileUrl | string | Specify the file. |
clientId | string | Specify the client ID. |
userName | string | Specify the user name of the user who calls cell storage service. |
password | string | Specify the password of the user who calls cell storage service. |
domain | string | Specify the domain of the user who calls cell storage service. |
timeout | int | Specify the timeout value. |
Результат | void |
protected PrepareSchemaLock ( string fileUrl, string clientId, string schemaLockId, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void | ||
fileUrl | string | Specify the file which is locked. |
clientId | string | Specify the client ID. |
schemaLockId | string | Specify the schemaLock ID. |
timeout | int | Specify the timeout value. |
Результат | void |
protected PrepareSchemaLock ( string fileUrl, string clientId, string schemaLockId, string userName, string password, string domain, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void | ||
fileUrl | string | Specify the file which is locked. |
clientId | string | Specify the client ID. |
schemaLockId | string | Specify the schemaLock ID. |
userName | string | Specify the user name of the user who calls cell storage service. |
password | string | Specify the password of the user who calls cell storage service. |
domain | string | Specify the domain of the user who calls cell storage service. |
timeout | int | Specify the timeout value. |
Результат | void |
protected PrepareSharedLock ( string fileUrl, string clientId, string schemaLockId, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void | ||
fileUrl | string | Specify the file which is locked. |
clientId | string | Specify the client ID. |
schemaLockId | string | Specify the schemaLock ID. |
timeout | int | Specify the timeout value. |
Результат | void |
protected PrepareSharedLock ( string fileUrl, string clientId, string schemaLockId, string userName, string password, string domain, int timeout = SharedTestSuiteHelper.DefaultTimeOut ) : void | ||
fileUrl | string | Specify the file which is locked. |
clientId | string | Specify the client ID. |
schemaLockId | string | Specify the schemaLock ID. |
userName | string | Specify the user name of the user who calls cell storage service. |
password | string | Specify the password of the user who calls cell storage service. |
domain | string | Specify the domain of the user who calls cell storage service. |
timeout | int | Specify the timeout value. |
Результат | void |