From: Konstantin Ritt Date: Thu, 11 Oct 2012 01:00:11 +0000 (+0300) Subject: Fix tst_QTextEdit::fullWidthSelection2() for shadow build X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b41f22f5c4bb401182e2b458f61177b92bd48ce;p=profile%2Fivi%2Fqtbase.git Fix tst_QTextEdit::fullWidthSelection2() for shadow build Search for the test data files in the test data directory, not in the current dir. Change-Id: I746e717bae575364102c1bb5c2888332d94c374f Reviewed-by: Konstantin Ritt --- diff --git a/tests/auto/widgets/widgets/qtextedit/tst_qtextedit.cpp b/tests/auto/widgets/widgets/qtextedit/tst_qtextedit.cpp index 27369ad..cc718ea 100644 --- a/tests/auto/widgets/widgets/qtextedit/tst_qtextedit.cpp +++ b/tests/auto/widgets/widgets/qtextedit/tst_qtextedit.cpp @@ -2038,7 +2038,7 @@ void tst_QTextEdit::fullWidthSelection2() selections.append(es); widget.setExtraSelections(selections); - compareWidgetAndImage(widget, "fullWidthSelection/nowrap_long.png"); + compareWidgetAndImage(widget, m_fullWidthSelectionImagesFolder + "/nowrap_long.png"); } #endif