MCPcopy Index your code
hub / github.com/docker/docker-agent / TestNameFor_DescriberFallback

Function TestNameFor_DescriberFallback

pkg/runtime/restart_test.go:39–43  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

37}
38
39func TestNameFor_DescriberFallback(t *testing.T) {
40 t.Parallel()
41 ts := &restartableToolset{desc: "mcp(stdio)"}
42 assert.Equal(t, "mcp(stdio)", nameForTest(ts, tools.DescribeToolSet(ts)))
43}
44
45// TestRestartToolset_HappyPath constructs a fake agent (LocalRuntime
46// with a single statable+restartable toolset) and exercises the by-name

Callers

nothing calls this directly

Calls 2

DescribeToolSetFunction · 0.92
nameForTestFunction · 0.85

Tested by

no test coverage detected