determineStatusFromOverall extracts SUCCESS or FAILURE from overall result string
(overall string)
| 1273 | |
| 1274 | // determineStatusFromOverall extracts SUCCESS or FAILURE from overall result string |
| 1275 | func determineStatusFromOverall(overall string) string { |
| 1276 | if strings.Contains(overall, "PASSED") { |
| 1277 | return statusSuccess |
| 1278 | } |
| 1279 | return statusFailure |
| 1280 | } |
| 1281 | |
| 1282 | // toText converts ComponentResultsDisplay to text format using existing String() methods |
| 1283 | // This reuses the existing formatting logic and avoids code duplication |
no outgoing calls
no test coverage detected