| 80 | } |
| 81 | |
| 82 | void JavaCommon::javaArgsWereBad(QWidget* parent, const JavaChecker::Result& result) |
| 83 | { |
| 84 | auto htmlError = result.errorLog; |
| 85 | QString text; |
| 86 | htmlError.replace('\n', "<br />"); |
| 87 | text += QObject::tr("The specified Java binary didn't work with the arguments you provided:<br />"); |
| 88 | text += QString("<font color=\"red\">%1</font>").arg(htmlError); |
| 89 | CustomMessageBox::selectable(parent, QObject::tr("Java test failure"), text, QMessageBox::Warning)->show(); |
| 90 | } |
| 91 | |
| 92 | void JavaCommon::javaBinaryWasBad(QWidget* parent, const JavaChecker::Result& result) |
| 93 | { |
nothing calls this directly
no test coverage detected