diff options
author | Dominik Holland <dominik.holland@nokia.com> | 2010-07-23 09:21:38 +0200 |
---|---|---|
committer | Harald Fernengel <harald.fernengel@nokia.com> | 2010-11-02 15:26:00 +0100 |
commit | 8b68c73d1fe916fafa1e0aa0c59ba3131ebd77cc (patch) | |
tree | 599865e63bc2c8264fd963e270081532dd224271 /tests/auto/qmainwindow/tst_qmainwindow.cpp | |
parent | 46115a0b8d3de85170a2600b5abb81458dc263bf (diff) | |
download | qt4-tools-8b68c73d1fe916fafa1e0aa0c59ba3131ebd77cc.tar.gz |
Fixed QMainWindow autotests, to skip an test, that makes no sense
on maemo
Diffstat (limited to 'tests/auto/qmainwindow/tst_qmainwindow.cpp')
-rw-r--r-- | tests/auto/qmainwindow/tst_qmainwindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qmainwindow/tst_qmainwindow.cpp b/tests/auto/qmainwindow/tst_qmainwindow.cpp index c82c566974..e3122c4c66 100644 --- a/tests/auto/qmainwindow/tst_qmainwindow.cpp +++ b/tests/auto/qmainwindow/tst_qmainwindow.cpp @@ -55,6 +55,7 @@ #include <qtextedit.h> #include <private/qmainwindowlayout_p.h> #include <private/qdockarealayout_p.h> +#include "../platformquirks.h" //TESTED_FILES= @@ -1679,6 +1680,9 @@ void tst_QMainWindow::addToolbarAfterShow() void tst_QMainWindow::centralWidgetSize() { + if(PlatformQuirks::isAutoMaximizing()) + QSKIP("The platform is auto maximizing, so the test makes no sense", SkipAll);; + QMainWindow mainWindow; mainWindow.menuBar()->addMenu("menu"); |