C# Class Microsoft.Protocol.TestSuites.Smbd.TestSuite.SmbdUtilities

Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Méthodes publiques

Méthode Description
CompareByteArray ( byte array1, byte array2 ) : bool

Compare two byte arrays

CreateRandomFileName ( ) : string

Create file name

LogTestCaseDescription ( ITestSite testSite ) : void

Add test case description to log

Method Details

CompareByteArray() public static méthode

Compare two byte arrays
public static CompareByteArray ( byte array1, byte array2 ) : bool
array1 byte Byte array 1.
array2 byte Byte array 2.
Résultat bool

CreateRandomFileName() public static méthode

Create file name
public static CreateRandomFileName ( ) : string
Résultat string

LogTestCaseDescription() public static méthode

Add test case description to log
public static LogTestCaseDescription ( ITestSite testSite ) : void
testSite ITestSite TestSite interface which provides logging, assertions, and SUT adapters for test.
Résultat void