MCPcopy Create free account
hub / github.com/bodgit/sevenzip / newMockFileInfo

Function newMockFileInfo

reader_internal_test.go:68–77  ·  view source on GitHub ↗
(tb testing.TB)

Source from the content-addressed store, hash-verified

66}
67
68func newMockFileInfo(tb testing.TB) *mockFileInfo {
69 tb.Helper()
70
71 mock := new(mockFileInfo)
72 mock.Test(tb)
73
74 tb.Cleanup(func() { mock.AssertExpectations(tb) })
75
76 return mock
77}
78
79type mockFile struct {
80 mock.Mock

Callers 1

TestOpenReaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…