From ac50e4e9dfc67126fee159257e9e8e2d8c9e6284 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 22 Feb 2014 12:02:30 -0500 Subject: [PATCH] a11y tests: Add a test for GtkActionBar --- testsuite/a11y/Makefile.am | 1 + testsuite/a11y/actionbar.txt | 97 ++++++++++++++++++++++++++++++++++++ testsuite/a11y/actionbar.ui | 55 ++++++++++++++++++++ 3 files changed, 153 insertions(+) create mode 100644 testsuite/a11y/actionbar.txt create mode 100644 testsuite/a11y/actionbar.ui diff --git a/testsuite/a11y/Makefile.am b/testsuite/a11y/Makefile.am index 1581055548..5f109dfd47 100644 --- a/testsuite/a11y/Makefile.am +++ b/testsuite/a11y/Makefile.am @@ -79,6 +79,7 @@ testdata = \ stack.ui stack.txt \ headerbar.ui headerbar.txt \ tree.ui tree.txt \ + actionbar.ui actionbar.txt \ $(NULL) test_in_files = \ diff --git a/testsuite/a11y/actionbar.txt b/testsuite/a11y/actionbar.txt new file mode 100644 index 0000000000..7b1cdeba00 --- /dev/null +++ b/testsuite/a11y/actionbar.txt @@ -0,0 +1,97 @@ +window1 + "window" + index: 0 + state: enabled resizable sensitive showing visible + toolkit: gtk + + layer: window + alpha: 1 + actionbar + "panel" + parent: window1 + index: 0 + state: enabled sensitive showing visible + toolkit: gtk + + layer: widget + alpha: 1 + button1 + "push button" + parent: center_box + index: 0 + name: Start 1 + state: enabled focusable sensitive showing visible + toolkit: gtk + + layer: widget + alpha: 1 + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 0 description: Clicks the button + button2 + "push button" + parent: center_box + index: 1 + name: Start 2 + state: enabled focusable sensitive showing visible + toolkit: gtk + + layer: widget + alpha: 1 + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 0 description: Clicks the button + button5 + "push button" + parent: center_box + index: 2 + name: Center + state: enabled focusable sensitive showing visible + toolkit: gtk + + layer: widget + alpha: 1 + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 0 description: Clicks the button + button4 + "push button" + parent: center_box + index: 3 + name: End 2 + state: enabled focusable sensitive showing visible + toolkit: gtk + + layer: widget + alpha: 1 + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 0 description: Clicks the button + button3 + "push button" + parent: center_box + index: 4 + name: End 1 + state: enabled focusable sensitive showing visible + toolkit: gtk + + layer: widget + alpha: 1 + + image size: -1 x -1 + image description: (null) + + action 0 name: click + action 0 description: Clicks the button diff --git a/testsuite/a11y/actionbar.ui b/testsuite/a11y/actionbar.ui new file mode 100644 index 0000000000..b51c6975e3 --- /dev/null +++ b/testsuite/a11y/actionbar.ui @@ -0,0 +1,55 @@ + + + + + False + popup + + + True + + + True + Start 1 + + + start + + + + + True + Start 2 + + + start + + + + + True + End 1 + + + end + + + + + True + End 2 + + + end + + + + + True + Center + + + + + +