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

Inheritance: Microsoft.Protocols.TestTools.TestClassBase
Mostrar archivo Open project: Microsoft/WindowsProtocolTestSuites

Public Methods

Method Description
BasicNegotiate ( ushort creditsRequested, uint preferredSendSize, uint maxReceiveSize, uint maxFragmentedSize, SmbdNegotiateResponse &response ) : void
LogSmbdEndpointEvent ( string log ) : void
NegativeNegotiate ( ushort creditsRequested, uint preferredSendSize, uint maxReceiveSize, uint maxFragmentSize ) : void
NegotiateBasicChecker ( SmbdNegotiateResponse response, ushort creditsRequested, uint maxReceiveSize, uint preferredSendSize, uint maxFragmentedSize ) : void
Negotiate_Version ( SmbdVersion minVer, SmbdVersion maxVer ) : void

Protected Methods

Method Description
TestCleanup ( ) : void
TestInitialize ( ) : void

Private Methods

Method Description
BVT_SmbdNegotiate_Basic ( ) : void
ClassCleanup ( ) : void
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext context ) : void
SmbdNegotiate_DisconnectAfterNegotiate ( ) : void
SmbdNegotiate_NegativeParameter_CreditsRequested ( ) : void
SmbdNegotiate_NegativeParameter_MaxFragmentedSize ( ) : void
SmbdNegotiate_NegativeParameter_MaxReceiveSize ( ) : void
SmbdNegotiate_NegotiationTimer ( ) : void
SmbdNegotiate_NegotiationTimer_Timeout ( ) : void
SmbdNegotiate_PreferredSendSizeLessThan128 ( ) : void
SmbdNegotiate_PreferredSendSizeMaxValue ( ) : void
SmbdNegotiate_PreferredSendSizeWithZero ( ) : void
SmbdNegotiate_Redundancy ( ) : void
SmbdNegotiate_UncompletedMessage ( ) : void
SmbdNegotiate_VersionRangeCover0x0100_EqualMaxVersion ( ) : void
SmbdNegotiate_VersionRangeCover0x0100_EqualMinVersion ( ) : void
SmbdNegotiate_VersionRangeCover0x0100_EqualMinVersionAndMaxVersion ( ) : void
SmbdNegotiate_VersionRangeCover0x0100_InMiddle ( ) : void
SmbdNegotiate_VersionRangeNotCover0x0100_LargerThanMaxVersion ( ) : void
SmbdNegotiate_VersionRangeNotCover0x0100_LessThanMinVersion ( ) : void

Method Details

BasicNegotiate() public method

public BasicNegotiate ( ushort creditsRequested, uint preferredSendSize, uint maxReceiveSize, uint maxFragmentedSize, SmbdNegotiateResponse &response ) : void
creditsRequested ushort
preferredSendSize uint
maxReceiveSize uint
maxFragmentedSize uint
response Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smbd.SmbdNegotiateResponse
return void

LogSmbdEndpointEvent() public method

public LogSmbdEndpointEvent ( string log ) : void
log string
return void

NegativeNegotiate() public method

public NegativeNegotiate ( ushort creditsRequested, uint preferredSendSize, uint maxReceiveSize, uint maxFragmentSize ) : void
creditsRequested ushort
preferredSendSize uint
maxReceiveSize uint
maxFragmentSize uint
return void

NegotiateBasicChecker() public method

public NegotiateBasicChecker ( SmbdNegotiateResponse response, ushort creditsRequested, uint maxReceiveSize, uint preferredSendSize, uint maxFragmentedSize ) : void
response Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smbd.SmbdNegotiateResponse
creditsRequested ushort
maxReceiveSize uint
preferredSendSize uint
maxFragmentedSize uint
return void

Negotiate_Version() public method

public Negotiate_Version ( SmbdVersion minVer, SmbdVersion maxVer ) : void
minVer SmbdVersion
maxVer SmbdVersion
return void

TestCleanup() protected method

protected TestCleanup ( ) : void
return void

TestInitialize() protected method

protected TestInitialize ( ) : void
return void