[gtk+/quartz-integration: 361/563] Add a messagedialog testcase
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/quartz-integration: 361/563] Add a messagedialog testcase
- Date: Sat, 9 Jul 2011 06:36:22 +0000 (UTC)
commit dead04ffb0dea464c8593e411901aa23566fdbe4
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 21 20:03:08 2011 -0400
Add a messagedialog testcase
tests/a11y/Makefile.am | 3 +-
tests/a11y/messagedialog.txt | 140 ++++++++++++++++++++++++++++++++++++++++++
tests/a11y/messagedialog.ui | 10 +++
3 files changed, 152 insertions(+), 1 deletions(-)
---
diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am
index 2e83962..ee2426a 100644
--- a/tests/a11y/Makefile.am
+++ b/tests/a11y/Makefile.am
@@ -35,4 +35,5 @@ EXTRA_DIST += \
colorchooser.ui colorchooser.txt \
about.ui about.txt \
appchooser.ui appchooser.txt \
- fontchooser.ui fontchooser.txt
+ fontchooser.ui fontchooser.txt \
+ messagedialog.ui messagedialog.txt
diff --git a/tests/a11y/messagedialog.txt b/tests/a11y/messagedialog.txt
new file mode 100644
index 0000000..d4abe1f
--- /dev/null
+++ b/tests/a11y/messagedialog.txt
@@ -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
diff --git a/tests/a11y/messagedialog.ui b/tests/a11y/messagedialog.ui
new file mode 100644
index 0000000..a6a080e
--- /dev/null
+++ b/tests/a11y/messagedialog.ui
@@ -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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]