| // Code generated by mockery v2.4.0. DO NOT EDIT. |
| |
| package mocks |
| |
| import ( |
| mock "github.com/stretchr/testify/mock" |
| paramtools "go.skia.org/infra/go/paramtools" |
| |
| tiling "go.skia.org/infra/golden/go/tiling" |
| |
| types "go.skia.org/infra/golden/go/types" |
| ) |
| |
| // ComplexTile is an autogenerated mock type for the ComplexTile type |
| type ComplexTile struct { |
| mock.Mock |
| } |
| |
| // AllCommits provides a mock function with given fields: |
| func (_m *ComplexTile) AllCommits() []tiling.Commit { |
| ret := _m.Called() |
| |
| var r0 []tiling.Commit |
| if rf, ok := ret.Get(0).(func() []tiling.Commit); ok { |
| r0 = rf() |
| } else { |
| if ret.Get(0) != nil { |
| r0 = ret.Get(0).([]tiling.Commit) |
| } |
| } |
| |
| return r0 |
| } |
| |
| // DataCommits provides a mock function with given fields: |
| func (_m *ComplexTile) DataCommits() []tiling.Commit { |
| ret := _m.Called() |
| |
| var r0 []tiling.Commit |
| if rf, ok := ret.Get(0).(func() []tiling.Commit); ok { |
| r0 = rf() |
| } else { |
| if ret.Get(0) != nil { |
| r0 = ret.Get(0).([]tiling.Commit) |
| } |
| } |
| |
| return r0 |
| } |
| |
| // FilledCommits provides a mock function with given fields: |
| func (_m *ComplexTile) FilledCommits() int { |
| ret := _m.Called() |
| |
| var r0 int |
| if rf, ok := ret.Get(0).(func() int); ok { |
| r0 = rf() |
| } else { |
| r0 = ret.Get(0).(int) |
| } |
| |
| return r0 |
| } |
| |
| // GetTile provides a mock function with given fields: is |
| func (_m *ComplexTile) GetTile(is types.IgnoreState) *tiling.Tile { |
| ret := _m.Called(is) |
| |
| var r0 *tiling.Tile |
| if rf, ok := ret.Get(0).(func(types.IgnoreState) *tiling.Tile); ok { |
| r0 = rf(is) |
| } else { |
| if ret.Get(0) != nil { |
| r0 = ret.Get(0).(*tiling.Tile) |
| } |
| } |
| |
| return r0 |
| } |
| |
| // IgnoreRules provides a mock function with given fields: |
| func (_m *ComplexTile) IgnoreRules() paramtools.ParamMatcher { |
| ret := _m.Called() |
| |
| var r0 paramtools.ParamMatcher |
| if rf, ok := ret.Get(0).(func() paramtools.ParamMatcher); ok { |
| r0 = rf() |
| } else { |
| if ret.Get(0) != nil { |
| r0 = ret.Get(0).(paramtools.ParamMatcher) |
| } |
| } |
| |
| return r0 |
| } |
| |
| // SetIgnoreRules provides a mock function with given fields: reducedTile, ignoreRules |
| func (_m *ComplexTile) SetIgnoreRules(reducedTile *tiling.Tile, ignoreRules paramtools.ParamMatcher) { |
| _m.Called(reducedTile, ignoreRules) |
| } |
| |
| // SetSparse provides a mock function with given fields: allCommits |
| func (_m *ComplexTile) SetSparse(allCommits []tiling.Commit) { |
| _m.Called(allCommits) |
| } |