test

package
v0.0.0-...-2b3100b Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootstrapUIOK

func BootstrapUIOK(t *testing.T, ctrl app.UIController)

BootstrapUIOK test setup

func BootstrapUIOKCtx

func BootstrapUIOKCtx(t *testing.T, ctx context.Context, ctrl app.UIController)

BootstrapUIOKCtx test setup

func CallbackAuthOK

func CallbackAuthOK(t *testing.T, ctrl app.AuthController, provider string)

CallbackAuthOK test setup

func CallbackAuthOKCtx

func CallbackAuthOKCtx(t *testing.T, ctx context.Context, ctrl app.AuthController, provider string)

CallbackAuthOKCtx test setup

func CreateProposalCreated

func CreateProposalCreated(t *testing.T, ctrl app.ProposalController, userID string, payload *app.CreateProposalPayload)

CreateProposalCreated test setup

func CreateProposalCreatedCtx

func CreateProposalCreatedCtx(t *testing.T, ctx context.Context, ctrl app.ProposalController, userID string, payload *app.CreateProposalPayload)

CreateProposalCreatedCtx test setup

func CreateReviewCreated

func CreateReviewCreated(t *testing.T, ctrl app.ReviewController, userID string, proposalID string, payload *app.CreateReviewPayload)

CreateReviewCreated test setup

func CreateReviewCreatedCtx

func CreateReviewCreatedCtx(t *testing.T, ctx context.Context, ctrl app.ReviewController, userID string, proposalID string, payload *app.CreateReviewPayload)

CreateReviewCreatedCtx test setup

func CreateUserCreated

func CreateUserCreated(t *testing.T, ctrl app.UserController, payload *app.CreateUserPayload)

CreateUserCreated test setup

func CreateUserCreatedCtx

func CreateUserCreatedCtx(t *testing.T, ctx context.Context, ctrl app.UserController, payload *app.CreateUserPayload)

CreateUserCreatedCtx test setup

func DeleteProposalNoContent

func DeleteProposalNoContent(t *testing.T, ctrl app.ProposalController, userID string, proposalID int)

DeleteProposalNoContent test setup

func DeleteProposalNoContentCtx

func DeleteProposalNoContentCtx(t *testing.T, ctx context.Context, ctrl app.ProposalController, userID string, proposalID int)

DeleteProposalNoContentCtx test setup

func DeleteProposalNotFound

func DeleteProposalNotFound(t *testing.T, ctrl app.ProposalController, userID string, proposalID int)

DeleteProposalNotFound test setup

func DeleteProposalNotFoundCtx

func DeleteProposalNotFoundCtx(t *testing.T, ctx context.Context, ctrl app.ProposalController, userID string, proposalID int)

DeleteProposalNotFoundCtx test setup

func DeleteReviewNoContent

func DeleteReviewNoContent(t *testing.T, ctrl app.ReviewController, userID string, proposalID string, reviewID int)

DeleteReviewNoContent test setup

func DeleteReviewNoContentCtx

func DeleteReviewNoContentCtx(t *testing.T, ctx context.Context, ctrl app.ReviewController, userID string, proposalID string, reviewID int)

DeleteReviewNoContentCtx test setup

func DeleteReviewNotFound

func DeleteReviewNotFound(t *testing.T, ctrl app.ReviewController, userID string, proposalID string, reviewID int)

DeleteReviewNotFound test setup

func DeleteReviewNotFoundCtx

func DeleteReviewNotFoundCtx(t *testing.T, ctx context.Context, ctrl app.ReviewController, userID string, proposalID string, reviewID int)

DeleteReviewNotFoundCtx test setup

func DeleteUserNoContent

func DeleteUserNoContent(t *testing.T, ctrl app.UserController, userID int)

DeleteUserNoContent test setup

func DeleteUserNoContentCtx

func DeleteUserNoContentCtx(t *testing.T, ctx context.Context, ctrl app.UserController, userID int)

DeleteUserNoContentCtx test setup

func DeleteUserNotFound

func DeleteUserNotFound(t *testing.T, ctrl app.UserController, userID int)

DeleteUserNotFound test setup

func DeleteUserNotFoundCtx

func DeleteUserNotFoundCtx(t *testing.T, ctx context.Context, ctrl app.UserController, userID int)

DeleteUserNotFoundCtx test setup

func ListProposalOK

func ListProposalOK(t *testing.T, ctrl app.ProposalController, userID string) *app.ProposalCollection

ListProposalOK test setup

func ListProposalOKCtx

func ListProposalOKCtx(t *testing.T, ctx context.Context, ctrl app.ProposalController, userID string) *app.ProposalCollection

ListProposalOKCtx test setup

func ListReviewOK

func ListReviewOK(t *testing.T, ctrl app.ReviewController, userID string, proposalID string) *app.ReviewCollection

ListReviewOK test setup

func ListReviewOKCtx

func ListReviewOKCtx(t *testing.T, ctx context.Context, ctrl app.ReviewController, userID string, proposalID string) *app.ReviewCollection

ListReviewOKCtx test setup

func ListReviewOKLink(t *testing.T, ctrl app.ReviewController, userID string, proposalID string) *app.ReviewLinkCollection

ListReviewOKLink test setup

func ListReviewOKLinkCtx

func ListReviewOKLinkCtx(t *testing.T, ctx context.Context, ctrl app.ReviewController, userID string, proposalID string) *app.ReviewLinkCollection

ListReviewOKLinkCtx test setup

func ListUserOK

func ListUserOK(t *testing.T, ctrl app.UserController) *app.UserCollection

ListUserOK test setup

func ListUserOKCtx

func ListUserOKCtx(t *testing.T, ctx context.Context, ctrl app.UserController) *app.UserCollection

ListUserOKCtx test setup

func OauthAuthOK

func OauthAuthOK(t *testing.T, ctrl app.AuthController, provider string) *app.Authorize

OauthAuthOK test setup

func OauthAuthOKCtx

func OauthAuthOKCtx(t *testing.T, ctx context.Context, ctrl app.AuthController, provider string) *app.Authorize

OauthAuthOKCtx test setup

func RefreshAuthCreated

func RefreshAuthCreated(t *testing.T, ctrl app.AuthController, payload *app.RefreshAuthPayload) *app.Authorize

RefreshAuthCreated test setup

func RefreshAuthCreatedCtx

func RefreshAuthCreatedCtx(t *testing.T, ctx context.Context, ctrl app.AuthController, payload *app.RefreshAuthPayload) *app.Authorize

RefreshAuthCreatedCtx test setup

func ShowProposalNotFound

func ShowProposalNotFound(t *testing.T, ctrl app.ProposalController, userID string, proposalID int)

ShowProposalNotFound test setup

func ShowProposalNotFoundCtx

func ShowProposalNotFoundCtx(t *testing.T, ctx context.Context, ctrl app.ProposalController, userID string, proposalID int)

ShowProposalNotFoundCtx test setup

func ShowProposalOK

func ShowProposalOK(t *testing.T, ctrl app.ProposalController, userID string, proposalID int) *app.Proposal

ShowProposalOK test setup

func ShowProposalOKCtx

func ShowProposalOKCtx(t *testing.T, ctx context.Context, ctrl app.ProposalController, userID string, proposalID int) *app.Proposal

ShowProposalOKCtx test setup

func ShowProposalOKLink(t *testing.T, ctrl app.ProposalController, userID string, proposalID int) *app.ProposalLink

ShowProposalOKLink test setup

func ShowProposalOKLinkCtx

func ShowProposalOKLinkCtx(t *testing.T, ctx context.Context, ctrl app.ProposalController, userID string, proposalID int) *app.ProposalLink

ShowProposalOKLinkCtx test setup

func ShowReviewNotFound

func ShowReviewNotFound(t *testing.T, ctrl app.ReviewController, userID string, proposalID string, reviewID int)

ShowReviewNotFound test setup

func ShowReviewNotFoundCtx

func ShowReviewNotFoundCtx(t *testing.T, ctx context.Context, ctrl app.ReviewController, userID string, proposalID string, reviewID int)

ShowReviewNotFoundCtx test setup

func ShowReviewOK

func ShowReviewOK(t *testing.T, ctrl app.ReviewController, userID string, proposalID string, reviewID int) *app.Review

ShowReviewOK test setup

func ShowReviewOKCtx

func ShowReviewOKCtx(t *testing.T, ctx context.Context, ctrl app.ReviewController, userID string, proposalID string, reviewID int) *app.Review

ShowReviewOKCtx test setup

func ShowReviewOKLink(t *testing.T, ctrl app.ReviewController, userID string, proposalID string, reviewID int) *app.ReviewLink

ShowReviewOKLink test setup

func ShowReviewOKLinkCtx

func ShowReviewOKLinkCtx(t *testing.T, ctx context.Context, ctrl app.ReviewController, userID string, proposalID string, reviewID int) *app.ReviewLink

ShowReviewOKLinkCtx test setup

func ShowUserNotFound

func ShowUserNotFound(t *testing.T, ctrl app.UserController, userID int)

ShowUserNotFound test setup

func ShowUserNotFoundCtx

func ShowUserNotFoundCtx(t *testing.T, ctx context.Context, ctrl app.UserController, userID int)

ShowUserNotFoundCtx test setup

func ShowUserOK

func ShowUserOK(t *testing.T, ctrl app.UserController, userID int) *app.User

ShowUserOK test setup

func ShowUserOKCtx

func ShowUserOKCtx(t *testing.T, ctx context.Context, ctrl app.UserController, userID int) *app.User

ShowUserOKCtx test setup

func ShowUserOKLink(t *testing.T, ctrl app.UserController, userID int) *app.UserLink

ShowUserOKLink test setup

func ShowUserOKLinkCtx

func ShowUserOKLinkCtx(t *testing.T, ctx context.Context, ctrl app.UserController, userID int) *app.UserLink

ShowUserOKLinkCtx test setup

func TokenAuthCreated

func TokenAuthCreated(t *testing.T, ctrl app.AuthController, payload *app.TokenAuthPayload) *app.Authorize

TokenAuthCreated test setup

func TokenAuthCreatedCtx

func TokenAuthCreatedCtx(t *testing.T, ctx context.Context, ctrl app.AuthController, payload *app.TokenAuthPayload) *app.Authorize

TokenAuthCreatedCtx test setup

func UpdateProposalNoContent

func UpdateProposalNoContent(t *testing.T, ctrl app.ProposalController, userID string, proposalID int, payload *app.UpdateProposalPayload)

UpdateProposalNoContent test setup

func UpdateProposalNoContentCtx

func UpdateProposalNoContentCtx(t *testing.T, ctx context.Context, ctrl app.ProposalController, userID string, proposalID int, payload *app.UpdateProposalPayload)

UpdateProposalNoContentCtx test setup

func UpdateProposalNotFound

func UpdateProposalNotFound(t *testing.T, ctrl app.ProposalController, userID string, proposalID int, payload *app.UpdateProposalPayload)

UpdateProposalNotFound test setup

func UpdateProposalNotFoundCtx

func UpdateProposalNotFoundCtx(t *testing.T, ctx context.Context, ctrl app.ProposalController, userID string, proposalID int, payload *app.UpdateProposalPayload)

UpdateProposalNotFoundCtx test setup

func UpdateReviewNoContent

func UpdateReviewNoContent(t *testing.T, ctrl app.ReviewController, userID string, proposalID string, reviewID int, payload *app.UpdateReviewPayload)

UpdateReviewNoContent test setup

func UpdateReviewNoContentCtx

func UpdateReviewNoContentCtx(t *testing.T, ctx context.Context, ctrl app.ReviewController, userID string, proposalID string, reviewID int, payload *app.UpdateReviewPayload)

UpdateReviewNoContentCtx test setup

func UpdateReviewNotFound

func UpdateReviewNotFound(t *testing.T, ctrl app.ReviewController, userID string, proposalID string, reviewID int, payload *app.UpdateReviewPayload)

UpdateReviewNotFound test setup

func UpdateReviewNotFoundCtx

func UpdateReviewNotFoundCtx(t *testing.T, ctx context.Context, ctrl app.ReviewController, userID string, proposalID string, reviewID int, payload *app.UpdateReviewPayload)

UpdateReviewNotFoundCtx test setup

func UpdateUserNoContent

func UpdateUserNoContent(t *testing.T, ctrl app.UserController, userID int, payload *app.UpdateUserPayload)

UpdateUserNoContent test setup

func UpdateUserNoContentCtx

func UpdateUserNoContentCtx(t *testing.T, ctx context.Context, ctrl app.UserController, userID int, payload *app.UpdateUserPayload)

UpdateUserNoContentCtx test setup

func UpdateUserNotFound

func UpdateUserNotFound(t *testing.T, ctrl app.UserController, userID int, payload *app.UpdateUserPayload)

UpdateUserNotFound test setup

func UpdateUserNotFoundCtx

func UpdateUserNotFoundCtx(t *testing.T, ctx context.Context, ctrl app.UserController, userID int, payload *app.UpdateUserPayload)

UpdateUserNotFoundCtx test setup

Types

This section is empty.

Jump to

Keyboard shortcuts

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