aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove Q_WS_*, symbian and maemo code in QtDeclarativeDamian Jansen2011-10-267-49/+24
| | | | | Change-Id: If64daf80f9d19973e0bc2d864b003a66be5ca61d Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Cursory test for QQuickGroupGoalAlan Alpert2011-10-263-0/+173
| | | | | | Change-Id: Ieb31c2885895c8377d12ba0b44b78b462d02c98e Reviewed-by: Martin Jones <martin.jones@nokia.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Basic QQuickSpriteImage autotestAlan Alpert2011-10-264-0/+153
| | | | | | | At least verifies the property covenant and instantiation success. Change-Id: I9d5170c3fd3ae59919684d377151804b71f9081f Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Add state changing properties to QQuickSpriteImageAlan Alpert2011-10-2611-0/+146
| | | | | | | Also adds a manual test for them. Change-Id: I5f7effe43f5784eccf7221f2bd72da480792bf89 Reviewed-by: Damian Jansen <damian.jansen@nokia.com>
* Add test for bug with typeof in imported js files.Michael Brasser2011-10-263-0/+71
| | | | | | Task-number: QTBUG-21864 Change-Id: I0fc9dc02f7ec00a2f7234484f5afafbbfe7ffca0 Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Eliminated usage of qttest_p4.prf in newly added test.Rohan McGovern2011-10-261-3/+3
| | | | | Change-Id: I4a1d797714e61fa5dded1137c07180c4b1cad84c Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
* Optimize listmodel and allow nested elements from worker script.Glenn Watson2011-10-267-205/+478
| | | | | | | | | | | | Added support for nested listmodels when used from a worker script thread. Optimized the implementation of ListModel, especially the performance of appending a large number of items. Added a batch append mode (with an array of JS objects) to reduce the overhead of calling from JS into native code for each append operation. Task-number:QTBUG-21508 Change-Id: I07b381dc3e8200d92d6e0af458df8850d78b510f Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Test for changing font via statesDamian Jansen2011-10-262-0/+50
| | | | | Change-Id: I1bc4bfefb5b4892be53b261d65a50a0cfd5a7d00 Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
* Fix "for (... in ...)" loops for list properties.Michael Brasser2011-10-262-0/+33
| | | | | | | Task-number: QTBUG-22276 Change-Id: Ibe5a1180044d8e4a6ca6458e8170dd027885ad10 Reviewed-by: Chris Adams <christopher.adams@nokia.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Add MultiPointTouchArea element.Michael Brasser2011-10-259-2/+725
| | | | | Change-Id: I3a4f774cd96ab7f5d08e85c965f59e1416f02e0e Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Rename QSG* to QQuick* in particles folderAlan Alpert2011-10-2587-390/+390
| | | | | Change-Id: I793eaf16f3810df0cb0f9f8482ac0b9d6137595d Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Debugger: Add autotest skeleton for inspector serviceKai Koehne2011-10-2411-102/+402
| | | | | Change-Id: I2edd0d46f9b82262b91833945515374b9683be4b Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* Fix compilation of QtQuick1 tests.Friedemann Kleint2011-10-242-244/+244
| | | | | | | | | Per widget context is no longer supported as of qtbase:3d71266fea91628d28ae4e55cd105a0bd5d8b457 Change-Id: I67c84eda958053973e764e33dc7e65b7316c8c00 Reviewed-by: Pekka Vuorela <pekka.ta.vuorela@nokia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* Make qdeclarativeincubator test compile againKent Hansen2011-10-241-1/+0
| | | | | Change-Id: I6586a75f52964d9dc466e70a9115c17fb3838d62 Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Remove QtScript dependency from autotestKent Hansen2011-10-241-1/+1
| | | | | Change-Id: Icb6aaa95d97078101c88d4c4f821f246a98a6ab7 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Remove insignificant test flag from qquickcanvasitemKent Hansen2011-10-241-1/+0
| | | | | Change-Id: I667f65bad25b0ec8d97dc7bd8b594a90609a7286 Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Fold Move into AffectorAlan Alpert2011-10-242-0/+101
| | | | | | | | | | | | | | | | | | Since 'Move' was just a generic physics property affector, it makes sense to fold it into the generic affector as an easier way of implementing the common case of custom affector (and much faster, since it doesn't hit JS). For completeness in the Move behavior, 'once' now applies the effect of affectors over a second in that one time, so as to avoid exposing the simulation tick. This allows once to have actual meaning for continous affectors. Gravity is also going to be kept around as a convenience (although it will change slightly), so just removing its deprecation warning. Change-Id: Ieb52f8990445fe95f94070175a0f9beb6686324b Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Add threshold property to FrictionAlan Alpert2011-10-242-0/+100
| | | | | | | So much easier than calculating exact counterbalancing acceleration. Change-Id: I7cc43cc2e4d0ad39d1996d432f0e29ccf7bff554 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Fix item focus following canvas focus.Andrew den Exter2011-10-245-79/+66
| | | | | | | | | Restore canvas focus handling so that active item focus is added and removed as the canvas focus changes. Task-number: QTBUG-17320 Change-Id: Ief60f35da2f3a563f397ce026ca6fea289a200c4 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Tests: Remove Q_WS_QPAFriedemann Kleint2011-10-245-15/+1
| | | | | | | Prepare for compilation without -qpa. Change-Id: I8ec76d4ea3d045be457e728391462a8b195c8883 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Mark test as failing, remove insignificant test flag.Toby Tomkins2011-10-242-2/+1
| | | | | | | | Task-number: QTBUG-21682 Change-Id: I2f6cbd65b0b364b5fbc014966817652e982f8564 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com> Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Remove insignificant test flag.Toby Tomkins2011-10-245-9/+1
| | | | | Change-Id: I1c22b3350add76f97c5268e2f6f2526d818b7556 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Remove dependency on QDesktopServices deprecated API.Martin Jones2011-10-241-2/+2
| | | | | | | | QDesktopServices::storageLocation() is deprecated in favor of QStandardPaths::writableLocation(). Change-Id: I50f73e93f39ded555123656282cf5a02abb972d8 Reviewed-by: Glenn Watson <glenn.watson@nokia.com>
* Rename Qt Quick-specific classes to QQuick*Kent Hansen2011-10-21481-3703/+3709
| | | | | | | | | | | | | | | | | | | | | | The QSG (SceneGraph) prefix is too generic for Qt Quick(2)-specific classes. All the classes and files in the declarative/items directory have been renamed. In particular, for classes that are currently public, the renaming is as follows: QSGView --> QQuickView QSGCanvas --> QQuickCanvas QSGItem --> QQuickItem QSGPaintedItem --> QQuickPaintedItem The header files have been renamed accordingly (e.g. qsgview.h --> qquickview.h). Change-Id: Iac937fff81db20bb639486a793c3aeb5230b038c Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Fix test fails related to QTBUG-22237Charles Yin2011-10-211-1/+2
| | | | | | Task-number:QTBUG-22237 Change-Id: I933c2cbd9218c8a5403712aa9dafe4221791ce0d Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Test for changing bounds of validators and acceptableInputDamian Jansen2011-10-214-0/+116
| | | | | | Task-number: QTBUG-19956 Change-Id: I771477d99939ef986bf3fa53e64a372f23ef5593 Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Remove SkipMode from qtestlib API.Jason McDonald2011-10-2116-55/+30
| | | | | | | | | | The SkipMode parameter to QSKIP has been removed in qtbase, therefore it must also be removed here. Task-number: QTBUG-21851, QTBUG-21652 Change-Id: I8016f8c28338b1b532bdb593c796d699b99250dc Reviewed-by: Charles Yin <charles.yin@nokia.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Unit test for QTBUG-21742Damian Jansen2011-10-212-2/+52
| | | | | | | Test for crash when accessing a ListView in an odd way. Change-Id: I47dd8f4eaa2990c6842cf95a62ce925edac26f9a Reviewed-by: Glenn Watson <glenn.watson@nokia.com>
* Test for ASSERT on empty tags in TextEditDamian Jansen2011-10-212-0/+63
| | | | | | | | Test for assert if user enters empty text, generally when binding a Text element to a TextEdit. Change-Id: I9d5ec511971eb823d1f2388de13eb5cdb82a4477 Reviewed-by: Yann Bodson <yann.bodson@nokia.com>
* Allow QDeclarativeIncubator to be deleted within statusChanged() callbackAaron Kennedy2011-10-202-0/+80
| | | | | Change-Id: I17621870b67d8a975545adc27ddaf9695e6a9428 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Allow one incubator to start in the statusChanged() of anotherAaron Kennedy2011-10-202-0/+90
| | | | | Change-Id: I91cb7e2a8ecc67f34cdcadc0b71f819c2881e2da Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Behave correctly when AsynchronousIfNested is nestedAaron Kennedy2011-10-204-0/+86
| | | | | | | | When AIN is nested within a synchronous AIN, it should behave synchronously. Change-Id: Ib3f8281667118d7787967f25e27797f67e581006 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Mark qsgcanvasitem test as insignificant.Martin Jones2011-10-201-0/+1
| | | | | | | See QTBUG-22242. Change-Id: I736455cff04bb4c88f0fd03ecb5fffe028687c12 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Skip failing tests.Martin Jones2011-10-201-0/+6
| | | | | | | | Possibly due to V8 update. Task-number: QTBUG-22238 Change-Id: Ide61c6693726e7b21766cac1166716a3af97e9d5 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Remove copy of tests/shared/util.h.Jason McDonald2011-10-1978-156/+3
| | | | | | | | | This module has a copy of qtbase's tests/shared/util.h, the contents of which have been moved into qtestlib and are now accessible from the QtTest/QtTest header. Change-Id: I0be9e21dc9f30629dad283a740b9d80347e01140 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Skip test that crashes entire test suite.Toby Tomkins2011-10-192-2/+1
| | | | | | | Task-number: QTBUG-21995 Change-Id: Ic6b6d052f20e4d8c710e00f7b13bacdc146288d6 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Correct behavior for passing test, ifdef out failing test.Toby Tomkins2011-10-192-7/+1
| | | | | | | Task-number: QTBUG-21005, QTBUG-21688 Change-Id: I2b6ada399e7d26045c7f0a767082892332a6a378 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* Mark particles tests as significantAlan Alpert2011-10-1820-40/+0
| | | | | | | Believed to be stable enough for CI now. Except qsgage. Change-Id: I49d52c3913bb4140de89b769777f9b6d67abbaaa Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* Fix reference to test data fileBea Lam2011-10-181-1/+1
| | | | | Change-Id: I04e220635487d76d2908572ceb0f0696f6876e9e Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Simplify expression guard logicAaron Kennedy2011-10-184-0/+42
| | | | | | Change-Id: I7d191bc8786452c5a1f14d024ff62d223adebd8b Reviewed-by: Martin Jones <martin.jones@nokia.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Fix TextInput echoMode test failure.Andrew den Exter2011-10-181-2/+2
| | | | | | | | | The default input method hints for a QSGItem is Qt::ImhMultiline and TextInput is a single line input so clear that default flag in init. Task-number: QTBUG-21686 Change-Id: I3b57227ee4182bf89f6789f775b56efb156df85b Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Don't keep a cache of created QSGDragAttached objects.Andrew den Exter2011-10-182-25/+133
| | | | | | | It's unnecessary and can potentially return stale objects. Change-Id: Ia04b9a58757ef06d3178e6a64e168f68abc1c9d8 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Debugger: Make QDeclarativeDebugJS autotest more robust & fasterKai Koehne2011-10-174-19/+37
| | | | | | | | Also compile it by default (again). Change-Id: I04537e29d48cd1918160fe57220eecf1a72a8e66 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* Fix coding style issuesKent Hansen2011-10-1716-90/+90
| | | | | | | Avoid Qt Sanity Bot noise when these files are moved. Change-Id: I714e949837909883fe7e387ae336d2ffc4a1912b Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Tidy up some more declarative includesKent Hansen2011-10-171-0/+1
| | | | | | | Remove file dependencies that aren't needed. Change-Id: I0496ef9435141528f680bbd326da55c3a31e5978 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
* Debugger: Remove outdated test stubKai Koehne2011-10-175-207/+0
| | | | | | | This stub is testing the QScriptEngineAgent interface, which is deprecated. Change-Id: I192a7b9aed0fa49f413bd6048e874414dab8256b Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Debugger: Move debugging autotests into own folderKai Koehne2011-10-1716-11/+18
| | | | | | | | This mirrors the source tree structure and makes it easier to run them all in one go. Change-Id: Ia191790eaec2c409857c41aff479d2ebd144aaf8 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Fix GridView to repaint when geometry changesBea Lam2011-10-174-0/+114
| | | | | | Task-number: QTBUG-22078 Change-Id: Ic0ad67832dad9a7b3a7e5501893befe2d30b6c94 Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Remove insignificant flag from tests, some failing test cleanup.Toby Tomkins2011-10-176-10/+2
| | | | | | | Task-number: QTBUG-21054 QTBUG-21004 Change-Id: I9d1a3ca99363949eee952e1bd09aabef82fc1831 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Add Affector BenchmarkAlan Alpert2011-10-175-1/+331
| | | | | | | Just for generic affector. Change-Id: I62acf524eb2c6491bc88fd687a0065866d7ceaaa Reviewed-by: Martin Jones <martin.jones@nokia.com>