gtk2/testsuite/css/change/test2.ui
Matthias Clasen 8ecd4e87e3 Add testcases for css change flags
Add various tests for the change flag computation that
we do in the css selector tree.

test1: Just test the basic machinery of this test
test2: Trigger every change flag at least once
test3: Test that multiple states combine as expected
test4: Test negations (known to produce wrong results)
test5: Test a complex selector (not producing the expected
       output atm)
widget-factory.ui:
       The real thing: widget-factory+Adwaita. Note that
       this expedts to be run with GSETTINGS_BACKEND=memory

Note that test4 checks the wrong results that we currently
produce for selectors involving :not. It will have to be
updated when we fix the handling of :not. The widget-factory.ui
testcase will certainly also be affected.
2020-01-17 23:47:34 -05:00

238 lines
6.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="type">popup</property>
<child>
<object class="GtkBox">
<property name="name">box</property>
<style><class name="test"/></style>
<child>
<object class="GtkLabel">
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="a"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="b"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="c"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="d"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="e"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="f"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="g"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="h"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="i"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="j"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="j1"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="k"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="l"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="m"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="n"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="o"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="p"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="q"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="r"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="s"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="t"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="u"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="u1"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="v"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="w"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="x"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="y"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="z"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="aa"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="bb"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="cc"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="dd"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="ee"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="ff"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="gg"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="hh"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="ii"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="jj"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="kk"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="ll"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="mm"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="nn"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="oo"/></style>
</object>
</child>
<child>
<object class="GtkLabel">
<style><class name="pp"/></style>
</object>
</child>
</object>
</child>
</object>
</interface>