Documentation ¶
Overview ¶
Package mock_adapter is a generated GoMock package.
Index ¶
- type MockSpotifyAuthWrapperInterface
- func (m *MockSpotifyAuthWrapperInterface) EXPECT() *MockSpotifyAuthWrapperInterfaceMockRecorder
- func (m *MockSpotifyAuthWrapperInterface) New(opts ...auth.AuthenticatorOption) *auth.Authenticator
- func (m *MockSpotifyAuthWrapperInterface) WithRedirectURL(url string) auth.AuthenticatorOption
- func (m *MockSpotifyAuthWrapperInterface) WithScopes(scopes ...string) auth.AuthenticatorOption
- type MockSpotifyAuthWrapperInterfaceMockRecorder
- type MockSpotifyWrapperInterface
- func (m *MockSpotifyWrapperInterface) CreateAuthenticator(redirectURL string)
- func (m *MockSpotifyWrapperInterface) EXPECT() *MockSpotifyWrapperInterfaceMockRecorder
- func (m *MockSpotifyWrapperInterface) GetAllPlaylistTracks(playlistID v2.ID) ([]v2.PlaylistTrack, error)
- func (m *MockSpotifyWrapperInterface) GetAllPlaylistsForUser(username string) ([]v2.SimplePlaylist, error)
- func (m *MockSpotifyWrapperInterface) GetAuthURL() string
- func (m *MockSpotifyWrapperInterface) GetToken() (*oauth2.Token, error)
- func (m *MockSpotifyWrapperInterface) GetTokenFromResponseCode(responseCode string) (*oauth2.Token, error)
- func (m *MockSpotifyWrapperInterface) LoginAndCreateClient(token *oauth2.Token)
- func (m *MockSpotifyWrapperInterface) RemoveTracksFromPlaylist(playlistID v2.ID, trackIDs ...v2.ID) error
- type MockSpotifyWrapperInterfaceMockRecorder
- func (mr *MockSpotifyWrapperInterfaceMockRecorder) CreateAuthenticator(redirectURL interface{}) *gomock.Call
- func (mr *MockSpotifyWrapperInterfaceMockRecorder) GetAllPlaylistTracks(playlistID interface{}) *gomock.Call
- func (mr *MockSpotifyWrapperInterfaceMockRecorder) GetAllPlaylistsForUser(username interface{}) *gomock.Call
- func (mr *MockSpotifyWrapperInterfaceMockRecorder) GetAuthURL() *gomock.Call
- func (mr *MockSpotifyWrapperInterfaceMockRecorder) GetToken() *gomock.Call
- func (mr *MockSpotifyWrapperInterfaceMockRecorder) GetTokenFromResponseCode(responseCode interface{}) *gomock.Call
- func (mr *MockSpotifyWrapperInterfaceMockRecorder) LoginAndCreateClient(token interface{}) *gomock.Call
- func (mr *MockSpotifyWrapperInterfaceMockRecorder) RemoveTracksFromPlaylist(playlistID interface{}, trackIDs ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSpotifyAuthWrapperInterface ¶
type MockSpotifyAuthWrapperInterface struct {
// contains filtered or unexported fields
}
MockSpotifyAuthWrapperInterface is a mock of SpotifyAuthWrapperInterface interface.
func NewMockSpotifyAuthWrapperInterface ¶
func NewMockSpotifyAuthWrapperInterface(ctrl *gomock.Controller) *MockSpotifyAuthWrapperInterface
NewMockSpotifyAuthWrapperInterface creates a new mock instance.
func (*MockSpotifyAuthWrapperInterface) EXPECT ¶
func (m *MockSpotifyAuthWrapperInterface) EXPECT() *MockSpotifyAuthWrapperInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSpotifyAuthWrapperInterface) New ¶
func (m *MockSpotifyAuthWrapperInterface) New(opts ...auth.AuthenticatorOption) *auth.Authenticator
New mocks base method.
func (*MockSpotifyAuthWrapperInterface) WithRedirectURL ¶
func (m *MockSpotifyAuthWrapperInterface) WithRedirectURL(url string) auth.AuthenticatorOption
WithRedirectURL mocks base method.
func (*MockSpotifyAuthWrapperInterface) WithScopes ¶
func (m *MockSpotifyAuthWrapperInterface) WithScopes(scopes ...string) auth.AuthenticatorOption
WithScopes mocks base method.
type MockSpotifyAuthWrapperInterfaceMockRecorder ¶
type MockSpotifyAuthWrapperInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSpotifyAuthWrapperInterfaceMockRecorder is the mock recorder for MockSpotifyAuthWrapperInterface.
func (*MockSpotifyAuthWrapperInterfaceMockRecorder) New ¶
func (mr *MockSpotifyAuthWrapperInterfaceMockRecorder) New(opts ...interface{}) *gomock.Call
New indicates an expected call of New.
func (*MockSpotifyAuthWrapperInterfaceMockRecorder) WithRedirectURL ¶
func (mr *MockSpotifyAuthWrapperInterfaceMockRecorder) WithRedirectURL(url interface{}) *gomock.Call
WithRedirectURL indicates an expected call of WithRedirectURL.
func (*MockSpotifyAuthWrapperInterfaceMockRecorder) WithScopes ¶
func (mr *MockSpotifyAuthWrapperInterfaceMockRecorder) WithScopes(scopes ...interface{}) *gomock.Call
WithScopes indicates an expected call of WithScopes.
type MockSpotifyWrapperInterface ¶
type MockSpotifyWrapperInterface struct {
// contains filtered or unexported fields
}
MockSpotifyWrapperInterface is a mock of SpotifyWrapperInterface interface.
func NewMockSpotifyWrapperInterface ¶
func NewMockSpotifyWrapperInterface(ctrl *gomock.Controller) *MockSpotifyWrapperInterface
NewMockSpotifyWrapperInterface creates a new mock instance.
func (*MockSpotifyWrapperInterface) CreateAuthenticator ¶
func (m *MockSpotifyWrapperInterface) CreateAuthenticator(redirectURL string)
CreateAuthenticator mocks base method.
func (*MockSpotifyWrapperInterface) EXPECT ¶
func (m *MockSpotifyWrapperInterface) EXPECT() *MockSpotifyWrapperInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSpotifyWrapperInterface) GetAllPlaylistTracks ¶
func (m *MockSpotifyWrapperInterface) GetAllPlaylistTracks(playlistID v2.ID) ([]v2.PlaylistTrack, error)
GetAllPlaylistTracks mocks base method.
func (*MockSpotifyWrapperInterface) GetAllPlaylistsForUser ¶
func (m *MockSpotifyWrapperInterface) GetAllPlaylistsForUser(username string) ([]v2.SimplePlaylist, error)
GetAllPlaylistsForUser mocks base method.
func (*MockSpotifyWrapperInterface) GetAuthURL ¶
func (m *MockSpotifyWrapperInterface) GetAuthURL() string
GetAuthURL mocks base method.
func (*MockSpotifyWrapperInterface) GetToken ¶
func (m *MockSpotifyWrapperInterface) GetToken() (*oauth2.Token, error)
GetToken mocks base method.
func (*MockSpotifyWrapperInterface) GetTokenFromResponseCode ¶
func (m *MockSpotifyWrapperInterface) GetTokenFromResponseCode(responseCode string) (*oauth2.Token, error)
GetTokenFromResponseCode mocks base method.
func (*MockSpotifyWrapperInterface) LoginAndCreateClient ¶
func (m *MockSpotifyWrapperInterface) LoginAndCreateClient(token *oauth2.Token)
LoginAndCreateClient mocks base method.
func (*MockSpotifyWrapperInterface) RemoveTracksFromPlaylist ¶
func (m *MockSpotifyWrapperInterface) RemoveTracksFromPlaylist(playlistID v2.ID, trackIDs ...v2.ID) error
RemoveTracksFromPlaylist mocks base method.
type MockSpotifyWrapperInterfaceMockRecorder ¶
type MockSpotifyWrapperInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSpotifyWrapperInterfaceMockRecorder is the mock recorder for MockSpotifyWrapperInterface.
func (*MockSpotifyWrapperInterfaceMockRecorder) CreateAuthenticator ¶
func (mr *MockSpotifyWrapperInterfaceMockRecorder) CreateAuthenticator(redirectURL interface{}) *gomock.Call
CreateAuthenticator indicates an expected call of CreateAuthenticator.
func (*MockSpotifyWrapperInterfaceMockRecorder) GetAllPlaylistTracks ¶
func (mr *MockSpotifyWrapperInterfaceMockRecorder) GetAllPlaylistTracks(playlistID interface{}) *gomock.Call
GetAllPlaylistTracks indicates an expected call of GetAllPlaylistTracks.
func (*MockSpotifyWrapperInterfaceMockRecorder) GetAllPlaylistsForUser ¶
func (mr *MockSpotifyWrapperInterfaceMockRecorder) GetAllPlaylistsForUser(username interface{}) *gomock.Call
GetAllPlaylistsForUser indicates an expected call of GetAllPlaylistsForUser.
func (*MockSpotifyWrapperInterfaceMockRecorder) GetAuthURL ¶
func (mr *MockSpotifyWrapperInterfaceMockRecorder) GetAuthURL() *gomock.Call
GetAuthURL indicates an expected call of GetAuthURL.
func (*MockSpotifyWrapperInterfaceMockRecorder) GetToken ¶
func (mr *MockSpotifyWrapperInterfaceMockRecorder) GetToken() *gomock.Call
GetToken indicates an expected call of GetToken.
func (*MockSpotifyWrapperInterfaceMockRecorder) GetTokenFromResponseCode ¶
func (mr *MockSpotifyWrapperInterfaceMockRecorder) GetTokenFromResponseCode(responseCode interface{}) *gomock.Call
GetTokenFromResponseCode indicates an expected call of GetTokenFromResponseCode.
func (*MockSpotifyWrapperInterfaceMockRecorder) LoginAndCreateClient ¶
func (mr *MockSpotifyWrapperInterfaceMockRecorder) LoginAndCreateClient(token interface{}) *gomock.Call
LoginAndCreateClient indicates an expected call of LoginAndCreateClient.
func (*MockSpotifyWrapperInterfaceMockRecorder) RemoveTracksFromPlaylist ¶
func (mr *MockSpotifyWrapperInterfaceMockRecorder) RemoveTracksFromPlaylist(playlistID interface{}, trackIDs ...interface{}) *gomock.Call
RemoveTracksFromPlaylist indicates an expected call of RemoveTracksFromPlaylist.