Browse files

Adding error tests for 119 and 124. Fixes #124

  • Loading branch information...
1 parent 2c93bed commit c48a02196ed3555f0a7e3b402222691fff81ef71 @tmcw tmcw committed May 1, 2012
View
14 test/errorhandling/issue119.mml
@@ -0,0 +1,14 @@
+{
+ "srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
+ "Stylesheet": [
+ "issue119.mss"
+ ],
+ "Layer": [{
+ "name": "countries",
+ "srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
+ "Datasource": {
+ "file": "http://tilemill-data.s3.amazonaws.com/test_data/shape_demo.zip",
+ "type": "shape"
+ }
+ }]
+}
View
3 test/errorhandling/issue119.mss
@@ -0,0 +1,3 @@
+#countries {
+ background-color:#f00;
+}
View
14 test/errorhandling/issue124.mml
@@ -0,0 +1,14 @@
+{
+ "srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
+ "Stylesheet": [
+ "issue124.mss"
+ ],
+ "Layer": [{
+ "name": "countries",
+ "srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over",
+ "Datasource": {
+ "file": "http://tilemill-data.s3.amazonaws.com/test_data/shape_demo.zip",
+ "type": "shape"
+ }
+ }]
+}
View
5 test/errorhandling/issue124.mss
@@ -0,0 +1,5 @@
+#countries {
+ [NAME = 14]{
+ polygon-pattern-file: url(stripe8.png;
+ }
+}

0 comments on commit c48a021

Please sign in to comment.