Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: safe_set.go
Generated by this command:
mockgen -destination mocks/safe_set_mock.go -source safe_set.go -package mocks
Package mocks is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: set.go
Generated by this command:
mockgen -destination mocks/set_mock.go -source set.go -package mocks
Package mocks is a generated GoMock package.
Index ¶
- type MockSafeSet
- func (m *MockSafeSet[T]) Add(arg0 T) bool
- func (m *MockSafeSet[T]) Clear()
- func (m *MockSafeSet[T]) Contains(arg0 ...T) bool
- func (m *MockSafeSet[T]) Delete(arg0 T)
- func (m *MockSafeSet[T]) EXPECT() *MockSafeSetMockRecorder[T]
- func (m *MockSafeSet[T]) Len() uint
- func (m *MockSafeSet[T]) Values() []T
- type MockSafeSetMockRecorder
- func (mr *MockSafeSetMockRecorder[T]) Add(arg0 any) *gomock.Call
- func (mr *MockSafeSetMockRecorder[T]) Clear() *gomock.Call
- func (mr *MockSafeSetMockRecorder[T]) Contains(arg0 ...any) *gomock.Call
- func (mr *MockSafeSetMockRecorder[T]) Delete(arg0 any) *gomock.Call
- func (mr *MockSafeSetMockRecorder[T]) Len() *gomock.Call
- func (mr *MockSafeSetMockRecorder[T]) Values() *gomock.Call
- type MockSet
- type MockSetMockRecorder
- func (mr *MockSetMockRecorder[T]) Add(arg0 any) *gomock.Call
- func (mr *MockSetMockRecorder[T]) Clear() *gomock.Call
- func (mr *MockSetMockRecorder[T]) Contains(arg0 ...any) *gomock.Call
- func (mr *MockSetMockRecorder[T]) Delete(arg0 any) *gomock.Call
- func (mr *MockSetMockRecorder[T]) Len() *gomock.Call
- func (mr *MockSetMockRecorder[T]) Values() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSafeSet ¶
type MockSafeSet[T comparable] struct { // contains filtered or unexported fields }
MockSafeSet is a mock of SafeSet interface.
func NewMockSafeSet ¶
func NewMockSafeSet[T comparable](ctrl *gomock.Controller) *MockSafeSet[T]
NewMockSafeSet creates a new mock instance.
func (*MockSafeSet[T]) Contains ¶
func (m *MockSafeSet[T]) Contains(arg0 ...T) bool
Contains mocks base method.
func (*MockSafeSet[T]) EXPECT ¶
func (m *MockSafeSet[T]) EXPECT() *MockSafeSetMockRecorder[T]
EXPECT returns an object that allows the caller to indicate expected use.
type MockSafeSetMockRecorder ¶
type MockSafeSetMockRecorder[T comparable] struct { // contains filtered or unexported fields }
MockSafeSetMockRecorder is the mock recorder for MockSafeSet.
func (*MockSafeSetMockRecorder[T]) Add ¶
func (mr *MockSafeSetMockRecorder[T]) Add(arg0 any) *gomock.Call
Add indicates an expected call of Add.
func (*MockSafeSetMockRecorder[T]) Clear ¶
func (mr *MockSafeSetMockRecorder[T]) Clear() *gomock.Call
Clear indicates an expected call of Clear.
func (*MockSafeSetMockRecorder[T]) Contains ¶
func (mr *MockSafeSetMockRecorder[T]) Contains(arg0 ...any) *gomock.Call
Contains indicates an expected call of Contains.
func (*MockSafeSetMockRecorder[T]) Delete ¶
func (mr *MockSafeSetMockRecorder[T]) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockSafeSetMockRecorder[T]) Len ¶
func (mr *MockSafeSetMockRecorder[T]) Len() *gomock.Call
Len indicates an expected call of Len.
func (*MockSafeSetMockRecorder[T]) Values ¶
func (mr *MockSafeSetMockRecorder[T]) Values() *gomock.Call
Values indicates an expected call of Values.
type MockSet ¶
type MockSet[T comparable] struct { // contains filtered or unexported fields }
MockSet is a mock of Set interface.
func NewMockSet ¶
func NewMockSet[T comparable](ctrl *gomock.Controller) *MockSet[T]
NewMockSet creates a new mock instance.
func (*MockSet[T]) EXPECT ¶
func (m *MockSet[T]) EXPECT() *MockSetMockRecorder[T]
EXPECT returns an object that allows the caller to indicate expected use.
type MockSetMockRecorder ¶
type MockSetMockRecorder[T comparable] struct { // contains filtered or unexported fields }
MockSetMockRecorder is the mock recorder for MockSet.
func (*MockSetMockRecorder[T]) Add ¶
func (mr *MockSetMockRecorder[T]) Add(arg0 any) *gomock.Call
Add indicates an expected call of Add.
func (*MockSetMockRecorder[T]) Clear ¶
func (mr *MockSetMockRecorder[T]) Clear() *gomock.Call
Clear indicates an expected call of Clear.
func (*MockSetMockRecorder[T]) Contains ¶
func (mr *MockSetMockRecorder[T]) Contains(arg0 ...any) *gomock.Call
Contains indicates an expected call of Contains.
func (*MockSetMockRecorder[T]) Delete ¶
func (mr *MockSetMockRecorder[T]) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockSetMockRecorder[T]) Len ¶
func (mr *MockSetMockRecorder[T]) Len() *gomock.Call
Len indicates an expected call of Len.
func (*MockSetMockRecorder[T]) Values ¶
func (mr *MockSetMockRecorder[T]) Values() *gomock.Call
Values indicates an expected call of Values.