Add new test.
This commit is contained in:
parent
0ef573c197
commit
586cdff6e8
2 changed files with 21 additions and 0 deletions
tests/visual_tests
20
tests/visual_tests/lines-2.xml
Normal file
20
tests/visual_tests/lines-2.xml
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84">
|
||||
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">osm</Parameter>
|
||||
<Parameter name="file">lines.osm</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
||||
<Style name="My Style">
|
||||
<Rule>
|
||||
<LineSymbolizer stroke-width="12" stroke="red"/>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="line">[name]<Format size="8" fill="blue">[name]</Format></TextSymbolizer>
|
||||
</Rule>
|
||||
</Style>
|
||||
|
||||
</Map>
|
|
@ -12,6 +12,7 @@ files = [
|
|||
("list", 800, 600, 400, 300, 250, 200, 150, 100),
|
||||
("simple", 800, 600, 400, 300, 250, 200, 150, 100),
|
||||
("lines-1", (800, 800), (600, 600), (400, 400), (200, 200)),
|
||||
("lines-2", (800, 800), (600, 600), (400, 400), (200, 200)),
|
||||
("simple-E", 500),
|
||||
("simple-NE", 500),
|
||||
("simple-NW", 500),
|
||||
|
|
Loading…
Reference in a new issue