qtdeclarative/tests/auto/qml
Dmitrii Akshintsev 29b5743f47 QQmlPropertyCacheCreator extract and expose tryCreateQQmlPropertyData
This patch aims to extract the logic of transforming QV4::CompiledData::Property into QQmlPropertyData. Currently it's arguably a responsibility of QQmlPropertyCacheCreator because it is responsible for the resolution of property type, which is central to the creation of QQmlPropertyData.

Such refactoring allows more detailed and robust testing of irProperty -> QQmlPropertyData, which is handy in the context of QTBUG-98320 to make sure that property attributes are propagated correctly to the QQmlPropertyData (and later to the cache).

Change-Id: Iffdfd22f515016c61c087414f0c4530e43556091
Task-number: QTBUG-98320
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2025-09-17 15:31:15 +02:00
..
animation QtQml: Unregister QML animation timer on deletion 2025-09-16 14:18:34 +02:00
bindingdependencyapi
common
compiler Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
debugger QQmlDataTest: drop default try timeout from 5 seconds to 1 2025-08-07 10:45:29 +08:00
ecmascripttests Clean up ECMAScript test runner 2025-06-18 19:16:05 +00:00
linebylinelex Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
parserstress
qjsengine QtQml: Empty SimpleArrayData vacant space when truncating 2025-09-12 22:28:51 +02:00
qjsmanagedvalue QtQml: Store detached VariantAssociation objects on the JS heap 2025-08-21 20:33:23 +02:00
qjsonbinding Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qjsprimitivevalue
qjsvalue QtQml: Return QVariant{Map|Hash} as-is when converting QJSValue 2025-08-22 16:32:03 +02:00
qjsvalueiterator Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qml qml-tool: Treat all arguments passed after "--" as positional 2025-04-23 16:00:07 +02:00
qmlbasicapp
qmlcachegen tst_qmlcachegen: unify behavior for cross compiled tests 2025-07-07 12:34:50 +02:00
qmlcontextpropertydump qmlcontextpropertydump: add tool for context property search 2025-08-22 08:12:40 +02:00
qmlcppcodegen QmlCompiler: Guard against disappearing arrow functions 2025-09-15 14:55:42 +02:00
qmldiskcache QtQml: Re-run complete compilation pipeline on checksum mismatch 2025-05-26 17:05:21 +02:00
qmlformat qmlformat: add 'single line empty objects' option 2025-08-26 16:30:12 +02:00
qmlimportscanner qmlimportscanner: Optionally add version to output again 2025-07-08 11:50:09 +02:00
qmllint qmllint: Do not warn about QQmlPropertyMap access 2025-08-25 09:53:26 +02:00
qmlplugindump
qmlsplitlib
qmltc Include what you need: qquaternion.h 2025-07-04 12:53:30 +02:00
qmltc_manual
qmltc_qprocess qmltc: Don't crash on missing type information 2025-08-05 17:06:31 +02:00
qmltoolingsettings qmlformat: allow specifying an alternative location for settings 2025-08-14 19:54:41 +02:00
qmltyperegistrar qmltyperegister: clean paths before de-duplicating them 2025-09-05 12:07:29 +02:00
qqmlanybinding QtQml: Fix QQmlAnyBinding::ofProperty 2025-03-07 09:00:05 +01:00
qqmlapplicationengine Use updated _qt_internal_android_get_target_deployment_dir exclusively 2025-08-27 21:11:33 +02:00
qqmlbinding QtQml: Don't check binding bit when searching value type proxy bindings 2025-06-29 19:46:38 +02:00
qqmlchangeset
qqmlcomponent QQmlDataTest: drop default try timeout from 5 seconds to 1 2025-08-07 10:45:29 +08:00
qqmlconnections
qqmlconsole LoggingCategory: Ensure that name is set early enough 2025-06-30 11:58:43 +02:00
qqmlcontext QQmlDataTest: drop default try timeout from 5 seconds to 1 2025-08-07 10:45:29 +08:00
qqmlcpputils
qqmldelegatemodel QmlModels: Test model-writing behavior of delegates 2025-09-12 22:29:13 +02:00
qqmldirparser
qqmlecmascript Binding: Avoid inconsistent state transition 2025-09-03 08:41:26 +02:00
qqmlengine tst_qqmlengine: Further stabilize 2025-09-05 15:28:58 +02:00
qqmlenginecleanup
qqmlerror
qqmlexpression
qqmlextensionplugin Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qqmlfile Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qqmlfileselector
qqmlglobal
qqmlimport QtQml: Hold QQmlTypeLoader in QV4::ExecutionEngine 2025-06-17 07:00:33 +02:00
qqmlincubator QtQml: Hold QQmlTypeLoader in QV4::ExecutionEngine 2025-06-17 07:00:33 +02:00
qqmlinfo
qqmlinstantiator Properly wire up DelegateModel's modelChanged signal 2025-09-12 22:33:57 +02:00
qqmlitemmodels
qqmljslogger QQmlJSLogger: Don't trigger assert in QColorOutput 2025-08-05 17:06:31 +02:00
qqmljsscope qmltyperegistrar: add line numbers to methods, properties and signals 2025-08-18 20:03:33 +02:00
qqmljsutils Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qqmllanguage QtQml: Optimize a few more methods of QV4::Sequence 2025-09-05 15:28:58 +02:00
qqmllistcompositor
qqmllistmodel QQmlListModel: Align variants of set() for array-likes 2025-05-20 17:04:51 +02:00
qqmllistmodelworkerscript
qqmllistreference
qqmllocale Change exponent case to match the format passed to locale.toString() 2025-03-29 13:45:57 +01:00
qqmlmetaobject Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qqmlmetatype QtQml: Hold QQmlTypeLoader in QV4::ExecutionEngine 2025-06-17 07:00:33 +02:00
qqmlmoduleplugin QQmlTypeLoader: Re-implement fileExists using QDir and QDirListing 2025-07-07 16:06:45 +02:00
qqmlnotifier
qqmlobjectmodel
qqmlopenmetaobject
qqmlparser tst_qqmlparser: add tests for the property declarations 2025-06-25 12:52:13 +02:00
qqmlpromise Fix typo: rename sucessful to successful 2025-07-23 13:24:57 +08:00
qqmlproperty QQmlDataTest: drop default try timeout from 5 seconds to 1 2025-08-07 10:45:29 +08:00
qqmlpropertycache Revert "QtQml: Remove dependency hashing" 2025-05-15 23:34:19 +02:00
qqmlpropertycachecreator QQmlPropertyCacheCreator extract and expose tryCreateQQmlPropertyData 2025-09-17 15:31:15 +02:00
qqmlpropertymap
qqmlqt Replace btoa() and atob() with better implementations 2025-07-11 16:02:55 +02:00
qqmlrangemodel QmlModels: Don't notify twice for model changes 2025-09-05 12:08:22 +02:00
qqmlsettings Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qqmlsortfilterproxymodel Provide a way to sieve data in QML through the SortFilterProxyModel 2025-05-30 08:17:04 +02:00
qqmlsqldatabase
qqmlsynchronizer QtQml: Long live Qt.labs.synchronizer! 2025-04-30 11:21:20 +02:00
qqmltablemodel Qml[Table|Tree]Model: Move validateRow to QAbstractColumnModel 2025-08-25 14:22:32 +02:00
qqmltimer QQmlTimer: Remove blacklisting for MSVC 2019 2025-01-23 08:52:22 +01:00
qqmltranslation QtQml: Hold QQmlTypeLoader in QV4::ExecutionEngine 2025-06-17 07:00:33 +02:00
qqmltreemodel Test QQmlTreeModel::setData through delegates 2025-05-30 21:46:12 +02:00
qqmltreemodeltotablemodel Remove unused variable in test 2025-07-15 10:33:07 +02:00
qqmltypeloader QQmlTypeLoader: Also populate directory cache on directoryExists 2025-07-09 10:06:42 +02:00
qqmlvaluetypeproviders Include what you need: qquaternion.h 2025-07-04 12:53:30 +02:00
qqmlvaluetypes Include what you need: qquaternion.h 2025-07-04 12:53:30 +02:00
qqmlxmlhttprequest QQmlDataTest: drop default try timeout from 5 seconds to 1 2025-08-07 10:45:29 +08:00
qqmlxmllistmodel
qquickfolderlistmodel Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qquickworkerscript QtQml: Allow remote JavaScript files in WorkerScript 2025-06-17 07:00:37 +02:00
qrcqml
qtqmlmodules
qv4assembler Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
qv4estable
qv4identifiertable
qv4mm QtQml: Check for locals in metatypes stack frame before accessing them 2025-09-11 20:00:46 +02:00
qv4regexp
qv4urlobject
qwidgetsinqml Tests: include QTest, not QtTest 2025-04-15 19:27:07 +02:00
registrationmacros
v4misc QtQml: Better encapsulate QV4::Script 2025-06-05 20:56:15 +02:00
CMakeLists.txt QQmlPropertyCacheCreator extract and expose tryCreateQQmlPropertyData 2025-09-17 15:31:15 +02:00
runall.sh