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

Function runTestFunc

tests/init_test.go:258–264  ·  view source on GitHub ↗
(runTest interface{}, t *testing.T, name string, m reflect.Value, key string)

Source from the content-addressed store, hash-verified

256}
257
258func runTestFunc(runTest interface{}, t *testing.T, name string, m reflect.Value, key string) {
259 reflect.ValueOf(runTest).Call([]reflect.Value{
260 reflect.ValueOf(t),
261 reflect.ValueOf(name),
262 m.MapIndex(reflect.ValueOf(key)),
263 })
264}

Callers 1

runTestFileMethod · 0.85

Calls 1

CallMethod · 0.65

Tested by

no test coverage detected