summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativemoduleplugin
Commit message (Collapse)AuthorAgeFilesLines
* Change to release license header.Jason McDonald2011-02-166-78/+78
| | | | Reviewed-by: Trust Me
* Make addImportPath() work for windows paths starting with lower caseBea Lam2011-02-141-1/+11
| | | | | | | | | | | | | Was causing assert failure on windows if the 'c:' was lower case, since it was being added to the import path database with a lower case and thus later lookups with an upper case 'c:' would fail. This change fixes the check for whether the path refers to a local path or not. Task-number: QTBUG-16885 Change-Id: I0a2a2f705443ed453fb2b13f8599e035c2bd2877 Reviewed-by: Martin Jones (cherry picked from commit 33512bc223be373975426ffcc6f8fa783a7582c9)
* Update modules-related tests and docsBea Lam2011-02-145-2/+68
| | | | | | | | Added tests for remote imports and fixed/improved examples and text in the docs. Change-Id: I8f411a0287c4d50ec3cebe5567d803689cd5b1c7 (cherry picked from commit d7e42d7c5b0eb6513526d0c21025939a467e8d68)
* Add test for importing plugins that contain QML filesJason McDonald2011-02-147-1/+91
| | | | | | | | (cherry picked from commit a78f6b1718b8285cb65ae989a070bf8703746b5d) Conflicts: tests/auto/declarative/qdeclarativemoduleplugin/qdeclarativemoduleplugin.pro
* Support seperate versions of installed modulesmae2011-02-0910-1/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | QML supports versioned types in modules. There's a version major and a version minor. This makes it possible to have a module com.organisation.fancycomponents with version 1.0, and later you could ship a new module com.organisation.fancycomponents which contains a more recent version 1.1 or 2.0 AND also the old versions to keep old code running. This is good. The problem is that this is difficult with certain QA procedures. It's hard to verify that a new module is indeed 100% compatible with the previous versions. The change extends the import mechanism by adding optional versioning to the component patch. With the patch, you can add a new module com.organisation.fancycomponents.2.0 which will be loaded when the QML file specifies "import com.organisation.fancycomponents 2.0". The patch works as follows: if you try to load com.organisation.fancycomponents in version 2.0, the engine first looks for com/organisation/fancycomponents.2.0, then for com/organisation/fancycomponents.2 then for com.organisation/fancycomponents. Reviewed-by: Aaron Kennedy Task-number: QTBUG-16455 (cherry picked from commit dd49b322b327fe87d8420abcce0e6cee877a88d7)
* Update copyright year to 2011.Jason McDonald2011-01-113-3/+3
| | | | | Reviewed-by: Trust Me (cherry picked from commit ac5c099cc3c5b8c7eec7a49fdeb8a21037230350)
* Compile on WinCEAaron Kennedy2010-10-131-2/+2
|
* Fix autotest on windowsAaron Kennedy2010-10-111-1/+6
|
* Check plugin and QML file case on Mac and WindowsAaron Kennedy2010-10-086-1/+119
| | | | | | | | | This test should prevent the case where a QML app that is developed on a case insensitive filesystem (like on Mac or Windows) and then run on a case sensitive filesystem (like on Linux) fails to find module plugins, imports and QML files. Task-number: QTBUG-13517
* Properly cleanup in QDeclarativeModulePlugin test.Michael Brasser2010-09-231-0/+1
|
* Make declarative autotests compile on Symbian abld build systemJoona Petrell2010-06-082-2/+7
| | | | | Task-number: Reviewed-by: Martin Jones
* Symbian build fix to declarative auto and benchmark testsJoona Petrell2010-05-142-1/+11
| | | | | Task-number: QTBUG-9491 Reviewed-by: Martin Jones
* Fix tests: remove unnecessary calls to QML_DECLARE_TYPEBea Lam2010-04-191-2/+0
|
* Should work now, don't skip.Warwick Allison2010-04-151-1/+0
|
* Tweak tests to run in parallelAaron Kennedy2010-04-131-0/+1
|
* Test imports with realistic paths (previously passed accidentally).Warwick Allison2010-03-224-4/+5
| | | | Fix failure when import path is ancestor dir of other import path.
* Skip until after CI succeedsMartin Jones2010-03-191-0/+3
|
* remove debuggerWarwick Allison2010-03-031-1/+0
|
* Introduced QDeclarativeExtensionPlugin::registerTypes(uri).Roberto Raggi2010-02-254-8/+6
| | | | | | Now, you have to reimplement registerTypes(uri) to expose native QML types, and initializeEngine(engine,uri) to add instances to the QML engine's root context.
* Simplify QML element registration headersAaron Kennedy2010-02-241-0/+1
|
* Change autotest class prefix from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX ↵Leonardo Sobral Cunha2010-02-241-4/+4
| | | | to QDeclarativeXXX.
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-246-0/+225
QDeclarativeXXX.