From a77beb39a1c91dde5b3a4f7b1b8248b0c2244ff8 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 13 Feb 2023 07:59:15 +0100 Subject: [PATCH] testsuite: Add empty test for new node --- testsuite/gsk/meson.build | 2 ++ testsuite/gsk/nodeparser/empty-texture-scale.node | 2 ++ testsuite/gsk/nodeparser/empty-texture-scale.ref.node | 6 ++++++ 3 files changed, 10 insertions(+) create mode 100644 testsuite/gsk/nodeparser/empty-texture-scale.node create mode 100644 testsuite/gsk/nodeparser/empty-texture-scale.ref.node diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index f52a77025e..59bea2637a 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -201,6 +201,8 @@ node_parser_tests = [ 'empty-text.ref.node', 'empty-texture.node', 'empty-texture.ref.node', + 'empty-texture-scale.node', + 'empty-texture-scale.ref.node', 'empty-transform.node', 'empty-transform.ref.node', 'glshader.node', diff --git a/testsuite/gsk/nodeparser/empty-texture-scale.node b/testsuite/gsk/nodeparser/empty-texture-scale.node new file mode 100644 index 0000000000..36be37b743 --- /dev/null +++ b/testsuite/gsk/nodeparser/empty-texture-scale.node @@ -0,0 +1,2 @@ +texture-scale { +} diff --git a/testsuite/gsk/nodeparser/empty-texture-scale.ref.node b/testsuite/gsk/nodeparser/empty-texture-scale.ref.node new file mode 100644 index 0000000000..6a77d0f66f --- /dev/null +++ b/testsuite/gsk/nodeparser/empty-texture-scale.ref.node @@ -0,0 +1,6 @@ +texture-scale { + bounds: 0 0 50 50; + texture: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAKUlEQVQYlWP8z3DmPwMaYGQwYUQX\ +Y0IXwAUGUCGGoxkYGBiweXAoeAYAz44F3e3U1xUAAAAASUVORK5CYII=\ +"); +}