C# 클래스 TestLibrary.TestUtils.IDocumentAssertUtils

파일 보기 프로젝트 열기: OpenDataSpace/CmisSync

공개 메소드들

메소드 설명
AssertThatIfContentHashExistsItIsEqualTo ( this doc, byte content, string msg = null ) : void
AssertThatIfContentHashExistsItIsEqualTo ( this doc, string content, string msg = null ) : void
AssertThatIfContentHashExistsItIsEqualToHash ( this doc, byte expectedHash, string type = "SHA-1", string msg = null ) : void
ComputeSha1Hash ( byte content ) : byte[]
ComputeSha1Hash ( string content ) : byte[]
VerifyThatIfTimeoutIsExceededContentHashIsEqualTo ( this doc, string content, int timeoutInSeconds = 3600 ) : bool

메소드 상세

AssertThatIfContentHashExistsItIsEqualTo() 공개 정적인 메소드

public static AssertThatIfContentHashExistsItIsEqualTo ( this doc, byte content, string msg = null ) : void
doc this
content byte
msg string
리턴 void

AssertThatIfContentHashExistsItIsEqualTo() 공개 정적인 메소드

public static AssertThatIfContentHashExistsItIsEqualTo ( this doc, string content, string msg = null ) : void
doc this
content string
msg string
리턴 void

AssertThatIfContentHashExistsItIsEqualToHash() 공개 정적인 메소드

public static AssertThatIfContentHashExistsItIsEqualToHash ( this doc, byte expectedHash, string type = "SHA-1", string msg = null ) : void
doc this
expectedHash byte
type string
msg string
리턴 void

ComputeSha1Hash() 공개 정적인 메소드

public static ComputeSha1Hash ( byte content ) : byte[]
content byte
리턴 byte[]

ComputeSha1Hash() 공개 정적인 메소드

public static ComputeSha1Hash ( string content ) : byte[]
content string
리턴 byte[]

VerifyThatIfTimeoutIsExceededContentHashIsEqualTo() 공개 정적인 메소드

public static VerifyThatIfTimeoutIsExceededContentHashIsEqualTo ( this doc, string content, int timeoutInSeconds = 3600 ) : bool
doc this
content string
timeoutInSeconds int
리턴 bool