| 545 | } |
| 546 | |
| 547 | type apiTestToolRegistry struct { |
| 548 | registry *toolspkg.RuntimeRegistry |
| 549 | mu sync.Mutex |
| 550 | calls map[toolspkg.ToolID]int |
| 551 | lastListScope toolspkg.Scope |
| 552 | lastCallScope toolspkg.Scope |
| 553 | lastCallRequest toolspkg.CallRequest |
| 554 | lastSearchScope toolspkg.Scope |
| 555 | lastSearchQuery toolspkg.SearchQuery |
| 556 | lastToolset toolspkg.ToolsetID |
| 557 | } |
| 558 | |
| 559 | func newAPITestToolRegistry( |
| 560 | t *testing.T, |
nothing calls this directly
no outgoing calls
no test coverage detected