summaryrefslogtreecommitdiffstats
path: root/tests/auto/cpptest/q3dbars/tst_bars.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix invalid value handlingTomi Korpipaa2023-04-181-3/+3
| | | | | | | Pick-to: 6.5 Fixes: QTBUG-112773 Change-Id: I3b00587d27e88dd69b58efe3551abf8759df0020 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Port from container::count() and length() to size()Marc Mutz2022-10-051-22/+22
| | | | | | | | | | | | | | | | | | | This is a semantic patch using ClangTidyTransformator as in qtbase/df9d882d41b741fef7c5beeddb0abe9d904443d8: auto QtContainerClass = expr(hasType(namedDecl(hasAnyName(<classes>)))).bind(o) makeRule(cxxMemberCallExpr(on(QtContainerClass), callee(cxxMethodDecl(hasAnyName({"count", "length"), parameterCountIs(0))))), changeTo(cat(access(o, cat("size"), "()"))), cat("use 'size()' instead of 'count()/length()'")) a.k.a qt-port-to-std-compatible-api with config Scope: 'Container', with the extended set of container classes recognized. Change-Id: Ibed02600e225ee63c06d61bcd6187518f650a0a0 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Use SPDX license identifiersLucie Gérard2022-06-131-28/+2
| | | | | | | | | | | 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: I3b3112f5a36673b90fff0010f973d020886cf08d Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add hasSeries method to Abstract3D graphSami Varanka2021-09-241-0/+10
| | | | | | | | | | | | | Added a hasSeries method to Abstract3Dgraph. The method can be used to check whether a series has already been added to the graph. In addition, modified cpp and qml autotests to test the added method. Fixes: QTBUG-96683 Change-Id: I91f70ca15b6c5fbaa7691cd17bbfc2ef460c3d37 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Add: Margin between series columns in Bars3DSami Varanka2021-08-241-0/+3
| | | | | | | | | | | | | | Added a new property to Bars3D. The property controls the margin between the columns of series. It can be used to show bars belonging to same column, but different series side by side. Also added autotest for qml and cpp. Fixes: QTBUG-69036 Change-Id: I3c353e9097a8be8cafc05f8f5120e4266baa4a5c Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Remove custom namespaceTomi Korpipaa2021-01-281-2/+0
| | | | | | Fixes: QTBUG-90400 Change-Id: Ia2f1974a21112bad97724717d073d367c4413a7f Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
* Enable tests for boot2qtSami Nurmenniemi2017-08-111-0/+4
| | | | | | | | | | | | The tests for boot2qt were disabled with commit 0340120d5f7940c9aebfd0f60328805227f8824d. Some of them can now be enabled since qtdeclarative fallbacks to software renderer if OpenGL is not supported. Some tests still need to be skipped if OpenGL is not supported. Task-number: QTBUG-60268 Change-Id: I8019859bc88497e08599d0b5f4981b9a3ac071f3 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
* Copyright file update to GPLMiikka Heikkinen2016-01-121-9/+17
| | | | | Change-Id: Ib264fe1f2cd1589e2ba1ef2dc7d8f3951e125708 Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
* Fix issues with COIN buildsMiikka Heikkinen2015-10-221-0/+2
| | | | | | | | | | | | -Fix miscellaneous compile errors -Move manual tests to manual folder and enable export of autotests -Added widgets requirement -Fixed autotests -Fixed renderer and controller synchronization in QML case -Treat fallback Mesa as ES2 similar to setting AA_UseSoftwareOpenGL Change-Id: If6619733725d079e339bef16262e5ea1450ab20f Reviewed-by: Tomi Korpipää <tomi.korpipaa@theqtcompany.com>
* Update license headersMiikka Heikkinen2015-10-201-11/+14
| | | | | Change-Id: I0581aefcf9dabc64b05eb8c97b5b92da1fb26299 Reviewed-by: Titta Heikkala <titta.heikkala@theqtcompany.com>
* Copyright header changesMika Salmela2015-04-141-3/+3
| | | | | | | Copyright header changes for 5.5. Change-Id: I0361cfe1ebdb28955cb927700f14cf7b72694421 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Change copyright headers.Miikka Heikkinen2014-11-071-7/+7
| | | | | | Change-Id: I453438fee92f18c983c1bef04c68b24a7ff72cf9 Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com> Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
* Fixed Valgrind reported issues in cpp testsMiikka Heikkinen2014-11-061-1/+7
| | | | | Change-Id: I284832fc697e0ac6ef1ba1bb857892a10cbcd8fd Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
* Added autotests for C++ axes Tomi Korpipää2014-10-221-0/+3
| | | | | | | Task-number: QTRD-3368 Change-Id: I79f49ba839f191b64206f38763b2afff167757b7 Change-Id: I79f49ba839f191b64206f38763b2afff167757b7 Reviewed-by: Mika Salmela <mika.salmela@theqtcompany.com>
* Added C++ autotests for seriesTomi Korpipää2014-10-211-0/+4
| | | | | | | | | Also fixed a bug found in testing, and added tests for optional constructors for already tested classes. Task-number: QTRD-3368 Change-Id: I2214f28e2c5069ecab422fc6817acb2f0c0b192b Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Q3DBars, Q3DScatter and Q3DSurface autotests Tomi Korpipää2014-10-131-2/+288
| | | | | | | Task-number: QTRD-3368 Change-Id: I86f1d632fe4421c35cc492161c7334602e6f61c0 Change-Id: I86f1d632fe4421c35cc492161c7334602e6f61c0 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
* Added initial CPP autotestsTomi Korpipää2014-10-101-0/+108
Task-number: QTRD-3368 Just a skeleton with a very basic test set for now. Change-Id: I53309374a7d9cbfd06a4cdfbeb302f6649db9c4a Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>