Method | Description | |
---|---|---|
ConstructHttpBody ( string timeStamp ) : string |
Construct the HTTP XML Body that is used in HTTP PROPFIND method request, the HTTP XML body includes Repl:repl Element Collection and Repl:collblob Element, the value of Repl:collblob Element is the time stamp in the input parameter "timeStamp".
|
|
ConstructHttpHeaders ( string depthValue ) : |
Construct the HTTP Headers and values that is used in HTTP PROPFIND method request, set the value of "Depth" header as the input parameter "depthValue".
|
|
GetUtcFormatString ( System.DateTime dateTime ) : string |
Construct a string that conforms to the [ISO-8601] standard based on the value of input date time object. Such as: 1969-01-01T12:00:00Z
|
Method | Description | |
---|---|---|
ClassCleanup ( ) : void | ||
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void | ||
FindSpecialResource ( |
Try to find the special resource in the resource list.
|
|
GetValidResourceUnderMultistatusElement ( |
This method is used to get the valid resource under the "DAV:multistatus" element collection in the HTTP body of response, and record these valid resource in the "resourceList". A valid resource must include following two elements with none-empty value. DAV:href DAV:status And a valid resource can also include the element DAV:getlastmodified.
|
|
MSWDVMODUU_S03_TC01_PropFindExtension_Resource ( ) : void | ||
MSWDVMODUU_S03_TC02_PropFindExtension_Resource_5Minutes ( ) : void | ||
MSWDVMODUU_S03_TC03_PropFindExtension_Resource_Depth ( ) : void | ||
MSWDVMODUU_S03_TC04_PropFindExtension_Resource_Descendant ( ) : void | ||
MSWDVMODUU_S03_TC05_PropFindExtension_Repl ( ) : void | ||
PutNewFileIntoServer ( string destinationUri, string filePath ) : bool |
Call HTTP PUT method to upload a file into the server.
|
protected static ConstructHttpBody ( string timeStamp ) : string | ||
timeStamp | string | The time stamp that is used in the HTTP body |
return | string |
protected static ConstructHttpHeaders ( string depthValue ) : |
||
depthValue | string | The value of depth header |
return |
protected static GetUtcFormatString ( System.DateTime dateTime ) : string | ||
dateTime | System.DateTime | The object that includes the date time information |
return | string |