(name string, result any, delay time.Duration)
| 61 | } |
| 62 | |
| 63 | func 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 | |
| 72 | func TestNewExecutor(t *testing.T) { |
| 73 | toolMap := map[string]tools.Tool{ |
no outgoing calls
no test coverage detected