Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitilesLogger ¶
GitilesLogger is an autogenerated mock type for the GitilesLogger type
func NewGitilesLogger ¶
func NewGitilesLogger(t interface { mock.TestingT Cleanup(func()) }) *GitilesLogger
NewGitilesLogger creates a new instance of GitilesLogger. 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 (*GitilesLogger) Log ¶
func (_m *GitilesLogger) Log(ctx context.Context, logExpr string, opts ...gitiles.LogOption) ([]*vcsinfo.LongCommit, error)
Log provides a mock function with given fields: ctx, logExpr, opts
func (*GitilesLogger) LogFirstParent ¶
func (_m *GitilesLogger) LogFirstParent(ctx context.Context, from string, to string, opts ...gitiles.LogOption) ([]*vcsinfo.LongCommit, error)
LogFirstParent provides a mock function with given fields: ctx, from, to, opts
Click to show internal directories.
Click to hide internal directories.