494 Commits

Author SHA1 Message Date
Nyall Dawson
0110b43362 Update tests masks 2017-12-17 14:14:31 +10:00
Nyall Dawson
2e68dd7005 Add some masks for scalebar tests 2017-12-17 14:14:31 +10:00
Nyall Dawson
aa7986f8fc Implement methods for exporting layouts as raster, add tests 2017-12-17 14:14:31 +10:00
rldhont
3692fcdb96
Merge pull request #5561 from pvalsecc/wms_ogc_filters
[FEATURE][needs-docs] Add OGC filters to WMS
2017-12-15 09:47:22 +01:00
Patrick Valsecchi
b8f708ff1b [FEATURE][needs-docs] Add OGC filters to WMS
Implement https://github.com/qgis/QGIS-Enhancement-Proposals/issues/104
2017-11-28 07:40:33 +01:00
Nyall Dawson
4f08a35c21 Update test masks 2017-11-24 16:15:44 +10:00
Nyall Dawson
f29eb7b19e Port and fix unit tests 2017-11-24 10:24:36 +10:00
Nyall Dawson
3c4fae0015 Readd tests for scalebars 2017-11-24 10:24:36 +10:00
Nyall Dawson
c6eaf1f7fd Update test masks 2017-11-24 10:24:36 +10:00
Nyall Dawson
2cf99116d7 Resurrect tests for html item 2017-11-24 10:24:35 +10:00
Blottiere Paul
e29f605bb3 Add some masks and set a higher threshold for comparing images 2017-11-22 07:46:24 +00:00
Matthias Kuhn
fd937c3a86
Increase outline width 2017-11-08 14:37:17 +01:00
Matthias Kuhn
42c9d158cf
[test] Fix canvas size and background garbage 2017-11-08 14:37:16 +01:00
Matthias Kuhn
593bff2cf7
Add control images to highlight check 2017-11-08 14:37:16 +01:00
Blottiere Paul
24f38aba12 Update some images/masks 2017-11-08 08:44:37 +00:00
Nyall Dawson
c6d939f1ec Fix more tests 2017-11-07 11:32:39 +10:00
Nyall Dawson
69aacde19c Fix failing tests 2017-11-07 11:32:39 +10:00
Nyall Dawson
d3430e4d42 Port legend item 2017-11-07 11:32:39 +10:00
Nyall Dawson
83f177c1d2 Start porting label item 2017-11-07 11:32:39 +10:00
Nyall Dawson
1bfed13484 Port picture item 2017-11-07 11:32:39 +10:00
Nyall Dawson
20b9d080f8 Fix grid annotations, port tests 2017-11-07 11:32:39 +10:00
Nyall Dawson
332a69cece Tweak default symbol for overviews 2017-11-07 11:32:38 +10:00
Nyall Dawson
1f769da68d Work on resurrecting overviews 2017-11-07 11:32:38 +10:00
Nyall Dawson
23d0617bac Start porting map item 2017-11-07 11:32:38 +10:00
Nyall Dawson
4e8483ecfb [layouts] Fix polyline does not render purely horizontal/vertical lines 2017-11-07 11:32:38 +10:00
Nyall Dawson
783636dfa7 Port polygon and polyline items to layouts 2017-11-07 11:32:38 +10:00
Nyall Dawson
26dcf792b0 Fix tests 2017-11-07 11:32:38 +10:00
Nyall Dawson
f524c80b11 More shape porting 2017-11-07 11:32:38 +10:00
Nyall Dawson
cf7714b722 Restore tests, add button to set page background in ui 2017-11-07 11:32:38 +10:00
Nyall Dawson
75898d8e09 Port 'exclude from exports' functionality from composer 2017-11-07 11:32:38 +10:00
Nyall Dawson
9083420312 More unit tests 2017-11-01 21:48:20 +11:00
Nyall Dawson
eea155d6e2 Fix crash when attempting to render multipolygon with missing exterior ring
This commit fixes a possible crash when the vector layer renderer
attempts to render a multipolygon containing a polygon without
an exterior ring.

The underlying cause of the creation of this invalid geometry is deeper,
but this commit hardens the renderer and makes it more robust for
handling bad geometries.

Fixes #17365
2017-11-01 21:48:20 +11:00
Nyall Dawson
0b2de85fe7 Check file modified time when retrieving svg images from cache
If file has been modified since the cache, regenerate a new cache
image.

We don't want to check the file modified time too often though,
(e.g., we don't want to check for every point render in a 100k
point file), so use a hardcoded 30 second minimum time between
consecutive file modified checks.

This means that file modifications occuring more often than
every 30 seconds won't be picked up till 30 seconds has elapsed
since the last modification. But at the same time it means that
if the render takes < 30 seconds we'll only check each svg
at most once (and if a render takes > 30 seconds, adding a few
more milliseconds won't hurt!).

Fixes #13565
2017-10-31 12:12:24 +10:00
Blottiere Paul
8562bfa9b9 Add some tests for GetPrint with OPACITIES 2017-10-27 09:48:14 +01:00
Nyall Dawson
d4e8470ad4 Minor fixups, add tests 2017-10-27 07:45:40 +10:00
rldhont
3e45f997a6 Merge pull request #4912 from dmarteau/svg-marker-size
[FEATURE][needs-docs] Svg marker size: change aspect ratio
2017-10-04 12:02:32 +02:00
Matthias Kuhn
d947c8d72a
Update control image mask 2017-09-29 17:40:27 +02:00
Matthias Kuhn
82e6192eff
More control images 2017-09-28 13:22:39 +02:00
Matthias Kuhn
58b2fe6933
More control image updates 2017-09-28 13:22:38 +02:00
Matthias Kuhn
2c0e61be1f
Fix some test masks 2017-09-28 13:22:38 +02:00
rldhont
48514d2e84 Add tests for fixedAspectRatio in SVG marker 2017-09-28 12:25:21 +02:00
Nyall Dawson
57108f9b61 Boost test coverage for geometry collections 2017-09-25 17:20:36 +10:00
Nyall Dawson
cbca7c97bc Boost test coverage of geometry classes 2017-09-22 15:41:41 +10:00
Nyall Dawson
20e1d72007 Merge pull request #5209 from nyalldawson/geometry_coverage
[WIP] Extend geometry classes unit test coverage
2017-09-19 22:15:14 +10:00
Nyall Dawson
5bb359db90 Boost test coverage of geometry classes 2017-09-19 17:22:33 +10:00
Nyall Dawson
a15340fc2c Extend geometry test coverage 2017-09-19 17:22:32 +10:00
rldhont
10fbfb3737 [Server] WMS GetPrint refactoring - Update tests 2017-09-19 07:34:33 +02:00
rldhont
7c1d397288 [Server] WMS GetPrint refactoring 2017-09-19 07:34:33 +02:00
Blottiere Paul
eb9e2ace75 Add some tests 2017-09-06 07:28:39 +01:00
Nyall Dawson
ecafb494a8 Add some mask images, adjust test results for OSX 2017-08-07 07:38:19 +10:00