reftests: Add animation loading test

XPM files weren't loaded properly.

https://bugzilla.gnome.org/show_bug.cgi?id=695228
This commit is contained in:
Benjamin Otte 2013-03-12 21:58:47 +01:00
parent 0cc688aa92
commit b7aa15f505
5 changed files with 471 additions and 7 deletions

View File

@ -207,6 +207,7 @@ EXTRA_DIST += \
linear-gradient.css \
linear-gradient.ref.ui \
linear-gradient.ui \
marble.xpm \
messagedialog-secondarytext.ui \
messagedialog-secondarytext.ref.ui \
misc-alignment.css \

View File

@ -1,3 +1,7 @@
#reference {
#reference1 {
background: lime;
}
#reference2 {
background: url("marble.xpm") no-repeat;
}

View File

@ -5,12 +5,39 @@
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkImage" id="image1">
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="width_request">20</property>
<property name="height_request">20</property>
<property name="name">reference</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="width_request">20</property>
<property name="height_request">20</property>
<property name="name">reference1</property>
<property name="halign">center</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="width_request">384</property>
<property name="height_request">384</property>
<property name="name">reference2</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>

View File

@ -5,10 +5,34 @@
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkImage" id="image1">
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="file">green-20x20.png</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="file">green-20x20.png</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkImage" id="image2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="file">marble.xpm</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
</object>
</child>
</object>

408
tests/reftests/marble.xpm Normal file

File diff suppressed because one or more lines are too long