182 Commits

Author SHA1 Message Date
Nyall Dawson
d532af0b33 Add some test images and tweak test tolerances for utopic 2014-11-29 14:51:55 +11:00
Matthias Kuhn
cae6baea90 Formatting of tests 2014-11-21 11:45:33 +01:00
Matthias Kuhn
95f6483855 Fix some race condition segfaults of tests on exit 2014-11-21 11:45:32 +01:00
Matthias Kuhn
78c519546a Add Qt5 support 2014-11-21 11:45:32 +01:00
Matthias Kuhn
256b2652c3 Fix some warnings 2014-11-19 09:28:57 +01:00
Matthias Kuhn
f0efa6d8f4 Disable geometry simplify check
This test mixes different effects and is very unprecise in what it tests and
what it expects as result.
2014-11-14 18:30:30 +01:00
Nyall Dawson
878230a1db Add methods to QgsGeometry to convert to/from QPointF and QPolygonF 2014-11-06 17:29:15 +11:00
Matthias Kuhn
1c2bdf1ea3 Switch tests to automoc
Required for Qt5 compatibility
Raises minimum CMake version to 2.8.6
2014-11-04 09:18:26 +01:00
Juergen E. Fischer
82b6e0342a cosmetic cleanups, typo fixes, formatting 2014-10-21 01:33:20 +02:00
Juergen E. Fischer
51074d7b82 test fixes:
* port python test to sip api v2 (fixes #8314)
* introduce compareWkt for more tolerant WKT comparisions in C++ tests
* require UTF-8 locale for regression1141 test on linux
2013-07-19 21:59:58 +02:00
Martin Dobias
969df016bc Moved GML import/export to a new class: QgsOgcUtils 2013-03-08 00:31:46 +01:00
Martin Dobias
d628c2c742 Improved support for parsing of GML2, added some autotests 2013-03-06 01:26:26 +01:00
Juergen E. Fischer
2fc799b98c [FEATURE] add oracle provider 2013-01-09 16:47:01 +01:00
Juergen E. Fischer
db1c3d9f4e test cleanups 2012-05-06 15:19:59 +02:00
Tim Sutton
83b1bf52cf Moved control images one per directory and updated render checker to generate paths and filenames more cleanly. All tests pass for me. 2012-04-14 00:45:50 +02:00
Tim Sutton
6ebcd65203 Refactored tests using control images to get control image path from renderchecker. 2012-04-13 18:48:40 +02:00
Tim Sutton
2b8487b942 Further updates to the unit tests - still not all passing yet 2011-11-14 14:52:59 +02:00
jef
e5cf709dd3 another round of typo fixes (and use color instead of colour - like Qt; no string updates)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-23 16:14:24 +00:00
mhugent
9fdde26a82 Merge of changes from analysis branch
git-svn-id: http://svn.osgeo.org/qgis/trunk@11552 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-09-05 08:45:13 +00:00
jef
bd9a6ca544 fix #1523
git-svn-id: http://svn.osgeo.org/qgis/trunk@10084 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-02-01 16:59:03 +00:00
timlinux
6c7bd3b1a2 Use 'combine' instead of 'Union' in order to preserve coding style rules (methods should be lower case). Union cant be used in lower case since it is a reserved c++ word
git-svn-id: http://svn.osgeo.org/qgis/trunk@9521 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-23 06:54:12 +00:00
jef
8094f1d4c6 hackfest commit from timlinux:
- more API cleanups
- single click (instead of drag) to select a feature (fixes #1154)
- fixes for topological editing


git-svn-id: http://svn.osgeo.org/qgis/trunk@9471 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-10 20:02:22 +00:00
jef
31327f51fd Merged rest of composer branch (9087-9115)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 09:19:49 +00:00
timlinux
4e6636a6de In renderchecker split runtest into two functions so that image based compares can be done in situations where a maprenderer is not needed. Added more tests for geometry functions (buffer, difference) and provide a visual report of geometry test results.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8947 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-29 16:17:47 +00:00
timlinux
1990dab05a Fixed qgsgeometry test so that it passes:
- clear member vars between each test
 - added some geometry dump helpers
 - generally neatened up unit test implementation



git-svn-id: http://svn.osgeo.org/qgis/trunk@8767 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-13 23:07:11 +00:00
timlinux
8f263b9f7d Use rects for geometry tests rather than triangles
git-svn-id: http://svn.osgeo.org/qgis/trunk@8766 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-13 21:37:40 +00:00
timlinux
0888e99a8c Updates so that paths are correctly set based on changes in
qgisapplication



git-svn-id: http://svn.osgeo.org/qgis/trunk@8715 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-06 22:04:28 +00:00
jef
be68b39984 fix tests to work with QT_NO_CAST_TO_ASCII
git-svn-id: http://svn.osgeo.org/qgis/trunk@8424 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-13 18:51:56 +00:00
timlinux
e938c883b0 Union test
git-svn-id: http://svn.osgeo.org/qgis/trunk@8181 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-26 10:20:23 +00:00
timlinux
ad919f2481 Initial test for qgsgeometry. At the moment it only does the following:
- creates some test intersecting and non intersecting geometries before each test runs
 - destroys these after each test runs
 - performs a simple intersection and non-intersection test

Please feel free to add further tests here as you work on qgsgeometry - its very simple to do with the framework I have put in place now...


git-svn-id: http://svn.osgeo.org/qgis/trunk@8180 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-26 02:52:00 +00:00
timlinux
ad843dfaf1 Removed test stubs - will add them back as we have real tests in place
git-svn-id: http://svn.osgeo.org/qgis/trunk@7189 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-12 01:26:44 +00:00
timlinux
1110aaf576 Improvements to unit builder script - you can pass it the class nema to build the test for from the cli and it will not prompts you and just create everything - to be used in source dir parsing script that Ill add soon...
dded new test unit for qgsgeometry


git-svn-id: http://svn.osgeo.org/qgis/trunk@5241 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 13:33:37 +00:00