Commit graph

112 commits

Author SHA1 Message Date
Dane Springmeyer
583fbaec14 fix test compile if cairo is disabled 2015-06-06 12:30:56 -07:00
Dane Springmeyer
29c9e97d76 minor code cleanup in process_group_symbolizer 2015-06-06 08:09:06 -07:00
Dane Springmeyer
dcfa0b655c fix #2863 by adding back compatibility of point symbolizer interior placement on point geometries + update visual tests 2015-06-04 07:45:44 -07:00
Dane Springmeyer
a38cc2aab6 disable tiff test on windows - closes #2838 2015-06-03 15:04:50 -07:00
Dane Springmeyer
e17505686c fix compile - followup to #2880 2015-06-03 14:16:30 -07:00
Dane Springmeyer
4bf4bb0104 Merge pull request #2880 from zerebubuth/fix/rapidxml-loader-trim-whitespace
Fix rapidxml XML loader to trim whitespace
2015-06-03 14:03:53 -07:00
Matt Amos
1778d19b22 Added headers required on Mac OS - not sure why not on Linux. 2015-06-03 15:56:37 +01:00
Jiri Drbalek
fa35e1c193 update test data 2015-06-03 13:10:57 +00:00
Blake Thompson
a138b8717d Removed angus clipper library from code and updated all visual tests to master 2015-06-02 14:14:21 -05:00
Matt Amos
b21ed59190 Add test for XML parser whitespace trimming behaviour.
This tests the at the XML parser trims whitespace from XML text
nodes. This was already the behaviour of the libxml2 parser, but
not the rapidxml parser.

Note that this makes #2878 pass for the rapidxml parser as well
as the libxml2 parser. It seems that Travis uses the rapidxml
parser only.
2015-06-02 17:50:08 +01:00
artemp
90a27abccb catch and remove more spurious std::move's 2015-06-02 15:36:31 +01:00
artemp
df4226a825 remove spurious std::move's (clang - moving a temporary object prevents copy elision [-Wpessimizing-move]) 2015-06-02 14:26:35 +01:00
Jiri Drbalek
b0759e8ade visual tests: update visual data 2015-05-27 10:25:25 +00:00
Paul Norman
d683795af5 make test/run independent of bash location 2015-05-26 14:38:51 -07:00
Blake Thompson
847a9f0d45 Merge pull request #2839 from mapnik/static_strategy
Changed from numeric casts to static casts in strategies
2015-05-26 16:19:13 -05:00
Blake Thompson
ee551cd949 Removed vector tile strategy 2015-05-26 16:18:10 -05:00
Blake Thompson
3768702699 Updated unit tests 2015-05-26 16:03:25 -05:00
Blake Thompson
506d2f435f Added vector tile strategy 2015-05-26 15:52:41 -05:00
Blake Thompson
611eb6e7a3 Changed from numeric casts to static casts 2015-05-26 15:52:41 -05:00
Blake Thompson
775fcb5378 Updated clipper so that it uses stable_sort rather then sort so results are the same across operating systems 2015-05-26 14:40:16 -05:00
Jiri Drbalek
b5d07a7e0d visual tests: update visual data 2015-05-25 21:32:47 +00:00
Jiri Drbalek
d4de1226ab visual tests: add support for grid renderer 2015-05-25 21:03:40 +00:00
Jiri Drbalek
c1461f495a visual tests: handle runner exceptions 2015-05-25 21:03:40 +00:00
Jiri Drbalek
86ce91bd09 visual tests: apply constness 2015-05-25 21:03:40 +00:00
Dane Springmeyer
77907bdb1e another ifdef for renderers 2015-05-23 12:53:58 -07:00
Dane Springmeyer
c6adab02f4 Merge branch 'master' of github.com:mapnik/mapnik into svg-visual-tests 2015-05-23 12:08:58 -07:00
Dane Springmeyer
ad09abee21 free memory in visual tests to keep valgrind happier 2015-05-23 12:05:10 -07:00
Dane Springmeyer
018c595dda properly ifdef cairo and svg renderers 2015-05-23 11:59:48 -07:00
Dane Springmeyer
0646e9446e use new visual test data with svg 2015-05-23 11:10:24 -07:00
Dane Springmeyer
99560b23ab add svg_renderer to visual tests 2015-05-23 11:08:51 -07:00
Dane Springmeyer
aae52dad2e u_cleanup is called from unit/run.cpp already [skip ci] 2015-05-22 13:56:59 -07:00
Dane Springmeyer
6c8a72dfb0 also skip running unit tests since they (currently at least) depend on test data - followup to #2845 2015-05-22 09:52:01 -07:00
Jiri Drbalek
c349412056 visual tests: skip visual tests when test data are not present 2015-05-22 17:02:52 +00:00
artemp
9c9a7a06a0 unit test geometry - use appropriete std::string constructor ( file_io.get() doesn't guarantee to return null terminated C-string!) 2015-05-22 09:24:45 +01:00
Dane Springmeyer
d5e4197aa2 fixup webp test 2015-05-21 20:42:18 -07:00
Dane Springmeyer
c2e94c68a5 fix crash + add crashing testcase for #2842 2015-05-21 20:39:14 -07:00
Dane Springmeyer
4a69a94fed always compile tests even if not installing 2015-05-21 07:41:28 -07:00
Blake Thompson
8534d5e5c2 Updated to latest visual test version 2015-05-20 17:35:08 -05:00
Dane Springmeyer
fad048861d use latest visual test data 2015-05-20 14:23:28 -07:00
Dane Springmeyer
0f8b379eea update visual tests after mapnik/test-data-visual#1 2015-05-20 11:24:01 -07:00
Blake Thompson
2031215247 Renamed set_opacity to apply_opacity, reverted it to the old logic of set_alpha. Updated tests, clamping is now used. 2015-05-20 13:08:18 -05:00
Blake Thompson
b68d079255 Changed the name of the set_alpha and multiply_alpha to be set_opacity and multiply_opacity 2015-05-20 12:39:01 -05:00
Blake Thompson
25c6576fdd Updated the way that multiply_alpha works, such that it is not clamped at the multiplier, but rather at the result of the multiplier and alpha. 2015-05-20 12:39:00 -05:00
Dane Springmeyer
6537183f86 Merge pull request #2827 from mapycz/visual-tests-parallel
visual tests: set number of parallel threads by JOBS environment variable
2015-05-20 10:17:00 -07:00
Jiri Drbalek
b5c2b98412 visual tests: set number of parallel threads by JOBS environment variable 2015-05-19 18:05:38 +00:00
Jiri Drbalek
5ad9b4531c visual tests: allow style paths in command line arguments 2015-05-19 17:30:58 +00:00
Jiri Drbalek
8519bde143 visual tests: drop config.cpp 2015-05-19 17:30:58 +00:00
Jiri Drbalek
3db7b0ca9b visual tests: use boost::filesystem::path for paths 2015-05-19 17:30:58 +00:00
Matt Amos
0db207d076 Bump submodule hash for new test data file. 2015-05-19 00:33:46 +01:00
Matt Amos
782a949543 Use approx when testing floating point approximate equality. 2015-05-18 22:53:11 +01:00