test

package
v0.0.0-...-6fa130f Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCalendarBadRequest

func CreateCalendarBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.CalendarController, payload *app.Appointment) http.ResponseWriter

CreateCalendarBadRequest 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 CreateCalendarInternalServerError

func CreateCalendarInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.CalendarController, payload *app.Appointment) http.ResponseWriter

CreateCalendarInternalServerError 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 CreateCalendarOK

func CreateCalendarOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.CalendarController, payload *app.Appointment) (http.ResponseWriter, *app.MaraAppointment)

CreateCalendarOK 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 DeleteCalendarInternalServerError

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

DeleteCalendarInternalServerError 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 DeleteCalendarNotFound

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

DeleteCalendarNotFound 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 DeleteCalendarOK

DeleteCalendarOK 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 EditCalendarBadRequest

func EditCalendarBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.CalendarController, id string, payload *app.Appointment) http.ResponseWriter

EditCalendarBadRequest runs the method Edit 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 EditCalendarInternalServerError

func EditCalendarInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.CalendarController, id string, payload *app.Appointment) http.ResponseWriter

EditCalendarInternalServerError runs the method Edit 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 EditCalendarNotFound

func EditCalendarNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.CalendarController, id string, payload *app.Appointment) http.ResponseWriter

EditCalendarNotFound runs the method Edit 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 EditCalendarOK

EditCalendarOK runs the method Edit 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 ListCalendarInternalServerError

func ListCalendarInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.CalendarController, end *time.Time, start *time.Time, where string) http.ResponseWriter

ListCalendarInternalServerError 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 ListCalendarOK

ListCalendarOK 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 LoginAuthBadRequest

func LoginAuthBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.Login) http.ResponseWriter

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

func LoginAuthOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.Login) (http.ResponseWriter, *app.MaraToken)

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

func ResetAuthBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.Reset) http.ResponseWriter

ResetAuthBadRequest runs the method Reset 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 ResetAuthOK

func ResetAuthOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.AuthController, payload *app.Reset) http.ResponseWriter

ResetAuthOK runs the method Reset 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 ShowCalendarInternalServerError

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

ShowCalendarInternalServerError runs the method Show 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 ShowCalendarNotFound

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

ShowCalendarNotFound runs the method Show 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 ShowCalendarOK

ShowCalendarOK runs the method Show 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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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