Documentation ¶
Index ¶
- type CodeReview
- func (_m *CodeReview) GetFile(ctx context.Context, filename string, ref string) ([]byte, error)
- func (_m *CodeReview) GetPatchsetInfo(ctx context.Context, issue codereview.Issue) (string, bool, error)
- func (_m *CodeReview) ListModifiedFiles(ctx context.Context, issue codereview.Issue, ref string) ([]codereview.ListModifiedFilesResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodeReview ¶
CodeReview is an autogenerated mock type for the CodeReview type
func NewCodeReview ¶
func NewCodeReview(t interface { mock.TestingT Cleanup(func()) }) *CodeReview
NewCodeReview creates a new instance of CodeReview. 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 (*CodeReview) GetPatchsetInfo ¶
func (_m *CodeReview) GetPatchsetInfo(ctx context.Context, issue codereview.Issue) (string, bool, error)
GetPatchsetInfo provides a mock function with given fields: ctx, issue
func (*CodeReview) ListModifiedFiles ¶
func (_m *CodeReview) ListModifiedFiles(ctx context.Context, issue codereview.Issue, ref string) ([]codereview.ListModifiedFilesResult, error)
ListModifiedFiles provides a mock function with given fields: ctx, issue, ref
Click to show internal directories.
Click to hide internal directories.