qtdeclarative/tests
Ulf Hermann 1207d0a374 DelegateModel: Do not redundantly re-scan model data all the time
Once we've scanned a given QVariant for its metaobject-relevant
properties, we don't have to do it again until it changes.

This also avoids rescanning the model data when tearing down a list
view, which might otherwise access dangling pointers of deleted model
objects.

Fixes: QTBUG-120113
Change-Id: I373a69141668e3ec0e7ee3f3a86248da88882b41
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
(cherry picked from commit 0a7f89007a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2023-12-22 17:10:16 +00:00
..
auto DelegateModel: Do not redundantly re-scan model data all the time 2023-12-22 17:10:16 +00:00
baseline Maintain z order of shapepaths during update in CurveRenderer 2023-11-29 12:27:06 +01:00
benchmarks QmlDom: Add const-correctness 2023-09-15 09:01:59 +02:00
global
libfuzzer/qml
manual Material: reduce padding for Dense variant of Button 2023-12-18 03:46:11 +00:00
system
testapplications
CMakeLists.txt qmlls: build and run tests in CI 2023-11-01 21:30:45 +01:00
README

README

This directory contains autotests and benchmarks based on QTestlib. 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.