mock_hash

package
v0.0.0-...-7fbd4a2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock_hash is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHash

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

MockHash is a mock of Hash interface.

func NewMockHash

func NewMockHash(ctrl *gomock.Controller) *MockHash

NewMockHash creates a new mock instance.

func (*MockHash) BlockSize

func (m *MockHash) BlockSize() int

BlockSize mocks base method.

func (*MockHash) EXPECT

func (m *MockHash) EXPECT() *MockHashMockRecorder

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

func (*MockHash) Reset

func (m *MockHash) Reset()

Reset mocks base method.

func (*MockHash) Size

func (m *MockHash) Size() int

Size mocks base method.

func (*MockHash) Sum

func (m *MockHash) Sum(arg0 []byte) []byte

Sum mocks base method.

func (*MockHash) Write

func (m *MockHash) Write(arg0 []byte) (int, error)

Write mocks base method.

type MockHashMockRecorder

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

MockHashMockRecorder is the mock recorder for MockHash.

func (*MockHashMockRecorder) BlockSize

func (mr *MockHashMockRecorder) BlockSize() *gomock.Call

BlockSize indicates an expected call of BlockSize.

func (*MockHashMockRecorder) Reset

func (mr *MockHashMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset.

func (*MockHashMockRecorder) Size

func (mr *MockHashMockRecorder) Size() *gomock.Call

Size indicates an expected call of Size.

func (*MockHashMockRecorder) Sum

func (mr *MockHashMockRecorder) Sum(arg0 interface{}) *gomock.Call

Sum indicates an expected call of Sum.

func (*MockHashMockRecorder) Write

func (mr *MockHashMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

Jump to

Keyboard shortcuts

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