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

Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites

Méthodes publiques

Méthode Description
InitSmbdConnectionForTestCases ( string fileName ) : void
LogSmbdEndpointEvent ( string log ) : void
ReadOverRdma ( uint operationCount = 1 ) : void

Read file content over RDMA. The file content will be read with specific number of operations. The total size of the read content is SMB2 negotiated MaxReadSize, so content size in each SMB2 READ request is ( MaxReadSize / operationCount )

ValidateFileContent ( byte content, uint fileSize ) : void
WriteOverRdma ( uint operationCount = 1 ) : void

Write file content over RDMA. The file content will be writen with specific number of operations. The total size of the write content is SMB2 negotiated MaxWriteize, so content size in each SMB2 WRITE request is ( MaxWriteSize / operationCount )

Méthodes protégées

Méthode Description
TestCleanup ( ) : void
TestInitialize ( ) : void

Private Methods

Méthode Description
BVT_Smb2OverRdmaChannel_ReadLargeFile ( ) : void
BVT_Smb2OverRdmaChannel_WriteLargeFile ( ) : void
ClassCleanup ( ) : void
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext context ) : void
Smb2OverRdmaChannel_InvalidBufferDescriptor_DeregisteredBuffer ( ) : void
Smb2OverRdmaChannel_InvalidBufferDescriptor_Length ( ) : void
Smb2OverRdmaChannel_InvalidBufferDescriptor_Offset ( ) : void
Smb2OverRdmaChannel_InvalidBufferDescriptor_Token ( ) : void
Smb2OverRdmaChannel_ReadMultipleOperation ( ) : void
Smb2OverRdmaChannel_ReadWriteMultipleBufferDescriptorList ( ) : void
Smb2OverRdmaChannel_WriteMultipleOperation ( ) : void

Method Details

InitSmbdConnectionForTestCases() public méthode

public InitSmbdConnectionForTestCases ( string fileName ) : void
fileName string
Résultat void

LogSmbdEndpointEvent() public méthode

public LogSmbdEndpointEvent ( string log ) : void
log string
Résultat void

ReadOverRdma() public méthode

Read file content over RDMA. The file content will be read with specific number of operations. The total size of the read content is SMB2 negotiated MaxReadSize, so content size in each SMB2 READ request is ( MaxReadSize / operationCount )
public ReadOverRdma ( uint operationCount = 1 ) : void
operationCount uint Count of SMB2 READ operations.
Résultat void

TestCleanup() protected méthode

protected TestCleanup ( ) : void
Résultat void

TestInitialize() protected méthode

protected TestInitialize ( ) : void
Résultat void

ValidateFileContent() public méthode

public ValidateFileContent ( byte content, uint fileSize ) : void
content byte
fileSize uint
Résultat void

WriteOverRdma() public méthode

Write file content over RDMA. The file content will be writen with specific number of operations. The total size of the write content is SMB2 negotiated MaxWriteize, so content size in each SMB2 WRITE request is ( MaxWriteSize / operationCount )
public WriteOverRdma ( uint operationCount = 1 ) : void
operationCount uint count of SMB2 WRITE operation
Résultat void