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 DeleteAppAppsBadRequest

func DeleteAppAppsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) (http.ResponseWriter, error)

DeleteAppAppsBadRequest runs the method DeleteApp 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 DeleteAppAppsInternalServerError

func DeleteAppAppsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) (http.ResponseWriter, error)

DeleteAppAppsInternalServerError runs the method DeleteApp 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 DeleteAppAppsNotFound

func DeleteAppAppsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) (http.ResponseWriter, error)

DeleteAppAppsNotFound runs the method DeleteApp 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 DeleteAppAppsOK

func DeleteAppAppsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) http.ResponseWriter

DeleteAppAppsOK runs the method DeleteApp 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 GetAppsBadRequest

func GetAppsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) (http.ResponseWriter, error)

GetAppsBadRequest runs the method Get 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 GetAppsInternalServerError

func GetAppsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) (http.ResponseWriter, error)

GetAppsInternalServerError runs the method Get 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 GetAppsNotFound

func GetAppsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) (http.ResponseWriter, error)

GetAppsNotFound runs the method Get 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 GetAppsOK

func GetAppsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) (http.ResponseWriter, *app.Apps)

GetAppsOK runs the method Get 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 GetMyAppsAppsInternalServerError

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

GetMyAppsAppsInternalServerError runs the method GetMyApps 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 GetMyAppsAppsNotFound

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

GetMyAppsAppsNotFound runs the method GetMyApps 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 GetMyAppsAppsOK

func GetMyAppsAppsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController) http.ResponseWriter

GetMyAppsAppsOK runs the method GetMyApps 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 GetUserAppsAppsInternalServerError

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

GetUserAppsAppsInternalServerError runs the method GetUserApps 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 GetUserAppsAppsNotFound

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

GetUserAppsAppsNotFound runs the method GetUserApps 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 GetUserAppsAppsOK

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

GetUserAppsAppsOK runs the method GetUserApps 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 RegenerateClientSecretAppsBadRequest

func RegenerateClientSecretAppsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) (http.ResponseWriter, error)

RegenerateClientSecretAppsBadRequest runs the method RegenerateClientSecret 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 RegenerateClientSecretAppsInternalServerError

func RegenerateClientSecretAppsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) (http.ResponseWriter, error)

RegenerateClientSecretAppsInternalServerError runs the method RegenerateClientSecret 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 RegenerateClientSecretAppsNotFound

func RegenerateClientSecretAppsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) (http.ResponseWriter, error)

RegenerateClientSecretAppsNotFound runs the method RegenerateClientSecret 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 RegenerateClientSecretAppsOK

func RegenerateClientSecretAppsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string) http.ResponseWriter

RegenerateClientSecretAppsOK runs the method RegenerateClientSecret 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 RegisterAppAppsBadRequest

func RegisterAppAppsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, payload *app.AppPayload) (http.ResponseWriter, error)

RegisterAppAppsBadRequest runs the method RegisterApp 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 RegisterAppAppsCreated

func RegisterAppAppsCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, payload *app.AppPayload) (http.ResponseWriter, *app.RegApps)

RegisterAppAppsCreated runs the method RegisterApp 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 RegisterAppAppsInternalServerError

func RegisterAppAppsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, payload *app.AppPayload) (http.ResponseWriter, error)

RegisterAppAppsInternalServerError runs the method RegisterApp 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 UpdateAppAppsBadRequest

func UpdateAppAppsBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string, payload *app.AppPayload) (http.ResponseWriter, error)

UpdateAppAppsBadRequest runs the method UpdateApp 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 UpdateAppAppsInternalServerError

func UpdateAppAppsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string, payload *app.AppPayload) (http.ResponseWriter, error)

UpdateAppAppsInternalServerError runs the method UpdateApp 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 UpdateAppAppsNotFound

func UpdateAppAppsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string, payload *app.AppPayload) (http.ResponseWriter, error)

UpdateAppAppsNotFound runs the method UpdateApp 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 UpdateAppAppsOK

func UpdateAppAppsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, appID string, payload *app.AppPayload) (http.ResponseWriter, *app.Apps)

UpdateAppAppsOK runs the method UpdateApp 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 VerifyAppAppsInternalServerError

func VerifyAppAppsInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, payload *app.AppCredentialsPayload) (http.ResponseWriter, error)

VerifyAppAppsInternalServerError runs the method VerifyApp 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 VerifyAppAppsNotFound

func VerifyAppAppsNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, payload *app.AppCredentialsPayload) (http.ResponseWriter, error)

VerifyAppAppsNotFound runs the method VerifyApp 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 VerifyAppAppsOK

func VerifyAppAppsOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AppsController, payload *app.AppCredentialsPayload) (http.ResponseWriter, *app.Apps)

VerifyAppAppsOK runs the method VerifyApp 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