diff options
author | Benjamin Otte <otte@redhat.com> | 2019-05-26 00:50:13 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-05-26 00:50:13 +0200 |
commit | 928c85ccc390bcd0285609373ea7859cfe072f10 (patch) | |
tree | 132c22d5fe14b4c5523510751c57e365c2ffbba7 /testsuite | |
parent | fda643952d2c6fcbd31106c49ec24af018bbcc76 (diff) | |
download | gtk+-928c85ccc390bcd0285609373ea7859cfe072f10.tar.gz |
rendernodeparser: Parse Cairo nodes
We also print the script, but we don't parse it yet.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/gsk/compare/empty-cairo.node | 1 | ||||
-rw-r--r-- | testsuite/gsk/compare/empty-cairo.png | bin | 0 -> 153 bytes | |||
-rw-r--r-- | testsuite/gsk/meson.build | 3 | ||||
-rw-r--r-- | testsuite/gsk/nodeparser/empty-cairo.node | 1 | ||||
-rw-r--r-- | testsuite/gsk/nodeparser/empty-cairo.ref.node | 5 |
5 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/gsk/compare/empty-cairo.node b/testsuite/gsk/compare/empty-cairo.node new file mode 100644 index 0000000000..1987994306 --- /dev/null +++ b/testsuite/gsk/compare/empty-cairo.node @@ -0,0 +1 @@ +cairo { } diff --git a/testsuite/gsk/compare/empty-cairo.png b/testsuite/gsk/compare/empty-cairo.png Binary files differnew file mode 100644 index 0000000000..3a032a391b --- /dev/null +++ b/testsuite/gsk/compare/empty-cairo.png diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 4751dfd537..4f469603a9 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -27,6 +27,7 @@ compare_render_tests = [ 'empty-blend', 'empty-blur', 'empty-border', + 'empty-cairo', 'empty-clip', 'empty-color', 'empty-color-matrix', @@ -101,6 +102,8 @@ node_parser_tests = [ 'empty-blur.ref.node', 'empty-border.node', 'empty-border.ref.node', + 'empty-cairo.node', + 'empty-cairo.ref.node', 'empty-clip.node', 'empty-clip.ref.node', 'empty-color.node', diff --git a/testsuite/gsk/nodeparser/empty-cairo.node b/testsuite/gsk/nodeparser/empty-cairo.node new file mode 100644 index 0000000000..1987994306 --- /dev/null +++ b/testsuite/gsk/nodeparser/empty-cairo.node @@ -0,0 +1 @@ +cairo { } diff --git a/testsuite/gsk/nodeparser/empty-cairo.ref.node b/testsuite/gsk/nodeparser/empty-cairo.ref.node new file mode 100644 index 0000000000..4dca846961 --- /dev/null +++ b/testsuite/gsk/nodeparser/empty-cairo.ref.node @@ -0,0 +1,5 @@ +cairo { + bounds: 0 0 50 50; + pixels: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAABmJLR0QA/wD/AP+gvaeTAAAATklEQVRYhe3OMQHAIADAMJh/aXgCA3t6wZEoyNxjjfd8twP/tAqtQqvQKrQKrUKr0Cq0Cq1Cq9AqtAqtQqvQKrQKrUKr0Cq0Cq1Cq9AqDsEHAi9RKkB7AAAAAElFTkSuQmCC"); + script: url("data:;base64,JSFDYWlyb1NjcmlwdAo8PCAvY29udGVudCAvL0NPTE9SX0FMUEhBIC93aWR0aCA1MCAvaGVpZ2h0IDUwID4+IHN1cmZhY2UgY29udGV4dAoxIDAgMC44IHJnYiBzZXQtc291cmNlCnBhaW50CnBvcAo="); +} |