Paned testcase

This commit is contained in:
Matthias Clasen 2011-06-22 23:11:20 -04:00
parent 9d4ce36199
commit 55d8a684c7
3 changed files with 130 additions and 1 deletions

View File

@ -62,4 +62,5 @@ EXTRA_DIST += \
progress.ui progress.txt \
infobar.ui infobar.txt \
calendar.ui calendar.txt \
statusbar.ui statusbar.txt
statusbar.ui statusbar.txt \
paned.ui paned.txt

104
tests/a11y/paned.txt Normal file
View File

@ -0,0 +1,104 @@
window1
"window"
index: 0
state: enabled resizable sensitive showing visible
toolkit: gail
<AtkComponent>
layer: window
alpha: 1
paned1
"split pane"
parent: window1
index: 0
state: enabled focusable horizontal sensitive
toolkit: gail
<AtkComponent>
layer: widget
alpha: 1
<AtkValue>
minimum value: 0
maximum value: 0
current value: 0
minimum increment: 0
label1
"label"
parent: paned1
index: 0
name: Left
state: enabled multi-line sensitive visible
toolkit: gail
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Left
character count: 4
caret offset: 0
default attributes: left-margin: 0
right-margin: 0
indent: 0
invisible: false
editable: false
pixels-above-lines: 0
pixels-below-lines: 0
pixels-inside-wrap: 0
bg-full-height: 0
scale: 1
rise: 0
underline: none
strikethrough: false
bg-stipple: false
fg-stipple: false
fg-color: <omitted>
bg-color: <omitted>
wrap-mode: word
justification: left
size: <omitted>
weight: <omitted>
family-name: <omitted>
stretch: <omitted>
variant: <omitted>
style: <omitted>
language: <omitted>
direction: <omitted>
label2
"label"
parent: paned1
index: 1
name: Right
state: enabled multi-line sensitive visible
toolkit: gail
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Right
character count: 5
caret offset: 0
default attributes: left-margin: 0
right-margin: 0
indent: 0
invisible: false
editable: false
pixels-above-lines: 0
pixels-below-lines: 0
pixels-inside-wrap: 0
bg-full-height: 0
scale: 1
rise: 0
underline: none
strikethrough: false
bg-stipple: false
fg-stipple: false
fg-color: <omitted>
bg-color: <omitted>
wrap-mode: word
justification: left
size: <omitted>
weight: <omitted>
family-name: <omitted>
stretch: <omitted>
variant: <omitted>
style: <omitted>
language: <omitted>
direction: <omitted>

24
tests/a11y/paned.ui Normal file
View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkPaned" id="paned1">
<child>
<object class="GtkLabel" id="label1">
<property name="label" translatable="yes">Left</property>
<property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label2">
<property name="label" translatable="yes">Right</property>
<property name="visible">True</property>
</object>
</child>
</object>
</child>
</object>
</interface>