MCPcopy Create free account
hub / github.com/astercloud/aster / newDelayedMockTool

Function newDelayedMockTool

pkg/executionplan/executor_test.go:63–70  ·  view source on GitHub ↗
(name string, result any, delay time.Duration)

Source from the content-addressed store, hash-verified

61}
62
63func newDelayedMockTool(name string, result any, delay time.Duration) *mockTool {
64 return &mockTool{
65 name: name,
66 description: "Mock " + name,
67 result: result,
68 delay: delay,
69 }
70}
71
72func TestNewExecutor(t *testing.T) {
73 toolMap := map[string]tools.Tool{

Calls

no outgoing calls

Tested by

no test coverage detected