Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Adding error tests for 119 and 124. Fixes #124
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed May 1, 2012
1 parent 2c93bed commit c48a021
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/errorhandling/issue119.mml
Original file line number Diff line number Diff line change
@@ -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"
}
}]
}
3 changes: 3 additions & 0 deletions test/errorhandling/issue119.mss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#countries {
background-color:#f00;
}
14 changes: 14 additions & 0 deletions test/errorhandling/issue124.mml
Original file line number Diff line number Diff line change
@@ -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"
}
}]
}
5 changes: 5 additions & 0 deletions test/errorhandling/issue124.mss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#countries {
[NAME = 14]{
polygon-pattern-file: url(stripe8.png;
}
}

0 comments on commit c48a021

Please sign in to comment.