Created
August 31, 2012 20:51
-
-
Save skorasaurus/3558816 to your computer and use it in GitHub Desktop.
make test (node-mapnik)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skors@arock:~/prg/tilemill/node_modules/mapnik$ make test | |
"Mapnik LOG> 2012-08-31 16:56:24:" Problem loading plugin library: /usr/local/lib/mapnik/input/python.input (dlopen failed - plugin likely has an unsatisfied dependency or incompatible ABI) | |
mapnik.Grid | |
✓ should throw with invalid usage | |
✓ should be initialized properly | |
✓ should not be painted after rendering | |
✓ should be have background applied after rendering | |
✓ should be painted after rendering2 | |
mapnik.Palette | |
✓ should throw with invalid usage | |
✓ should be initialized property | |
✓ should support 64 color ACT palettes | |
✓ should support 256 color ACT palettes | |
✓ should support rendering (216ms) | |
mapnik.Map | |
✓ should throw with invalid usage | |
✓ should be initialized properly | |
✓ should have settable properties | |
✓ should load a stylesheet | |
✓ should allow access to layers | |
mapnik grid rendering | |
✓ should match expected output (sync rendering) (58ms) | |
✓ should match expected output (async rendering) (46ms) | |
✓ should match expected output (async rendering view) (44ms) | |
✓ should match expected output (async rendering view subsetted) (45ms) | |
✓ should match expected output if __id__ is not the grid key (54ms) | |
✓ should match expected output if __id__ both the grid key and in the attributes with others (62ms) | |
✓ should match expected output if __id__ the grid key and the only attributes (46ms) | |
mapnik constants | |
◦ should have valid settings: "Mapnik LOG> 2012-08-31 16:56:27:" Problem loading plugin library: /usr/local/lib/mapnik/input/python.input (dlopen failed - plugin likely has an unsatisfied dependency or incompatible ABI) | |
✓ should have valid settings | |
✓ should have valid version info | |
✓ should expose Geometry enums | |
mapnik.Layer | |
✓ should throw with invalid usage | |
✓ should initialize properly | |
mapnik.Datasource | |
✓ should throw with invalid usage | |
✓ should validate with known shapefile | |
✓ should validate with known geojson (4158ms) | |
mapnik.Parameters | |
✓ should be accessible from map | |
✓ should be settable on map | |
mapnik async rendering | |
✓ should render to a file | |
✓ should render to an image (73ms) | |
mapnik.ProjTransform | |
✓ should throw with invalid usage | |
✓ should initialize properly | |
✓ should forward coords properly (no-op) | |
✓ should forward coords properly (no-op) | |
✓ should forward coords properly (4326 -> 3857) | |
✓ should backward coords properly (3857 -> 4326) | |
✓ should throw with invalid coords (4326 -> 3857) | |
✓ should forward bbox properly (4326 -> 3857) | |
✓ should backward bbox properly (3857 -> 4326) | |
✓ should throw with invalid bbox (4326 -> 3857) | |
mapnik.Expression | |
✓ should throw with invalid usage | |
✓ should accept complex expressions | |
✓ should support evaluation to js types | |
mapnik rendering | |
✓ should render async (blank) | |
✓ should render async (real data) (121ms) | |
✓ should render async to file (png) (106ms) | |
✓ should render async to file (cairo format) (1289ms) | |
✓ should render async to file (guessing format) (81ms) | |
✓ should render async and throw with invalid format | |
mapnik sync rendering | |
✓ should render to a file (63ms) | |
mapnik.GridView | |
✓ should be solid | |
✓ should have zero value for pixel | |
✓ should be painted after rendering (58ms) | |
mapnik fonts | |
✓ should auto-register DejaVu fonts | |
✓ should auto-register a system font like Times Regular on OS X | |
✓ should find new fonts when registering all system fonts | |
✓ should not register hidden fonts file names | |
✓ should not register hidden fonts face-names | |
mapnik.Image | |
✓ should throw with invalid usage | |
✓ should be initialized properly | |
✓ should not be painted after rendering | |
✓ should have background set after rendering | |
✓ should be painted after rendering | |
1) should support compositing | |
mapnik.Feature | |
✓ should throw with invalid usage | |
✓ should match known features | |
mapnik.ImageView | |
✓ should throw with invalid usage | |
✓ should be initialized properly | |
mapnik.Projection | |
✓ should throw with invalid usage | |
✓ should initialize properly | |
mapnik.Color | |
✓ should throw with invalid usage | |
✓ should be green via keyword | |
✓ should be gray via rgb | |
✓ should be gray via rgba | |
✓ should be gray via rgba % | |
mapnik.compositeOp | |
2) should blend image correctly with op:clear | |
✓ should blend image correctly with op:src | |
✓ should blend image correctly with op:dst | |
✓ should blend image correctly with op:src_over | |
✓ should blend image correctly with op:dst_over | |
✓ should blend image correctly with op:src_in | |
✓ should blend image correctly with op:dst_in | |
✓ should blend image correctly with op:src_out | |
✓ should blend image correctly with op:dst_out | |
✓ should blend image correctly with op:src_atop | |
✓ should blend image correctly with op:dst_atop | |
✓ should blend image correctly with op:xor | |
✓ should blend image correctly with op:plus | |
✓ should blend image correctly with op:minus | |
✓ should blend image correctly with op:multiply | |
✓ should blend image correctly with op:screen | |
✓ should blend image correctly with op:overlay | |
✓ should blend image correctly with op:darken | |
✓ should blend image correctly with op:lighten | |
✓ should blend image correctly with op:color_dodge | |
✓ should blend image correctly with op:color_burn | |
✓ should blend image correctly with op:hard_light | |
✓ should blend image correctly with op:soft_light (40ms) | |
✓ should blend image correctly with op:difference | |
✓ should blend image correctly with op:exclusion | |
✓ should blend image correctly with op:contrast | |
✓ should blend image correctly with op:invert | |
✓ should blend image correctly with op:invert_rgb | |
✖ 2 of 107 tests failed: | |
1) mapnik.Image should support compositing: | |
AssertionError: 254 == 255 | |
at Context.<anonymous> (/home/skors/prg/tilemill/node_modules/mapnik/test/image.test.js:114:16) | |
at Test.run (/home/skors/prg/tilemill/node_modules/mapnik/node_modules/mocha/lib/runnable.js:184:32) | |
at Runner.runTest (/home/skors/prg/tilemill/node_modules/mapnik/node_modules/mocha/lib/runner.js:300:10) | |
at /home/skors/prg/tilemill/node_modules/mapnik/node_modules/mocha/lib/runner.js:346:12 | |
at next (/home/skors/prg/tilemill/node_modules/mapnik/node_modules/mocha/lib/runner.js:228:14) | |
at /home/skors/prg/tilemill/node_modules/mapnik/node_modules/mocha/lib/runner.js:237:7 | |
at next (/home/skors/prg/tilemill/node_modules/mapnik/node_modules/mocha/lib/runner.js:185:23) | |
at Array.0 (/home/skors/prg/tilemill/node_modules/mapnik/node_modules/mocha/lib/runner.js:205:5) | |
at EventEmitter._tickCallback (node.js:192:40) | |
2) mapnik.compositeOp should blend image correctly with op:clear: | |
Error: timeout of 2000ms exceeded | |
at Object.<anonymous> (/home/skors/prg/tilemill/node_modules/mapnik/node_modules/mocha/lib/runnable.js:142:14) | |
at Timer.ontimeout (timers.js:94:19) | |
make: *** [test] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment