Documentation ¶
Overview ¶
Package servetest contains test logic shared between multiple frameworks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestRouteData ¶
func TestRouteData(t *testing.T, rmap common.RouteMap, routeInputs RouteInputs)
TestRouteData is called from a framework-specific test to check that input types are correct. rmap and/or routeInputs may be nil, in which case the default values are used.
Types ¶
type RouteInputs ¶
RouteInputs defines the inputs used by each route.
func DefaultRouteInputs ¶
func DefaultRouteInputs() RouteInputs
DefaultRouteInputs defines the inputs used by each route. Exported so that it can be modified if a framework deviates from the default.
Click to show internal directories.
Click to hide internal directories.