test

package
v0.0.0-...-cad71b5 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteRatingAccepted

func DeleteRatingAccepted(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, movieID int, userID int) http.ResponseWriter

DeleteRatingAccepted runs the method Delete 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 DeleteRatingInternalServerError

func DeleteRatingInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, movieID int, userID int) http.ResponseWriter

DeleteRatingInternalServerError runs the method Delete 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 HealthHealthOK

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

HealthHealthOK runs the method Health 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 ReadRatingInternalServerError

func ReadRatingInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, movieID int, userID int) http.ResponseWriter

ReadRatingInternalServerError runs the method Read 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 ReadRatingNotFound

func ReadRatingNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, movieID int, userID int) http.ResponseWriter

ReadRatingNotFound runs the method Read 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 ReadRatingOK

func ReadRatingOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, movieID int, userID int) (http.ResponseWriter, *app.Rating)

ReadRatingOK runs the method Read 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 UpsertRatingInternalServerError

func UpsertRatingInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, payload *app.RatingPayload) http.ResponseWriter

UpsertRatingInternalServerError runs the method Upsert 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 UpsertRatingNoContent

func UpsertRatingNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.RatingController, payload *app.RatingPayload) http.ResponseWriter

UpsertRatingNoContent runs the method Upsert 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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