aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Purge sRGB chunks from PNGs in tests.Edward Welbourne2016-03-234-0/+0
| | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce Change-Id: I21879d6d43c610ebee074bd12417d9d5ebc69096 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
* Fix SourceProxy's method for determining when to activate.v5.6.0-beta1Gunnar Sletta2015-12-082-4/+4
| | | | | | | | | | The logic had several flaws, including not respecting sourceRect and wanted interpolation, so do it over. Change-Id: I40b147a0e18ef5f9f3a0086904f9e9f93463c7fc Task-number: QTBUG-47749 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Update tests results of QColor <=> QString conversion code updateJędrzej Nowacki2015-12-031-3/+3
| | | | | | | The tests was depending on a buggy behavior (QTBUG-37851) Change-Id: I238ff02a3ac4cdb4690b5233603f7cb4db3ef422 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
* Make DropShadow properties into 'real' again.Gunnar Sletta2015-10-191-4/+0
| | | | | | Change-Id: Icf416b5db2cf9dbb0be29fc0e3b9a855c58035e3 Task-number: QTBUG-48625 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Test type of double propertiesMitch Curtis2015-10-091-4/+55
| | | | | | | | | | This allows us to sanity-check future changes. The newly added checks are expected to fail until QTBUG-48625 is fixed. Change-Id: I9d505ee83ce774a13334c9d2e3c03baea0862237 Task-number: QTBUG-48625 Reviewed-by: Liang Qi <liang.qi@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Purge spurious execute permissions.Edward Welbourne2015-09-2912-0/+0
| | | | | | | | Running graphics and QML files would just be asking for trouble. Change-Id: I36ae4d060d1794f572230b04d1b1d4de30ed80e8 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
* Change the default DropShadow offset back to 0.Gunnar Sletta2015-08-171-2/+2
| | | | | | | | | | Though this makes DropShadows work out of the box and be less confusing to users, it also ends up breaking code that uses DropShadow as a glow effect. Change-Id: Id65dc85d2877709f3bd8d036f06c7b8fc2886777 Task-number: QTBUG-47749 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Adapt QtGraphicalEffects autotest to check for the new values.Gunnar Sletta2015-03-241-15/+11
| | | | | Change-Id: Iff577c9400cf2b3de9b97c8b898b4c971a2b9514 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Adapt GaussianBlur autotest to the new default values.Gunnar Sletta2015-03-131-4/+3
| | | | | Change-Id: I27c405af55384b5ea9a5c823bfed9fb5e8ba2161 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Let sourceproxy auto-configure layers.Gunnar Sletta2015-03-101-1/+15
| | | | | | | | | | | | | | | | | | In the old SourceProxy implementation, layer.enabled = true that the layer was used without a shader source in between. However, since effects like Blur and DropShadow requires updates to sourceRect and such, the effects would not work properly. Since the usecase for layers is primarily to combine it with layer.effect, we configure the layer. [ChangeLog] When applying an effect to Item::layer.effect, the effect will update the layer properties to make the effect work, such as 'smooth' to 'true' and changing 'sourceRect' to take 'transparentBorder' into account. Change-Id: Idd68b025ade46c0b84142b2afb244730bed863d2 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Move SourceProxy to C++ and introduce "private" module.Gunnar Sletta2015-03-102-0/+355
| | | | | | | | | | | This gives us a bit better control in terms of what we want to check for. It should also fix some subtle bugs when layer and ShaderEffectSource is used as input. Change-Id: I29de13598811623c31563ac6e88f070aee0bab54 Task-number: QTBUG-40849 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Update copyright headersv5.5.0-rc1v5.5.0-beta1v5.5.0-alpha1v5.5.0Antti Kokko2015-02-1748-210/+210
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I8983b05749d75b438a314e7f385a85c612a04f6f Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Update license headers and add new licensesv5.4.0-alpha1Jani Heikkinen2014-08-246-114/+66
| | | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I452f44a464e8da80ee4c0c38de6ec6abfd6ac285 Reviewed-by: Antti Kokko <antti.kokko@digia.com> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
* tst_qtgraphicaleffects: make the test work on devicesold/5.2Sergio Ahumada2014-02-061-1/+1
| | | | | | | | | | | | Make the test find the 'QtGraphicalEffects' import under Qml2ImportsPath (QML 2.x) instead of ImportsPath (QML 1.x) when the source code is not available. This seems to have worked so far because the source code is always available in the CI machines, but it fails on devices where is not. Change-Id: I475ccd5431d5e7c3adf239b1158d7bb67e0bc042 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-1048-48/+48
| | | | | | Change-Id: Idaf2ac8f4dc2a8586c6e148bd67a33e9bdd677e1 Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* test: Remove unused opengl dependencyv5.0.0-beta2Sergio Ahumada2012-10-311-1/+1
| | | | | Change-Id: I8c00ae2974c9697602214a0e46df98b86adbf35c Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-2448-396/+396
| | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I06d9e8f818910ab9243afb73087f187a4b3b05f4 Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Don't use QtDeclarative compat moduleSergio Ahumada2012-05-182-81/+81
| | | | | | | Use QtQml instead. Change-Id: I88479de928a358a521efded01c68ac2c37f953bb Reviewed-by: Marko Niemelä <marko.a.niemela@nokia.com>
* Fixed RectangularGlow cache mode.Marko Niemelä2012-03-141-0/+5
| | | | | | | | Effect internal cache was incorreclty sized according to parent, not shaderItem as it should be. Change-Id: I7d9c8c034b9c0e4f5a8f65c223cd0b82ed807691 Reviewed-by: Kim Gronholm <kim.1.gronholm@nokia.com>
* tst_qtgraphicaleffects: make the test work prior to installationRohan McGovern2012-03-061-26/+43
| | | | | | | | | | | | | | | | | Tests should be working both before and after `make install'. Adjust this test so it can load QtGraphicalEffects either from the source tree or the install tree. This code already attempted to accomplish this: engine.addImportPath("../../src"); It didn't work, since the directory in the source tree is named "effects" and not "QtGraphicalEffects". It also would not work when the build tree and source tree are different. Change-Id: Ied964714d72e041caa937a4204668fe4f86da3f5 Reviewed-by: Marko Niemelä <marko.a.niemela@nokia.com>
* tst_qtgraphicaleffects: fixed typoRohan McGovern2012-03-061-2/+2
| | | | | | | lenght -> length Change-Id: I406995cad6992e5f48e38ebcb6d94cfae2a1b9db Reviewed-by: Marko Niemelä <marko.a.niemela@nokia.com>
* tst_qtgraphicaleffects: improved creation of componentsRohan McGovern2012-03-061-27/+69
| | | | | | | | | | | If errors occur, include them in the test failure message. Verify that the component is ready before calling create(). Remove unnecessary QTest::qWait(). Change-Id: I6a63bafed859ab564c3e3fc7a044ac998e079fea Reviewed-by: Marko Niemelä <marko.a.niemela@nokia.com>
* Fix outdated license headerSergio Ahumada2012-03-0648-184/+188
| | | | | Change-Id: I210c10369f97ab8289bff3c3d7e6dc26d9215936 Reviewed-by: Jyri Tahtela <jyri.tahtela@nokia.com>
* Added a config variable to auto tests' pro fileSami Hietanen2012-02-161-0/+2
| | | | | Change-Id: I2e46eeed1e966cb3677f12e9bfab6ec6598eb91e Reviewed-by: Marko Niemelä <marko.a.niemela@nokia.com>
* Fixed autotests to work with latest Qt5Marko Niemelä2012-02-061-2/+1
|
* Removed unnecessary alpha slider from Colorize testMarko Niemelä2012-02-012-1/+3
|
* TestBed RecursiveBlur slider range adjustedMarko Niemelä2012-02-011-1/+1
|
* RadialBlur offset and angle interpretation changedMarko Niemelä2012-02-011-2/+2
|
* TestBed to show only one decimal for position valuesMarko Niemelä2012-02-017-16/+16
|
* TestBed progressBar aligment fixedMarko Niemelä2012-02-011-1/+2
|
* TestBed slider fixed to show integers without decimalsMarko Niemelä2012-02-011-1/+1
|
* TestBed slider value aligment correctedMarko Niemelä2012-02-012-2/+4
|
* TestBed label value color correctedMarko Niemelä2012-02-011-1/+1
|
* TestBed effect selection highlight improvedMarko Niemelä2012-01-311-2/+2
|
* Fixed TestBed HSL color pickerMarko Niemelä2012-01-311-11/+6
|
* TestBed background rect changed to be squareMarko Niemelä2012-01-311-3/+8
|
* TestBed effect selection highlight behavior changedMarko Niemelä2012-01-301-2/+3
|
* Relocated position picker rounding in TestBedMarko Niemelä2012-01-307-19/+16
|
* Fixed MaskedBlur transparentBorderMarko Niemelä2012-01-301-7/+10
|
* Deleted system test result imagesMarko Niemelä2012-01-26229-0/+0
|
* More intuitive test UI controls for LevelAdjust effectMarko Niemelä2012-01-265-40/+258
|
* Background color selection updateAntti Sinnemaa2012-01-243-20/+44
|
* TestBed BGColorPicker amout of hardcoded values reducedMarko Niemelä2012-01-241-10/+14
|
* TestBed postionPicker to show only 2 decimalsMarko Niemelä2012-01-241-2/+5
|
* TestBed control height animation initially disabledMarko Niemelä2012-01-241-1/+6
|
* Color updatesAntti Sinnemaa2012-01-245-18/+18
|
* Merge branch 'master' of git://gitorious.org/qt-labs/qtgraphicaleffectsMarko Niemelä2012-01-243-10/+10
|\
| * Displace effect updateAntti Sinnemaa2012-01-243-10/+10
| |
* | Added missing dropshadow from testbed workareaMarko Niemelä2012-01-242-0/+5
| |
* | Larger test app slider mouseareaMarko Niemelä2012-01-241-2/+2
| |