383 Commits

Author SHA1 Message Date
Nyall Dawson
0b32f2ac38 [tests] Fix composer tests. Rebuild images following MTR rendering changes. Switch tests to use standard test font. 2014-04-03 22:56:34 +11:00
Larry Shaffer
20933dedd9 Add README.rst for labeling unit tests 2014-03-25 17:09:42 -06:00
Larry Shaffer
f29d44e759 Add PDF composer output labeling tests setup
- Only support for Poppler with Cairo (pdftocairo), since without Cairo a PDF's vectors are not always rendered properly
2014-03-24 20:40:19 -06:00
Larry Shaffer
db4401fe00 Rebuild labeling tests control images with smaller size (420 x 280) 2014-03-24 20:40:19 -06:00
Nyall Dawson
942d5da59b Add option to ignore interior polygon rings when calculating buffered shading for shapeburst fill mode (can be useful for eg ignoring islands when shading water bodies) 2014-03-22 07:39:14 +11:00
Nyall Dawson
13cbfd138c [FEATURE] Add 'shapeburst' fill style. Shapeburst fills implement a buffered gradient fill, where a gradient is drawn from the boundary of a polygon towards the polygon's centre. Configurable parameters include distance from the boundary to shade, use of color ramps or simple two color gradients, optional blurring of the fill and offsets. 2014-03-21 12:50:50 +11:00
Larry Shaffer
fa157b0deb Add composer svg export label unit tests
- Fix composer composition setup to near identical output of canvas->image (finally, expect for symbology, which still seems to be double-antialiased)
- Rebuild control images for composer->image output
2014-03-14 12:25:36 -06:00
Larry Shaffer
53cfa9e203 Convert label unit tests to using only QgsMapSettings
- Rebuild all control images
2014-03-06 12:36:53 -07:00
Larry Shaffer
bad189813c Refactor composer label test to work with svg, pdf and multi-resolution classes
- Initial (untested) svg and pdf render-to-image setup
2014-03-06 12:36:53 -07:00
Larry Shaffer
2d21b674fa Ensure local server tests can run on ubuntu, followup to 7b2640d 2014-02-25 22:25:04 -07:00
Larry Shaffer
7b2640da1b Add debian-based setup for local test server 2014-02-25 17:54:56 -07:00
Etienne Tourigny
7399789f85 add files for raster histogram (Int16 and Float32) 2014-02-22 19:13:54 -03:00
Larry Shaffer
0a9b857177 Add label svg background unit tests and control images 2014-02-21 22:50:04 -07:00
Larry Shaffer
7e33fdec37 Fix #9057, offset value misplaced when exporting composer to image
- Add unit test and control images
2014-02-21 22:47:34 -07:00
Larry Shaffer
203d67f628 Add labeling composer unit tests and control images
- Initial support for image output at 72 dpi
- Comparison against canvas output has slight shift (needs fixed)
2014-02-21 14:00:13 -07:00
Larry Shaffer
c4a60de06c Update labeling canvas and server unit tests and output new control images 2014-02-21 14:00:13 -07:00
Larry Shaffer
10f2ac92ac Fix partial labels unit tests and generate new control images 2014-02-20 21:22:56 -07:00
Larry Shaffer
7d263be7aa Add missing .qml to local server test 2014-02-19 18:29:02 -07:00
Larry Shaffer
be83e7c8e3 Add test-labeling master project and italic, bold-italic test fonts 2014-02-19 13:27:59 -07:00
Larry Shaffer
34be93b849 Update test font to Vera San and start workaround for Mac 10.9 font-loading bugs
- Test font loading should be moved to QgsFontUtils
2014-02-19 13:27:59 -07:00
Larry Shaffer
bf5f60817a Add getLocalServer and unit test for refactored local test server class 2014-02-19 13:27:58 -07:00
Larry Shaffer
2f1a5c92e0 Convert local test server over to controller of web and fcgi servers
- Initially using lighttpd/spawn-fcgi
2014-02-19 13:27:58 -07:00
Radim Blazek
2b3e19d134 disabled composermaptest grid anotations 2014-02-19 16:09:32 +01:00
Radim Blazek
9aeb4ba863 updated single symbol rendererstest 2014-02-19 15:47:23 +01:00
Nyall Dawson
ffcbdabe4e [composer] Refresh control images following frame join stle change 2014-02-06 22:46:43 +11:00
Nyall Dawson
058cba2037 [composer] Add some anomoly images for scale bar tests 2014-01-30 22:24:19 +11:00
Nyall Dawson
6bb9dfec00 [FEATURE][composer] Allow for more than one atlas controlled map in compositions (or none), by moving some atlas properties to map items (fix #9248) (fix #6484) 2014-01-14 22:52:01 +11:00
Nyall Dawson
860e23afc7 [FEATURE][composer] Add styling support for composer shapes 2013-01-12 16:21:00 +11:00
Stéphane Brunner
a0911d6b55 [diagram] Add expression for diagram attributes and size 2014-01-10 16:43:23 +01:00
Nyall Dawson
31e37af4f3 [tests] Add test for composer paper styles 2014-01-04 20:52:43 +11:00
Nyall Dawson
aae492fa43 [tests] Update composition based tests now that 1px bad row bug is fixed 2014-01-04 15:13:06 +11:00
Nyall Dawson
84c33919b4 [FEATURE] Add atlas preview toggle. Allows for navigating through atlas features and previewing the composition for each feature. Atlas maps can have their extent temporarily tweaked for each atlas feature. 2014-01-01 13:31:01 +11:00
Nyall Dawson
a596b2243a [tests] Update all expected images based on composer tests. Prior to c3ec3b2d75 composer exports had a 1 pixel slightly-gray row at the bottom of images. After c3ec3b2d75 this bottom row is now a slightly transparent white row. The underlying issue causing this row still needs to be fixed, but in the meantime this gets composer tests passing again. 2014-01-01 09:26:27 +11:00
nyalldawson
adbeab29c4 [composer] Add tests for item rotation 2013-12-30 20:00:56 +11:00
Nyall Dawson
86b972c154 [composer] Begin tests for composer item rotation 2013-12-30 20:00:55 +11:00
Nyall Dawson
ed3e04d894 [tests] Add some more anomaly images 2013-12-29 13:13:00 +11:00
Nyall Dawson
bf407db3be [tests] Fix failing composerhtml tests, by forcing test html to use a set font size in pixels. 2013-12-29 09:52:16 +11:00
nyalldawson
6aed6fee08 [tests] Fix python compositionchecker to derive from render checker, fix most python composer tests (fix #9117) 2013-12-29 09:52:16 +11:00
nyalldawson
089fbe95b6 [tests] Update atlas tests, add exceptions 2013-12-29 09:52:15 +11:00
nyalldawson
ac63769937 [tests] Fix failing diagram and blend modes tests 2013-12-29 09:52:15 +11:00
nyalldawson
cfd9a669c8 [tests] Update composer scalebar tests, fix exception causing test to fail 2013-12-29 09:52:15 +11:00
nyalldawson
a1a92cdbf8 [tests] Update composer html tests 2013-12-29 09:52:15 +11:00
nyalldawson
f3d5e0b270 [tests] Update composer effect tests 2013-12-29 09:52:15 +11:00
nyalldawson
aa3e40a0eb [FEATURE][composer] Add controls for changing zebra frame colors and line thickness, fix output of zebra style grids (fix #8767) 2013-12-29 09:52:15 +11:00
nyalldawson
afbd2ac2ce [tests] Update composer map tests, add anomoly images 2013-12-29 09:52:14 +11:00
nyalldawson
ab42edce49 [tests] Update composer shape tests 2013-12-29 09:52:14 +11:00
nyalldawson
dfba26d9b0 [FEATURE] allow starting/ending a gradient at a features centroid 2013-11-03 20:55:33 +11:00
nyalldawson
864df0fe37 [FEATURE] Add support for gradient fills for polygons 2013-10-07 19:54:33 +11:00
Matthias Kuhn
934e4855ec Fix CSV test to support python NULL value 2013-10-02 14:52:20 +02:00
Larry Shaffer
cfa34641b0 Merge pull request #905 from yellow-sky/show_partial_labels
Show partials labels
2013-09-28 20:35:06 -07:00