(t *testing.T, tools []inventory.ServerTool, _ bool)
| 350 | } |
| 351 | |
| 352 | func buildCSVOutputInventory(t *testing.T, tools []inventory.ServerTool, _ bool) *inventory.Inventory { |
| 353 | t.Helper() |
| 354 | |
| 355 | inv, err := inventory.NewBuilder(). |
| 356 | SetTools(tools). |
| 357 | Build() |
| 358 | require.NoError(t, err) |
| 359 | return inv |
| 360 | } |
| 361 | |
| 362 | func newCSVOutputTestDeps(csvOutputEnabled bool) ToolDependencies { |
| 363 | return csvOutputTestDeps{stubDeps: stubDeps{obsv: stubExporters()}, csvOn: csvOutputEnabled} |
no test coverage detected