test

package
v0.0.0-...-d42fbf4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListClassInternalServerError

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

ListClassInternalServerError 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 ListClassNotFound

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

ListClassNotFound 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 ListClassOK

ListClassOK 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 ShowClassInternalServerError

func ShowClassInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) http.ResponseWriter

ShowClassInternalServerError 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 ShowClassNotFound

func ShowClassNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) http.ResponseWriter

ShowClassNotFound 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 ShowClassOK

func ShowClassOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) (http.ResponseWriter, *app.StudiouslyClass)

ShowClassOK 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.

func ShowMembersClassInternalServerError

func ShowMembersClassInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) http.ResponseWriter

ShowMembersClassInternalServerError runs the method ShowMembers 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 ShowMembersClassNotFound

func ShowMembersClassNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) http.ResponseWriter

ShowMembersClassNotFound runs the method ShowMembers 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 ShowMembersClassOK

func ShowMembersClassOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int) (http.ResponseWriter, app.StudiouslyMemberCollection)

ShowMembersClassOK runs the method ShowMembers 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 ShowQuestionInternalServerError

func ShowQuestionInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) http.ResponseWriter

ShowQuestionInternalServerError 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 ShowQuestionNotFound

func ShowQuestionNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) http.ResponseWriter

ShowQuestionNotFound 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 ShowQuestionOK

func ShowQuestionOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) (http.ResponseWriter, *app.StudiouslyQuestion)

ShowQuestionOK 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.

func ShowQuestionOKByAuthor

func ShowQuestionOKByAuthor(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) (http.ResponseWriter, *app.StudiouslyQuestionByAuthor)

ShowQuestionOKByAuthor 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.

func ShowQuestionOKByType

func ShowQuestionOKByType(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) (http.ResponseWriter, *app.StudiouslyQuestionByType)

ShowQuestionOKByType 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.

func ShowQuestionOKByUnit

func ShowQuestionOKByUnit(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) (http.ResponseWriter, *app.StudiouslyQuestionByUnit)

ShowQuestionOKByUnit 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.

func ShowQuestionOKFeed

func ShowQuestionOKFeed(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.QuestionController, questionID int) (http.ResponseWriter, *app.StudiouslyQuestionFeed)

ShowQuestionOKFeed 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.

func ShowQuestionsClassBadRequest

func ShowQuestionsClassBadRequest(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) http.ResponseWriter

ShowQuestionsClassBadRequest runs the method ShowQuestions 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 ShowQuestionsClassInternalServerError

func ShowQuestionsClassInternalServerError(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) http.ResponseWriter

ShowQuestionsClassInternalServerError runs the method ShowQuestions 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 ShowQuestionsClassNotFound

func ShowQuestionsClassNotFound(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) http.ResponseWriter

ShowQuestionsClassNotFound runs the method ShowQuestions 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 ShowQuestionsClassOK

func ShowQuestionsClassOK(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) (http.ResponseWriter, app.StudiouslyQuestionCollection)

ShowQuestionsClassOK runs the method ShowQuestions 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 ShowQuestionsClassOKByAuthor

func ShowQuestionsClassOKByAuthor(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) (http.ResponseWriter, app.StudiouslyQuestionByAuthorCollection)

ShowQuestionsClassOKByAuthor runs the method ShowQuestions 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 ShowQuestionsClassOKByType

func ShowQuestionsClassOKByType(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) (http.ResponseWriter, app.StudiouslyQuestionByTypeCollection)

ShowQuestionsClassOKByType runs the method ShowQuestions 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 ShowQuestionsClassOKByUnit

func ShowQuestionsClassOKByUnit(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) (http.ResponseWriter, app.StudiouslyQuestionByUnitCollection)

ShowQuestionsClassOKByUnit runs the method ShowQuestions 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 ShowQuestionsClassOKFeed

func ShowQuestionsClassOKFeed(t goatest.TInterface, ctx context.Context, service *goa.Service, ctrl app.ClassController, classID int, answered *bool, authorID *int, questionType *string, unitID *int) (http.ResponseWriter, app.StudiouslyQuestionFeedCollection)

ShowQuestionsClassOKFeed runs the method ShowQuestions 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