|  | // Code generated by mockery v0.0.0-dev. DO NOT EDIT. | 
|  |  | 
|  | package mocks | 
|  |  | 
|  | import ( | 
|  | context "context" | 
|  |  | 
|  | mock "github.com/stretchr/testify/mock" | 
|  |  | 
|  | v1 "go.skia.org/infra/go/coverage/proto/v1" | 
|  | ) | 
|  |  | 
|  | // Store is an autogenerated mock type for the Store type | 
|  | type Store struct { | 
|  | mock.Mock | 
|  | } | 
|  |  | 
|  | // Add provides a mock function with given fields: ctx, req | 
|  | func (_m *Store) Add(ctx context.Context, req *v1.CoverageChangeRequest) error { | 
|  | ret := _m.Called(ctx, req) | 
|  |  | 
|  | if len(ret) == 0 { | 
|  | panic("no return value specified for Add") | 
|  | } | 
|  |  | 
|  | var r0 error | 
|  | if rf, ok := ret.Get(0).(func(context.Context, *v1.CoverageChangeRequest) error); ok { | 
|  | r0 = rf(ctx, req) | 
|  | } else { | 
|  | r0 = ret.Error(0) | 
|  | } | 
|  |  | 
|  | return r0 | 
|  | } | 
|  |  | 
|  | // Delete provides a mock function with given fields: ctx, req | 
|  | func (_m *Store) Delete(ctx context.Context, req *v1.CoverageChangeRequest) error { | 
|  | ret := _m.Called(ctx, req) | 
|  |  | 
|  | if len(ret) == 0 { | 
|  | panic("no return value specified for Delete") | 
|  | } | 
|  |  | 
|  | var r0 error | 
|  | if rf, ok := ret.Get(0).(func(context.Context, *v1.CoverageChangeRequest) error); ok { | 
|  | r0 = rf(ctx, req) | 
|  | } else { | 
|  | r0 = ret.Error(0) | 
|  | } | 
|  |  | 
|  | return r0 | 
|  | } | 
|  |  | 
|  | // List provides a mock function with given fields: ctx, req | 
|  | func (_m *Store) List(ctx context.Context, req *v1.CoverageListRequest) ([]string, error) { | 
|  | ret := _m.Called(ctx, req) | 
|  |  | 
|  | if len(ret) == 0 { | 
|  | panic("no return value specified for List") | 
|  | } | 
|  |  | 
|  | var r0 []string | 
|  | var r1 error | 
|  | if rf, ok := ret.Get(0).(func(context.Context, *v1.CoverageListRequest) ([]string, error)); ok { | 
|  | return rf(ctx, req) | 
|  | } | 
|  | if rf, ok := ret.Get(0).(func(context.Context, *v1.CoverageListRequest) []string); ok { | 
|  | r0 = rf(ctx, req) | 
|  | } else { | 
|  | if ret.Get(0) != nil { | 
|  | r0 = ret.Get(0).([]string) | 
|  | } | 
|  | } | 
|  |  | 
|  | if rf, ok := ret.Get(1).(func(context.Context, *v1.CoverageListRequest) error); ok { | 
|  | r1 = rf(ctx, req) | 
|  | } else { | 
|  | r1 = ret.Error(1) | 
|  | } | 
|  |  | 
|  | return r0, r1 | 
|  | } | 
|  |  | 
|  | // ListAll provides a mock function with given fields: ctx, req | 
|  | func (_m *Store) ListAll(ctx context.Context, req *v1.CoverageRequest) ([]*v1.CoverageResponse, error) { | 
|  | ret := _m.Called(ctx, req) | 
|  |  | 
|  | if len(ret) == 0 { | 
|  | panic("no return value specified for ListAll") | 
|  | } | 
|  |  | 
|  | var r0 []*v1.CoverageResponse | 
|  | var r1 error | 
|  | if rf, ok := ret.Get(0).(func(context.Context, *v1.CoverageRequest) ([]*v1.CoverageResponse, error)); ok { | 
|  | return rf(ctx, req) | 
|  | } | 
|  | if rf, ok := ret.Get(0).(func(context.Context, *v1.CoverageRequest) []*v1.CoverageResponse); ok { | 
|  | r0 = rf(ctx, req) | 
|  | } else { | 
|  | if ret.Get(0) != nil { | 
|  | r0 = ret.Get(0).([]*v1.CoverageResponse) | 
|  | } | 
|  | } | 
|  |  | 
|  | if rf, ok := ret.Get(1).(func(context.Context, *v1.CoverageRequest) error); ok { | 
|  | r1 = rf(ctx, req) | 
|  | } else { | 
|  | r1 = ret.Error(1) | 
|  | } | 
|  |  | 
|  | return r0, r1 | 
|  | } | 
|  |  | 
|  | // NewStore creates a new instance of Store. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. | 
|  | // The first argument is typically a *testing.T value. | 
|  | func NewStore(t interface { | 
|  | mock.TestingT | 
|  | Cleanup(func()) | 
|  | }) *Store { | 
|  | mock := &Store{} | 
|  | mock.Mock.Test(t) | 
|  |  | 
|  | t.Cleanup(func() { mock.AssertExpectations(t) }) | 
|  |  | 
|  | return mock | 
|  | } |