test

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindUserProfileUserProfileBadRequest added in v1.1.2

func FindUserProfileUserProfileBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, payload *app.FilterPayload) (http.ResponseWriter, error)

FindUserProfileUserProfileBadRequest runs the method FindUserProfile 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 FindUserProfileUserProfileInternalServerError added in v1.1.2

func FindUserProfileUserProfileInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, payload *app.FilterPayload) (http.ResponseWriter, error)

FindUserProfileUserProfileInternalServerError runs the method FindUserProfile 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 FindUserProfileUserProfileOK added in v1.1.2

func FindUserProfileUserProfileOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, payload *app.FilterPayload) (http.ResponseWriter, *app.UserProfilePage)

FindUserProfileUserProfileOK runs the method FindUserProfile 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 GetMyProfileUserProfileBadRequest

func GetMyProfileUserProfileBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController) (http.ResponseWriter, error)

GetMyProfileUserProfileBadRequest runs the method GetMyProfile 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 GetMyProfileUserProfileInternalServerError

func GetMyProfileUserProfileInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController) (http.ResponseWriter, error)

GetMyProfileUserProfileInternalServerError runs the method GetMyProfile 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 GetMyProfileUserProfileNotFound

func GetMyProfileUserProfileNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController) (http.ResponseWriter, error)

GetMyProfileUserProfileNotFound runs the method GetMyProfile 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 GetMyProfileUserProfileOK

func GetMyProfileUserProfileOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController) (http.ResponseWriter, *app.UserProfile)

GetMyProfileUserProfileOK runs the method GetMyProfile 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 GetUserProfileUserProfileBadRequest

func GetUserProfileUserProfileBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, userID string) (http.ResponseWriter, error)

GetUserProfileUserProfileBadRequest runs the method GetUserProfile 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 GetUserProfileUserProfileInternalServerError

func GetUserProfileUserProfileInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, userID string) (http.ResponseWriter, error)

GetUserProfileUserProfileInternalServerError runs the method GetUserProfile 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 GetUserProfileUserProfileNotFound

func GetUserProfileUserProfileNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, userID string) (http.ResponseWriter, error)

GetUserProfileUserProfileNotFound runs the method GetUserProfile 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 GetUserProfileUserProfileOK

func GetUserProfileUserProfileOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, userID string) (http.ResponseWriter, *app.UserProfile)

GetUserProfileUserProfileOK runs the method GetUserProfile 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 UpdateMyProfileUserProfileBadRequest

func UpdateMyProfileUserProfileBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, payload *app.UserProfilePayload) (http.ResponseWriter, error)

UpdateMyProfileUserProfileBadRequest runs the method UpdateMyProfile 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 UpdateMyProfileUserProfileInternalServerError

func UpdateMyProfileUserProfileInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, payload *app.UserProfilePayload) (http.ResponseWriter, error)

UpdateMyProfileUserProfileInternalServerError runs the method UpdateMyProfile 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 UpdateMyProfileUserProfileNotFound

func UpdateMyProfileUserProfileNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, payload *app.UserProfilePayload) (http.ResponseWriter, error)

UpdateMyProfileUserProfileNotFound runs the method UpdateMyProfile 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 UpdateMyProfileUserProfileOK

func UpdateMyProfileUserProfileOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, payload *app.UserProfilePayload) (http.ResponseWriter, *app.UserProfile)

UpdateMyProfileUserProfileOK runs the method UpdateMyProfile 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 UpdateUserProfileUserProfileBadRequest

func UpdateUserProfileUserProfileBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, userID string, payload *app.UserProfilePayload) (http.ResponseWriter, error)

UpdateUserProfileUserProfileBadRequest runs the method UpdateUserProfile 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 UpdateUserProfileUserProfileInternalServerError

func UpdateUserProfileUserProfileInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, userID string, payload *app.UserProfilePayload) (http.ResponseWriter, error)

UpdateUserProfileUserProfileInternalServerError runs the method UpdateUserProfile 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 UpdateUserProfileUserProfileOK

func UpdateUserProfileUserProfileOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.UserProfileController, userID string, payload *app.UserProfilePayload) (http.ResponseWriter, *app.UserProfile)

UpdateUserProfileUserProfileOK runs the method UpdateUserProfile 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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