[gtk/wip/baedert/for-master: 54/54] testsuite: Add a testcase for repeat nodes that don't repeat
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 54/54] testsuite: Add a testcase for repeat nodes that don't repeat
- Date: Tue, 19 Nov 2019 09:47:06 +0000 (UTC)
commit 39a48de025f1b43f9f6a3ee1e9e83e63be9b2a3b
Author: Timm Bäder <mail baedert org>
Date: Tue Nov 19 10:45:35 2019 +0100
testsuite: Add a testcase for repeat nodes that don't repeat
testsuite/gsk/compare/repeat-no-repeat.node | 14 ++++++++++++++
testsuite/gsk/compare/repeat-no-repeat.png | Bin 0 -> 152 bytes
testsuite/gsk/meson.build | 1 +
3 files changed, 15 insertions(+)
---
diff --git a/testsuite/gsk/compare/repeat-no-repeat.node b/testsuite/gsk/compare/repeat-no-repeat.node
new file mode 100644
index 0000000000..1598e116e8
--- /dev/null
+++ b/testsuite/gsk/compare/repeat-no-repeat.node
@@ -0,0 +1,14 @@
+repeat {
+ child: container {
+ color {
+ color: red;
+ bounds: 0 0 50 50;
+ }
+ color {
+ color: blue;
+ bounds: 50 0 50 50;
+ }
+ }
+
+ bounds: 50 0 50 50;
+}
diff --git a/testsuite/gsk/compare/repeat-no-repeat.png b/testsuite/gsk/compare/repeat-no-repeat.png
new file mode 100644
index 0000000000..97102a095c
Binary files /dev/null and b/testsuite/gsk/compare/repeat-no-repeat.png differ
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index e367cd7ef6..cf54b8961c 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -59,6 +59,7 @@ compare_render_tests = [
'opacity-overlapping-children',
'repeat',
'repeat-texture',
+ 'repeat-no-repeat',
]
# these are too sensitive to differences in the renderers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]