Initial commit, very few changes from orca 45. Added xfce4-notification daemon support.
This commit is contained in:
24
test/keystrokes/gtk-demo/role_window.py
Normal file
24
test/keystrokes/gtk-demo/role_window.py
Normal file
@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of window title output."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Window Where Am I",
|
||||
["BRAILLE LINE: 'GTK+ Code Demos'",
|
||||
" VISIBLE: 'GTK+ Code Demos', cursor=0",
|
||||
"SPEECH OUTPUT: 'GTK+ Code Demos'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
Reference in New Issue
Block a user