summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativemoduleplugin
Commit message (Collapse)AuthorAgeFilesLines
* Fix build on OS XSimon Hausmann2015-08-251-0/+3
| | | | | | | | | After some changes in qtbase unistd.h isn't implicitly included anymore and we need to include it here for _PC_CASE_SENSITIVE. This is similar to commit 6503b4924f76673487e35994e2504c2a9d15bd97 in qtdeclarative. Change-Id: I80efd31909ebbc7c084d8a90313910cfbbbbebee Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Update copyright headersAntti Kokko2015-02-239-63/+63
| | | | | | | | | 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: I9e68d256991ef7325c29c38ce9c007506ce6b150 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Update license headers and add new license filesv5.4.0-alpha1Antti Kokko2014-08-259-171/+99
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I736aeb1a53f8aac59e8df360447864fea64d3dee Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* whitespace fixesOswald Buddenhagen2014-02-203-3/+3
| | | | | | | | remove trailing spaces & expand tabs Change-Id: Ia088c8cc8a83d068f6e2ec84903b5220cd3411f1 Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* tests: fix tst_qdeclarativemoduleplugin::incorrectPluginCase()Liang Qi2013-11-011-3/+7
| | | | | | | | | It gives different error message based on the case sensitivity of the file system on Mac. Task-number: QTBUG-32646 Change-Id: I8b5986a4bc8886924e678692c6679e571a11dd33 Reviewed-by: Alan Alpert (Personal) <416365416c@gmail.com>
* tests: replace nokia with qtproject in tst_qdeclarativemodulepluginLiang Qi2013-10-3127-30/+30
| | | | | Change-Id: Ia531065e3069aa010f99f91a8c8228788b3f0848 Reviewed-by: Alan Alpert <aalpert@blackberry.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-109-9/+9
| | | | | | Change-Id: I0281c3f6c10bb7c57f0e470306f38e96badf997b Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Rename the QtQuick1 module back to QtDeclarativeFriedemann Kleint2012-10-1718-27/+27
| | | | | | | | | | | | | | | | | Matches the name that this code used to have in Qt 4. - Adapt library, change import path to 'QtDeclarative'. - Update the tests and examples to match the new library name. - Rename qtquick1global{_p}.h to qtdeclarativeglobal.h. - Change exports back to Q_DECLARATIVE_[PRIVATE_]EXPORT, like it was in Qt 4 and matching the library name again. This also changes the include guards in qtdeclarativeglobal{,_p}.h. - Fix occurrence of quick_debug in tools/qml/qml.pro. Change-Id: Ibb1fb2e503f90943a2125e4ac3cc4eca3369ca3f Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-249-217/+217
| | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I11a957e35758e821269478ebc91e87f0f5ebc4d5 Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Remove Symbian platformKai Koehne2012-09-188-24/+0
| | | | | Change-Id: Iad770614f7c1c890febeee662d0ce9370dcb17e3 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* 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