mocks

package
v2.1.43 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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

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]) Add

func (m *MockSafeSet[T]) Add(arg0 T) bool

Add mocks base method.

func (*MockSafeSet[T]) Clear

func (m *MockSafeSet[T]) Clear()

Clear mocks base method.

func (*MockSafeSet[T]) Contains

func (m *MockSafeSet[T]) Contains(arg0 ...T) bool

Contains mocks base method.

func (*MockSafeSet[T]) Delete

func (m *MockSafeSet[T]) Delete(arg0 T)

Delete 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.

func (*MockSafeSet[T]) Len

func (m *MockSafeSet[T]) Len() uint

Len mocks base method.

func (*MockSafeSet[T]) Values

func (m *MockSafeSet[T]) Values() []T

Values mocks base method.

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]) Add

func (m *MockSet[T]) Add(arg0 T) bool

Add mocks base method.

func (*MockSet[T]) Clear

func (m *MockSet[T]) Clear()

Clear mocks base method.

func (*MockSet[T]) Contains

func (m *MockSet[T]) Contains(arg0 ...T) bool

Contains mocks base method.

func (*MockSet[T]) Delete

func (m *MockSet[T]) Delete(arg0 T)

Delete mocks base method.

func (*MockSet[T]) EXPECT

func (m *MockSet[T]) EXPECT() *MockSetMockRecorder[T]

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

func (*MockSet[T]) Len

func (m *MockSet[T]) Len() uint

Len mocks base method.

func (*MockSet[T]) Values

func (m *MockSet[T]) Values() []T

Values mocks base method.

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.

Jump to

Keyboard shortcuts

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