diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-07-26 14:04:09 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-28 00:09:45 +0200 |
commit | 2f587ee689f7d29f08090022c171d59a66c1d730 (patch) | |
tree | b38498d48023dcd458ce96d88c61928ee9f094a8 /tests/auto/widgets/kernel/qwidget/tst_qwidget_mac_helpers.mm | |
parent | 8cf7cf0cb96188b42e10958711f8c3aa016396c3 (diff) |
Work on the QWidget-autotest.
- Introduce smart pointers to delete widgets and resources
to ensure tests are not affected by left-over widgets
also in case of failure.
- Replace deprecated QTest::qWaitForWindowShown() by
QTest::qWaitForWindowExposed() and use QVERIFY,
remove some hard-coded timeouts.
- Set some titles and object names.
- Add verbose debug output of event lists in tests
childEvents.
- Set minimum sizes on widgets to avoid Windows warnings.
- Stabilize GDIWidget, trigger on first event only.
Change-Id: I64119a2e7113e4a9f0156d00c72ce0935d03bb81
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'tests/auto/widgets/kernel/qwidget/tst_qwidget_mac_helpers.mm')
-rw-r--r-- | tests/auto/widgets/kernel/qwidget/tst_qwidget_mac_helpers.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget_mac_helpers.mm b/tests/auto/widgets/kernel/qwidget/tst_qwidget_mac_helpers.mm index 50cad19bde..5211e49e23 100644 --- a/tests/auto/widgets/kernel/qwidget/tst_qwidget_mac_helpers.mm +++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget_mac_helpers.mm @@ -44,7 +44,7 @@ #include "tst_qwidget_mac_helpers.h" #include <QApplication> -#include <QPlatformNativeInterface> +#include <qpa/qplatformnativeinterface.h> #include <private/qcore_mac_p.h> #include <Cocoa/Cocoa.h> |