mock_adapter

package
v0.0.0-...-9e3f110 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_adapter is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSpotifyAuthWrapperInterface) New

New mocks base method.

func (*MockSpotifyAuthWrapperInterface) WithRedirectURL

WithRedirectURL mocks base method.

func (*MockSpotifyAuthWrapperInterface) WithScopes

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

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

GetAuthURL indicates an expected call of GetAuthURL.

func (*MockSpotifyWrapperInterfaceMockRecorder) GetToken

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL