[gtk/wip/baedert/for-master: 12/15] testsuite: Add a repeat node test case
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 12/15] testsuite: Add a repeat node test case
- Date: Sat, 10 Aug 2019 17:54:08 +0000 (UTC)
commit 4cea4a6373c503ac74132599c3f3cacee5ae3fe6
Author: Timm Bäder <mail baedert org>
Date: Sat Aug 10 14:47:02 2019 +0200
testsuite: Add a repeat node test case
testsuite/gsk/compare/repeat.node | 13 +++++++++++++
testsuite/gsk/compare/repeat.png | Bin 0 -> 366 bytes
testsuite/gsk/meson.build | 1 +
3 files changed, 14 insertions(+)
---
diff --git a/testsuite/gsk/compare/repeat.node b/testsuite/gsk/compare/repeat.node
new file mode 100644
index 0000000000..65c5b02b04
--- /dev/null
+++ b/testsuite/gsk/compare/repeat.node
@@ -0,0 +1,13 @@
+repeat {
+ child: container {
+ color {
+ color: red;
+ bounds: 0 0 25 25;
+ }
+ color {
+ color: blue;
+ bounds: 25 25 25 25;
+ }
+ }
+ bounds: 0 0 100 100;
+}
diff --git a/testsuite/gsk/compare/repeat.png b/testsuite/gsk/compare/repeat.png
new file mode 100644
index 0000000000..4062bd597c
Binary files /dev/null and b/testsuite/gsk/compare/repeat.png differ
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index 70cda53e15..e2e0494ca4 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -57,6 +57,7 @@ compare_render_tests = [
'clip-nested1',
'scale-up-down',
'opacity-overlapping-children',
+ 'repeat',
]
# these are too sensitive to differences in the renderers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]