[gtk+/a11y] Add an infobar testcase
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/a11y] Add an infobar testcase
- Date: Wed, 22 Jun 2011 03:46:13 +0000 (UTC)
commit 2a92471c7e321c073d6ec0a558752105d6449621
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 21 23:45:46 2011 -0400
Add an infobar testcase
tests/a11y/Makefile.am | 3 +-
tests/a11y/infobar.txt | 76 ++++++++++++++++++++++++++++++++++++++++++++++++
tests/a11y/infobar.ui | 24 +++++++++++++++
3 files changed, 102 insertions(+), 1 deletions(-)
---
diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am
index d066f7f..7194182 100644
--- a/tests/a11y/Makefile.am
+++ b/tests/a11y/Makefile.am
@@ -40,4 +40,5 @@ EXTRA_DIST += \
pickers.ui pickers.txt \
lockbutton.ui lockbutton.txt \
spinner.ui spinner.txt \
- progress.ui progress.txt
+ progress.ui progress.txt \
+ infobar.ui infobar.txt
diff --git a/tests/a11y/infobar.txt b/tests/a11y/infobar.txt
new file mode 100644
index 0000000..7e38f64
--- /dev/null
+++ b/tests/a11y/infobar.txt
@@ -0,0 +1,76 @@
+window1
+ "window"
+ index: 0
+ state: enabled resizable sensitive showing visible
+ toolkit: gail
+ <AtkComponent>
+ layer: window
+ alpha: 1
+ bar1
+ "filler"
+ parent: window1
+ index: 0
+ state: enabled horizontal sensitive showing visible
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ box1
+ "filler"
+ parent: bar1
+ index: 0
+ state: enabled horizontal sensitive showing visible
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ label1
+ "label"
+ parent: box1
+ index: 0
+ name: Some important info
+ state: enabled multi-line sensitive showing visible
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
+ <AtkText>
+ text: Some important info
+ character count: 19
+ 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-0
+ "filler"
+ parent: bar1
+ index: 1
+ state: enabled sensitive showing vertical visible
+ toolkit: gail
+ <AtkComponent>
+ layer: widget
+ alpha: 1
diff --git a/tests/a11y/infobar.ui b/tests/a11y/infobar.ui
new file mode 100644
index 0000000..a082198
--- /dev/null
+++ b/tests/a11y/infobar.ui
@@ -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="GtkInfoBar" id="bar1">
+ <property name="visible">True</property>
+ <property name="message-type">info</property>
+ <child internal-child="content_area">
+ <object class="GtkBox" id="box1">
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Some important info</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]