637 Commits

Author SHA1 Message Date
Nyall Dawson
1aefa17fbd Update TestQgsLabelingEngineV2 to use render checker, reenable on Travis 2015-10-12 18:38:29 +11:00
Nyall Dawson
80ccb39ae5 More test mask updates. Also disable qgis_labelingenginev2 on Travis
qgis_labelingenginev2 needs to be refactored to use QgsRenderChecker.
Directly comparing the two images is too fragile due and is failing
on Travis.
2015-10-10 22:07:39 +11:00
Nyall Dawson
4eb53d366a Update test mask images 2015-10-10 21:21:21 +11:00
Nyall Dawson
d1be2ff214 Fix hardcoded border for raster legend items (fix #13540)
Previously raster legend items always had a fixed black border.
Now there's options to change the color/width of this border or
disable it entirely.
2015-10-09 06:12:37 +11:00
Nyall Dawson
2f343008c1 [FEATURE][composer] Add fit page to contents option
New option in the composition panel, with optional extra margins
to add

Sponsored by NIWA
2015-09-25 18:55:35 +10:00
Nyall Dawson
2215d48712 [FEATURE][composer] Add option to hide pages from view/export
Sponsored by NIWA
2015-09-25 18:55:35 +10:00
Matthias Kuhn
93e9204b43 Add test for rulebased renderer else rule 2015-09-08 17:03:21 +02:00
Nyall Dawson
5ae2881c81 Update test mask 2015-09-07 20:24:57 +10:00
Nyall Dawson
9133538a74 [FEATURE][composer] Advanced customisation of cell background color
for attribute tables

This allows users to set differing colors for alternating rows and
columns, first/last row/column and header row. Fixes #5131.

Sponsored by Ville de Morges
2015-09-05 22:06:31 +10:00
Nyall Dawson
f9fa9793f0 [pal] Improved test for candidate against polygon obstacles
Previous test was just checking point in polygon for the corner,
mid points and center. This test was not sufficient for narrow
or small polygons which were not covered by these points
but were still covering parts of the label candidate.

Now, the area of the intersection between the obstacle polygon
and the label candidate is used to calculate the obstacle
cost.
2015-08-31 12:20:14 +10:00
Nyall Dawson
0c5475545f Cleanup control_images folder by grouping some tests in subfolders 2015-08-30 20:15:25 +10:00
Nyall Dawson
253e13154e Start on placement test suite for labeling
Sponsored by City of Uster
2015-08-28 12:47:56 +10:00
Nyall Dawson
9aecf9f236 Test mask update 2015-08-25 08:42:25 +10:00
Nyall Dawson
46114659a8 More robust maprotation label test
Previous test was too reliant on platform-specific font rendering
2015-08-24 12:49:50 +10:00
Nyall Dawson
86ace247c5 Test mask updates 2015-08-22 18:52:22 +10:00
Nyall Dawson
b87e5f7573 [FEATURE][composer] Data defined style preset for composer maps
Sponsored by City of Uster
2015-08-19 20:43:19 +10:00
Nyall Dawson
612df6ae14 [FEATURE][composer] Auto wrapping for text in fixed width columns
in attribute tables

Sponsored by City of Uster
2015-08-19 06:08:22 +10:00
Nyall Dawson
759f842bc3 [FEATURE][composer] Vertical alignment control for attribute tables
Sponsored by City of Uster
2015-08-19 05:16:12 +10:00
Nyall Dawson
372534eb89 [composer] Add proper handling of multiline text in attribute tables
Previously multi-line text would overflow onto neighbouring cells.
Now rows will be expanded to fit required height of text.
Fix #10273.

Sponsored by City of Uster
2015-08-19 05:16:12 +10:00
Nyall Dawson
7527638d43 [FEATURE][composer] Data defined control over map layers
Adds new data defined control for the map layers to show in a
composer map. Expression result should be a | delimited list of
layer names which will be shown in the map.

Sponsored by City of Uster
2015-08-17 23:46:13 +10:00
Nyall Dawson
a89550ac48 Update label server test mask images for OSX 2015-08-12 23:38:42 +10:00
Matthias Kuhn
a37b3e27d5 Remove executable flag on a bunch of files 2015-07-20 15:45:44 +02:00
Nyall Dawson
368eaa258b Add support to generate_test_mask_image for mismatched sizes,
add masks for legend renderer tests
2015-07-10 18:09:28 +10:00
Nyall Dawson
8e488caa23 Update test mask image for Windows 2015-07-06 20:13:04 +10:00
Nyall Dawson
ee6a924387 More Win test mask updates 2015-07-06 08:29:50 +10:00
Juergen E. Fischer
5b54e260d4 various windows test fixes:
* .gitignore sort and remove duplicates
* show more warnings in tests
* add/update masks for rendering checks on windows
* fix delimited text provider tests
* disable QgsLogger and QgsPalLabelingServer on windows
2015-07-05 03:45:01 +02:00
Nyall Dawson
339dbf1b18 OSX test mask images 2015-07-02 21:48:46 +10:00
Nyall Dawson
94a61c7d3c Labeling test mask updates for OSX 2015-06-30 21:30:41 +10:00
Nyall Dawson
5b97b7e318 Fixes for composer map grid test 2015-06-30 20:22:55 +10:00
Hugo Mercier
bb6bff0bca Merge pull request #2183 from mhugo/master
Add unit test for QgsLayerTreeModel::setLegendFilterByMap()
2015-06-30 11:27:19 +02:00
Hugo Mercier
a9c63968bf Add unit test for QgsLayerTreeModel::setLegendFilterByMap() 2015-06-30 10:39:36 +02:00
Nyall Dawson
1b6395e082 Test mask updates for OSX 2015-06-30 08:24:18 +10:00
Nyall Dawson
4ebf0875d0 Update test masks 2015-06-28 16:52:33 +10:00
Nyall Dawson
ab55126902 Test mask updates 2015-06-26 10:32:22 +10:00
Nyall Dawson
16cab9fcf9 Add tests for line placement of labels 2015-06-24 17:11:45 +10:00
Nyall Dawson
d4b659ebd3 Label tests for buffer and shadow 2015-06-24 17:11:45 +10:00
Nyall Dawson
d0a624dfec More test mask updates 2015-06-23 21:38:56 +10:00
Nyall Dawson
0728155b1f Some test masks for OSX 2015-06-23 16:35:04 +10:00
Nyall Dawson
32c098d4dd More updated test mask images - moar green!! 2015-06-19 22:11:48 +10:00
Nyall Dawson
e108febb5e Clean up diagram tests
- Consolidate tests to single file
- Don't use composition for testing
2015-06-18 21:03:42 +10:00
Nyall Dawson
75b1309921 More test mask images 2015-06-18 16:25:42 +10:00
Nyall Dawson
6deb520ff1 Make raster blend modes tests more robust 2015-06-18 16:25:42 +10:00
Nyall Dawson
b561c6bc0b More mask images for labeling tests 2015-06-17 19:26:22 +10:00
Matthias Kuhn
3dbe7f5e0c Decouple composer table tests 2015-06-17 09:29:30 +02:00
Matthias Kuhn
fb7d0d2e18 Fix some tests on Fedora 2015-06-17 09:29:29 +02:00
Nyall Dawson
d8b7796952 Add some more test mask images 2015-06-16 21:36:05 +10:00
Nyall Dawson
e57c59b289 Add some test mask to get label tests to pass in vivid 2015-06-16 20:56:00 +10:00
Nyall Dawson
170d96b0bc Labeling test fixes
- Remove outdated osx reference images
- Update expected PAL server images
- Add some mask images for server
2015-06-16 20:55:34 +10:00
Nyall Dawson
77ede9ca61 Boost unit test coverage of paint effects 2015-04-09 06:56:34 +10:00
Nyall Dawson
8b37ea2b05 [FEATURE] Add option to symbology to prevent clipping of features
This option (located under the symbol advanced menu) disables the
automatic clipping of lines/polygons to the canvas extent. In
some cases this clipping results in unfavourable symbology (eg
centroid fills where the centroid must always be the actual
feature's centroid). (fix #9757)
2015-03-28 21:16:45 +11:00