testsuite: remove box-order test
authorBenjamin Otte <otte@redhat.com>
Wed, 15 Sep 2021 04:53:15 +0000 (06:53 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:04 +0000 (17:52 -0400)
The test used to test that GtkBox ordered it's children left-to-right in
CSS, no matter the text direction or pack-type.

But there is neither a pack-type anymore nor does GTK4 do that.

So that test has been broken for yers, it just didn't render anything
wrong.

testsuite/reftests/box-order.css [deleted file]
testsuite/reftests/box-order.ref.ui [deleted file]
testsuite/reftests/box-order.ui [deleted file]
testsuite/reftests/meson.build

diff --git a/testsuite/reftests/box-order.css b/testsuite/reftests/box-order.css
deleted file mode 100644 (file)
index b4ab59b..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-* {
-  all: unset;
-  color: transparent;
-}
-
-GtkBox *:nth-child(1) {
-  background-color: red;
-}
-
-GtkBox *:nth-child(2) {
-  background-color: orange;
-}
-
-GtkBox *:nth-child(3) {
-  background-color: yellow;
-}
-
-GtkBox *:nth-child(4) {
-  background-color: lime;
-}
-
-GtkBox *:nth-child(5) {
-  background-color: blue;
-}
-
-GtkBox *:nth-child(6) {
-  background-color: indigo;
-}
-
-GtkBox *:nth-child(7) {
-  background-color: darkViolet;
-}
diff --git a/testsuite/reftests/box-order.ref.ui b/testsuite/reftests/box-order.ref.ui
deleted file mode 100644 (file)
index 192e27a..0000000
+++ /dev/null
@@ -1,225 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<interface>
-  <object class="GtkWindow" id="window1">
-    <property name="decorated">0</property>
-    <child>
-      <object class="GtkGrid" id="grid1">
-        <child>
-          <object class="GtkBox" id="box1">
-            <child>
-              <object class="GtkLabel" id="label1">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label2">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label3">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label4">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label5">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label6">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label7">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <layout>
-              <property name="column">0</property>
-              <property name="row">0</property>
-            </layout>
-          </object>
-        </child>
-        <child>
-          <object class="GtkBox" id="box2">
-            <child>
-              <object class="GtkLabel" id="label8">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label9">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label10">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label11">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label12">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label13">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label14">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <layout>
-              <property name="column">0</property>
-              <property name="row">1</property>
-            </layout>
-          </object>
-        </child>
-        <child>
-          <object class="GtkBox" id="box3">
-            <child>
-              <object class="GtkLabel" id="label15">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label16">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label17">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label18">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label19">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label20">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label21">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <layout>
-              <property name="column">0</property>
-              <property name="row">2</property>
-            </layout>
-          </object>
-        </child>
-        <child>
-          <object class="GtkBox" id="box4">
-            <child>
-              <object class="GtkLabel" id="label22">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label23">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label24">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label25">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label26">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label27">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label28">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <layout>
-              <property name="column">0</property>
-              <property name="row">3</property>
-            </layout>
-          </object>
-        </child>
-        <child>
-          <object class="GtkBox" id="box5">
-            <child>
-              <object class="GtkLabel" id="label29">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label30">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label31">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label32">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label33">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label34">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label35">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <layout>
-              <property name="column">0</property>
-              <property name="row">4</property>
-            </layout>
-          </object>
-        </child>
-      </object>
-    </child>
-  </object>
-</interface>
diff --git a/testsuite/reftests/box-order.ui b/testsuite/reftests/box-order.ui
deleted file mode 100644 (file)
index 0668914..0000000
+++ /dev/null
@@ -1,245 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<interface>
-  <object class="GtkWindow" id="window1">
-    <property name="decorated">0</property>
-    <child>
-      <object class="GtkGrid" id="grid1">
-        <child>
-          <object class="GtkBox" id="box1">
-            <child>
-              <object class="GtkLabel" id="label1">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label2">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label3">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label4">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label5">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label16">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label17">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <layout>
-              <property name="column">0</property>
-              <property name="row">0</property>
-            </layout>
-          </object>
-        </child>
-        <child>
-          <object class="GtkBox" id="box2">
-            <child>
-              <object class="GtkLabel" id="label6">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label7">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label8">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label9">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label10">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label11">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label12">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <layout>
-              <property name="column">0</property>
-              <property name="row">1</property>
-            </layout>
-          </object>
-        </child>
-        <child>
-          <object class="GtkBox" id="box3">
-            <child>
-              <object class="GtkLabel" id="label13">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label14">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label15">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label18">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label19">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label22">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label23">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label27">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label24">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label25">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label26">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <layout>
-              <property name="column">0</property>
-              <property name="row">2</property>
-            </layout>
-          </object>
-        </child>
-        <child>
-          <object class="GtkBox" id="box4">
-            <child>
-              <object class="GtkLabel" id="label28">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label29">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label30">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label31">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label32">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label33">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label34">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <layout>
-              <property name="column">0</property>
-              <property name="row">3</property>
-            </layout>
-          </object>
-        </child>
-        <child>
-          <object class="GtkBox" id="box5">
-            <child>
-              <object class="GtkLabel" id="label35">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label36">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label37">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label38">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label39">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label40">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <child>
-              <object class="GtkLabel" id="label41">
-                <property name="label" translatable="yes"> X X X </property>
-              </object>
-            </child>
-            <layout>
-              <property name="column">0</property>
-              <property name="row">4</property>
-            </layout>
-          </object>
-        </child>
-      </object>
-    </child>
-  </object>
-</interface>
index 0d078fd9ddc9f24e578ddcbda09be9f54c1eb0e0..59c94169941784a24ae6185e5788f1469bab92f5 100644 (file)
@@ -150,9 +150,6 @@ testdata = [
   'border-style.ui',
   'boxlayout-invisible-child.ref.ui',
   'boxlayout-invisible-child.ui',
-  'box-order.css',
-  'box-order.ref.ui',
-  'box-order.ui',
   'box-pseudo-classes.css',
   'box-pseudo-classes.ref.ui',
   'box-pseudo-classes.ui',