MCPcopy Create free account
hub / github.com/CPChain/chain / testNodeConfig

Function testNodeConfig

node/node_test.go:22–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20)
21
22func testNodeConfig() *Config {
23 return &Config{
24 Name: "test node",
25 P2P: p2p.Config{PrivateKey: testNodeKey},
26 }
27}
28
29// Tests that an empty protocol stack can be started, restarted and stopped.
30func TestNodeLifeCycle(t *testing.T) {

Callers 11

TestContextServicesFunction · 0.85
TestNodeLifeCycleFunction · 0.85
TestServiceRegistryFunction · 0.85
TestServiceLifeCycleFunction · 0.85
TestServiceRestartsFunction · 0.85
TestServiceRetrievalFunction · 0.85
TestProtocolGatherFunction · 0.85
TestAPIGatherFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected