test

package
v0.0.0-...-91404a6 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMusicBadRequest

func CreateMusicBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, payload *app.Music) (http.ResponseWriter, error)

CreateMusicBadRequest runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func CreateMusicCreated

func CreateMusicCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, payload *app.Music) (http.ResponseWriter, *app.BluelensMusic)

CreateMusicCreated runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func CreateMusicCreatedFull

func CreateMusicCreatedFull(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, payload *app.Music) (http.ResponseWriter, *app.BluelensMusicFull)

CreateMusicCreatedFull runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func CreateMusicCreatedLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, payload *app.Music) (http.ResponseWriter, *app.BluelensMusicLink)

CreateMusicCreatedLink runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func CreateMusicInternalServerError

func CreateMusicInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, payload *app.Music) (http.ResponseWriter, error)

CreateMusicInternalServerError runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func CreateMusicUnauthorized

func CreateMusicUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, payload *app.Music) http.ResponseWriter

CreateMusicUnauthorized runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func CreateUserBadRequest

func CreateUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.User) (http.ResponseWriter, error)

CreateUserBadRequest runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func CreateUserCreated

func CreateUserCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.User) (http.ResponseWriter, *app.BluelensUser)

CreateUserCreated runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func CreateUserCreatedFull

func CreateUserCreatedFull(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.User) (http.ResponseWriter, *app.BluelensUserFull)

CreateUserCreatedFull runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func CreateUserCreatedLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.User) (http.ResponseWriter, *app.BluelensUserLink)

CreateUserCreatedLink runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func CreateUserInternalServerError

func CreateUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.User) (http.ResponseWriter, error)

CreateUserInternalServerError runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func CreateUserUnauthorized

func CreateUserUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, payload *app.User) http.ResponseWriter

CreateUserUnauthorized runs the method Create of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func FollowUserBadRequest

func FollowUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, followeeID string, payload *app.FollowUserPayload) (http.ResponseWriter, error)

FollowUserBadRequest runs the method Follow of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func FollowUserInternalServerError

func FollowUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, followeeID string, payload *app.FollowUserPayload) (http.ResponseWriter, error)

FollowUserInternalServerError runs the method Follow of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func FollowUserNotFound

func FollowUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, followeeID string, payload *app.FollowUserPayload) (http.ResponseWriter, error)

FollowUserNotFound runs the method Follow of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func FollowUserOK

func FollowUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, followeeID string, payload *app.FollowUserPayload) (http.ResponseWriter, *app.BluelensUser)

FollowUserOK runs the method Follow of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func FollowUserOKFull

func FollowUserOKFull(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, followeeID string, payload *app.FollowUserPayload) (http.ResponseWriter, *app.BluelensUserFull)

FollowUserOKFull runs the method Follow of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func FollowUserOKLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, followeeID string, payload *app.FollowUserPayload) (http.ResponseWriter, *app.BluelensUserLink)

FollowUserOKLink runs the method Follow of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func FollowUserUnauthorized

func FollowUserUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, followeeID string, payload *app.FollowUserPayload) http.ResponseWriter

FollowUserUnauthorized runs the method Follow of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListMusicInternalServerError

func ListMusicInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, limit int, offset int) (http.ResponseWriter, error)

ListMusicInternalServerError runs the method List of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListMusicOK

func ListMusicOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, limit int, offset int) (http.ResponseWriter, app.BluelensMusicCollection)

ListMusicOK runs the method List of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListMusicOKFull

func ListMusicOKFull(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, limit int, offset int) (http.ResponseWriter, app.BluelensMusicFullCollection)

ListMusicOKFull runs the method List of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListMusicOKLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, limit int, offset int) (http.ResponseWriter, app.BluelensMusicLinkCollection)

ListMusicOKLink runs the method List of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListMusicUnauthorized

func ListMusicUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, limit int, offset int) http.ResponseWriter

ListMusicUnauthorized runs the method List of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListUserInternalServerError

func ListUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, limit int, offset int) (http.ResponseWriter, error)

ListUserInternalServerError runs the method List of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListUserOK

func ListUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, limit int, offset int) (http.ResponseWriter, app.BluelensUserCollection)

ListUserOK runs the method List of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListUserOKFull

func ListUserOKFull(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, limit int, offset int) (http.ResponseWriter, app.BluelensUserFullCollection)

ListUserOKFull runs the method List of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListUserOKLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, limit int, offset int) (http.ResponseWriter, app.BluelensUserLinkCollection)

ListUserOKLink runs the method List of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListUserUnauthorized

func ListUserUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, limit int, offset int) http.ResponseWriter

ListUserUnauthorized runs the method List of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListenUserBadRequest

func ListenUserBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, musicID string, payload *app.ListenUserPayload) (http.ResponseWriter, error)

ListenUserBadRequest runs the method Listen of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListenUserInternalServerError

func ListenUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, musicID string, payload *app.ListenUserPayload) (http.ResponseWriter, error)

ListenUserInternalServerError runs the method Listen of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListenUserNotFound

func ListenUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, musicID string, payload *app.ListenUserPayload) (http.ResponseWriter, error)

ListenUserNotFound runs the method Listen of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListenUserOK

func ListenUserOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, musicID string, payload *app.ListenUserPayload) (http.ResponseWriter, *app.BluelensUser)

ListenUserOK runs the method Listen of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListenUserOKFull

func ListenUserOKFull(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, musicID string, payload *app.ListenUserPayload) (http.ResponseWriter, *app.BluelensUserFull)

ListenUserOKFull runs the method Listen of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListenUserOKLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, musicID string, payload *app.ListenUserPayload) (http.ResponseWriter, *app.BluelensUserLink)

ListenUserOKLink runs the method Listen of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListenUserUnauthorized

func ListenUserUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string, musicID string, payload *app.ListenUserPayload) http.ResponseWriter

ListenUserUnauthorized runs the method Listen of the given controller with the given parameters and payload. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func RecommendRecommendationsInternalServerError

func RecommendRecommendationsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RecommendationsController, userID string, limit int) (http.ResponseWriter, error)

RecommendRecommendationsInternalServerError runs the method Recommend of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func RecommendRecommendationsNotFound

func RecommendRecommendationsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RecommendationsController, userID string, limit int) (http.ResponseWriter, error)

RecommendRecommendationsNotFound runs the method Recommend of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func RecommendRecommendationsOK

func RecommendRecommendationsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RecommendationsController, userID string, limit int) (http.ResponseWriter, *app.BluelensRecommendations)

RecommendRecommendationsOK runs the method Recommend of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func RecommendRecommendationsOKAll

func RecommendRecommendationsOKAll(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RecommendationsController, userID string, limit int) (http.ResponseWriter, *app.BluelensRecommendationsAll)

RecommendRecommendationsOKAll runs the method Recommend of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func RecommendRecommendationsUnauthorized

func RecommendRecommendationsUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RecommendationsController, userID string, limit int) http.ResponseWriter

RecommendRecommendationsUnauthorized runs the method Recommend of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowMusicInternalServerError

func ShowMusicInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, id string) (http.ResponseWriter, error)

ShowMusicInternalServerError runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowMusicNotFound

func ShowMusicNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, id string) (http.ResponseWriter, error)

ShowMusicNotFound runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowMusicOK

ShowMusicOK runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowMusicOKFull

ShowMusicOKFull runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

ShowMusicOKLink runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowMusicUnauthorized

func ShowMusicUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.MusicController, id string) http.ResponseWriter

ShowMusicUnauthorized runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowUserInternalServerError

func ShowUserInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string) (http.ResponseWriter, error)

ShowUserInternalServerError runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowUserNotFound

func ShowUserNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string) (http.ResponseWriter, error)

ShowUserNotFound runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowUserOK

ShowUserOK runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowUserOKFull

ShowUserOKFull runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

ShowUserOKLink runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers and the media type struct written to the response. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ShowUserUnauthorized

func ShowUserUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserController, id string) http.ResponseWriter

ShowUserUnauthorized runs the method Show of the given controller with the given parameters. It returns the response writer so it's possible to inspect the response headers. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

Types

This section is empty.

Jump to

Keyboard shortcuts

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