From ac06529f6130c482ff54870e57129cce9eda6691 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 5 May 2011 17:32:22 +0200 Subject: [PATCH] reftests: Add testcase for label justify fix --- tests/reftests/Makefile.am | 2 + tests/reftests/label-wrap-justify.ref.ui | 73 ++++++++++++++++++++++ tests/reftests/label-wrap-justify.ui | 78 ++++++++++++++++++++++++ 3 files changed, 153 insertions(+) create mode 100644 tests/reftests/label-wrap-justify.ref.ui create mode 100644 tests/reftests/label-wrap-justify.ui diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am index 3755a89aa3..58283567b8 100644 --- a/tests/reftests/Makefile.am +++ b/tests/reftests/Makefile.am @@ -42,6 +42,8 @@ EXTRA_DIST += \ label-sizing.ui \ label-small-ellipsized.ref.ui \ label-small-ellipsized.ui \ + label-wrap-justify.ref.ui \ + label-wrap-justify.ui \ nonresizable-size.ref.ui \ nonresizable-size.ui \ quit-mnemonic.ref.ui \ diff --git a/tests/reftests/label-wrap-justify.ref.ui b/tests/reftests/label-wrap-justify.ref.ui new file mode 100644 index 0000000000..8c8dbd9ffe --- /dev/null +++ b/tests/reftests/label-wrap-justify.ref.ui @@ -0,0 +1,73 @@ + + + + + False + popup + + + True + False + + + True + False + <tt>left +aligning</tt> + True + + + 0 + 0 + 1 + 1 + + + + + True + False + <tt> center +aligning</tt> + True + + + 0 + 1 + 1 + 1 + + + + + True + False + <tt> right +aligning</tt> + True + + + 0 + 2 + 1 + 1 + + + + + True + False + <tt>Make the widget wide enough</tt> + True + + + 0 + 3 + 1 + 1 + + + + + + diff --git a/tests/reftests/label-wrap-justify.ui b/tests/reftests/label-wrap-justify.ui new file mode 100644 index 0000000000..31350a202a --- /dev/null +++ b/tests/reftests/label-wrap-justify.ui @@ -0,0 +1,78 @@ + + + + + False + popup + + + True + False + + + True + False + <tt>left +aligning</tt> + True + True + + + 0 + 0 + 1 + 1 + + + + + True + False + <tt>center +aligning</tt> + True + center + True + + + 0 + 1 + 1 + 1 + + + + + True + False + <tt>right +aligning</tt> + True + right + True + + + 0 + 2 + 1 + 1 + + + + + True + False + <tt>Make the widget wide enough</tt> + True + + + 0 + 3 + 1 + 1 + + + + + +