test

package
v0.0.0-...-a2b2d1c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateQuoteOK

func CreateQuoteOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuoteController, payload *app.CreateQuotePayload) (http.ResponseWriter, *app.Quotes)

CreateQuoteOK 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 CreateQuoteUnauthorized

func CreateQuoteUnauthorized(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuoteController, payload *app.CreateQuotePayload) http.ResponseWriter

CreateQuoteUnauthorized 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 CreateSuggestionNoContent

func CreateSuggestionNoContent(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SuggestionController, payload *app.CreateSuggestionPayload) http.ResponseWriter

CreateSuggestionNoContent 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 ListByIDQuoteNotFound

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

ListByIDQuoteNotFound runs the method ListByID 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 ListByIDQuoteOK

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

ListByIDQuoteOK runs the method ListByID 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 ListQuoteOK

func ListQuoteOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuoteController) (http.ResponseWriter, *app.Quotes)

ListQuoteOK 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 ListQuoteUnauthorized

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

ListQuoteUnauthorized 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 ListSuggestionNotFound

func ListSuggestionNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SuggestionController, showID string) http.ResponseWriter

ListSuggestionNotFound 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 ListSuggestionOK

func ListSuggestionOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.SuggestionController, showID string) (http.ResponseWriter, *app.Suggestions)

ListSuggestionOK 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 LoginQuoteNoContent

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

LoginQuoteNoContent runs the method Login 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 LoginQuoteUnauthorized

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

LoginQuoteUnauthorized runs the method Login 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