qtbase/tests
Assam Boudjelthia 73e13a88f7 tst_QWidget: account for resize event after receiving safe margins
The top level widget in the test might be too big in some Android
devices and ends up overlapping the system areas, it would then
receive a non-null safe margins and then a resize event, so the
test needs to account for that case.

Pick-to: 6.10 6.9
Fixes: QTBUG-140192
Change-Id: Iff7194e48cc000cc0a37b66f8ac219f54a87d6db
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2025-09-17 14:21:02 +00:00
..
auto tst_QWidget: account for resize event after receiving safe margins 2025-09-17 14:21:02 +00:00
baseline QWidgetBaselineTest: Separate OS version and platform (plugin) name 2025-09-04 13:14:38 +02:00
benchmarks QRM: add initial benchmark 2025-09-10 08:41:31 +02:00
global
libfuzzer
manual QRM: allocate UI on the heap 2025-09-16 22:21:54 +02:00
shared Android: auto-tests: Add missing lib to tst_qapplication Android apk 2025-06-19 18:03:20 +03:00
testserver
CMakeLists.txt Reland: CMake: Annotate some qt_find_package calls with MODULE 2025-06-24 15:29:50 +02:00
README

README

This directory contains autotests and benchmarks based on Qt Test. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.

Linux X11:

   * The user must be logged in to an active desktop; you can't run the
     autotests without a valid DISPLAY that allows X11 connections.

   * The tests are run against a KDE3 or KDE4 desktop.

   * Window manager uses "click to focus", and not "focus follows mouse". Many
     tests move the mouse cursor around and expect this to not affect focus
     and activation.

   * Disable "click to activate", i.e., when a window is opened, the window
     manager should automatically activate it (give it input focus) and not
     wait for the user to click the window.