From 7a3b659d4eeaa8e3dfe46581b371847b96f0466c Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 9 Aug 2013 15:39:12 +0200 Subject: [PATCH] More tests for attachement (cf #245) --- test/rendering-mss/basic_attachment_internal.mss | 9 +++++++++ test/rendering-mss/basic_attachment_internal.xml | 10 ++++++++++ .../basic_attachment_internal_before.mss | 9 +++++++++ .../basic_attachment_internal_before.xml | 10 ++++++++++ ...basic_attachment_internal_before_and_after.mss | 12 ++++++++++++ ...basic_attachment_internal_before_and_after.xml | 15 +++++++++++++++ .../basic_attachment_internal_double.mss | 10 ++++++++++ .../basic_attachment_internal_double.xml | 11 +++++++++++ .../basic_attachment_internal_with_label.mss | 11 +++++++++++ .../basic_attachment_internal_with_label.xml | 10 ++++++++++ 10 files changed, 107 insertions(+) create mode 100644 test/rendering-mss/basic_attachment_internal.mss create mode 100644 test/rendering-mss/basic_attachment_internal.xml create mode 100644 test/rendering-mss/basic_attachment_internal_before.mss create mode 100644 test/rendering-mss/basic_attachment_internal_before.xml create mode 100644 test/rendering-mss/basic_attachment_internal_before_and_after.mss create mode 100644 test/rendering-mss/basic_attachment_internal_before_and_after.xml create mode 100644 test/rendering-mss/basic_attachment_internal_double.mss create mode 100644 test/rendering-mss/basic_attachment_internal_double.xml create mode 100644 test/rendering-mss/basic_attachment_internal_with_label.mss create mode 100644 test/rendering-mss/basic_attachment_internal_with_label.xml diff --git a/test/rendering-mss/basic_attachment_internal.mss b/test/rendering-mss/basic_attachment_internal.mss new file mode 100644 index 000000000..ca0c38b62 --- /dev/null +++ b/test/rendering-mss/basic_attachment_internal.mss @@ -0,0 +1,9 @@ +#layer { + // default attachement comes before + line-color: chartreuse; + line-width: 10; + ::inline { + line-color: lime; + line-width: 5; + } +} \ No newline at end of file diff --git a/test/rendering-mss/basic_attachment_internal.xml b/test/rendering-mss/basic_attachment_internal.xml new file mode 100644 index 000000000..6abf66d9e --- /dev/null +++ b/test/rendering-mss/basic_attachment_internal.xml @@ -0,0 +1,10 @@ + + \ No newline at end of file diff --git a/test/rendering-mss/basic_attachment_internal_before.mss b/test/rendering-mss/basic_attachment_internal_before.mss new file mode 100644 index 000000000..3aa191127 --- /dev/null +++ b/test/rendering-mss/basic_attachment_internal_before.mss @@ -0,0 +1,9 @@ +#layer { + ::outline { + line-color: aliceblue; + line-width: 5; + } + // default attachement comes after + line-color: orchid; + line-width: 10; +} \ No newline at end of file diff --git a/test/rendering-mss/basic_attachment_internal_before.xml b/test/rendering-mss/basic_attachment_internal_before.xml new file mode 100644 index 000000000..b14446dcd --- /dev/null +++ b/test/rendering-mss/basic_attachment_internal_before.xml @@ -0,0 +1,10 @@ + + \ No newline at end of file diff --git a/test/rendering-mss/basic_attachment_internal_before_and_after.mss b/test/rendering-mss/basic_attachment_internal_before_and_after.mss new file mode 100644 index 000000000..0734f917c --- /dev/null +++ b/test/rendering-mss/basic_attachment_internal_before_and_after.mss @@ -0,0 +1,12 @@ +#layer { + ::outline { + line-color: salmon; + line-width: 10; + } + line-color: coral; + line-width: 5; + ::inline { + line-color: moccasin; + line-width: 1; + } +} \ No newline at end of file diff --git a/test/rendering-mss/basic_attachment_internal_before_and_after.xml b/test/rendering-mss/basic_attachment_internal_before_and_after.xml new file mode 100644 index 000000000..dac38efb7 --- /dev/null +++ b/test/rendering-mss/basic_attachment_internal_before_and_after.xml @@ -0,0 +1,15 @@ + + + \ No newline at end of file diff --git a/test/rendering-mss/basic_attachment_internal_double.mss b/test/rendering-mss/basic_attachment_internal_double.mss new file mode 100644 index 000000000..618c2242c --- /dev/null +++ b/test/rendering-mss/basic_attachment_internal_double.mss @@ -0,0 +1,10 @@ +#layer { + ::outline { + line-color: whitesmoke; + line-width: 10; + } + ::inline { + line-color: mintcream; + line-width: 5; + } +} \ No newline at end of file diff --git a/test/rendering-mss/basic_attachment_internal_double.xml b/test/rendering-mss/basic_attachment_internal_double.xml new file mode 100644 index 000000000..d388f7382 --- /dev/null +++ b/test/rendering-mss/basic_attachment_internal_double.xml @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/test/rendering-mss/basic_attachment_internal_with_label.mss b/test/rendering-mss/basic_attachment_internal_with_label.mss new file mode 100644 index 000000000..842ee1073 --- /dev/null +++ b/test/rendering-mss/basic_attachment_internal_with_label.mss @@ -0,0 +1,11 @@ +#places { + marker-width: 10; + marker-allow-overlap: true; + marker-fill: peru; + ::label { + text-face-name: "DejaVu Sans Book"; + text-name: "'1'"; + text-fill: tomato; + text-allow-overlap: true; + } +} diff --git a/test/rendering-mss/basic_attachment_internal_with_label.xml b/test/rendering-mss/basic_attachment_internal_with_label.xml new file mode 100644 index 000000000..59f75f17e --- /dev/null +++ b/test/rendering-mss/basic_attachment_internal_with_label.xml @@ -0,0 +1,10 @@ + + \ No newline at end of file