Documentation ¶
Overview ¶
Package list is a generated GoMock package.
Package list is a generated GoMock package.
Index ¶
- type Item
- type MockItem
- type MockItemMockRecorder
- type MockSortedList
- func (m *MockSortedList) Contains(arg0 Item) bool
- func (m *MockSortedList) EXPECT() *MockSortedListMockRecorder
- func (m *MockSortedList) Insert(arg0 Item)
- func (m *MockSortedList) Len() int
- func (m *MockSortedList) Range(arg0 func(Item) bool)
- func (m *MockSortedList) Remove(arg0 Item)
- func (m *MockSortedList) ReverseRange(fn func(Item) bool)
- type MockSortedListMockRecorder
- func (mr *MockSortedListMockRecorder) Contains(arg0 interface{}) *gomock.Call
- func (mr *MockSortedListMockRecorder) Insert(arg0 interface{}) *gomock.Call
- func (mr *MockSortedListMockRecorder) Len() *gomock.Call
- func (mr *MockSortedListMockRecorder) Range(arg0 interface{}) *gomock.Call
- func (mr *MockSortedListMockRecorder) Remove(arg0 interface{}) *gomock.Call
- func (mr *MockSortedListMockRecorder) ReverseRange(fn interface{}) *gomock.Call
- type MockSortedUniqueList
- func (m *MockSortedUniqueList) Contains(arg0 Item) bool
- func (m *MockSortedUniqueList) EXPECT() *MockSortedUniqueListMockRecorder
- func (m *MockSortedUniqueList) Insert(arg0 Item)
- func (m *MockSortedUniqueList) Len() int
- func (m *MockSortedUniqueList) Range(arg0 func(Item) bool)
- func (m *MockSortedUniqueList) Remove(arg0 Item)
- func (m *MockSortedUniqueList) ReverseRange(fn func(Item) bool)
- type MockSortedUniqueListMockRecorder
- func (mr *MockSortedUniqueListMockRecorder) Contains(arg0 interface{}) *gomock.Call
- func (mr *MockSortedUniqueListMockRecorder) Insert(arg0 interface{}) *gomock.Call
- func (mr *MockSortedUniqueListMockRecorder) Len() *gomock.Call
- func (mr *MockSortedUniqueListMockRecorder) Range(arg0 interface{}) *gomock.Call
- func (mr *MockSortedUniqueListMockRecorder) Remove(arg0 interface{}) *gomock.Call
- func (mr *MockSortedUniqueListMockRecorder) ReverseRange(fn interface{}) *gomock.Call
- type SortedList
- type SortedUniqueList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockItem ¶ added in v2.0.4
type MockItem struct {
// contains filtered or unexported fields
}
MockItem is a mock of Item interface.
func NewMockItem ¶ added in v2.0.4
func NewMockItem(ctrl *gomock.Controller) *MockItem
NewMockItem creates a new mock instance.
func (*MockItem) EXPECT ¶ added in v2.0.4
func (m *MockItem) EXPECT() *MockItemMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockItem) SortedValue ¶ added in v2.0.4
SortedValue mocks base method.
type MockItemMockRecorder ¶ added in v2.0.4
type MockItemMockRecorder struct {
// contains filtered or unexported fields
}
MockItemMockRecorder is the mock recorder for MockItem.
func (*MockItemMockRecorder) SortedValue ¶ added in v2.0.4
func (mr *MockItemMockRecorder) SortedValue() *gomock.Call
SortedValue indicates an expected call of SortedValue.
type MockSortedList ¶ added in v2.0.4
type MockSortedList struct {
// contains filtered or unexported fields
}
MockSortedList is a mock of SortedList interface.
func NewMockSortedList ¶ added in v2.0.4
func NewMockSortedList(ctrl *gomock.Controller) *MockSortedList
NewMockSortedList creates a new mock instance.
func (*MockSortedList) Contains ¶ added in v2.0.4
func (m *MockSortedList) Contains(arg0 Item) bool
Contains mocks base method.
func (*MockSortedList) EXPECT ¶ added in v2.0.4
func (m *MockSortedList) EXPECT() *MockSortedListMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSortedList) Insert ¶ added in v2.0.4
func (m *MockSortedList) Insert(arg0 Item)
Insert mocks base method.
func (*MockSortedList) Len ¶ added in v2.0.4
func (m *MockSortedList) Len() int
Len mocks base method.
func (*MockSortedList) Range ¶ added in v2.0.4
func (m *MockSortedList) Range(arg0 func(Item) bool)
Range mocks base method.
func (*MockSortedList) Remove ¶ added in v2.0.4
func (m *MockSortedList) Remove(arg0 Item)
Remove mocks base method.
func (*MockSortedList) ReverseRange ¶ added in v2.0.4
func (m *MockSortedList) ReverseRange(fn func(Item) bool)
ReverseRange mocks base method.
type MockSortedListMockRecorder ¶ added in v2.0.4
type MockSortedListMockRecorder struct {
// contains filtered or unexported fields
}
MockSortedListMockRecorder is the mock recorder for MockSortedList.
func (*MockSortedListMockRecorder) Contains ¶ added in v2.0.4
func (mr *MockSortedListMockRecorder) Contains(arg0 interface{}) *gomock.Call
Contains indicates an expected call of Contains.
func (*MockSortedListMockRecorder) Insert ¶ added in v2.0.4
func (mr *MockSortedListMockRecorder) Insert(arg0 interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockSortedListMockRecorder) Len ¶ added in v2.0.4
func (mr *MockSortedListMockRecorder) Len() *gomock.Call
Len indicates an expected call of Len.
func (*MockSortedListMockRecorder) Range ¶ added in v2.0.4
func (mr *MockSortedListMockRecorder) Range(arg0 interface{}) *gomock.Call
Range indicates an expected call of Range.
func (*MockSortedListMockRecorder) Remove ¶ added in v2.0.4
func (mr *MockSortedListMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockSortedListMockRecorder) ReverseRange ¶ added in v2.0.4
func (mr *MockSortedListMockRecorder) ReverseRange(fn interface{}) *gomock.Call
ReverseRange indicates an expected call of ReverseRange.
type MockSortedUniqueList ¶ added in v2.0.4
type MockSortedUniqueList struct {
// contains filtered or unexported fields
}
MockSortedUniqueList is a mock of SortedUniqueList interface.
func NewMockSortedUniqueList ¶ added in v2.0.4
func NewMockSortedUniqueList(ctrl *gomock.Controller) *MockSortedUniqueList
NewMockSortedUniqueList creates a new mock instance.
func (*MockSortedUniqueList) Contains ¶ added in v2.0.4
func (m *MockSortedUniqueList) Contains(arg0 Item) bool
Contains mocks base method.
func (*MockSortedUniqueList) EXPECT ¶ added in v2.0.4
func (m *MockSortedUniqueList) EXPECT() *MockSortedUniqueListMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSortedUniqueList) Insert ¶ added in v2.0.4
func (m *MockSortedUniqueList) Insert(arg0 Item)
Insert mocks base method.
func (*MockSortedUniqueList) Len ¶ added in v2.0.4
func (m *MockSortedUniqueList) Len() int
Len mocks base method.
func (*MockSortedUniqueList) Range ¶ added in v2.0.4
func (m *MockSortedUniqueList) Range(arg0 func(Item) bool)
Range mocks base method.
func (*MockSortedUniqueList) Remove ¶ added in v2.0.4
func (m *MockSortedUniqueList) Remove(arg0 Item)
Remove mocks base method.
func (*MockSortedUniqueList) ReverseRange ¶ added in v2.0.4
func (m *MockSortedUniqueList) ReverseRange(fn func(Item) bool)
ReverseRange mocks base method.
type MockSortedUniqueListMockRecorder ¶ added in v2.0.4
type MockSortedUniqueListMockRecorder struct {
// contains filtered or unexported fields
}
MockSortedUniqueListMockRecorder is the mock recorder for MockSortedUniqueList.
func (*MockSortedUniqueListMockRecorder) Contains ¶ added in v2.0.4
func (mr *MockSortedUniqueListMockRecorder) Contains(arg0 interface{}) *gomock.Call
Contains indicates an expected call of Contains.
func (*MockSortedUniqueListMockRecorder) Insert ¶ added in v2.0.4
func (mr *MockSortedUniqueListMockRecorder) Insert(arg0 interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockSortedUniqueListMockRecorder) Len ¶ added in v2.0.4
func (mr *MockSortedUniqueListMockRecorder) Len() *gomock.Call
Len indicates an expected call of Len.
func (*MockSortedUniqueListMockRecorder) Range ¶ added in v2.0.4
func (mr *MockSortedUniqueListMockRecorder) Range(arg0 interface{}) *gomock.Call
Range indicates an expected call of Range.
func (*MockSortedUniqueListMockRecorder) Remove ¶ added in v2.0.4
func (mr *MockSortedUniqueListMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockSortedUniqueListMockRecorder) ReverseRange ¶ added in v2.0.4
func (mr *MockSortedUniqueListMockRecorder) ReverseRange(fn interface{}) *gomock.Call
ReverseRange indicates an expected call of ReverseRange.
type SortedList ¶
type SortedList interface { Len() int Insert(Item) Remove(Item) Contains(Item) bool Range(func(Item) bool) ReverseRange(fn func(Item) bool) }
func NewSortedList ¶
func NewSortedList() SortedList
type SortedUniqueList ¶
type SortedUniqueList interface { Len() int Insert(Item) Remove(Item) Contains(Item) bool Range(func(Item) bool) ReverseRange(fn func(Item) bool) }
func NewSortedUniqueList ¶
func NewSortedUniqueList() SortedUniqueList