C# Класс Microsoft.Protocol.TestSuites.Smbd.TestSuite.Smb2OverRdmaChannel

Наследование: Microsoft.Protocols.TestTools.TestClassBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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 )

Защищенные методы

Метод Описание
TestCleanup ( ) : void
TestInitialize ( ) : void

Приватные методы

Метод Описание
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

Описание методов

InitSmbdConnectionForTestCases() публичный Метод

public InitSmbdConnectionForTestCases ( string fileName ) : void
fileName string
Результат void

LogSmbdEndpointEvent() публичный Метод

public LogSmbdEndpointEvent ( string log ) : void
log string
Результат void

ReadOverRdma() публичный Метод

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.
Результат void

TestCleanup() защищенный Метод

protected TestCleanup ( ) : void
Результат void

TestInitialize() защищенный Метод

protected TestInitialize ( ) : void
Результат void

ValidateFileContent() публичный Метод

public ValidateFileContent ( byte content, uint fileSize ) : void
content byte
fileSize uint
Результат void

WriteOverRdma() публичный Метод

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
Результат void