Skip to content
Permalink
Browse files

Revert "Remove duplicated check"

This reverts commit 9a4cecc.
The check was not duplicated, I just misread it (Oops, sorry)
  • Loading branch information
Sandro Santilli
Sandro Santilli committed Feb 19, 2015
1 parent 9a4cecc commit 53572639ec89b253a25e84d127c3f6805fbef334
Showing with 13 additions and 1 deletion.
  1. +13 −1 src/core/qgsrenderchecker.cpp
@@ -248,7 +248,19 @@ bool QgsRenderChecker::compareImages( QString theTestName,
"Image File not set.</td></tr></table>\n";
return false;
}
mRenderedImageFile = theRenderedImageFile;
if ( ! theRenderedImageFile.isEmpty() )
{
mRenderedImageFile = theRenderedImageFile;
}
if ( mRenderedImageFile.isEmpty() )
{
qDebug( "QgsRenderChecker::runTest failed - Rendered Image File not set." );
mReport = "<table>"
"<tr><td>Test Result:</td><td>Expected Result:</td></tr>\n"
"<tr><td>Nothing rendered</td>\n<td>Failed because Rendered "
"Image File not set.</td></tr></table>\n";
return false;
}
//
// Load /create the images
//

0 comments on commit 5357263

Please sign in to comment.
You can’t perform that action at this time.