]> SALOME platform Git repositories - modules/hydro.git/blobdiff - src/HYDRO_tests/TestViewer.cxx
Salome HOME
using DTM object in stream
[modules/hydro.git] / src / HYDRO_tests / TestViewer.cxx
index 904dbc93d0029bd309b6787d226403a825f5914e..fce3baadf3643f100b23246b8d3b323bc88395bd 100644 (file)
@@ -268,7 +268,7 @@ bool TestViewer::AssertImages( QString& theMessage, const QImage* theImage, cons
   if( theCase )
     myKey = theCase;
 
-  QString anExpectedRefFilePath = qgetenv( "HYDRO_ROOT_DIR" ) + "/bin/salome/test/HYDRO";
+  QString anExpectedRefFilePath = qgetenv( "HYDRO_ROOT_DIR" ) + "/bin/salome/test";
   anExpectedRefFilePath += "/" + myKey + ".png";
   QImage anExpectedRefImage; 
   anExpectedRefImage.load( anExpectedRefFilePath );
@@ -293,6 +293,8 @@ bool TestViewer::AssertImages( QString& theMessage, const QImage* theImage, cons
   QString aDiffFilePath = QDir::tempPath() + "/" + myKey + "_diff.png";
   aDiff.save( aDiffFilePath );
 
+  anExpectedRefImage.save( QDir::tempPath() + "/" + myKey + "_1.png");
+
   return false;
 }