C# 클래스 Microsoft.Protocols.TestSuites.MS_WDVMODUU.S03_PropFindExtension

상속: TestSuiteBase
파일 보기 프로젝트 열기: OfficeDev/Interop-TestSuites

보호된 메소드들

메소드 설명
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 ) : NameValueCollection

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

비공개 메소드들

메소드 설명
ClassCleanup ( ) : void
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void
FindSpecialResource ( ArrayList resourceList, string specialResourceUri ) : bool

Try to find the special resource in the resource list.

GetValidResourceUnderMultistatusElement ( XmlDocument xmlMultistatus ) : ArrayList

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.

메소드 상세

ConstructHttpBody() 보호된 정적인 메소드

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".
protected static ConstructHttpBody ( string timeStamp ) : string
timeStamp string The time stamp that is used in the HTTP body
리턴 string

ConstructHttpHeaders() 보호된 정적인 메소드

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".
protected static ConstructHttpHeaders ( string depthValue ) : NameValueCollection
depthValue string The value of depth header
리턴 System.Collections.Specialized.NameValueCollection

GetUtcFormatString() 보호된 정적인 메소드

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
protected static GetUtcFormatString ( System.DateTime dateTime ) : string
dateTime System.DateTime The object that includes the date time information
리턴 string