Add a messagedialog testcase
This commit is contained in:
@ -35,4 +35,5 @@ EXTRA_DIST += \
|
|||||||
colorchooser.ui colorchooser.txt \
|
colorchooser.ui colorchooser.txt \
|
||||||
about.ui about.txt \
|
about.ui about.txt \
|
||||||
appchooser.ui appchooser.txt \
|
appchooser.ui appchooser.txt \
|
||||||
fontchooser.ui fontchooser.txt
|
fontchooser.ui fontchooser.txt \
|
||||||
|
messagedialog.ui messagedialog.txt
|
||||||
|
|||||||
140
tests/a11y/messagedialog.txt
Normal file
140
tests/a11y/messagedialog.txt
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
window1
|
||||||
|
"alert"
|
||||||
|
index: 0
|
||||||
|
name: Information
|
||||||
|
state: enabled sensitive showing visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: window
|
||||||
|
alpha: 1
|
||||||
|
unnamed-GailBox-0
|
||||||
|
"filler"
|
||||||
|
parent: window1
|
||||||
|
index: 0
|
||||||
|
state: enabled sensitive showing vertical visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
unnamed-GailBox-1
|
||||||
|
"filler"
|
||||||
|
parent: unnamed-GailBox-0
|
||||||
|
index: 0
|
||||||
|
state: enabled horizontal sensitive showing visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
unnamed-GailImage-2
|
||||||
|
"icon"
|
||||||
|
parent: unnamed-GailBox-1
|
||||||
|
index: 0
|
||||||
|
name: Information
|
||||||
|
state: enabled sensitive showing visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
<AtkImage>
|
||||||
|
image size: 48 x 48
|
||||||
|
image description: (null)
|
||||||
|
unnamed-GailBox-3
|
||||||
|
"filler"
|
||||||
|
parent: unnamed-GailBox-1
|
||||||
|
index: 1
|
||||||
|
state: enabled sensitive showing vertical visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
Information
|
||||||
|
"label"
|
||||||
|
parent: unnamed-GailBox-3
|
||||||
|
index: 0
|
||||||
|
name: Information
|
||||||
|
state: enabled focusable multi-line sensitive showing visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
<AtkText>
|
||||||
|
text: Information
|
||||||
|
character count: 11
|
||||||
|
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>
|
||||||
|
More Information
|
||||||
|
"label"
|
||||||
|
parent: unnamed-GailBox-3
|
||||||
|
index: 1
|
||||||
|
name: More Information
|
||||||
|
state: enabled focusable multi-line sensitive showing visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
|
<AtkText>
|
||||||
|
text: More Information
|
||||||
|
character count: 16
|
||||||
|
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>
|
||||||
|
unnamed-GailBox-4
|
||||||
|
"filler"
|
||||||
|
parent: unnamed-GailBox-0
|
||||||
|
index: 1
|
||||||
|
state: enabled horizontal sensitive showing visible
|
||||||
|
toolkit: gail
|
||||||
|
<AtkComponent>
|
||||||
|
layer: widget
|
||||||
|
alpha: 1
|
||||||
10
tests/a11y/messagedialog.ui
Normal file
10
tests/a11y/messagedialog.ui
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<interface>
|
||||||
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
|
<object class="GtkMessageDialog" id="window1">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="message-type">info</property>
|
||||||
|
<property name="text" translatable="yes">Information</property>
|
||||||
|
<property name="secondary-text" translatable="yes">More Information</property>
|
||||||
|
</object>
|
||||||
|
</interface>
|
||||||
Reference in New Issue
Block a user