summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add GPS coordinate properties for images.Andrew den Exter2014-06-241-0/+26
| | | | | | | Change-Id: I3c88a5b5d30552fe5c3c16e236b8aeceb83ad578 Reviewed-by: Christopher Adams <chris.adams@jollamobile.com> Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Remove separate result set for Type requests.Andrew den Exter2014-04-161-85/+37
| | | | | | | | | | Because results are now filtered by the tracker:available flag the sparql query path is always used for type queries and QGalleryTrackerResultSet is sufficient for those so take the opportunity to shed some unneeded code. Change-Id: Ib44dbcffeeaa2be8015ca6a727a45e19234f5782 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Don't exclude results with incomplete information from results.Andrew den Exter2014-03-271-4/+6
| | | | | | | | Make any predicates required for filters, results, or sorting optional. Change-Id: I5a506999b40746d095d6969c4e61c90543982bb0 Reviewed-by: Christopher Adams <chris.adams@jollamobile.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Exclude query results located on removed media.Andrew den Exter2014-02-251-81/+202
| | | | | | | | | Only include results whose tracker:available property is true, or if query is for an aggregate type then only include results which aggregate data from a item with a true tracker:available property. Change-Id: Iaf7487fb33fa0f7bdc0537ba3240fa4cb2c93a44 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Fix sparql generation for linked data.Andrew den Exter2014-01-213-170/+254
| | | | | | | | | Nested references no longer seem to work, either for referencing return values or in filters. So build predicate statements whenever there is a relationship between types. Change-Id: Id9015047764d36ed3854bf4a785fb6b5bcba639b Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Fix DocumentGallery returning encoded urls.Robin Burchell2013-12-031-9/+86
| | | | | | | | | | | | | Tracker stores url properties in encoded form, these need to be decoded before they are returned and encoded when used in queries. Cherry pick of c4a36f94bd50d0236aaa7bddbe72bc7e0fbdac4f from qt-mobility. Change-Id: I8075490d6079311b94fe1234857a69af88218dc6 Reviewed-by: Marko Mattila <marko.mattila@jollamobile.com> Reviewed-by: Christopher Adams <chris.adams@jollamobile.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix query syntax for PhotoAlbum children.Andrew den Exter2013-05-311-2/+28
| | | | | | | | | | | | | | | | The nie:isLogicalPartOf(?x) syntax won't match against an id, so this query would never return anything. Instead return the contents of the list rather than relying on a connection that may never be established. The same query will also return the contents of a Playlist, support for which was mysteriously absent. Reviewed-by: Christopher Adams <chris.adams@jollamobile.com> (cherry picked from commit c473e738f884563e557e1d18fbb5fd515386325b) Change-Id: Id448e06f8d183e064c8966b22d44414057a45f8a Reviewed-by: Martin Jones <martin.jones@jollamobile.com>
* make use of qtHaveModule()Oswald Buddenhagen2013-03-132-2/+2
| | | | | | | Change-Id: I167c7c2e290afb7e4ab12ab08dc1dbfb9b6eb7fc Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* remove some unnecessary CONFIG additionsOswald Buddenhagen2012-12-161-1/+1
| | | | | | | | qt is already added by spec_pre.prf, warn_on and depend_includepath by default_pre.prf. Change-Id: Ia5b5814999d7c75e6ffaf94768b3ccff52d0aeea Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-2315-360/+360
| | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: If5cc1028fb8b0cbba56eff967ddcb97cad82c8b5 Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Finished changing the module name to QtDocGallery.Xizhi Zhu2012-08-149-14/+14
| | | | | Change-Id: I2253ab3453fd5bb39870d9d6727aaec5f78f6e81 Reviewed-by: Xizhi Zhu <xizhi.zhu@gmail.com>
* Removed "simple" backend.Xizhi Zhu2012-08-142-25/+2
| | | | | | | It's never used nor maintained. Change-Id: I08eb98e3c033bb3af252e0a6f98371d31e960f0d Reviewed-by: Xizhi Zhu <xizhi.zhu@gmail.com>
* Rename the created module from QtAddonGallery to QtDocGalleryLars Knoll2012-08-143-6/+8
| | | | | | | This brings things more in line with the other Qt addons. Change-Id: I65b28425d5470be29dab5ceb1981eee725917659 Reviewed-by: Xizhi Zhu <xizhi.zhu@gmail.com>
* Set the Qt API level to compatibility mode in all tests.Thiago Macieira2012-08-0114-0/+14
| | | | | | | | | | 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: I535233146a2f6d5c8966442dce8a6f088027e493 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
* Fix compilation in C++11 mode.Thiago Macieira2012-08-011-3/+3
| | | | | | | | | String literals must be separated by at least one whitespace, otherwise in C++11 mode, they're interpreted as user-defined literals. Change-Id: I9085550aec9b5d78ad7abeba65c20cbcdb8c4242 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Test that the package configs for QtDocGallery work.Stephen Kelly2012-07-235-0/+90
| | | | | Change-Id: Ie13e90cab4cf1169331a21432ce97043f65dbb3c Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Use QPointer instead of QWeakPointer to track QObjects.Stephen Kelly2012-06-073-6/+6
| | | | | | | Change-Id: Ie3dbdbc99430e54e897b0683adc68ee52079a863 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-3014-14/+14
| | | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: Ifd10a0d8911d4401625dc47dfde423c376e6e53c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-2314-14/+14
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: Iea42317ac27ca3152fbae94f37d667e3537b842b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in Nokia copyright headers.Jason McDonald2012-01-112-2/+2
| | | | | | | | Update copyright headers from before 2011. Change-Id: I9e232084e24217dedb9c96ffe2bd79825cb52538 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-0512-12/+12
| | | | | | Change-Id: I55a8c2c10f29a8a07bf7934aa427240957bea991 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* QtDocGallery: Clean up test profiles.Friedemann Kleint2011-12-221-5/+1
| | | | | | | | | | Do not add rpath, which is UNIX-only and defaults to qtbase/lib, which is also added by default. Add testlib properly. Change-Id: I8a930325b8d06f142781a4e7e302a384712f7e70 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Remove Symbian back-end.Xizhi Zhu2011-10-272-65/+4
| | | | | | Change-Id: Ia66d9926fdb40d4ed3a74021d70cc71dafe216bc Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* tests: don't unconditionally enable debug mode for testsRohan McGovern2011-09-011-1/+1
| | | | | | | | | | | | | | This breaks compilation for release-only builds on Mac or Windows. For platforms where debug vs release affects the library name (e.g. Mac, Windows), it's invalid to do CONFIG+=debug unless you know that a debug version of the Qt libraries are available. Just let the build system decide whether to build in debug or release mode as normal. Change-Id: Ibbbdb0fd8395265981f10795b9b539e19ea4fb90 Reviewed-on: http://codereview.qt.nokia.com/4031 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* Import simple back-end.Xizhi Zhu2011-08-172-5/+33
| | | | | | | Change-Id: I2757f758e23fddbe0dc91c4383926c4d4f180191 Reviewed-on: http://codereview.qt.nokia.com/3098 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* Gallery is a QtAddOn module.Xizhi Zhu2011-08-179-6/+27
| | | | | | | Change-Id: If01febc4a69aed060cd8caf6ccb80171d92fb9b0 Reviewed-on: http://codereview.qt.nokia.com/3071 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* Fix unit tests.Xizhi Zhu2011-08-112-13/+15
| | | | | | Change-Id: Ic7317930a8d44ed0e6c86682ff6c7f451d59ea5a Reviewed-on: http://codereview.qt.nokia.com/2867 Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* Fix unit tests.Xizhi Zhu2011-07-202-45/+15
| | | | NOTE: tests for QML binding and tracker are disabled now.
* Add unit tests.Xizhi Zhu2011-07-2031-0/+16482