Documentation ¶
Index ¶
- type TestSuite
- func (ts *TestSuite) Run(t *testing.T, mux func() ambient.AppRouter)
- func (ts *TestSuite) Test400(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) Test404(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) Test500NoError(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) Test500WithError(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestBadRequest(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestDelete(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestGet(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestHead(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestInstance(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestNotFound(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestOptions(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestParams(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestPatch(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestPostForm(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestPostJSON(t *testing.T, mux ambient.AppRouter)
- func (ts *TestSuite) TestPut(t *testing.T, mux ambient.AppRouter)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestSuite ¶
type TestSuite struct{}
TestSuite performs standard tests.
func (*TestSuite) Test500NoError ¶
Test500NoError .
func (*TestSuite) Test500WithError ¶
Test500WithError .
func (*TestSuite) TestBadRequest ¶
TestBadRequest .
func (*TestSuite) TestDelete ¶
TestDelete .
func (*TestSuite) TestInstance ¶
TestInstance .
func (*TestSuite) TestNotFound ¶
TestNotFound .
func (*TestSuite) TestOptions ¶
TestOptions .
func (*TestSuite) TestParams ¶
TestParams .
func (*TestSuite) TestPostForm ¶
TestPostForm .
func (*TestSuite) TestPostJSON ¶
TestPostJSON .
Click to show internal directories.
Click to hide internal directories.