[gtk+/quartz-integration: 335/563] Add a test involving a text view



commit 66d1720c0f6ae1ece9fcf6d4783271d2d1073c4b
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jun 19 19:16:26 2011 -0400

    Add a test involving a text view

 tests/a11y/Makefile.am |    4 +++-
 tests/a11y/text.txt    |   17 +++++++++++++++++
 tests/a11y/text.ui     |   19 +++++++++++++++++++
 3 files changed, 39 insertions(+), 1 deletions(-)
---
diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am
index 9f9f81f..7bb323f 100644
--- a/tests/a11y/Makefile.am
+++ b/tests/a11y/Makefile.am
@@ -26,4 +26,6 @@ EXTRA_DIST += \
 	mnemonic.ui mnemonic.txt \
 	accessible-name.ui accessible-name.txt \
 	notebook.ui notebook.txt \
-	range.ui range.txt
+	range.ui range.txt \
+	link.ui link.txt \
+	text.ui text.txt
diff --git a/tests/a11y/text.txt b/tests/a11y/text.txt
new file mode 100644
index 0000000..7162034
--- /dev/null
+++ b/tests/a11y/text.txt
@@ -0,0 +1,17 @@
+window1
+  "window"
+  index: 0
+  state: enabled resizable sensitive showing visible
+  toolkit: gail
+  text1
+    "text"
+    parent: window1
+    index: 0
+    state: editable enabled focusable multi-line sensitive showing visible
+    toolkit: gail
+    text: Twas brillig, and the slithy toves
+Did gyre and gimple in the wabe
+    character count: 66
+    caret offset: 66
+    default attributes: right-margin:0 left-margin:0 indent:0 pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 rise:0 language:<omitted> scale:1 fg-color:0,0,0 bg-color:65535,65535,65535 invalid:none invalid:false invalid:false invalid:false left-margin:true invalid:none left-margin:ltr invalid:left size:<omitted> weight:<omitted> family-name:<omitted> invisible:normal invalid:normal invalid:normal
+    mime types: application/x-gtk-text-buffer-rich-text text/plain
diff --git a/tests/a11y/text.ui b/tests/a11y/text.ui
new file mode 100644
index 0000000..508efd5
--- /dev/null
+++ b/tests/a11y/text.ui
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkTextBuffer" id="buffer1">
+    <property name="text">Twas brillig, and the slithy toves
+Did gyre and gimple in the wabe</property>
+  </object>
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkTextView" id="text1">
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="buffer">buffer1</property>
+      </object>
+    </child>
+  </object>
+</interface>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]