jef
9066b88728
fix tests to work with QT_NO_CAST_TO_ASCII
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8424 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-13 18:51:56 +00:00
timlinux
c815178169
Fix test breakages caused by recent build system changes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8359 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-17 12:28:46 +00:00
mhugent
1f9af52928
Merge of C-API into trunk
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8222 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-14 14:09:18 +00:00
timlinux
63da384eb5
Union test
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8181 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-26 10:20:23 +00:00
timlinux
cce210c66a
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/qgis@8180 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-26 02:52:00 +00:00
timlinux
fd6a9276f8
Renamed landsat_clip to landsat and updated raster test accordingly
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8050 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-26 01:23:08 +00:00
timlinux
79fe4c3c21
Removed redundant maplayer section
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8049 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-26 01:08:04 +00:00
timlinux
d44a8cf4eb
Added unit test for setting raster qml which sets bands rgb as 875
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8046 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-25 20:16:04 +00:00
timlinux
9f026c7db4
Added qml for testing landsat
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8045 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-25 19:29:04 +00:00
timlinux
c64a1730e3
Added mising expected landsat basic control image
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8040 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-25 00:33:58 +00:00
timlinux
bf5b22eb7d
Added raster test for a multiband image
...
Added missing loadDefaultStyle to raster ctor (its not enabled in ui for 0.9.2 since its untested and unstable)
Added test image for testing multiband raster images
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8038 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-24 18:36:53 +00:00
timlinux
239fbdcf4a
Use qRgba to set pixel values
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8024 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-21 19:24:45 +00:00
timlinux
989db94d68
Updated control image for raster pseudo tests
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8022 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-21 15:59:05 +00:00
timlinux
f61626838e
Specify bgcolour as 152,219,249 so it doesnt look so turdacious on windows
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8021 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-21 15:51:30 +00:00
timlinux
f46dc1a71c
Fix point size so unit test passes again
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8020 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-21 14:49:04 +00:00
timlinux
22d4c70e97
Removed polygon outlines so maprender test passes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8019 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-21 14:43:03 +00:00
timlinux
f8a8c8dca8
Prefix image urls with file://
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8018 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-21 14:15:08 +00:00
timlinux
4272a46662
Updated these tests to use the qgsrenderchecker class to validate results.
...
srcMakelist modified to gui tests will build
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8017 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-21 13:17:30 +00:00
timlinux
0290817030
Added a helper class for unit tests that will compare an image with a maprender product and return true or false based on their equiality or on the time it takes to render the output. It will also produce a difference image so that dissimilar areas in the two images can easily be identified. Lastly it generates a simple report as an html snippet for easy inclusion of results in a test report in a web browser.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8016 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-21 13:15:01 +00:00
timlinux
6e4cfb4d15
Added first of gui lib tests (for quickprint)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8015 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-21 13:11:27 +00:00
timlinux
49e899075c
Updates for test data:
...
- fix issues with qmls so tests run properly
- updated expected images to be 400x400 rather than 800x800
- added new expected image results for new tests which will be committed shortly
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8014 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-21 13:10:22 +00:00
timlinux
4a737ec511
Unit test for pseudocolor
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7981 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-16 10:24:00 +00:00
timlinux
831a55edcb
Updates to raster tests - added image writing capability. At teh moment it will write to /tmp/raster_test.png. Later I will write different files out after performing various colour and transparency operations on the test dataset.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7979 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-16 01:47:13 +00:00
timlinux
0adf5f7d1d
Added a test for testing rendering performance. The test does the following:
...
- test for presence of test dataset
- if test data is not present writes it to tmp
- test data set is (180 /0.5) * (90 /0.5) polygons (each being .5 degree box)
- renders the dataset to an image and times how long it takes to do that
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7960 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-14 12:44:44 +00:00
homann
a36aef0048
Path fix for renderer test
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7938 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-12 11:52:34 +00:00
homann
d50955481d
Fix for paths in testqgsapplication
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7937 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-12 10:11:43 +00:00
timlinux
baabcc2778
Micky Mouse got in my qml...this patch removes him with prejudice...
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7931 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-11 15:43:22 +00:00
gsherman
dcabe173a8
Merge of raster transparency branch
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7926 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-11 06:38:10 +00:00
timlinux
a6edadd994
Merge renderer branch to trunk r7761:7920
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7922 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-10 22:38:05 +00:00
homann
27afa4e92e
Fixed paths on WinXP for application test
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7919 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-10 20:23:38 +00:00
timlinux
bea5c523ec
Added various qmls to test data for unit testing different renderers
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7835 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-03 17:48:28 +00:00
timlinux
d11d59f71c
Minor change to attribution
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7718 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-12-06 01:15:01 +00:00
timlinux
16a0c64fbd
Dont manualy try to delete shp files - use the new call in filewriter class to do this
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7682 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-29 09:58:24 +00:00
timlinux
1a2ddfce2a
Added basic unit test for map layer class
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7680 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-29 03:28:10 +00:00
timlinux
cef0582975
fixes ticket #832 Raster cell coount returns incorrect value
...
Added regression test to raster layer unit test
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7650 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-23 16:02:02 +00:00
timlinux
36f261a52a
Initial unit test for raster layer class
...
Includes a simple 10x10 raster supplied by Enrico Chiaradia
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7649 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-23 14:51:24 +00:00
timlinux
149d9aa460
Updated vector file writer test to pass PEDANTIC
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7318 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-11-04 21:01:50 +00:00
timlinux
a5b947f1c2
Fixed bug in unit test that prevented some files being cleaned up
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7224 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-27 19:37:25 +00:00
timlinux
a2319f4669
Tidy up to qgis unit tests:
...
- install then in same dir as qgis
- prefix installed tests with qgis_
Added test to make sure theme exists
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7216 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-21 19:02:56 +00:00
timlinux
afec9cace0
For all platforms install tests when tests are enabled
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7214 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-21 04:32:37 +00:00
timlinux
3a72951d5d
Deleted stubbed in tests in favour of adding actual tests in one by one
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7209 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-20 00:11:00 +00:00
timlinux
cacdefc26c
Added line and polygon tests for filewriter and projected writing test. Fixed cmake so tests run properly on mac - still need ot test on other osses.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7207 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-17 12:54:41 +00:00
gsherman
35f21c988c
Updated/added copyright statements as part of provenance review for OSGeo incubation. No code changes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7206 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-16 20:50:28 +00:00
gsherman
307a2d41cc
Updated/added copyright statements as part of provenance review for OSGeo incubation. No code changes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7205 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-16 20:34:54 +00:00
timlinux
3d72f7eaa1
Removed some autogenerated files
...
Added some extra tests for db existance in srs class
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7194 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-13 03:40:36 +00:00
timlinux
c926fbf7c6
Added some more helpful stdout stuff
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7193 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-12 06:05:32 +00:00
timlinux
94722543b0
Fixed resource path error
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7192 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-12 05:43:29 +00:00
timlinux
8bdca7e177
Use relative path to find resources
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7191 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-12 05:07:33 +00:00
timlinux
e71ec26207
Added unit test for qgsvectorfilewriter
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7190 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-12 04:37:14 +00:00
timlinux
f96840d873
Removed test stubs - will add them back as we have real tests in place
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7189 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-12 01:26:44 +00:00