diff options
author | Timm Bäder <mail@baedert.org> | 2019-08-10 19:56:10 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-08-11 09:05:31 +0200 |
commit | 0415574acf637b43efe6597f5e967bcc5d8663e6 (patch) | |
tree | 1129130725e148fa1b91f62381b884cc371c9d46 /testsuite | |
parent | c812e1dc948fbf4db9048f86abcdfde751413396 (diff) | |
download | gtk+-0415574acf637b43efe6597f5e967bcc5d8663e6.tar.gz |
testsuite: Add another repeat node test case
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gsk/compare/repeat-texture.node | 9 | ||||
-rw-r--r-- | testsuite/gsk/compare/repeat-texture.png | bin | 0 -> 118 bytes | |||
-rw-r--r-- | testsuite/gsk/meson.build | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/gsk/compare/repeat-texture.node b/testsuite/gsk/compare/repeat-texture.node new file mode 100644 index 0000000000..ee7870430b --- /dev/null +++ b/testsuite/gsk/compare/repeat-texture.node @@ -0,0 +1,9 @@ +repeat { + child: texture { + bounds: 0 0 1 2; + texture: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAABmJLR0QA/wD/AP+gvaeTAAAAEklEQVQImWNgYGD4z8DAwMAAAAYEAQD7YNrQAAAAAElFTkSuQmCC"); + } + + bounds: 0 0 25 25; +} + diff --git a/testsuite/gsk/compare/repeat-texture.png b/testsuite/gsk/compare/repeat-texture.png Binary files differnew file mode 100644 index 0000000000..3aaae7b03f --- /dev/null +++ b/testsuite/gsk/compare/repeat-texture.png diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index e2e0494ca4..e367cd7ef6 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -58,6 +58,7 @@ compare_render_tests = [ 'scale-up-down', 'opacity-overlapping-children', 'repeat', + 'repeat-texture', ] # these are too sensitive to differences in the renderers |