diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2022-03-24 11:27:17 +0100 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2022-03-29 13:56:14 +0100 |
commit | 3c5b3a36af4e3d9dca5e6fbc9b95ddad74f747d3 (patch) | |
tree | 7c11736eec2820f97642d4a784ef8307e2e4427c /tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | |
parent | 2a893db48017a850044156442b93d935c78e941d (diff) |
Introduce QTestPrivate::androidCompatibleShow() helper function
This function should be used in QWidget-related test cases instead of
QWidget::show() when you need to move or resize the widget and then
compare its position or geometry with the expected value.
The reason for introducing it is that on Android QWidget::show() is
showing the widget maximized by default, so its position and size
can't be changed.
Task-number: QTBUG-87668
Pick-to: 6.3 6.2
Change-Id: I8ec5c07b73968b98d924a41e5d41ddb4d7be1ced
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp')
0 files changed, 0 insertions, 0 deletions