diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-23 19:03:01 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-09-23 20:22:15 (GMT) |
commit | f6b942b88ed2519b73c540120fde73390716173f (patch) | |
tree | 378c5b425afd0466efa224e725cbcaea2a4ba26a /tests/auto/q3table | |
parent | 5c5a6b387319095a2c2a589bb1e1d67b51854fc1 (diff) | |
download | Qt-f6b942b88ed2519b73c540120fde73390716173f.zip Qt-f6b942b88ed2519b73c540120fde73390716173f.tar.gz Qt-f6b942b88ed2519b73c540120fde73390716173f.tar.bz2 |
Stabilize more tests
Diffstat (limited to 'tests/auto/q3table')
-rw-r--r-- | tests/auto/q3table/tst_q3table.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/q3table/tst_q3table.cpp b/tests/auto/q3table/tst_q3table.cpp index ca65852..f911dd4 100644 --- a/tests/auto/q3table/tst_q3table.cpp +++ b/tests/auto/q3table/tst_q3table.cpp @@ -51,6 +51,8 @@ #include <q3table.h> #include <qlayout.h> +#include "../../shared/util.h" + #define WAITS 1 #ifdef WAITS #endif @@ -499,6 +501,8 @@ void tst_Q3Table::pageUpDownNavigation() void tst_Q3Table::simpleKeyboardNavigation() { + QApplication::setActiveWindow(testWidget); + QTRY_COMPARE(QApplication::activeWindow(), testWidget); QWidget *w; // Test for task #24726 |