MCPcopy Index your code
hub / github.com/oapi-codegen/oapi-codegen / TestIrisServer

Function TestIrisServer

internal/test/strict-server/strict_test.go:30–36  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

28)
29
30func TestIrisServer(t *testing.T) {
31 server := irisAPI.StrictServer{}
32 strictHandler := irisAPI.NewStrictHandler(server, nil)
33 i := iris.New()
34 irisAPI.RegisterHandlers(i, strictHandler)
35 testImpl(t, i)
36}
37
38func TestChiServer(t *testing.T) {
39 server := chiAPI.StrictServer{}

Callers

nothing calls this directly

Calls 1

testImplFunction · 0.70

Tested by

no test coverage detected