109 Commits

Author SHA1 Message Date
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
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
bf5f60817a Add getLocalServer and unit test for refactored local test server class 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
Larry Shaffer
cfa34641b0 Merge pull request #905 from yellow-sky/show_partial_labels
Show partials labels
2013-09-28 20:35:06 -07:00
yellow-sky
83c8478f8f Added unit-tests for ShowingPartialsLabels 2013-09-20 14:53:18 +04:00
nyalldawson
58d0483c46 [FEATURE] Setting for corner radius for composer rectangle shapes, allows creation of rounded rectangles in composers
Add tests for composer shapes
2013-09-17 08:17:51 +02:00
Paolo Cavallini
135ef36569 Merge pull request #665 from Oslandia/overview_centering
[2.1] Overview centering
2013-09-05 02:22:42 -07:00
Larry Shaffer
287e0a04a9 [labeling] Add local preconfigured test server unit tests class
- Add control images for server output
- Add class for comparison against canvas output
2013-08-21 06:05:12 -06:00
Larry Shaffer
4d03cf7f95 [labeling] Update unit test control images, features db and .qml styles 2013-08-21 06:05:12 -06:00
Larry Shaffer
9c4c2150bf [labeling] Initial python unittest setup and some tests
- Note: some tests will fail until differences in platform dpi are worked out
2013-08-11 13:12:06 -06:00
Hugo Mercier
9d20a69b94 Add unit test for autocentering of overview
Work funded by Tuscany Region - SITA. Contract "Support to the use
of GFOSS (Geographic Free and Open Source Software) Desktop tools"
(CIG Z3B06FA6D7).
2013-06-17 17:34:16 +02:00
Nyall Dawson
1df825f406 Fix tests after changing default map overview style 2013-06-04 15:12:18 +10:00
Nyall Dawson
8cf9f7bd1e Fix blending tests 2013-05-26 21:09:00 +10:00
nyalldawson
6342b74d60 Tests for grid blending, grid color labels, vector feature blending and vector layer transparency 2013-05-13 22:28:00 +10:00
nyalldawson
e11f4e87d4 Add tests for layer blending 2013-05-01 10:16:43 +10:00
Nyall Dawson
4c42cb1ea5 Merge pull request #567 from nyalldawson/overview
Add blending mode for overview frame, option to invert overview frame
2013-04-30 05:27:07 -07:00
nyalldawson
e19079d60a Add tests for composer item transparency and blending 2013-04-30 14:51:05 +10:00
nyalldawson
171973a54f Add blending mode for overview frame, option to invert overview frame 2013-04-29 21:48:49 +10:00
Matthias Kuhn
2ef7e49419 [Fix test] Set fixed offset angle for reproducable results 2013-04-15 15:15:49 +02:00