Stabilize some tests.
authorOlivier Goffart <ogoffart@trolltech.com>
Thu, 10 Sep 2009 08:17:26 +0000 (10:17 +0200)
committerOlivier Goffart <ogoffart@trolltech.com>
Thu, 10 Sep 2009 09:05:13 +0000 (11:05 +0200)
commitb8d44332bbbca1d065a07cba79ad179bd9c0197c
tree03bfe563238dc13cba07efb67f4f83594cdfe86d
parent53b4b458982fd9520ac710843fd5b68780adf159
Stabilize some tests.

For the QFontMetrics test, the different way of computing the with of a
text returs different value (1 to 2 pixel difference).
So we need to make sure to use the same way to compute the with that the
one used to ellide.
tests/auto/qabstractitemview/tst_qabstractitemview.cpp
tests/auto/qbuttongroup/tst_qbuttongroup.cpp
tests/auto/qfontmetrics/tst_qfontmetrics.cpp