aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Change license for test filesLucie Gérard2024-03-285-5/+5
| | | | | | | | | | | | According to QUIP-18 [1], all test files should be LicenseRef-Qt-Commercial OR GPL-3.0-only [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: Ie79bc8c7ffd3c6a06d1b6eda6936861e4b17f119 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Add QML module QtQuick.Timeline.BlendTreesAndy Nichols2023-12-064-0/+486
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new QML module adds the ability to blend multiple TimelineAnimations together to create new more dynamic animations. This commit adds the following components: BlendTreeNode BlendAnimationNode TimelineAnimationNode BlendTreeNodes are a base class that produces frame data(property changes for a frame). TimelineAnimationNodes produces frameData using a TimelineAnimation. BlendAnimationNodes allows you to combine two sources of frame data, by blending based on a weight value. These can be chained together to create complex animations. By default, no property changes are actually written to the scene. If you want to commit the changes to the scene you should set the outputEnabled of any BlendTreeNode to true, and it will commit its properties to the scene. Normally, a Timeline component can only have a single animation playing at a time, and enforces this behavior. It is not uncommon to define multiple animations in a single Timeline though. For this module to work you cannot use the Timeline.animations property, since this is the mechanism that enforces that only one Animation can be played at a time. Task-number: QTBUG-113136 Change-Id: I7d6cd7beaa1edf504cbd7386979e764bd42b84ec Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Fix the broken test after the retirement of qt_parse_all_argumentsAmir Masoud Abdol2023-01-201-1/+1
| | | | | | | | | | As we are now processing the arguments with cmake_parse_arguments(PARSE_ARGV, we don't need to pass the escape characters anymore. Task-number: QTBUG-99238 Change-Id: If21cac4d1fc47a231d4c98b4c459851be91a1de9 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-233-3/+3
| | | | | | | Task-number: QTBUG-105718 Change-Id: Id997a4096d517937bb8e0c985e2b148d4f63c11e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use QT_DISABLE_DEPRECATED_UP_TO instead of QT_DISABLE_DEPRECATED_BEFOREIvan Solovev2022-08-221-1/+1
| | | | | | Task-number: QTBUG-104944 Change-Id: Ie63a309c177c8df4227f30c08891c077bca4eb3d Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* CMake: Don't use PUBLIC_LIBRARIES for tests and test helpersAlexandru Croitor2022-07-281-1/+1
| | | | | Change-Id: If432168c50418309febdd20fb92c639e5a9fa218 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-073-0/+9
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I6d4f495b99b5ec3446fa28c24639523e0647c6eb Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-1519-616/+38
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: Id08a72f10277d29991582947fd3d5cfb1c2c2293 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Fix static build resource integration to testTatiana Borisova2022-03-021-0/+12
| | | | | | | | Task-number: QTBUG-99123 Pick-to: 6.2 6.3 Change-Id: I8f25fa5c30290b22c987b1099e0aff0ccbebc8ba Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Use proper license for manual testThomas Hartmann2021-10-051-6/+14
| | | | | | | Task-number: QTBUG-97043 Pick-to: 6.0 6.1 6.2 Change-Id: I5e447cfa45701bd768de3b2147dbe11b56edf604 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Remove QMake project filesJoerg Bornemann2021-02-113-14/+0
| | | | | | | | | | This includes removal of the corresponding .prev_CMakeLists.txt files. Pick-to: 6.1 Task-number: QTBUG-88742 Change-Id: Ia972ca4490225874bbee94afd24aea19bb95e83b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
* Fix license header testJani Heikkinen2021-01-131-4/+4
| | | | | | | | | header.COMM was updated and it seems it is used in qtquicktimeline manual test so updating license header to match updated one Pick-to: 6.0 5.15 Change-Id: Ib4cead7b47ebf6ce7910264dbf1952c504f3e521 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* CMake: Regenerate projects to use new qt_internal_ APIAlexandru Croitor2020-10-011-1/+1
| | | | | | | | Modify special case locations to use the new API as well. Task-number: QTBUG-86815 Change-Id: I8edd8c394d4c59102219696ffdb3d9f9fdc312fa Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add support for keyframes binary formatKaj Grönholm2020-08-2412-3/+509
| | | | | | | | | | | | | | | | | | | | Some models/animations may contain a large amount of keyframes, leading to a lot of Keyframe QML elements. This can make QML file large and not perform well. This commit adds support for 'keyframeSource' TimelineGroup property which can be used to load keyframes data from a file in CBOR binary format. Format specification included in commit. Contains keyframeBinaryGenerator manual test to assist in generating these keyframe files. This was used for test10.qml manual test content. Also adds missing Circles.qml Task-number: QTBUG-85148 Change-Id: I5f4dc8e5f21e41310def8416fd1e7abc951229f2 Reviewed-by: Andy Nichols <andy.nichols@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* qtquicktimeline: Initial CMake portCristian Adam2020-06-023-0/+28
| | | | | Change-Id: I76bfd19304b3dbce5bd29a1f05c7968d6f397182 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix license header for manual testsv5.15.0-beta4Thomas Hartmann2020-04-0210-90/+200
| | | | | | | Task-number: QTBUG-83248 Change-Id: I5d257d99c21485b42b419677de747c5e946e988b Reviewed-by: Fabian Vogt <fabian@ritter-vogt.de> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Remove flaky test caseThomas Hartmann2019-11-271-5/+0
| | | | | | | | The timeout already is ridiculously high. Task-number: QTBUG-80367 Change-Id: I7197021e7312a76d4a0b9d507f220731ceb56ad5 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
* Ensure the timeline is updated if frame properties changev1.0.01.0Thomas Hartmann2019-05-241-0/+7
| | | | | | | | If the frame number or the easing curve of a frame change, then we have to update the timeline. Change-Id: Id2a1b571727fa5414d62bf0bc549699c28da0dcd Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Fix flaky testThomas Hartmann2019-05-091-1/+1
| | | | | | | On the CI the animation seems to require more time to finish. Change-Id: Ia79aab272d21401186b592a9b0257b6394261ad5 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Add testsThomas Hartmann2019-05-077-1/+962
| | | | | | Task-number: QDS-56 Change-Id: Iddbfc2cd9aaf1170a79a75bfd93f517f441d5f69 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Add more manual testsThomas Hartmann2018-10-316-0/+783
| | | | | Change-Id: Ib845f33091c43aff1fe574e2864fe3b59f3c6cf1 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* prepare for ciTim Jenssen2018-08-233-11/+19
| | | | | | | | | - update .gitignore - add empty unit test directory - fix license headers Change-Id: Ie11bd02c8a1fb38a42cc6002b2c832e3d77709be Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* test05.qml: Make the namings of states and animations more consistentAlessandro Portale2018-04-271-42/+34
| | | | | Change-Id: Iebc766ecb7c0e12bfc904ab2defa0da205b8f551 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Add TimelineAnimationThomas Hartmann2018-04-276-20/+530
| | | | | | | | | | | * New api to define animation clips * Special animation type for timeline * Adding ping pong for TimelineAnimation * Adjusting manual tests * Adding new manual tests Change-Id: Ic670b389062ef4ac92e000bc99574e5fa04a7006 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Rename Keyframes to KeyframeGroupThomas Hartmann2018-04-183-13/+13
| | | | | Change-Id: I3c31e2a3ab576e2293d1c8dd3d60b6d4550777e4 Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
* Rename KeyframeMutator to TimelineThomas Hartmann2018-04-103-9/+9
| | | | | | | Also renaming the class and tests. Change-Id: I6037c00608c7fc31eb9e8c969d8b67861dbf5711 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Initial commitThomas Hartmann2017-11-297-0/+588
This implements the timeline module for keyframe based animations in Qt Quick. Change-Id: Icf4a4191da7580f670a02ef52e4b0bee4befed18 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>