Skip to content

Commit

Permalink
reenable some text tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaefer committed May 19, 2015
1 parent d4fb344 commit 91a5854
Show file tree
Hide file tree
Showing 16 changed files with 37 additions and 150 deletions.
36 changes: 9 additions & 27 deletions tests/text-anchor/info.json
Original file line number Diff line number Diff line change
@@ -1,80 +1,62 @@
{
"center": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["center"]
},
"left": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["left"]
},
"right": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["right"]
},
"top": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["top"]
},
"bottom": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["bottom"]
},
"top-left": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["top-left"]
},
"top-right": {
"ignored": {
"native": ""
},
"diff": { "native": 0.003 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["top-right"]
},
"bottom-left": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["bottom-left"]
},
"bottom-right": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
13 changes: 1 addition & 12 deletions tests/text-color/info.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
{
"default": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0015 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256
},
"literal": {
"ignored": {
"native": ""
},
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["literal"]
},
"constant": {
"ignored": {
"native": ""
},
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["constant"]
},
"function": {
"ignored": {
"native": ""
},
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
8 changes: 2 additions & 6 deletions tests/text-font/info.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"literal": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0015 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["literal"]
},
"constant": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0015 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
8 changes: 2 additions & 6 deletions tests/text-justify/info.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"left": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["left"]
},
"right": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
12 changes: 3 additions & 9 deletions tests/text-keep-upright/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,14 @@
"classes": ["line-placement-false"]
},
"point-placement-align-viewport-true": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0055 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["point-placement-align-viewport-true"]
},
"point-placement-align-viewport-false": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0055 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand All @@ -46,9 +42,7 @@
"classes": ["point-placement-align-map-true"]
},
"point-placement-align-map-false": {
"ignored": {
"native": ""
},
"diff": { "native": 0.005 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
8 changes: 2 additions & 6 deletions tests/text-letter-spacing/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,14 @@
"classes": ["constant"]
},
"function-close": {
"ignored": {
"native": ""
},
"diff": { "native": 0.002 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["function-close"]
},
"function-far": {
"ignored": {
"native": ""
},
"diff": { "native": 0.002 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
8 changes: 2 additions & 6 deletions tests/text-line-height/info.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"literal": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["literal"]
},
"constant": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
8 changes: 2 additions & 6 deletions tests/text-max-width/info.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"literal": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["literal"]
},
"constant": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0025 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
8 changes: 2 additions & 6 deletions tests/text-offset/info.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"literal": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0015 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["literal"]
},
"constant": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0015 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
13 changes: 1 addition & 12 deletions tests/text-opacity/info.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
{
"default": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0015 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256
},
"literal": {
"ignored": {
"native": ""
},
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["literal"]
},
"constant": {
"ignored": {
"native": ""
},
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["constant"]
},
"function": {
"ignored": {
"native": ""
},
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
12 changes: 0 additions & 12 deletions tests/text-rotate/info.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
{
"literal": {
"ignored": {
"native": ""
},
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["literal"]
},
"constant": {
"ignored": {
"native": ""
},
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand All @@ -36,18 +30,12 @@
"classes": ["anchor-right"]
},
"anchor-top": {
"ignored": {
"native": ""
},
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"classes": ["anchor-top"]
},
"anchor-bottom": {
"ignored": {
"native": ""
},
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
8 changes: 2 additions & 6 deletions tests/text-rotation-alignment/info.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
{
"viewport": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0015 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
"bearing": 90,
"classes": ["viewport"]
},
"map": {
"ignored": {
"native": ""
},
"diff": { "native": 0.0015 },
"zoom": 14,
"center": [52.499167, 13.418056],
"height": 256,
Expand Down
Loading

0 comments on commit 91a5854

Please sign in to comment.