summaryrefslogtreecommitdiff
path: root/tests/auto/declarative
Commit message (Collapse)AuthorAgeFilesLines
* Fix qdeclarativedebug* test failures.Andrew den Exter2012-02-031-1/+1
| | | | | | | | | Add a copy of the qmldbg_tcp plugin to be built when the qtdeclarative module is not available, and fix a failure due to metatype enum reordering. Change-Id: I0c0a40bffba327d3342b5def4f6de331ad65e177 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Fix visual tests with incorrect imports.Andrew den Exter2012-02-038-8/+8
| | | | | | | | Text.maximumLineCount is a QtQuick 1.1 property so any of the tests for need to import 1.1 instead of 1.0. Change-Id: I54b85e9150f40b19c39f9cbc573b045d3a3e0a95 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Add expected failures for failing TextEdit and TextInput tests.Andrew den Exter2012-02-023-1/+3
| | | | | Change-Id: Ib51b244f0e1a3e58ab06ddf5bdd0e244c8d09004 Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Fix assert in moduleqt47 test.Andrew den Exter2012-02-021-1/+1
| | | | | | | | Add widgets to the config so the test is initialized with QApplication instead of QGuiApplication. Change-Id: I32ca84fce98f5d97fcd50f055ce62e7a305a8311 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Fix QDeclarativeXmlHttpRequest test failures.Andrew den Exter2012-02-0211-18/+17
| | | | | | | | | | Add deflate to accepted encodings in line with added support in QNetworkAccessManager, ensure instances of TestHTTPServer are destroyed if a test fails so they don't interfere with subsequent tests, and don't return any data for a HEAD request. Change-Id: If3d01dc1fa955282f9ab9423abb5baf69a6df2ff Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Fix or ignore test qdeclarativetextinput test failures.Andrew den Exter2012-02-023-34/+31
| | | | | | | | | | | Don't leave dangling pointers to test plaform input contexts, clear preedit text from input before continuing with test, allow some larger error for cursor positions across all platforms, and add an expected failure for a failure originating in QWidgetLineControl. Change-Id: I843d13c29d8e44e5e6bfa71b67358b11c1741e97 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Fix QDeclarativeApplication test failure.Andrew den Exter2012-02-021-7/+2
| | | | | | | | | QApplication::setActiveWindow(0) doesn't deactivate the application on all platforms, activating a null window through QWindowSystemInterface does. Change-Id: Id46a32a36a511756851f7c44a18f76af72ff1e03 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Fix QDeclarativeMouseArea test failure.Andrew den Exter2012-02-021-14/+14
| | | | | | | Increase the drag distances to accomadate a larger drag threshold. Change-Id: If2354e27433bfa31a9110922aa19d00f5d617873 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Fix QDeclarativeSystemPalette test failure.Andrew den Exter2012-02-012-1/+2
| | | | | | | | Include the QApplication header to ensure we're using the QApplication from QtWidgets rather than an alias for QGuiApplication. Change-Id: Iddfd5e5ff386ed3a7ba93dd1c26a4627d5df551d Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Remove Symbian specific test.Andrew den Exter2012-02-011-28/+0
| | | | | | | | | The test was failing because of the deprecated second argument to QSKIP, since the test is no longer relevant the whole thing can be removed instead of just the argument. Change-Id: I3cf7d4c53723825ebc69e3d51cb51dab04bd2e18 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Fix ListView and GridView test failures.Andrew den Exter2012-02-012-2/+2
| | | | | | | | The QAbstractItemModel moved signals expect the destination index to be relative to the list prior to the moved items being removed. Change-Id: If992b7f305677dac284e152fd44e55c258c85dc3 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Fix assert when binding to property variant.Andrew den Exter2012-02-013-1281/+1
| | | | | | | | | Remove workarounds for the QVariant meta-type and use it directly and remove QMetaObjectBuilder entirely and use the up to date copy in qtbase. Change-Id: I1ad601906d6b172adc7ce7bb63af28cd578eb5d7 Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Fix compile failures.Andrew den Exter2012-01-315-19/+15
| | | | | | | | Remove uses of QLineControl, QTextControl and QBool and forward declared QGraphicsWidget. Change-Id: Ic5184a1d5aebfb1100ad0e24444b6773f4e617e8 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Modify QtQuick1 to build in Qt5Matthew Vogt2012-01-31154-887/+999
| | | | | Change-Id: I1c5ccaef420e8f119e761f50b969127f430df7ba Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Import relevant source from Qt 4.8Matthew Vogt2012-01-302373-0/+240370
Change-Id: I5078db4081d95290c54f39d3c0efc2fc2f62e6a6