diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-01 08:03:26 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-10-01 08:11:51 (GMT) |
commit | 91b58202c089ea8f4e150717cee8dbc40b8f903c (patch) | |
tree | d23fd5c1e0cd38899569f016f516aca15b2c15ec /tests/auto/qmessagebox | |
parent | ac36357a8aa2a33491d1c308ade0a63a89a6590e (diff) | |
download | Qt-91b58202c089ea8f4e150717cee8dbc40b8f903c.zip Qt-91b58202c089ea8f4e150717cee8dbc40b8f903c.tar.gz Qt-91b58202c089ea8f4e150717cee8dbc40b8f903c.tar.bz2 |
Stabilize tests on X11
Diffstat (limited to 'tests/auto/qmessagebox')
-rw-r--r-- | tests/auto/qmessagebox/tst_qmessagebox.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qmessagebox/tst_qmessagebox.cpp b/tests/auto/qmessagebox/tst_qmessagebox.cpp index 5607fbd..12858d7 100644 --- a/tests/auto/qmessagebox/tst_qmessagebox.cpp +++ b/tests/auto/qmessagebox/tst_qmessagebox.cpp @@ -714,7 +714,8 @@ void tst_QMessageBox::setInformativeText() msgbox.setInformativeText(itext); msgbox.show(); QCOMPARE(msgbox.informativeText(), itext); - QVERIFY(msgbox.width() > 200); //verify it's big enough (task181688) + QVERIFY2(msgbox.width() > 200, //verify it's big enough (task181688) + qPrintable(QString("%1 > 200").arg(msgbox.width()))); } void tst_QMessageBox::iconPixmap() |