test

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFeedBadRequest

func CreateFeedBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, tags *string, title *string, url_ string) (http.ResponseWriter, error)

CreateFeedBadRequest runs the method Create 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 CreateFeedCreated

func CreateFeedCreated(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, tags *string, title *string, url_ string) http.ResponseWriter

CreateFeedCreated runs the method Create 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 DeleteFeedBadRequest

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

DeleteFeedBadRequest 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 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 DeleteFeedNoContent

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

DeleteFeedNoContent 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 DeleteFeedNotFound

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

DeleteFeedNotFound 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 GetFeedBadRequest

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

GetFeedBadRequest 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 GetFeedNotFound

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

GetFeedNotFound 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. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func GetFeedOK

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

GetFeedOK 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 GetFeedOKLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, id string) (http.ResponseWriter, *app.FeedLink)

GetFeedOKLink 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 GetFeedOKTiny

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

GetFeedOKTiny 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 GetHealthOK

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

GetHealthOK 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. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func GetOpmlBadRequest

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

GetOpmlBadRequest 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 GetOpmlOK

GetOpmlOK 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. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func GetSwaggerOK

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

GetSwaggerOK 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. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func GetVarsOK

GetVarsOK 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. If ctx is nil then context.Background() is used. If service is nil then a default service is created.

func ListFeedBadRequest

func ListFeedBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, limit int, page int) (http.ResponseWriter, error)

ListFeedBadRequest 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 ListFeedNotFound

func ListFeedNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, limit int, page int) http.ResponseWriter

ListFeedNotFound 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 ListFeedOK

func ListFeedOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, limit int, page int) (http.ResponseWriter, app.FeedCollection)

ListFeedOK 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 ListFeedOKTiny

func ListFeedOKTiny(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, limit int, page int) (http.ResponseWriter, app.FeedTinyCollection)

ListFeedOKTiny 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 ListFilterOK

ListFilterOK 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 ListOutputOK

ListOutputOK 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 PubPshbBadRequest

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

PubPshbBadRequest runs the method Pub 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 PubPshbOK

PubPshbOK runs the method Pub 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 StartFeedAccepted

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

StartFeedAccepted runs the method Start 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 StartFeedBadRequest

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

StartFeedBadRequest runs the method Start 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 StartFeedNotFound

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

StartFeedNotFound runs the method Start 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 StopFeedAccepted

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

StopFeedAccepted runs the method Stop 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 StopFeedBadRequest

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

StopFeedBadRequest runs the method Stop 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 StopFeedNotFound

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

StopFeedNotFound runs the method Stop 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 SubPshbBadRequest

func SubPshbBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PshbController, hubChallenge string, hubLeaseSeconds *int, hubMode string, hubTopic string) (http.ResponseWriter, error)

SubPshbBadRequest runs the method Sub 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 SubPshbOK

func SubPshbOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.PshbController, hubChallenge string, hubLeaseSeconds *int, hubMode string, hubTopic string) http.ResponseWriter

SubPshbOK runs the method Sub 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 UpdateFeedBadRequest

func UpdateFeedBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, id string, tags *string, title *string) (http.ResponseWriter, error)

UpdateFeedBadRequest runs the method Update 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 UpdateFeedNotFound

func UpdateFeedNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, id string, tags *string, title *string) http.ResponseWriter

UpdateFeedNotFound runs the method Update 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 UpdateFeedOK

func UpdateFeedOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, id string, tags *string, title *string) (http.ResponseWriter, *app.Feed)

UpdateFeedOK runs the method Update 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 UpdateFeedOKLink(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, id string, tags *string, title *string) (http.ResponseWriter, *app.FeedLink)

UpdateFeedOKLink runs the method Update 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 UpdateFeedOKTiny

func UpdateFeedOKTiny(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.FeedController, id string, tags *string, title *string) (http.ResponseWriter, *app.FeedTiny)

UpdateFeedOKTiny runs the method Update 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 UploadOpmlBadRequest

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

UploadOpmlBadRequest runs the method Upload 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 UploadOpmlCreated

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

UploadOpmlCreated runs the method Upload 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