MCPcopy Index your code
hub / github.com/aceld/zinx / TestRouterAdd

Function TestRouterAdd

znet/routerSilces_test.go:37–43  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

35}
36
37func TestRouterAdd(t *testing.T) {
38
39 server := NewUserConfServer(&zconf.Config{RouterSlicesMode: true, TCPPort: 8999, Host: "127.0.0.1"})
40 server.AddRouterSlices(1, A1, A2, A3)
41 server.Serve()
42
43}

Callers

nothing calls this directly

Calls 3

NewUserConfServerFunction · 0.85
AddRouterSlicesMethod · 0.65
ServeMethod · 0.65

Tested by

no test coverage detected