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

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

Méthodes publiques

Méthode 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

Méthodes protégées

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

Private Methods

Méthode 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 méthode

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
Résultat void

LogSmbdEndpointEvent() public méthode

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

NegativeNegotiate() public méthode

public NegativeNegotiate ( ushort creditsRequested, uint preferredSendSize, uint maxReceiveSize, uint maxFragmentSize ) : void
creditsRequested ushort
preferredSendSize uint
maxReceiveSize uint
maxFragmentSize uint
Résultat void

NegotiateBasicChecker() public méthode

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
Résultat void

Negotiate_Version() public méthode

public Negotiate_Version ( SmbdVersion minVer, SmbdVersion maxVer ) : void
minVer SmbdVersion
maxVer SmbdVersion
Résultat void

TestCleanup() protected méthode

protected TestCleanup ( ) : void
Résultat void

TestInitialize() protected méthode

protected TestInitialize ( ) : void
Résultat void