[gtk] Make the newly added test a bit more robust
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Make the newly added test a bit more robust
- Date: Fri, 3 May 2019 02:16:07 +0000 (UTC)
commit 6f25168db3de9ccd0727e1a0438f61bfc69f2ff5
Author: Matthias Clasen <mclasen redhat com>
Date: Fri May 3 02:15:07 2019 +0000
Make the newly added test a bit more robust
Follow the style of the other tests and provide
style for both the test and ref.
testsuite/reftests/label-fonts.css | 6 +++++-
testsuite/reftests/label-fonts.ref.ui | 1 +
testsuite/reftests/label-fonts.ui | 1 +
3 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/testsuite/reftests/label-fonts.css b/testsuite/reftests/label-fonts.css
index aa44addd77..2a250e03ce 100644
--- a/testsuite/reftests/label-fonts.css
+++ b/testsuite/reftests/label-fonts.css
@@ -1,3 +1,7 @@
-* {
+#label {
font-family: nonexisting,Sans;
}
+
+#reference {
+ font-family: Sans;
+}
diff --git a/testsuite/reftests/label-fonts.ref.ui b/testsuite/reftests/label-fonts.ref.ui
index b00757eeb8..55a881b7c7 100644
--- a/testsuite/reftests/label-fonts.ref.ui
+++ b/testsuite/reftests/label-fonts.ref.ui
@@ -4,6 +4,7 @@
<property name="type">popup</property>
<child>
<object class="GtkLabel" id="label3">
+ <property name="name">reference</property>
<property name="label" translatable="yes">abcdefg</property>
</object>
</child>
diff --git a/testsuite/reftests/label-fonts.ui b/testsuite/reftests/label-fonts.ui
index b00757eeb8..a7d468885f 100644
--- a/testsuite/reftests/label-fonts.ui
+++ b/testsuite/reftests/label-fonts.ui
@@ -4,6 +4,7 @@
<property name="type">popup</property>
<child>
<object class="GtkLabel" id="label3">
+ <property name="name">label</property>
<property name="label" translatable="yes">abcdefg</property>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]