mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Improved error message.
This commit is contained in:
parent
8acec5c9e9
commit
684f9929a9
1 changed files with 3 additions and 1 deletions
|
@ -340,8 +340,10 @@ void TestCreator::finishTestsEvaluation() {
|
|||
if (!_isRunningFromCommandLine && !_isRunningInAutomaticTestRun) {
|
||||
if (numberOfFailures == 0) {
|
||||
QMessageBox::information(0, "Success", "All images are as expected");
|
||||
} else if (numberOfFailures == 1) {
|
||||
QMessageBox::information(0, "Failure", "One image is not as expected");
|
||||
} else {
|
||||
QMessageBox::information(0, "Failure", "One or more images are not as expected");
|
||||
QMessageBox::information(0, "Failure", QString::number(numberOfFailures) + " images are not as expected");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue