File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ bool QgsRenderChecker::isKnownAnomaly( QImage theDifferenceImage )
69
69
theDifferenceImage.numBytes ());
70
70
QByteArray mySourceHash = QCryptographicHash::hash (
71
71
myData, QCryptographicHash::Md5);
72
+
72
73
for (int i = 0 ; i < myList.size (); ++i)
73
74
{
74
75
QString myFile = myList.at (i);
@@ -80,6 +81,14 @@ bool QgsRenderChecker::isKnownAnomaly( QImage theDifferenceImage )
80
81
myAnomalyImage.numBytes ());
81
82
QByteArray myAnomolyHash = QCryptographicHash::hash (
82
83
myData, QCryptographicHash::Md5);
84
+ QString myHashMessage = QString (" Source image hash %1 : Anomaly hash: %2" ).arg (
85
+ QString (mySourceHash.toHex ())).arg (QString (myAnomolyHash.toHex ()));
86
+ // fro CDash
87
+ QString myMeasureMessage = " <DartMeasurement name=\" Anomoly check"
88
+ " \" type=\" text/text\" >" + myHashMessage +
89
+ " </DartMeasurement>" ;
90
+ qDebug () << myMeasureMessage;
91
+ mReport += " <tr><td colspan=3>" + myHashMessage + " </td></tr>" ;
83
92
if ( mySourceHash.toHex () == myAnomolyHash.toHex () )
84
93
{
85
94
mReport += " <tr><td colspan=3>"
You can’t perform that action at this time.
0 commit comments