메소드 | 설명 | |
---|---|---|
CheckOutFileByUser ( string fileUrl, string userName, string password, string domain ) : bool |
A method used to check out a file by specified user credential.
|
|
DeleteFiles ( string fileUrls ) : bool |
This method is used to remove the files.
|
|
Initialize ( ITestSite testSite ) : void |
Initialize the adapter instance.
|
|
UndoCheckOutFileByUser ( string fileUrl, string userName, string password, string domain ) : bool |
A method used to undo checkout for a file by specified user credential.
|
|
UploadTextFile ( string fileUrl ) : bool |
This method is used to upload a file to the specified full file URL. The file's content will be random generated, and encoded with UTF8.
|
메소드 | 설명 | |
---|---|---|
DeleteSingleFile ( string singleFileUrl ) : void |
This method is used to remove the file.
|
public CheckOutFileByUser ( string fileUrl, string userName, string password, string domain ) : bool | ||
fileUrl | string | A parameter represents the absolute URL of a file which will be check out by specified user. |
userName | string | A parameter represents the user name which will undo checkout the file. The file must be stored in the destination SUT which is indicated by "SutComputerName" property in "SharePointCommonConfiguration.deployment.ptfconfig" file. |
password | string | A parameter represents the password of the user. |
domain | string | A parameter represents the domain of the user. |
리턴 | bool |
public DeleteFiles ( string fileUrls ) : bool | ||
fileUrls | string | Specify the file URLs that will be removed. Each file URL is split by ";" symbol |
리턴 | bool |
public Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | A return value represents the ITestSite instance which contains the test context. |
리턴 | void |
public UndoCheckOutFileByUser ( string fileUrl, string userName, string password, string domain ) : bool | ||
fileUrl | string | A parameter represents the absolute URL of a file which will be undo checkout by specified user. |
userName | string | A parameter represents the user name which will check out the file. The file must be stored in the destination SUT which is indicated by "SutComputerName" property in "SharePointCommonConfiguration.deployment.ptfconfig" file. |
password | string | A parameter represents the password of the user. |
domain | string | A parameter represents the domain of the user. |
리턴 | bool |
public UploadTextFile ( string fileUrl ) : bool | ||
fileUrl | string | A parameter represents the absolute URL of a file, where the file will be uploaded. |
리턴 | bool |