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

Mostra file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Methods

Method 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 method

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

CreateRandomFileName() public static method

Create file name
public static CreateRandomFileName ( ) : string
return string

LogTestCaseDescription() public static method

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.
return void