[Pkg-javascript-commits] [node-mapnik] 07/15: Patch test that makes use of dfsg-excluded tif file

Jérémy Lal kapouer at moszumanska.debian.org
Wed May 27 19:57:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

kapouer pushed a commit to branch master
in repository node-mapnik.

commit 42f3f6f5c823c6efa671069468cbd6c0624502a4
Author: Jérémy Lal <kapouer at melix.org>
Date:   Thu Aug 21 00:18:06 2014 +0200

    Patch test that makes use of dfsg-excluded tif file
---
 debian/patches/test_disable_raster_layer.patch | 32 ++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/debian/patches/test_disable_raster_layer.patch b/debian/patches/test_disable_raster_layer.patch
new file mode 100644
index 0000000..90ebbcc
--- /dev/null
+++ b/debian/patches/test_disable_raster_layer.patch
@@ -0,0 +1,32 @@
+Description: disable the test using dfsg-excluded natural_earth.tif
+Author: Jérémy Lal <kapouer at melix.org>
+Last-Update: 2014-08-20
+Forwarded: not-needed
+--- a/test/vector-tile.test.js
++++ b/test/vector-tile.test.js
+@@ -126,7 +126,7 @@
+         var vtile = new mapnik.VectorTile(9,112,195);
+         // tile1 represents a "solid" vector tile with one layer
+         // that only encodes a single feature with a single path with
+-        // a polygon box resulting from clipping a chunk out of 
++        // a polygon box resulting from clipping a chunk out of
+         // a larger polygon fully outside the rendered/clipping extent
+         var data = fs.readFileSync("./test/data/vector_tile/tile1.vector.pbf");
+         vtile.setData(data);
+@@ -577,7 +577,7 @@
+             done();
+         });
+     });
+-
++    /*
+     it('should be able to resample and encode (render) a geotiff into vector tile', function(done) {
+         var vtile = new mapnik.VectorTile(0, 0, 0);
+         // first we render a geotiff into an image tile
+@@ -602,6 +602,7 @@
+             });
+         });
+     });
++    */
+ 
+     it('should be able to push an image tile directly into a vector tile layer without decoding', function(done) {
+         var vtile = new mapnik.VectorTile(1, 0, 0);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-mapnik.git



More information about the Pkg-javascript-commits mailing list