From e564b00370de8e4f83918ea9007f98ce82ec0b08 Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Sun, 29 Jan 2012 05:11:59 +0100 Subject: [PATCH] New test. --- tests/visual_tests/clean.sh | 3 +-- .../shieldsymbolizer-1-500-reference.png | Bin 0 -> 883 bytes tests/visual_tests/shieldsymbolizer-1.xml | 19 ++++++++++++++++++ tests/visual_tests/test.py | 3 ++- 4 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 tests/visual_tests/shieldsymbolizer-1-500-reference.png create mode 100644 tests/visual_tests/shieldsymbolizer-1.xml diff --git a/tests/visual_tests/clean.sh b/tests/visual_tests/clean.sh index 8733c453a..5184aa6ca 100755 --- a/tests/visual_tests/clean.sh +++ b/tests/visual_tests/clean.sh @@ -1,6 +1,5 @@ rm -f list-[0-9][0-9]0-agg.png rm -f simple-[0-9][0-9]0-agg.png -rm -f simple-{E,N,NE,NW,N,SE,SW,S,W}-500-agg.png -rm -f formating-500-agg.png +rm -f *-500-agg.png rm -f *-out.xml diff --git a/tests/visual_tests/shieldsymbolizer-1-500-reference.png b/tests/visual_tests/shieldsymbolizer-1-500-reference.png new file mode 100644 index 0000000000000000000000000000000000000000..820509dd58890285828e4eb71b3ea535f8c6025c GIT binary patch literal 883 zcmeAS@N?(olHy`uVBq!ia0y~yVEh7Pr*NELn`LHy=&Md5-8I8 zu)T4jl;n&oH7Tj+yaQK49AjEN-XFNxtk5;lx`44wO=;FnMpqU`jr^OUyo(abeXm>p ztu2_GCh@oOpd{NtGbV<++3o+h85njOzhDqJuz=Ztp_z|?k;jUG#el8?4RhK4K6!H1 zf@k*LdtYqN&*GD{DtU3?V)b#qX1l)!*YcLmw!Qn|clA6|u=v8o-}`KNew93)msfm% z{o+FBcA)xSZ!#z5noxgWQcJY(>O4oj%NSDlirFZr2`riTN8{a*QN0sIKRkHrrTYu&7S9w=z-+yof z+t}Xs6=yUwPOJayZZ*uir;xT-bjlcJ=Pq@5TS#+}!bZ>fzIUaxNe*mb`eeIC-Jt{_ygh z?>?_QFW+;!{^R$Jli?xo0;u)>_iNt}e$iEhYP5LPx2^hw!SOeb+nDV-puw9D4Bmaq u{ + + + + + My Style + + shape + points.shp + + + + + + diff --git a/tests/visual_tests/test.py b/tests/visual_tests/test.py index ac8ed4f89..616b0cb4b 100755 --- a/tests/visual_tests/test.py +++ b/tests/visual_tests/test.py @@ -12,7 +12,8 @@ widths = [ 800, 600, 400, 300, 250, 200, 150, 100] filenames = ["list", "simple"] filenames_one_width = ["simple-E", "simple-NE", "simple-NW", "simple-N", "simple-SE", "simple-SW", "simple-S", "simple-W", - "formating-1", "formating-2", "formating-3", "formating-4"] + "formating-1", "formating-2", "formating-3", "formating-4", + "shieldsymbolizer-1"] def render(filename, width): print "Rendering style \"%s\" with width %d" % (filename, width)