test: fixed XPASS from tst_qstatictext on qpa
authorRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 17 Aug 2011 23:40:55 +0000 (09:40 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 18 Aug 2011 06:05:38 +0000 (08:05 +0200)
commit3817a82ebdb777e54e7594f205f3cd69a12cc874
treef19b055347967862e9fe55616f099a25e49536ba
parent1ed19b09ce9b250f100f528ef07bf515225958c7
test: fixed XPASS from tst_qstatictext on qpa

These tests were written to compare two different methods of drawing
text, to ensure the result was the same.  However, if _both_ methods
turned out to be complete no-ops, the test would unexpectedly pass, as
it never verified that anything was painted.  Add additional
verification steps and QEXPECT_FAIL them on qpa for now.

Task-number: QTBUG-20977

Change-Id: I1ce1b7c2bcd683fc9eeaeb8d1483268e56f5cf08
Reviewed-on: http://codereview.qt.nokia.com/3117
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
tests/auto/qstatictext/tst_qstatictext.cpp