Skip to content

Commit

Permalink
Update accessor_cache_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
crStiv authored Feb 6, 2025
1 parent d783df5 commit 07a69db
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions store/cache/accessor_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,31 +304,31 @@ type mockAccessor struct {
}

func (m *mockAccessor) Size(context.Context) int {
panic("implement me")
return len(m.data)
}

func (m *mockAccessor) DataHash(context.Context) (share.DataHash, error) {
panic("implement me")
return share.DataHash{}, nil
}

func (m *mockAccessor) AxisRoots(context.Context) (*share.AxisRoots, error) {
panic("implement me")
return &share.AxisRoots{}, nil
}

func (m *mockAccessor) Sample(context.Context, shwap.SampleCoords) (shwap.Sample, error) {
panic("implement me")
return shwap.Sample{}, nil
}

func (m *mockAccessor) AxisHalf(context.Context, rsmt2d.Axis, int) (eds.AxisHalf, error) {
panic("implement me")
return eds.AxisHalf{}, nil
}

func (m *mockAccessor) RowNamespaceData(context.Context, libshare.Namespace, int) (shwap.RowNamespaceData, error) {
panic("implement me")
return shwap.RowNamespaceData{}, nil
}

func (m *mockAccessor) Shares(context.Context) ([]libshare.Share, error) {
panic("implement me")
return nil, nil
}

func (m *mockAccessor) Reader() (io.Reader, error) {
Expand Down

0 comments on commit 07a69db

Please sign in to comment.