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
Nyall Dawson
54bf013004
Update tests
2017-07-18 13:42:04 +10:00
Nyall Dawson
00405fd6b5
Start porting item rotation
2017-07-18 12:42:06 +10:00
Nyall Dawson
498c4cda16
Add some rendering checks for layout items
2017-07-18 12:42:06 +10:00
rldhont
7cbf9df21a
[Server] Tests update mask image
2017-07-12 16:01:55 +02:00
rldhont
59d1f6d1b2
[Server] Tests update mask image
2017-07-07 13:00:11 +02:00
Nyall Dawson
18b2b5240b
Add some base classes for layouts
2017-06-30 17:01:52 +10:00
Martin Dobias
863b7d2b29
Fix the last test image
2017-06-22 14:38:41 +02:00
Martin Dobias
4976d59fc5
Fix few bugs + fix test images + allow data-defined size without transformer
2017-06-22 13:50:19 +02:00
Martin Dobias
78a990b5b6
Fixing tests
2017-06-22 10:06:02 +02:00
Martin Dobias
c9c42169ce
Added unit tests
2017-06-19 16:37:00 +02:00
Blottiere Paul
7b844837bb
[Server] Fonts used in GetLegendGraphics tests are bolded and increased
2017-06-09 12:55:27 +01:00
Blottiere Paul
c1657ac853
[Server] Add/update tests
2017-06-09 12:55:27 +01:00
Nyall Dawson
5f1a78ddab
Update inverted polygon test mask
2017-06-07 05:46:56 +10:00
rldhont
4ab6a06527
[Server] Test update masks WMS_GetMap_Annotations and WMS_GetMap_Highlight
2017-06-05 19:21:34 +02:00
Nyall Dawson
b2360dfd22
Update test mask for WMS server diagrams test
2017-06-02 09:07:53 +10:00
Blottiere Paul
e663d192e3
Add/update tests
2017-05-30 13:37:35 +02:00
Nyall Dawson
0d5cbfe689
Update text renderer mask images
2017-04-28 20:13:10 +10:00
Nyall Dawson
38414b3878
Update text renderer tests
2017-04-28 19:41:43 +10:00
Nyall Dawson
fa21311e4c
More robust test for numeric scale bar
2017-04-26 11:46:51 +10:00
Nyall Dawson
a157db7627
Refactor QgsPalettedRasterRenderer to allow "gaps" in pixel values
...
Previously the renderer required that pixel values followed
sequential numerical order. This refactor allows values to
be skipped, so that only certain color index will be rendered.
2017-04-03 12:07:50 +10:00
Nyall Dawson
345ce734c4
[composer] Correctly draw overview frame when map item CRS differs
2017-03-25 17:58:48 +10:00
Nyall Dawson
041129d507
Fix loading composition triggers render of all composer maps
...
Also cleanup some more unused API methods
2017-03-21 10:32:53 +10:00
Nyall Dawson
8d01573168
Add/refine test masks for server test
2017-03-21 10:32:53 +10:00
Nyall Dawson
588a8fc9e9
Add unit test for changing appearance of style in a theme
2017-03-13 08:39:37 +10:00
Nyall Dawson
1e6bffe414
Allow setting map canvases to auto follow a map theme
2017-03-13 08:39:37 +10:00
Nyall Dawson
9b9d49ade9
Add unit tests for deferred layer refresh
...
QgsMapCanvas test is rather messy, but I can't find anyway to
avoid showing the canvas in order to get a predictable result
2017-02-13 08:27:01 +10:00
Nyall Dawson
61523c8124
Update label test masks following sort algorithm change
...
std::sort is returning a slightly different sort order when
label z order (or label cost) is equal
Given that the order in these cases is effectively arbitrary
I've updated the test masks to accept either order.
2017-02-07 14:08:02 +10:00
Nyall Dawson
1f7758a9f9
Fix failing tests
2017-01-30 20:01:09 +10:00