(parameters []plugin.ExecutionParameter)
| 340 | } |
| 341 | |
| 342 | func (c TestRunCommand) getFolder(parameters []plugin.ExecutionParameter) string { |
| 343 | folderId := c.getIntParameter("folder-id", 0, parameters) |
| 344 | if folderId != 0 { |
| 345 | return strconv.Itoa(folderId) |
| 346 | } |
| 347 | return c.getStringParameter("folder", "Shared", parameters) |
| 348 | } |
| 349 | |
| 350 | func (c TestRunCommand) getIntParameter(name string, defaultValue int, parameters []plugin.ExecutionParameter) int { |
| 351 | result := defaultValue |
no test coverage detected