913 Commits

Author SHA1 Message Date
Alessandro Pasotti
d63f4c7658 [server][test] GetPrint test with two maps template
This is to test that map0 and map1 actually refer to the
correct maps
2018-01-11 11:20:08 +01:00
Alessandro Pasotti
a117b6b9ea [layout][server] Update tests and mask images 2018-01-10 21:25:24 +01:00
Alessandro Pasotti
eedb7c795f [layout][server] composer -> layout in getprint 2018-01-10 18:03:08 +01:00
Alessandro Pasotti
353b88a857 [layout] Update reference images 2018-01-09 13:34:18 +01:00
Alessandro Pasotti
f297e86201 [layout] Import attribute table from composition 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
2b2dae828f [layout] Import HTML and atlas from 2.x composition 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
858a71f863 [layout] Add map rendering to tests 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
57a40050ad [layout] Added tests for uuid linked maps
Also updated the control images
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
0229df55c3 [layout] Fixed relative paths for test resources 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
0cb12edbbf [layouts] test masks for rendering tests 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
a5fc57078c [layouts] Removed diff images and adapted tests
to use QGIS font

Also addressed comments in the PR
2018-01-09 08:08:26 +01:00
Alessandro Pasotti
e0c56e7de3 Added diff images for tests 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
c232b4fe9c [layout] connect converted to loader code 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
680b9f8ea0 [layout] Convert scalebar and legent from 2.x 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
2ad56efb79 Added test composer templates for import test 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
af8a2296dc [layout] Converter: shapes 2018-01-09 08:08:26 +01:00
Alessandro Pasotti
da3636e566 [layout] Converter: initial implementation 2018-01-09 08:08:26 +01:00
Nyall Dawson
e2ce85f992 Update test masks 2018-01-08 12:09:32 +10:00
Alessandro Pasotti
a343570eab
Merge pull request #6000 from elpaso/bugfix-17795-ogr-filtered-readonly
[bugfix][ogr] Recompute capabilities when subsetfilter is set
2018-01-06 11:56:43 +01:00
Nyall Dawson
7e6d6af15c Update test masks 2018-01-06 17:05:21 +10:00
Nyall Dawson
b691998c68 Port some more tests to layouts, drop composer tests which
have been ported to layouts
2018-01-06 17:05:21 +10:00
Alessandro Pasotti
9c8533455f [bugfix][ogr] Tests for capabilities update on filter changes
Fixes #17795
2018-01-05 15:43:28 +01:00
Nyall Dawson
3332118ec7 Add test mask 2018-01-05 11:15:04 +10:00
Nyall Dawson
57628faa01 Add a unit test for exporting reports 2018-01-05 11:15:04 +10:00
Nyall Dawson
be7dae7d52 Expand exporter tests 2018-01-05 11:15:04 +10:00
Nyall Dawson
ec67ddfc0e Restore more atlas tests 2018-01-05 11:15:03 +10:00
Nyall Dawson
d06e12743f Add unit test for svg export 2017-12-19 11:28:19 +10:00
Nyall Dawson
0052eb830e Add unit test for pdf exports 2017-12-18 16:33:26 +10:00
Nyall Dawson
492f9ea18c Update test mask images 2017-12-17 14:18:37 +10:00
Nyall Dawson
ca37a1ebd7 Fix drawing of map items (grids, overviews) when rendering map item as a raster item 2017-12-17 14:14:31 +10:00
Nyall Dawson
c7abf46615 Update test masks 2017-12-17 14:14:31 +10:00
Nyall Dawson
2b0ed508bd Tweak logic regarding page item margins following forced re-render
of layout items when exporting (i.e. disabling of cached item render)

The old issue of semi-transparent pixels around the edge of the page
had reared again. This is caused by the antialiasing while rendering
the page symbol. In order to avoid this, we cater to the most common
use case of having pages with a solid, borderless fill and slightly
extend the fill symbol polygon outside the page by 2 pixels
(determined by trial-and-error). The less common use case of having
a page symbol containing a border suffers by this border being
clipped by a couple of pixels, but we must address the much more
common use case over this.
2017-12-17 14:14:31 +10:00
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
Alexander Bruy
1d482cf953 [processing] add groupId() method to algorithms to get unique ID of the
algorithm group.

Adapt native algorithms
2017-12-14 14:12:00 +02:00
Nyall Dawson
0b452cabbb Spelling 2017-12-03 08:03:30 +10:00
Nyall Dawson
bcc1b91b74
Merge pull request #5717 from nyalldawson/layout_next4
[layouts] Port/adapt all remaining item types
2017-12-01 13:43:58 +11: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
Blottiere Paul
4aa97d865d Add a test 2017-11-27 09:15:57 +00: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
Alessandro Pasotti
def85fa202 QgsVectorLayer code cleaning use enums instead of int
It was one of the TODOs for QGIS 3
2017-11-23 12:09:30 +01:00
Blottiere Paul
e29f605bb3 Add some masks and set a higher threshold for comparing images 2017-11-22 07:46:24 +00:00
Blottiere Paul
9283b26762 Update tests 2017-11-16 08:40:45 +00:00
Blottiere Paul
f52300d361 Update tests 2017-11-16 08:04:03 +00:00