summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativemoduleplugin
Commit message (Collapse)AuthorAgeFilesLines
* Set the Qt API level to compatibility mode in all tests.Thiago Macieira2012-08-039-0/+9
| | | | | | | | | | Qt 5.0 beta requires changing the default to the 5.0 API, disabling the deprecated code. However, tests should test (and often do) the compatibility API too, so turn it back on. Task-number: QTBUG-25053 Change-Id: I9b0267e5fd947cec4b66debfa6c2795008643d18 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* QtQuick1: Fix build warnings.Friedemann Kleint2012-05-101-1/+1
| | | | | | | | - Add missing .json file. - Fix warnings about unused variables, deprecated cast from char*. Change-Id: Ibb5065e604460ff945b3e452b2270d2b7368ea49 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Avoid space between parenthesis and control statement => unbreak JomMarius Storm-Olsen2012-03-284-5/+5
| | | | | | | | Jom doesn't handle that extra space, so avoid it. (Yes, Jom should be fixed too) Change-Id: Ie78b0830832cb88f7a3d96ea9bc63769111f03dc Reviewed-by: Chris Adams <christopher.adams@nokia.com>
* Windows: Fix qdeclarativemoduleplugin testMiikka Heikkinen2012-02-231-1/+1
| | | | | | | | | | | | | | | | The failure was caused by drive letter being wrong case. The whole QVERIFY here was pointless, as all it was doing was verifying what QTest::qFindTestData() returned earlier when resolving the imports directory (path variable), which is in no way relevant to this test - especially as the drive letter case is anyway fixed on the next line. Removed the unnecessary QVERIFY and added equivalent if statement to fix the drive letter case only if it is wrong. Task-number: QTBUG-24471 Change-Id: I15c9fdd5c451723e7e877709280d7483fc769c32 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Use new plugin system in QtQuick1.Friedemann Kleint2012-02-219-16/+17
| | | | | | | | - Use prefix "org.qt-project" for interfaces. - Use new macros, add json files. Change-Id: I157206ad883be16fb85b9b6bffca7200532561e4 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Copy qmldir files into build tree with associated plugins.Matthew Vogt2012-02-1524-10/+212
| | | | | | | | | | | | | The qdeclarativemoduleplugin test verifies that the plugins it constructs are correctly imported. Ths requires that the qmldir files that describe the plugins are copied into the build tree along with the plugins they refer to. QML (and .js, where relevant) files must also be copied into the same directory if they form part of the imported module. Change-Id: I827a0b678a17cac42aadc4f2176fdd8bd693aab1 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Add QDeclarativeDataTest base class to locate test data.Friedemann Kleint2012-02-092-38/+26
| | | | | | | | | | | | - Remove TEST_FILE and TEST_DATA macros in favour of base class that uses QFINDTESTDATA to locate the data. This avoids repeated searching and handles Windows correctly (executables in release/debug subfolders). - Modeled after an existing class in the QtQuick2 tests (see qtdeclarative\tests\auto\shared\util.*). Change-Id: I9e595953328fb552648cef4c7f712d9000f53832 Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
* Fix license header format.Matthew Vogt2012-02-078-16/+8
| | | | | Change-Id: Ib71237ed181d075329a0267b5c108e6534c13e4e Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Fix license headers to match conventions.Matthew Vogt2012-02-078-0/+8
| | | | | | | | Files updated to mtach licensing conventions for different types, and license text updated to match current. Change-Id: Ib2c7457fbc3b37907ab3936e176e6f16f8308036 Reviewed-by: Andrew den Exter <andrew.den-exter@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>
* Modify QtQuick1 to build in Qt5Matthew Vogt2012-01-3117-28/+29
| | | | | Change-Id: I1c5ccaef420e8f119e761f50b969127f430df7ba Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Import relevant source from Qt 4.8Matthew Vogt2012-01-3040-0/+1054
Change-Id: I5078db4081d95290c54f39d3c0efc2fc2f62e6a6