Compose the single user-facing status string from the entry's `disabledReason`. The reason covers every disable source — caller-supplied requirements, ImGui::BeginDisabled auto-detect, and "blocked by modal ' '" (all formatted at registration time in `MRUITestEngine.cpp:effectiveDisabledReason`).
| 73 | // auto-detect, and "blocked by modal '<name>'" (all formatted at registration time in |
| 74 | // `MRUITestEngine.cpp:effectiveDisabledReason`). |
| 75 | static std::string composeStatus( std::string_view disabledReason ) |
| 76 | { |
| 77 | if ( !disabledReason.empty() ) |
| 78 | return fmt::format( "disabled: {}", disabledReason ); |
| 79 | return "available"; |
| 80 | } |
| 81 | |
| 82 | static EntryType typeOf( const TestEngine::Entry& entry ) |
| 83 | { |
no test coverage detected