Documentation ¶
Index ¶
- type ChangelistLandedUpdater
- type Client
- func (_m *Client) CommentOn(ctx context.Context, clID string, message string) error
- func (_m *Client) GetChangelist(ctx context.Context, id string) (code_review.Changelist, error)
- func (_m *Client) GetChangelistIDForCommit(ctx context.Context, commit *vcsinfo.LongCommit) (string, error)
- func (_m *Client) GetPatchset(ctx context.Context, clID string, psID string, psOrder int) (code_review.Patchset, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangelistLandedUpdater ¶
ChangelistLandedUpdater is an autogenerated mock type for the ChangelistLandedUpdater type
func NewChangelistLandedUpdater ¶
func NewChangelistLandedUpdater(t interface { mock.TestingT Cleanup(func()) }) *ChangelistLandedUpdater
NewChangelistLandedUpdater creates a new instance of ChangelistLandedUpdater. 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 (*ChangelistLandedUpdater) UpdateChangelistsAsLanded ¶
func (_m *ChangelistLandedUpdater) UpdateChangelistsAsLanded(ctx context.Context, commits []*vcsinfo.LongCommit) error
UpdateChangelistsAsLanded provides a mock function with given fields: ctx, commits
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. 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 (*Client) GetChangelist ¶
func (_m *Client) GetChangelist(ctx context.Context, id string) (code_review.Changelist, error)
GetChangelist provides a mock function with given fields: ctx, id
func (*Client) GetChangelistIDForCommit ¶
func (_m *Client) GetChangelistIDForCommit(ctx context.Context, commit *vcsinfo.LongCommit) (string, error)
GetChangelistIDForCommit provides a mock function with given fields: ctx, commit