From 78d715af221709025fd319538e2a4e58fe790c4f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 28 Dec 2015 02:00:58 -0500 Subject: [PATCH] Add a CSS node test for entries --- testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/entries.nodes | 16 +++++++ testsuite/css/nodes/entries.ui | 74 +++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+) create mode 100644 testsuite/css/nodes/entries.nodes create mode 100644 testsuite/css/nodes/entries.ui diff --git a/testsuite/css/nodes/Makefile.am b/testsuite/css/nodes/Makefile.am index d6bb93828d..bdf33ea815 100644 --- a/testsuite/css/nodes/Makefile.am +++ b/testsuite/css/nodes/Makefile.am @@ -25,6 +25,7 @@ test_css_nodes_SOURCES = \ test-css-nodes.c test_data = \ + entries.ui entries.nodes \ notebook.ui notebook.nodes \ $(NULL) diff --git a/testsuite/css/nodes/entries.nodes b/testsuite/css/nodes/entries.nodes new file mode 100644 index 0000000000..a2b6f5f918 --- /dev/null +++ b/testsuite/css/nodes/entries.nodes @@ -0,0 +1,16 @@ +window visible=0 state=dir-ltr classes=background + decoration visible=1 state=dir-ltr + box visible=0 state=dir-ltr classes=horizontal + label visible=1 state=dir-ltr + label visible=1 state=dir-ltr + label visible=1 state=dir-ltr + entry visible=1 state=dir-ltr + progress visible=1 state=dir-ltr + entry visible=1 state=dir-ltr + entry visible=1 state=dir-ltr + image visible=1 state=dir-ltr classes=left + image visible=1 state=dir-ltr classes=right + spinbutton visible=1 state=dir-ltr classes=horizontal + entry visible=1 state=dir-ltr + button visible=1 state=dir-ltr classes=down + button visible=1 state=dir-ltr classes=up diff --git a/testsuite/css/nodes/entries.ui b/testsuite/css/nodes/entries.ui new file mode 100644 index 0000000000..3d4e4ee3c9 --- /dev/null +++ b/testsuite/css/nodes/entries.ui @@ -0,0 +1,74 @@ + + + + + 0.5 + 99.5 + 0 + 45.5 + 0.5 + 5.0 + + + False + popup + + + + + _entry: + True + True + entry1 + + + + + _password entry: + True + True + entry2 + + + + + _spinbutton: + True + True + spinbutton1 + + + + + text + True + 0.3 + + + + + password text + True + False + * + True + + + + + icons + True + stock1 + stock2 + + + + + adjustment1 + True + + + + + +