-------------------------------------------------------------------------
| 31 | { |
| 32 | //------------------------------------------------------------------------- |
| 33 | std::wstring |
| 34 | GetAdviceMessage(const std::wstring& noFileSelectedMessage, |
| 35 | const std::string& selectedOption, |
| 36 | const std::string& excludedOption, |
| 37 | const std::filesystem::path& suggestedFilter) |
| 38 | { |
| 39 | auto selectOptionFlag = L"--" + Tools::LocalToWString(selectedOption); |
| 40 | auto excludedOptionFlag = |
| 41 | L"--" + Tools::LocalToWString(excludedOption); |
| 42 | |
| 43 | return noFileSelectedMessage + L" Please check the values of " + |
| 44 | selectOptionFlag + L" and " + excludedOptionFlag + |
| 45 | L".\n" |
| 46 | L"You can try to remove all " + |
| 47 | selectOptionFlag + L" and " + excludedOptionFlag + |
| 48 | L" and use " + selectOptionFlag + L'=' + |
| 49 | suggestedFilter.wstring() + L" instead.\n" + |
| 50 | L"For additional help, see " + |
| 51 | L"https://github.com/OpenCppCoverage/OpenCppCoverage/wiki/FAQ#coverage-report-is-empty."; |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | //------------------------------------------------------------------------- |
no test coverage detected