MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / TestNewHTTPServer

Function TestNewHTTPServer

protocol/http/http_server_test.go:27–32  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

25}
26
27func TestNewHTTPServer(t *testing.T) {
28 server, err := newHttpHandler()
29 time.Sleep(time.Millisecond * 100)
30 defer server.Clean()
31 assert.Nil(t, err)
32}
33
34// 测试Put方法
35func TestPut(t *testing.T) {

Callers

nothing calls this directly

Calls 2

newHttpHandlerFunction · 0.85
CleanMethod · 0.45

Tested by

no test coverage detected