mocks

package
v0.0.0-...-ffe55c2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConnectionFlowController

type MockConnectionFlowController struct {
	// contains filtered or unexported fields
}

MockConnectionFlowController is a mock of ConnectionFlowController interface

func NewMockConnectionFlowController

func NewMockConnectionFlowController(ctrl *gomock.Controller) *MockConnectionFlowController

NewMockConnectionFlowController creates a new mock instance

func (*MockConnectionFlowController) AddBytesRead

func (m *MockConnectionFlowController) AddBytesRead(arg0 protocol.ByteCount)

AddBytesRead mocks base method

func (*MockConnectionFlowController) AddBytesSent

func (m *MockConnectionFlowController) AddBytesSent(arg0 protocol.ByteCount)

AddBytesSent mocks base method

func (*MockConnectionFlowController) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockConnectionFlowController) GetWindowUpdate

func (m *MockConnectionFlowController) GetWindowUpdate() protocol.ByteCount

GetWindowUpdate mocks base method

func (*MockConnectionFlowController) IsNewlyBlocked

func (m *MockConnectionFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)

IsNewlyBlocked mocks base method

func (*MockConnectionFlowController) SendWindowSize

func (m *MockConnectionFlowController) SendWindowSize() protocol.ByteCount

SendWindowSize mocks base method

func (*MockConnectionFlowController) UpdateSendWindow

func (m *MockConnectionFlowController) UpdateSendWindow(arg0 protocol.ByteCount)

UpdateSendWindow mocks base method

type MockConnectionFlowControllerMockRecorder

type MockConnectionFlowControllerMockRecorder struct {
	// contains filtered or unexported fields
}

MockConnectionFlowControllerMockRecorder is the mock recorder for MockConnectionFlowController

func (*MockConnectionFlowControllerMockRecorder) AddBytesRead

func (mr *MockConnectionFlowControllerMockRecorder) AddBytesRead(arg0 interface{}) *gomock.Call

AddBytesRead indicates an expected call of AddBytesRead

func (*MockConnectionFlowControllerMockRecorder) AddBytesSent

func (mr *MockConnectionFlowControllerMockRecorder) AddBytesSent(arg0 interface{}) *gomock.Call

AddBytesSent indicates an expected call of AddBytesSent

func (*MockConnectionFlowControllerMockRecorder) GetWindowUpdate

func (mr *MockConnectionFlowControllerMockRecorder) GetWindowUpdate() *gomock.Call

GetWindowUpdate indicates an expected call of GetWindowUpdate

func (*MockConnectionFlowControllerMockRecorder) IsNewlyBlocked

IsNewlyBlocked indicates an expected call of IsNewlyBlocked

func (*MockConnectionFlowControllerMockRecorder) SendWindowSize

SendWindowSize indicates an expected call of SendWindowSize

func (*MockConnectionFlowControllerMockRecorder) UpdateSendWindow

func (mr *MockConnectionFlowControllerMockRecorder) UpdateSendWindow(arg0 interface{}) *gomock.Call

UpdateSendWindow indicates an expected call of UpdateSendWindow

type MockCryptoSetup

type MockCryptoSetup struct {
	// contains filtered or unexported fields
}

MockCryptoSetup is a mock of CryptoSetup interface

func NewMockCryptoSetup

func NewMockCryptoSetup(ctrl *gomock.Controller) *MockCryptoSetup

NewMockCryptoSetup creates a new mock instance

func (*MockCryptoSetup) ChangeConnectionID

func (m *MockCryptoSetup) ChangeConnectionID(arg0 protocol.ConnectionID) error

ChangeConnectionID mocks base method

func (*MockCryptoSetup) Close

func (m *MockCryptoSetup) Close() error

Close mocks base method

func (*MockCryptoSetup) ConnectionState

func (m *MockCryptoSetup) ConnectionState() tls.ConnectionState

ConnectionState mocks base method

func (*MockCryptoSetup) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCryptoSetup) GetOpener

GetOpener mocks base method

func (*MockCryptoSetup) GetSealer

GetSealer mocks base method

func (*MockCryptoSetup) GetSealerWithEncryptionLevel

func (m *MockCryptoSetup) GetSealerWithEncryptionLevel(arg0 protocol.EncryptionLevel) (handshake.Sealer, error)

GetSealerWithEncryptionLevel mocks base method

func (*MockCryptoSetup) HandleMessage

func (m *MockCryptoSetup) HandleMessage(arg0 []byte, arg1 protocol.EncryptionLevel) bool

HandleMessage mocks base method

func (*MockCryptoSetup) Received1RTTAck

func (m *MockCryptoSetup) Received1RTTAck()

Received1RTTAck mocks base method

func (*MockCryptoSetup) RunHandshake

func (m *MockCryptoSetup) RunHandshake()

RunHandshake mocks base method

type MockCryptoSetupMockRecorder

type MockCryptoSetupMockRecorder struct {
	// contains filtered or unexported fields
}

MockCryptoSetupMockRecorder is the mock recorder for MockCryptoSetup

func (*MockCryptoSetupMockRecorder) ChangeConnectionID

func (mr *MockCryptoSetupMockRecorder) ChangeConnectionID(arg0 interface{}) *gomock.Call

ChangeConnectionID indicates an expected call of ChangeConnectionID

func (*MockCryptoSetupMockRecorder) Close

Close indicates an expected call of Close

func (*MockCryptoSetupMockRecorder) ConnectionState

func (mr *MockCryptoSetupMockRecorder) ConnectionState() *gomock.Call

ConnectionState indicates an expected call of ConnectionState

func (*MockCryptoSetupMockRecorder) GetOpener

func (mr *MockCryptoSetupMockRecorder) GetOpener(arg0 interface{}) *gomock.Call

GetOpener indicates an expected call of GetOpener

func (*MockCryptoSetupMockRecorder) GetSealer

func (mr *MockCryptoSetupMockRecorder) GetSealer() *gomock.Call

GetSealer indicates an expected call of GetSealer

func (*MockCryptoSetupMockRecorder) GetSealerWithEncryptionLevel

func (mr *MockCryptoSetupMockRecorder) GetSealerWithEncryptionLevel(arg0 interface{}) *gomock.Call

GetSealerWithEncryptionLevel indicates an expected call of GetSealerWithEncryptionLevel

func (*MockCryptoSetupMockRecorder) HandleMessage

func (mr *MockCryptoSetupMockRecorder) HandleMessage(arg0, arg1 interface{}) *gomock.Call

HandleMessage indicates an expected call of HandleMessage

func (*MockCryptoSetupMockRecorder) Received1RTTAck

func (mr *MockCryptoSetupMockRecorder) Received1RTTAck() *gomock.Call

Received1RTTAck indicates an expected call of Received1RTTAck

func (*MockCryptoSetupMockRecorder) RunHandshake

func (mr *MockCryptoSetupMockRecorder) RunHandshake() *gomock.Call

RunHandshake indicates an expected call of RunHandshake

type MockOpener

type MockOpener struct {
	// contains filtered or unexported fields
}

MockOpener is a mock of Opener interface

func NewMockOpener

func NewMockOpener(ctrl *gomock.Controller) *MockOpener

NewMockOpener creates a new mock instance

func (*MockOpener) DecryptHeader

func (m *MockOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)

DecryptHeader mocks base method

func (*MockOpener) EXPECT

func (m *MockOpener) EXPECT() *MockOpenerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOpener) Open

func (m *MockOpener) Open(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) ([]byte, error)

Open mocks base method

type MockOpenerMockRecorder

type MockOpenerMockRecorder struct {
	// contains filtered or unexported fields
}

MockOpenerMockRecorder is the mock recorder for MockOpener

func (*MockOpenerMockRecorder) DecryptHeader

func (mr *MockOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 interface{}) *gomock.Call

DecryptHeader indicates an expected call of DecryptHeader

func (*MockOpenerMockRecorder) Open

func (mr *MockOpenerMockRecorder) Open(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Open indicates an expected call of Open

type MockSealer

type MockSealer struct {
	// contains filtered or unexported fields
}

MockSealer is a mock of Sealer interface

func NewMockSealer

func NewMockSealer(ctrl *gomock.Controller) *MockSealer

NewMockSealer creates a new mock instance

func (*MockSealer) EXPECT

func (m *MockSealer) EXPECT() *MockSealerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSealer) EncryptHeader

func (m *MockSealer) EncryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)

EncryptHeader mocks base method

func (*MockSealer) Overhead

func (m *MockSealer) Overhead() int

Overhead mocks base method

func (*MockSealer) Seal

func (m *MockSealer) Seal(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) []byte

Seal mocks base method

type MockSealerMockRecorder

type MockSealerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSealerMockRecorder is the mock recorder for MockSealer

func (*MockSealerMockRecorder) EncryptHeader

func (mr *MockSealerMockRecorder) EncryptHeader(arg0, arg1, arg2 interface{}) *gomock.Call

EncryptHeader indicates an expected call of EncryptHeader

func (*MockSealerMockRecorder) Overhead

func (mr *MockSealerMockRecorder) Overhead() *gomock.Call

Overhead indicates an expected call of Overhead

func (*MockSealerMockRecorder) Seal

func (mr *MockSealerMockRecorder) Seal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Seal indicates an expected call of Seal

type MockSendAlgorithmWithDebugInfos

type MockSendAlgorithmWithDebugInfos struct {
	// contains filtered or unexported fields
}

MockSendAlgorithmWithDebugInfos is a mock of SendAlgorithmWithDebugInfos interface

func NewMockSendAlgorithmWithDebugInfos

func NewMockSendAlgorithmWithDebugInfos(ctrl *gomock.Controller) *MockSendAlgorithmWithDebugInfos

NewMockSendAlgorithmWithDebugInfos creates a new mock instance

func (*MockSendAlgorithmWithDebugInfos) CanSend

CanSend mocks base method

func (*MockSendAlgorithmWithDebugInfos) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSendAlgorithmWithDebugInfos) GetCongestionWindow

func (m *MockSendAlgorithmWithDebugInfos) GetCongestionWindow() protocol.ByteCount

GetCongestionWindow mocks base method

func (*MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart

func (m *MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart()

MaybeExitSlowStart mocks base method

func (*MockSendAlgorithmWithDebugInfos) OnPacketAcked

func (m *MockSendAlgorithmWithDebugInfos) OnPacketAcked(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount, arg3 time.Time)

OnPacketAcked mocks base method

func (*MockSendAlgorithmWithDebugInfos) OnPacketLost

func (m *MockSendAlgorithmWithDebugInfos) OnPacketLost(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount)

OnPacketLost mocks base method

func (*MockSendAlgorithmWithDebugInfos) OnPacketSent

OnPacketSent mocks base method

func (*MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout

func (m *MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout(arg0 bool)

OnRetransmissionTimeout mocks base method

func (*MockSendAlgorithmWithDebugInfos) TimeUntilSend

TimeUntilSend mocks base method

type MockSendAlgorithmWithDebugInfosMockRecorder

type MockSendAlgorithmWithDebugInfosMockRecorder struct {
	// contains filtered or unexported fields
}

MockSendAlgorithmWithDebugInfosMockRecorder is the mock recorder for MockSendAlgorithmWithDebugInfos

func (*MockSendAlgorithmWithDebugInfosMockRecorder) CanSend

func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) CanSend(arg0 interface{}) *gomock.Call

CanSend indicates an expected call of CanSend

func (*MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow

func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow() *gomock.Call

GetCongestionWindow indicates an expected call of GetCongestionWindow

func (*MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart

func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart() *gomock.Call

MaybeExitSlowStart indicates an expected call of MaybeExitSlowStart

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked

func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

OnPacketAcked indicates an expected call of OnPacketAcked

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketLost

func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketLost(arg0, arg1, arg2 interface{}) *gomock.Call

OnPacketLost indicates an expected call of OnPacketLost

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent

func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

OnPacketSent indicates an expected call of OnPacketSent

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout

func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout(arg0 interface{}) *gomock.Call

OnRetransmissionTimeout indicates an expected call of OnRetransmissionTimeout

func (*MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend

func (mr *MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend(arg0 interface{}) *gomock.Call

TimeUntilSend indicates an expected call of TimeUntilSend

type MockStreamFlowController

type MockStreamFlowController struct {
	// contains filtered or unexported fields
}

MockStreamFlowController is a mock of StreamFlowController interface

func NewMockStreamFlowController

func NewMockStreamFlowController(ctrl *gomock.Controller) *MockStreamFlowController

NewMockStreamFlowController creates a new mock instance

func (*MockStreamFlowController) Abandon

func (m *MockStreamFlowController) Abandon()

Abandon mocks base method

func (*MockStreamFlowController) AddBytesRead

func (m *MockStreamFlowController) AddBytesRead(arg0 protocol.ByteCount)

AddBytesRead mocks base method

func (*MockStreamFlowController) AddBytesSent

func (m *MockStreamFlowController) AddBytesSent(arg0 protocol.ByteCount)

AddBytesSent mocks base method

func (*MockStreamFlowController) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStreamFlowController) GetWindowUpdate

func (m *MockStreamFlowController) GetWindowUpdate() protocol.ByteCount

GetWindowUpdate mocks base method

func (*MockStreamFlowController) IsNewlyBlocked

func (m *MockStreamFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)

IsNewlyBlocked mocks base method

func (*MockStreamFlowController) SendWindowSize

func (m *MockStreamFlowController) SendWindowSize() protocol.ByteCount

SendWindowSize mocks base method

func (*MockStreamFlowController) UpdateHighestReceived

func (m *MockStreamFlowController) UpdateHighestReceived(arg0 protocol.ByteCount, arg1 bool) error

UpdateHighestReceived mocks base method

func (*MockStreamFlowController) UpdateSendWindow

func (m *MockStreamFlowController) UpdateSendWindow(arg0 protocol.ByteCount)

UpdateSendWindow mocks base method

type MockStreamFlowControllerMockRecorder

type MockStreamFlowControllerMockRecorder struct {
	// contains filtered or unexported fields
}

MockStreamFlowControllerMockRecorder is the mock recorder for MockStreamFlowController

func (*MockStreamFlowControllerMockRecorder) Abandon

Abandon indicates an expected call of Abandon

func (*MockStreamFlowControllerMockRecorder) AddBytesRead

func (mr *MockStreamFlowControllerMockRecorder) AddBytesRead(arg0 interface{}) *gomock.Call

AddBytesRead indicates an expected call of AddBytesRead

func (*MockStreamFlowControllerMockRecorder) AddBytesSent

func (mr *MockStreamFlowControllerMockRecorder) AddBytesSent(arg0 interface{}) *gomock.Call

AddBytesSent indicates an expected call of AddBytesSent

func (*MockStreamFlowControllerMockRecorder) GetWindowUpdate

func (mr *MockStreamFlowControllerMockRecorder) GetWindowUpdate() *gomock.Call

GetWindowUpdate indicates an expected call of GetWindowUpdate

func (*MockStreamFlowControllerMockRecorder) IsNewlyBlocked

func (mr *MockStreamFlowControllerMockRecorder) IsNewlyBlocked() *gomock.Call

IsNewlyBlocked indicates an expected call of IsNewlyBlocked

func (*MockStreamFlowControllerMockRecorder) SendWindowSize

func (mr *MockStreamFlowControllerMockRecorder) SendWindowSize() *gomock.Call

SendWindowSize indicates an expected call of SendWindowSize

func (*MockStreamFlowControllerMockRecorder) UpdateHighestReceived

func (mr *MockStreamFlowControllerMockRecorder) UpdateHighestReceived(arg0, arg1 interface{}) *gomock.Call

UpdateHighestReceived indicates an expected call of UpdateHighestReceived

func (*MockStreamFlowControllerMockRecorder) UpdateSendWindow

func (mr *MockStreamFlowControllerMockRecorder) UpdateSendWindow(arg0 interface{}) *gomock.Call

UpdateSendWindow indicates an expected call of UpdateSendWindow

Directories

Path Synopsis
Package mockackhandler is a generated GoMock package.
Package mockackhandler is a generated GoMock package.
Package mockquic is a generated GoMock package.
Package mockquic is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL