Add a lockbutton testcase

This commit is contained in:
Matthias Clasen 2011-06-21 23:34:38 -04:00
parent 3cc413e84f
commit 96d5ea96fd
3 changed files with 127 additions and 1 deletions

View File

@ -37,4 +37,5 @@ EXTRA_DIST += \
messagedialog.ui messagedialog.txt \
expander.ui expander.txt \
assistant.ui assistant.txt \
pickers.ui pickers.txt
pickers.ui pickers.txt \
lockbutton.ui lockbutton.txt

112
tests/a11y/lockbutton.txt Normal file
View File

@ -0,0 +1,112 @@
window1
"window"
index: 0
state: enabled resizable sensitive showing visible
toolkit: gail
<AtkComponent>
layer: window
alpha: 1
button1
"push button"
parent: window1
index: 0
description: Dialog is unlocked.
Click to prevent further changes
state: enabled focusable sensitive showing visible
toolkit: gail
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: (null)
character count: 0
caret offset: 0
<AtkImage>
image size: 16 x 16
image description: (null)
<AtkAction>
action 0 name: click
action 1 name: press
action 2 name: release
Lock
"label"
parent: button1
index: 0
name: Lock
state: enabled multi-line sensitive showing visible
toolkit: gail
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Lock
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>
Unlock
"label"
parent: button1
index: 1
name: Unlock
state: enabled multi-line sensitive
toolkit: gail
<AtkComponent>
layer: widget
alpha: 1
<AtkText>
text: Unlock
character count: 6
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>

13
tests/a11y/lockbutton.ui Normal file
View File

@ -0,0 +1,13 @@
<?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="GtkLockButton" id="button1">
<property name="visible">True</property>
</object>
</child>
</object>
</interface>