C# Class TestLibrary.TestUtils.IDocumentAssertUtils

Afficher le fichier Open project: OpenDataSpace/CmisSync

Méthodes publiques

Méthode Description
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

Method Details

AssertThatIfContentHashExistsItIsEqualTo() public static méthode

public static AssertThatIfContentHashExistsItIsEqualTo ( this doc, byte content, string msg = null ) : void
doc this
content byte
msg string
Résultat void

AssertThatIfContentHashExistsItIsEqualTo() public static méthode

public static AssertThatIfContentHashExistsItIsEqualTo ( this doc, string content, string msg = null ) : void
doc this
content string
msg string
Résultat void

AssertThatIfContentHashExistsItIsEqualToHash() public static méthode

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

ComputeSha1Hash() public static méthode

public static ComputeSha1Hash ( byte content ) : byte[]
content byte
Résultat byte[]

ComputeSha1Hash() public static méthode

public static ComputeSha1Hash ( string content ) : byte[]
content string
Résultat byte[]

VerifyThatIfTimeoutIsExceededContentHashIsEqualTo() public static méthode

public static VerifyThatIfTimeoutIsExceededContentHashIsEqualTo ( this doc, string content, int timeoutInSeconds = 3600 ) : bool
doc this
content string
timeoutInSeconds int
Résultat bool