testToolsetMetadataWithDefault returns a ToolsetMetadata with Default flag for testing
(id string, isDefault bool)
| 30 | |
| 31 | // testToolsetMetadataWithDefault returns a ToolsetMetadata with Default flag for testing |
| 32 | func testToolsetMetadataWithDefault(id string, isDefault bool) ToolsetMetadata { |
| 33 | return ToolsetMetadata{ |
| 34 | ID: ToolsetID(id), |
| 35 | Description: "Test toolset: " + id, |
| 36 | Default: isDefault, |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | // mockToolWithDefault creates a mock tool with a default toolset flag |
| 41 | func mockToolWithDefault(name string, toolsetID string, readOnly bool, isDefault bool) ServerTool { |
no test coverage detected