C# Class Microsoft.Protocols.TestSuites.MS_WDVMODUU.TestSuiteBase

Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Show file Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Protected Methods

Method Description
DeleteTheFileInTheServer ( string destinationUri ) : bool

Delete the file in the internal array list "arrayListOfDeleteFile" from the server.

GetLocalFileContent ( string fileName ) : byte[]

Retrieve a byte array contains the content of the given file.

RemoveFileUriFromDeleteList ( string fileUri ) : void

Remove the file URI from the internal array list "arrayListOfDeleteFile".

Private Methods

Method Description
TestCaseCleanup ( ) : void
TestCaseInitialize ( ) : void

Method Details

DeleteTheFileInTheServer() protected method

Delete the file in the internal array list "arrayListOfDeleteFile" from the server.
protected DeleteTheFileInTheServer ( string destinationUri ) : bool
destinationUri string The file URI that will be deleted from the server.
return bool

GetLocalFileContent() protected method

Retrieve a byte array contains the content of the given file.
protected GetLocalFileContent ( string fileName ) : byte[]
fileName string The name of file whose content is to be retrieved.
return byte[]

RemoveFileUriFromDeleteList() protected method

Remove the file URI from the internal array list "arrayListOfDeleteFile".
protected RemoveFileUriFromDeleteList ( string fileUri ) : void
fileUri string The file URI that need to be removed.
return void