mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-01 11:40:45 +02: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 (!_isRunningFromCommandLine && !_isRunningInAutomaticTestRun) {
|
||||||
if (numberOfFailures == 0) {
|
if (numberOfFailures == 0) {
|
||||||
QMessageBox::information(0, "Success", "All images are as expected");
|
QMessageBox::information(0, "Success", "All images are as expected");
|
||||||
|
} else if (numberOfFailures == 1) {
|
||||||
|
QMessageBox::information(0, "Failure", "One image is not as expected");
|
||||||
} else {
|
} 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