C# 클래스 TestLibrary.TestUtils.MockOfIFolderUtil

파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

메소드 설명
CreateRemoteFolderMock ( string id, string name, string path, string parentId = null, string changetoken = "changetoken", bool ignored = false ) : Mock
SetupChangeToken ( this folder, string changeToken ) : void
SetupChildren ( this folder ) : void

Setup the children of a folder.

SetupDescendants ( this folder ) : void

Setups the descendants.

SetupIgnore ( this folder ) : void
SetupIgnoreFlag ( this folder, bool ignored ) : void
SetupLastModificationDate ( this folder, System.DateTime modificationDate ) : void
VerifyUpdateLastModificationDate ( this folder, System.DateTime modificationDate, Moq.Times times, bool refresh = true ) : void
VerifyUpdateLastModificationDate ( this folder, System.DateTime modificationDate, bool refresh = true ) : void

비공개 메소드들

메소드 설명
VerifyDictContainsLastModification ( object>.IDictionary dic, System.DateTime modificationDate ) : bool

메소드 상세

CreateRemoteFolderMock() 공개 정적인 메소드

public static CreateRemoteFolderMock ( string id, string name, string path, string parentId = null, string changetoken = "changetoken", bool ignored = false ) : Mock
id string
name string
path string
parentId string
changetoken string
ignored bool
리턴 Mock

SetupChangeToken() 공개 정적인 메소드

public static SetupChangeToken ( this folder, string changeToken ) : void
folder this
changeToken string
리턴 void

SetupChildren() 공개 정적인 메소드

Setup the children of a folder.
public static SetupChildren ( this folder ) : void
folder this Folder containing the children.
리턴 void

SetupDescendants() 공개 정적인 메소드

Setups the descendants.
public static SetupDescendants ( this folder ) : void
folder this Folder to be setup.
리턴 void

SetupIgnore() 공개 정적인 메소드

public static SetupIgnore ( this folder ) : void
folder this
리턴 void

SetupIgnoreFlag() 공개 정적인 메소드

public static SetupIgnoreFlag ( this folder, bool ignored ) : void
folder this
ignored bool
리턴 void

SetupLastModificationDate() 공개 정적인 메소드

public static SetupLastModificationDate ( this folder, System.DateTime modificationDate ) : void
folder this
modificationDate System.DateTime
리턴 void

VerifyUpdateLastModificationDate() 공개 정적인 메소드

public static VerifyUpdateLastModificationDate ( this folder, System.DateTime modificationDate, Moq.Times times, bool refresh = true ) : void
folder this
modificationDate System.DateTime
times Moq.Times
refresh bool
리턴 void

VerifyUpdateLastModificationDate() 공개 정적인 메소드

public static VerifyUpdateLastModificationDate ( this folder, System.DateTime modificationDate, bool refresh = true ) : void
folder this
modificationDate System.DateTime
refresh bool
리턴 void