Initial commit, very few changes from orca 45. Added xfce4-notification daemon support.
This commit is contained in:
347
test/keystrokes/helpcontent/line_nav_intro.py
Normal file
347
test/keystrokes/helpcontent/line_nav_intro.py
Normal file
@ -0,0 +1,347 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of learn mode."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(TypeAction("h"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
|
||||
sequence.append(KeyComboAction("F1"))
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(KeyComboAction("k"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Down",
|
||||
["BRAILLE LINE: ' Next $l'",
|
||||
" VISIBLE: ' Next $l', cursor=2",
|
||||
"SPEECH OUTPUT: 'Next link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down",
|
||||
["BRAILLE LINE: ' Welcome to Orca h1'",
|
||||
" VISIBLE: ' Welcome to Orca h1', cursor=2",
|
||||
"SPEECH OUTPUT: 'Welcome to Orca'",
|
||||
"SPEECH OUTPUT: 'heading level 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down",
|
||||
["BRAILLE LINE: ' Orca is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
|
||||
" VISIBLE: 'Orca is a free, open source, fle', cursor=1",
|
||||
"SPEECH OUTPUT: 'Orca is a free, open source, flexible, and extensible '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Down",
|
||||
["BRAILLE LINE: 'Orca is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
|
||||
" VISIBLE: 'Orca is a free, open source, fle', cursor=1",
|
||||
"SPEECH OUTPUT: 'screen reader that provides access to the graphical desktop via speech '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Down",
|
||||
["BRAILLE LINE: 'Orca is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
|
||||
" VISIBLE: 'Orca is a free, open source, fle', cursor=1",
|
||||
"SPEECH OUTPUT: 'and refreshable braille.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Down",
|
||||
["BRAILLE LINE: ' Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'",
|
||||
" VISIBLE: 'Orca works with applications and', cursor=1",
|
||||
"SPEECH OUTPUT: 'Orca works with applications and toolkits that support the Assistive '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Down",
|
||||
["BRAILLE LINE: 'Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'",
|
||||
" VISIBLE: 'Orca works with applications and', cursor=1",
|
||||
"SPEECH OUTPUT: 'Technology Service Provider Interface (AT-SPI), which is the primary '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Down",
|
||||
["BRAILLE LINE: 'Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'",
|
||||
" VISIBLE: 'Orca works with applications and', cursor=1",
|
||||
"SPEECH OUTPUT: 'assistive technology infrastructure for Linux and Solaris. Applications '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Down",
|
||||
["BRAILLE LINE: 'Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'",
|
||||
" VISIBLE: 'Orca works with applications and', cursor=1",
|
||||
"SPEECH OUTPUT: 'and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Down",
|
||||
["BRAILLE LINE: 'Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'",
|
||||
" VISIBLE: 'Orca works with applications and', cursor=1",
|
||||
"SPEECH OUTPUT: 'the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Down",
|
||||
["BRAILLE LINE: 'Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'",
|
||||
" VISIBLE: 'Orca works with applications and', cursor=1",
|
||||
"SPEECH OUTPUT: 'AT-SPI support for the KDE Qt toolkit is being pursued.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Down",
|
||||
["BRAILLE LINE: ' Launching Orca h2'",
|
||||
" VISIBLE: ' Launching Orca h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Launching Orca'",
|
||||
"SPEECH OUTPUT: 'heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Down",
|
||||
["BRAILLE LINE: ' To launch Orca:'",
|
||||
" VISIBLE: ' To launch Orca:', cursor=2",
|
||||
"SPEECH OUTPUT: 'To launch Orca:'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Down",
|
||||
["BRAILLE LINE: ' The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: 'The method for configuring Orca ', cursor=1",
|
||||
"SPEECH OUTPUT: 'The method for configuring Orca to be launched automatically as '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Down",
|
||||
["BRAILLE LINE: 'The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: 'The method for configuring Orca ', cursor=1",
|
||||
"SPEECH OUTPUT: 'your preferred screen reader will depend upon which desktop '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"16. Down",
|
||||
["BRAILLE LINE: 'The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: 'The method for configuring Orca ', cursor=1",
|
||||
"SPEECH OUTPUT: 'environment you use. For instance, in GNOME 3.x this option can '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"17. Down",
|
||||
["BRAILLE LINE: 'The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: 'The method for configuring Orca ', cursor=1",
|
||||
"SPEECH OUTPUT: 'be found in the Universal Access Control Center panel on the'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"18. Down",
|
||||
["BRAILLE LINE: 'The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: 'ca to be launched automatically ', cursor=32",
|
||||
"SPEECH OUTPUT: 'be found in the Universal Access Control Center panel on the'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"19. Down",
|
||||
["BRAILLE LINE: ' To toggle Orca on and off in GNOME, press Super+Alt+S.'",
|
||||
" VISIBLE: 'To toggle Orca on and off in GNO', cursor=1",
|
||||
"SPEECH OUTPUT: 'To toggle Orca on and off in GNOME, press'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"20. Down",
|
||||
["BRAILLE LINE: ' To toggle Orca on and off in GNOME, press Super+Alt+S.'",
|
||||
" VISIBLE: 'Orca on and off in GNOME, press ', cursor=32",
|
||||
"SPEECH OUTPUT: 'To toggle Orca on and off in GNOME, press'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"21. Up",
|
||||
["BRAILLE LINE: ' To toggle Orca on and off in GNOME, press Super+Alt+S.'",
|
||||
" VISIBLE: 'To toggle Orca on and off in GNO', cursor=1",
|
||||
"SPEECH OUTPUT: 'To toggle Orca on and off in GNOME, press'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"22. Up",
|
||||
["BRAILLE LINE: 'be found in the Universal Access Control Center panel on the'",
|
||||
" VISIBLE: 'ess Control Center panel on the', cursor=32",
|
||||
"SPEECH OUTPUT: 'be found in the Universal Access Control Center panel on the'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"23. Up",
|
||||
["BRAILLE LINE: 'be found in the Universal Access Control Center panel on the'",
|
||||
" VISIBLE: 'be found in the Universal Access', cursor=1",
|
||||
"SPEECH OUTPUT: 'be found in the Universal Access Control Center panel on the'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"24. Up",
|
||||
["BRAILLE LINE: 'environment you use. For instance, in GNOME 3.x this option can '",
|
||||
" VISIBLE: 'environment you use. For instanc', cursor=1",
|
||||
"SPEECH OUTPUT: 'environment you use. For instance, in GNOME 3.x this option can '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"25. Up",
|
||||
["BRAILLE LINE: 'your preferred screen reader will depend upon which desktop '",
|
||||
" VISIBLE: 'your preferred screen reader wil', cursor=1",
|
||||
"SPEECH OUTPUT: 'your preferred screen reader will depend upon which desktop '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"26. Up",
|
||||
["BRAILLE LINE: ' The method for configuring Orca to be launched automatically as '",
|
||||
" VISIBLE: 'The method for configuring Orca ', cursor=1",
|
||||
"SPEECH OUTPUT: 'The method for configuring Orca to be launched automatically as '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"27. Up",
|
||||
["BRAILLE LINE: ' To launch Orca:'",
|
||||
" VISIBLE: ' To launch Orca:', cursor=2",
|
||||
"SPEECH OUTPUT: 'To launch Orca:'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"28. Up",
|
||||
["BRAILLE LINE: ' Launching Orca h2'",
|
||||
" VISIBLE: ' Launching Orca h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Launching Orca'",
|
||||
"SPEECH OUTPUT: 'heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"29. Up",
|
||||
["BRAILLE LINE: 'AT-SPI support for the KDE Qt toolkit is being pursued.'",
|
||||
" VISIBLE: 'AT-SPI support for the KDE Qt to', cursor=1",
|
||||
"SPEECH OUTPUT: 'AT-SPI support for the KDE Qt toolkit is being pursued.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"30. Up",
|
||||
["BRAILLE LINE: 'the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. '",
|
||||
" VISIBLE: 'the Java platform's Swing toolki', cursor=1",
|
||||
"SPEECH OUTPUT: 'the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"31. Up",
|
||||
["BRAILLE LINE: 'and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, '",
|
||||
" VISIBLE: 'and toolkits supporting the AT-S', cursor=1",
|
||||
"SPEECH OUTPUT: 'and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"32. Up",
|
||||
["BRAILLE LINE: 'assistive technology infrastructure for Linux and Solaris. Applications '",
|
||||
" VISIBLE: 'assistive technology infrastruct', cursor=1",
|
||||
"SPEECH OUTPUT: 'assistive technology infrastructure for Linux and Solaris. Applications '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"33. Up",
|
||||
["BRAILLE LINE: 'Technology Service Provider Interface (AT-SPI), which is the primary '",
|
||||
" VISIBLE: 'Technology Service Provider Inte', cursor=1",
|
||||
"SPEECH OUTPUT: 'Technology Service Provider Interface (AT-SPI), which is the primary '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"34. Up",
|
||||
["BRAILLE LINE: ' Orca works with applications and toolkits that support the Assistive '",
|
||||
" VISIBLE: 'Orca works with applications and', cursor=1",
|
||||
"SPEECH OUTPUT: 'Orca works with applications and toolkits that support the Assistive '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"35. Up",
|
||||
["BRAILLE LINE: 'and refreshable braille.'",
|
||||
" VISIBLE: 'and refreshable braille.', cursor=1",
|
||||
"SPEECH OUTPUT: 'and refreshable braille.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"36. Up",
|
||||
["BRAILLE LINE: 'screen reader that provides access to the graphical desktop via speech '",
|
||||
" VISIBLE: 'screen reader that provides acce', cursor=1",
|
||||
"SPEECH OUTPUT: 'screen reader that provides access to the graphical desktop via speech '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"37. Up",
|
||||
["BRAILLE LINE: ' Orca is a free, open source, flexible, and extensible '",
|
||||
" VISIBLE: 'Orca is a free, open source, fle', cursor=1",
|
||||
"SPEECH OUTPUT: 'Orca is a free, open source, flexible, and extensible '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"38. Up",
|
||||
["BRAILLE LINE: ' Welcome to Orca h1'",
|
||||
" VISIBLE: ' Welcome to Orca h1', cursor=2",
|
||||
"SPEECH OUTPUT: 'Welcome to Orca'",
|
||||
"SPEECH OUTPUT: 'heading level 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"39. Up",
|
||||
["BRAILLE LINE: ' Next $l'",
|
||||
" VISIBLE: ' Next $l', cursor=2",
|
||||
"SPEECH OUTPUT: 'Next link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"40. Up",
|
||||
["BRAILLE LINE: ' Introduction to the Orca Screen Reader Getting Started'",
|
||||
" VISIBLE: ' Introduction to the Orca Screen', cursor=0",
|
||||
"SPEECH OUTPUT: 'Introduction to the Orca Screen Reader link \xa0\u203a Getting Started link \xa0\xbb'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
140
test/keystrokes/helpcontent/line_nav_intro.settings
Normal file
140
test/keystrokes/helpcontent/line_nav_intro.settings
Normal file
@ -0,0 +1,140 @@
|
||||
{
|
||||
"pronunciations": {},
|
||||
"keybindings": {},
|
||||
"general": {
|
||||
"sayAllOnLoad": false,
|
||||
"enableSpeech": true,
|
||||
"brailleRequiredStateString": null,
|
||||
"enableTutorialMessages": false,
|
||||
"enableFunctionKeys": true,
|
||||
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;",
|
||||
"enableMnemonicSpeaking": false,
|
||||
"progressBarVerbosity": 1,
|
||||
"speakBlankLines": true,
|
||||
"speechServerInfo": null,
|
||||
"enableSpeechIndentation": false,
|
||||
"speakMultiCaseStringsAsWords": false,
|
||||
"enableNavigationKeys": false,
|
||||
"speakSpreadsheetCoordinates": true,
|
||||
"enableEchoByWord": false,
|
||||
"enableModifierKeys": true,
|
||||
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
|
||||
"enableBrailleContext": true,
|
||||
"brailleFlashTime": 5000,
|
||||
"presentTimeFormat": "%X",
|
||||
"speechServerFactory": "speechdispatcherfactory",
|
||||
"mouseDwellDelay": 0,
|
||||
"wrappedStructuralNavigation": true,
|
||||
"enableBraille": false,
|
||||
"enableKeyEcho": false,
|
||||
"enablePositionSpeaking": false,
|
||||
"brailleLinkIndicator": 192,
|
||||
"flashVerbosityLevel": 1,
|
||||
"findResultsMinimumLength": 4,
|
||||
"chatRoomHistories": false,
|
||||
"largeObjectTextLength": 75,
|
||||
"keyboardLayout": 1,
|
||||
"verbalizePunctuationStyle": 1,
|
||||
"spellcheckSpellError": true,
|
||||
"chatSpeakRoomName": false,
|
||||
"chatMessageVerbosity": 0,
|
||||
"messageVerbosityLevel": 1,
|
||||
"brailleAlignmentStyle": 0,
|
||||
"brailleSelectorIndicator": 192,
|
||||
"skipBlankCells": false,
|
||||
"speakCellCoordinates": true,
|
||||
"activeProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"enablePrintableKeys": true,
|
||||
"startingProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"orcaModifierKeys": [
|
||||
"Insert",
|
||||
"KP_Insert"
|
||||
],
|
||||
"spellcheckSpellSuggestion": true,
|
||||
"enablePauseBreaks": true,
|
||||
"enableBrailleMonitor": true,
|
||||
"progressBarUpdateInterval": 10,
|
||||
"speechRequiredStateString": null,
|
||||
"enableDiacriticalKeys": false,
|
||||
"enableMouseReview": false,
|
||||
"enableActionKeys": true,
|
||||
"findResultsVerbosity": 2,
|
||||
"textAttributesBrailleIndicator": 0,
|
||||
"enableEchoByCharacter": false,
|
||||
"enableFlashMessages": true,
|
||||
"enableEchoBySentence": false,
|
||||
"brailleVerbosityLevel": 1,
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "",
|
||||
"speakCellHeaders": true,
|
||||
"flashIsPersistent": false,
|
||||
"speakCellSpan": true,
|
||||
"useColorNames": true,
|
||||
"enableContractedBraille": false,
|
||||
"spellcheckPresentContext": true,
|
||||
"enableProgressBarUpdates": true,
|
||||
"chatAnnounceBuddyTyping": false,
|
||||
"readTableCellRow": true,
|
||||
"brailleRolenameStyle": 1,
|
||||
"sayAllStyle": 1,
|
||||
"disableBrailleEOL": false,
|
||||
"speechVerbosityLevel": 1,
|
||||
"presentToolTips": false,
|
||||
"presentDateFormat": "%x",
|
||||
"structuralNavigationEnabled": true,
|
||||
"onlySpeakDisplayedText": false
|
||||
},
|
||||
"profiles": {
|
||||
"default": {
|
||||
"speechServerFactory": "orca.speechdispatcherfactory",
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "/usr/share/liblouis/tables/en-us-g2.ctb",
|
||||
"pronunciations": {},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"average-pitch": 10.0
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"keybindings": {}
|
||||
}
|
||||
}
|
||||
}
|
375
test/keystrokes/helpcontent/line_nav_main_page.py
Normal file
375
test/keystrokes/helpcontent/line_nav_main_page.py
Normal file
@ -0,0 +1,375 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of learn mode."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(TypeAction("h"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
|
||||
sequence.append(PauseAction(2000))
|
||||
sequence.append(KeyComboAction("F1"))
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Down",
|
||||
["BRAILLE LINE: ' Before You Begin h2'",
|
||||
" VISIBLE: ' Before You Begin h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Before You Begin'",
|
||||
"SPEECH OUTPUT: 'heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down",
|
||||
["BRAILLE LINE: ' If you are not yet familiar with the navigation commands provided by your desktop environment, you are encouraged to read that documentation first.'",
|
||||
" VISIBLE: 'If you are not yet familiar with', cursor=1",
|
||||
"SPEECH OUTPUT: 'If you are not yet familiar with the navigation commands provided '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down",
|
||||
["BRAILLE LINE: 'If you are not yet familiar with the navigation commands provided by your desktop environment, you are encouraged to read that documentation first.'",
|
||||
" VISIBLE: 'If you are not yet familiar with', cursor=1",
|
||||
"SPEECH OUTPUT: 'by your desktop environment, you are encouraged to read that '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Down",
|
||||
["BRAILLE LINE: 'If you are not yet familiar with the navigation commands provided by your desktop environment, you are encouraged to read that documentation first.'",
|
||||
" VISIBLE: 'If you are not yet familiar with', cursor=1",
|
||||
"SPEECH OUTPUT: 'documentation first.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Down",
|
||||
["BRAILLE LINE: ' Getting Started h2'",
|
||||
" VISIBLE: ' Getting Started h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Getting Started'",
|
||||
"SPEECH OUTPUT: 'heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Down",
|
||||
["BRAILLE LINE: ' Welcome to Orca'",
|
||||
" VISIBLE: ' Welcome to Orca', cursor=2",
|
||||
"SPEECH OUTPUT: 'Welcome to Orca'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Down",
|
||||
["BRAILLE LINE: ' Welcome to Orca'",
|
||||
" VISIBLE: ' Welcome to Orca', cursor=2",
|
||||
"SPEECH OUTPUT: 'Welcome to Orca'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Down",
|
||||
["BRAILLE LINE: ' reader'",
|
||||
" VISIBLE: ' reader', cursor=2",
|
||||
"SPEECH OUTPUT: 'reader'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Down",
|
||||
["BRAILLE LINE: ' The Orca Modifier'",
|
||||
" VISIBLE: ' The Orca Modifier', cursor=2",
|
||||
"SPEECH OUTPUT: 'The Orca Modifier'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Down",
|
||||
["BRAILLE LINE: ' The Orca Modifier'",
|
||||
" VISIBLE: ' The Orca Modifier', cursor=2",
|
||||
"SPEECH OUTPUT: 'The Orca Modifier'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Down",
|
||||
["BRAILLE LINE: ' A key that works like Shift,'",
|
||||
" VISIBLE: ' A key that works like Shift,', cursor=2",
|
||||
"SPEECH OUTPUT: 'A key that works like Shift,'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Down",
|
||||
["BRAILLE LINE: ' Configuration'",
|
||||
" VISIBLE: ' Configuration', cursor=2",
|
||||
"SPEECH OUTPUT: 'Configuration'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Down",
|
||||
["BRAILLE LINE: ' Configuration'",
|
||||
" VISIBLE: ' Configuration', cursor=2",
|
||||
"SPEECH OUTPUT: 'Configuration'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Down",
|
||||
["BRAILLE LINE: ' \"Learn\" Mode'",
|
||||
" VISIBLE: ' \"Learn\" Mode', cursor=2",
|
||||
"SPEECH OUTPUT: '\"Learn\" Mode'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Down",
|
||||
["BRAILLE LINE: ' \"Learn\" Mode'",
|
||||
" VISIBLE: ' \"Learn\" Mode', cursor=2",
|
||||
"SPEECH OUTPUT: '\"Learn\" Mode'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"16. Down",
|
||||
["BRAILLE LINE: ' Keyboard Layout'",
|
||||
" VISIBLE: ' Keyboard Layout', cursor=2",
|
||||
"SPEECH OUTPUT: 'Keyboard Layout'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"17. Down",
|
||||
["BRAILLE LINE: ' Keyboard Layout'",
|
||||
" VISIBLE: ' Keyboard Layout', cursor=2",
|
||||
"SPEECH OUTPUT: 'Keyboard Layout'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"18. Down",
|
||||
["BRAILLE LINE: ' layout'",
|
||||
" VISIBLE: ' layout', cursor=2",
|
||||
"SPEECH OUTPUT: 'layout'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"19. Down",
|
||||
["BRAILLE LINE: ' CapsLock in Laptop Layout'",
|
||||
" VISIBLE: ' CapsLock in Laptop Layout', cursor=2",
|
||||
"SPEECH OUTPUT: 'CapsLock in Laptop Layout'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"20. Down",
|
||||
["BRAILLE LINE: ' CapsLock in Laptop Layout'",
|
||||
" VISIBLE: ' CapsLock in Laptop Layout', cursor=2",
|
||||
"SPEECH OUTPUT: 'CapsLock in Laptop Layout'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"21. Up",
|
||||
["BRAILLE LINE: ' CapsLock in Laptop Layout'",
|
||||
" VISIBLE: ' CapsLock in Laptop Layout', cursor=2",
|
||||
"SPEECH OUTPUT: 'CapsLock in Laptop Layout'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"22. Up",
|
||||
["BRAILLE LINE: ' layout'",
|
||||
" VISIBLE: ' layout', cursor=2",
|
||||
"SPEECH OUTPUT: 'layout'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"23. Up",
|
||||
["BRAILLE LINE: ' Keyboard Layout'",
|
||||
" VISIBLE: ' Keyboard Layout', cursor=2",
|
||||
"SPEECH OUTPUT: 'Keyboard Layout'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"24. Up",
|
||||
["BRAILLE LINE: ' Keyboard Layout'",
|
||||
" VISIBLE: ' Keyboard Layout', cursor=2",
|
||||
"SPEECH OUTPUT: 'Keyboard Layout'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"25. Up",
|
||||
["BRAILLE LINE: ' \"Learn\" Mode'",
|
||||
" VISIBLE: ' \"Learn\" Mode', cursor=2",
|
||||
"SPEECH OUTPUT: '\"Learn\" Mode'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"26. Up",
|
||||
["BRAILLE LINE: ' \"Learn\" Mode'",
|
||||
" VISIBLE: ' \"Learn\" Mode', cursor=2",
|
||||
"SPEECH OUTPUT: '\"Learn\" Mode'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"27. Up",
|
||||
["BRAILLE LINE: ' Configuration'",
|
||||
" VISIBLE: ' Configuration', cursor=2",
|
||||
"SPEECH OUTPUT: 'Configuration'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"28. Up",
|
||||
["BRAILLE LINE: ' Configuration'",
|
||||
" VISIBLE: ' Configuration', cursor=2",
|
||||
"SPEECH OUTPUT: 'Configuration'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"29. Up",
|
||||
["BRAILLE LINE: ' A key that works like Shift,'",
|
||||
" VISIBLE: ' A key that works like Shift,', cursor=2",
|
||||
"SPEECH OUTPUT: 'A key that works like Shift,'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"30. Up",
|
||||
["BRAILLE LINE: ' The Orca Modifier'",
|
||||
" VISIBLE: ' The Orca Modifier', cursor=2",
|
||||
"SPEECH OUTPUT: 'The Orca Modifier'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"31. Up",
|
||||
["BRAILLE LINE: ' The Orca Modifier'",
|
||||
" VISIBLE: ' The Orca Modifier', cursor=2",
|
||||
"SPEECH OUTPUT: 'The Orca Modifier'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"32. Up",
|
||||
["BRAILLE LINE: ' reader'",
|
||||
" VISIBLE: ' reader', cursor=2",
|
||||
"SPEECH OUTPUT: 'reader'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"33. Up",
|
||||
["BRAILLE LINE: ' Welcome to Orca'",
|
||||
" VISIBLE: ' Welcome to Orca', cursor=2",
|
||||
"SPEECH OUTPUT: 'Welcome to Orca'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"34. Up",
|
||||
["BRAILLE LINE: ' Welcome to Orca'",
|
||||
" VISIBLE: ' Welcome to Orca', cursor=2",
|
||||
"SPEECH OUTPUT: 'Welcome to Orca'",
|
||||
"SPEECH OUTPUT: 'link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"35. Up",
|
||||
["BRAILLE LINE: ' Getting Started h2'",
|
||||
" VISIBLE: ' Getting Started h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Getting Started'",
|
||||
"SPEECH OUTPUT: 'heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"36. Up",
|
||||
["BRAILLE LINE: 'documentation first.'",
|
||||
" VISIBLE: 'documentation first.', cursor=1",
|
||||
"SPEECH OUTPUT: 'documentation first.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"37. Up",
|
||||
["BRAILLE LINE: 'by your desktop environment, you are encouraged to read that '",
|
||||
" VISIBLE: 'by your desktop environment, you', cursor=1",
|
||||
"SPEECH OUTPUT: 'by your desktop environment, you are encouraged to read that '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"38. Up",
|
||||
["BRAILLE LINE: ' If you are not yet familiar with the navigation commands provided '",
|
||||
" VISIBLE: 'If you are not yet familiar with', cursor=1",
|
||||
"SPEECH OUTPUT: 'If you are not yet familiar with the navigation commands provided '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"39. Up",
|
||||
["BRAILLE LINE: ' Before You Begin h2'",
|
||||
" VISIBLE: ' Before You Begin h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Before You Begin'",
|
||||
"SPEECH OUTPUT: 'heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"40. Up",
|
||||
["BRAILLE LINE: ' Orca's logo Orca Screen Reader h1'",
|
||||
" VISIBLE: 'Orca's logo Orca Screen Reader h', cursor=1",
|
||||
"SPEECH OUTPUT: 'Orca's logo'",
|
||||
"SPEECH OUTPUT: ' Orca Screen Reade'",
|
||||
"SPEECH OUTPUT: 'heading level 1'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
140
test/keystrokes/helpcontent/line_nav_main_page.settings
Normal file
140
test/keystrokes/helpcontent/line_nav_main_page.settings
Normal file
@ -0,0 +1,140 @@
|
||||
{
|
||||
"pronunciations": {},
|
||||
"keybindings": {},
|
||||
"general": {
|
||||
"sayAllOnLoad": false,
|
||||
"enableSpeech": true,
|
||||
"brailleRequiredStateString": null,
|
||||
"enableTutorialMessages": false,
|
||||
"enableFunctionKeys": true,
|
||||
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;",
|
||||
"enableMnemonicSpeaking": false,
|
||||
"progressBarVerbosity": 1,
|
||||
"speakBlankLines": true,
|
||||
"speechServerInfo": null,
|
||||
"enableSpeechIndentation": false,
|
||||
"speakMultiCaseStringsAsWords": false,
|
||||
"enableNavigationKeys": false,
|
||||
"speakSpreadsheetCoordinates": true,
|
||||
"enableEchoByWord": false,
|
||||
"enableModifierKeys": true,
|
||||
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
|
||||
"enableBrailleContext": true,
|
||||
"brailleFlashTime": 5000,
|
||||
"presentTimeFormat": "%X",
|
||||
"speechServerFactory": "speechdispatcherfactory",
|
||||
"mouseDwellDelay": 0,
|
||||
"wrappedStructuralNavigation": true,
|
||||
"enableBraille": false,
|
||||
"enableKeyEcho": false,
|
||||
"enablePositionSpeaking": false,
|
||||
"brailleLinkIndicator": 192,
|
||||
"flashVerbosityLevel": 1,
|
||||
"findResultsMinimumLength": 4,
|
||||
"chatRoomHistories": false,
|
||||
"largeObjectTextLength": 75,
|
||||
"keyboardLayout": 1,
|
||||
"verbalizePunctuationStyle": 1,
|
||||
"spellcheckSpellError": true,
|
||||
"chatSpeakRoomName": false,
|
||||
"chatMessageVerbosity": 0,
|
||||
"messageVerbosityLevel": 1,
|
||||
"brailleAlignmentStyle": 0,
|
||||
"brailleSelectorIndicator": 192,
|
||||
"skipBlankCells": false,
|
||||
"speakCellCoordinates": true,
|
||||
"activeProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"enablePrintableKeys": true,
|
||||
"startingProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"orcaModifierKeys": [
|
||||
"Insert",
|
||||
"KP_Insert"
|
||||
],
|
||||
"spellcheckSpellSuggestion": true,
|
||||
"enablePauseBreaks": true,
|
||||
"enableBrailleMonitor": true,
|
||||
"progressBarUpdateInterval": 10,
|
||||
"speechRequiredStateString": null,
|
||||
"enableDiacriticalKeys": false,
|
||||
"enableMouseReview": false,
|
||||
"enableActionKeys": true,
|
||||
"findResultsVerbosity": 2,
|
||||
"textAttributesBrailleIndicator": 0,
|
||||
"enableEchoByCharacter": false,
|
||||
"enableFlashMessages": true,
|
||||
"enableEchoBySentence": false,
|
||||
"brailleVerbosityLevel": 1,
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "",
|
||||
"speakCellHeaders": true,
|
||||
"flashIsPersistent": false,
|
||||
"speakCellSpan": true,
|
||||
"useColorNames": true,
|
||||
"enableContractedBraille": false,
|
||||
"spellcheckPresentContext": true,
|
||||
"enableProgressBarUpdates": true,
|
||||
"chatAnnounceBuddyTyping": false,
|
||||
"readTableCellRow": true,
|
||||
"brailleRolenameStyle": 1,
|
||||
"sayAllStyle": 1,
|
||||
"disableBrailleEOL": false,
|
||||
"speechVerbosityLevel": 1,
|
||||
"presentToolTips": false,
|
||||
"presentDateFormat": "%x",
|
||||
"structuralNavigationEnabled": true,
|
||||
"onlySpeakDisplayedText": false
|
||||
},
|
||||
"profiles": {
|
||||
"default": {
|
||||
"speechServerFactory": "orca.speechdispatcherfactory",
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "/usr/share/liblouis/tables/en-us-g2.ctb",
|
||||
"pronunciations": {},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"average-pitch": 10.0
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"keybindings": {}
|
||||
}
|
||||
}
|
||||
}
|
34
test/keystrokes/helpcontent/load_no_sayall.py
Normal file
34
test/keystrokes/helpcontent/load_no_sayall.py
Normal file
@ -0,0 +1,34 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of learn mode."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(TypeAction("h"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("F1"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. F1 for help",
|
||||
["BRAILLE LINE: 'yelp application Orca Screen Reader frame'",
|
||||
" VISIBLE: 'Orca Screen Reader frame', cursor=1",
|
||||
"BRAILLE LINE: ' Orca's logo Orca Screen Reader h1'",
|
||||
" VISIBLE: 'Orca's logo Orca Screen Reader h', cursor=1",
|
||||
"BRAILLE LINE: 'Finished loading Orca Screen Reader.'",
|
||||
" VISIBLE: 'Finished loading Orca Screen Rea', cursor=0",
|
||||
"BRAILLE LINE: ' Orca's logo Orca Screen Reader h1'",
|
||||
" VISIBLE: 'Orca's logo Orca Screen Reader h', cursor=1",
|
||||
"SPEECH OUTPUT: 'F1 '",
|
||||
"SPEECH OUTPUT: 'Orca Screen Reader frame'",
|
||||
"SPEECH OUTPUT: 'Finished loading Orca Screen Reader.' voice=system"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
140
test/keystrokes/helpcontent/load_no_sayall.settings
Normal file
140
test/keystrokes/helpcontent/load_no_sayall.settings
Normal file
@ -0,0 +1,140 @@
|
||||
{
|
||||
"pronunciations": {},
|
||||
"keybindings": {},
|
||||
"general": {
|
||||
"sayAllOnLoad": false,
|
||||
"enableSpeech": true,
|
||||
"brailleRequiredStateString": null,
|
||||
"enableTutorialMessages": false,
|
||||
"enableFunctionKeys": true,
|
||||
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;",
|
||||
"enableMnemonicSpeaking": false,
|
||||
"progressBarVerbosity": 1,
|
||||
"speakBlankLines": true,
|
||||
"speechServerInfo": null,
|
||||
"enableSpeechIndentation": false,
|
||||
"speakMultiCaseStringsAsWords": false,
|
||||
"enableNavigationKeys": false,
|
||||
"speakSpreadsheetCoordinates": true,
|
||||
"enableEchoByWord": false,
|
||||
"enableModifierKeys": true,
|
||||
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
|
||||
"enableBrailleContext": true,
|
||||
"brailleFlashTime": 5000,
|
||||
"presentTimeFormat": "%X",
|
||||
"speechServerFactory": "speechdispatcherfactory",
|
||||
"mouseDwellDelay": 0,
|
||||
"wrappedStructuralNavigation": true,
|
||||
"enableBraille": false,
|
||||
"enableKeyEcho": false,
|
||||
"enablePositionSpeaking": false,
|
||||
"brailleLinkIndicator": 192,
|
||||
"flashVerbosityLevel": 1,
|
||||
"findResultsMinimumLength": 4,
|
||||
"chatRoomHistories": false,
|
||||
"largeObjectTextLength": 75,
|
||||
"keyboardLayout": 1,
|
||||
"verbalizePunctuationStyle": 1,
|
||||
"spellcheckSpellError": true,
|
||||
"chatSpeakRoomName": false,
|
||||
"chatMessageVerbosity": 0,
|
||||
"messageVerbosityLevel": 1,
|
||||
"brailleAlignmentStyle": 0,
|
||||
"brailleSelectorIndicator": 192,
|
||||
"skipBlankCells": false,
|
||||
"speakCellCoordinates": true,
|
||||
"activeProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"enablePrintableKeys": true,
|
||||
"startingProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"orcaModifierKeys": [
|
||||
"Insert",
|
||||
"KP_Insert"
|
||||
],
|
||||
"spellcheckSpellSuggestion": true,
|
||||
"enablePauseBreaks": true,
|
||||
"enableBrailleMonitor": true,
|
||||
"progressBarUpdateInterval": 10,
|
||||
"speechRequiredStateString": null,
|
||||
"enableDiacriticalKeys": false,
|
||||
"enableMouseReview": false,
|
||||
"enableActionKeys": true,
|
||||
"findResultsVerbosity": 2,
|
||||
"textAttributesBrailleIndicator": 0,
|
||||
"enableEchoByCharacter": false,
|
||||
"enableFlashMessages": true,
|
||||
"enableEchoBySentence": false,
|
||||
"brailleVerbosityLevel": 1,
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "",
|
||||
"speakCellHeaders": true,
|
||||
"flashIsPersistent": false,
|
||||
"speakCellSpan": true,
|
||||
"useColorNames": true,
|
||||
"enableContractedBraille": false,
|
||||
"spellcheckPresentContext": true,
|
||||
"enableProgressBarUpdates": true,
|
||||
"chatAnnounceBuddyTyping": false,
|
||||
"readTableCellRow": true,
|
||||
"brailleRolenameStyle": 1,
|
||||
"sayAllStyle": 1,
|
||||
"disableBrailleEOL": false,
|
||||
"speechVerbosityLevel": 1,
|
||||
"presentToolTips": false,
|
||||
"presentDateFormat": "%x",
|
||||
"structuralNavigationEnabled": true,
|
||||
"onlySpeakDisplayedText": false
|
||||
},
|
||||
"profiles": {
|
||||
"default": {
|
||||
"speechServerFactory": "orca.speechdispatcherfactory",
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "/usr/share/liblouis/tables/en-us-g2.ctb",
|
||||
"pronunciations": {},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"average-pitch": 10.0
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"keybindings": {}
|
||||
}
|
||||
}
|
||||
}
|
129
test/keystrokes/helpcontent/load_sayall.py
Normal file
129
test/keystrokes/helpcontent/load_sayall.py
Normal file
@ -0,0 +1,129 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of learn mode."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(TypeAction("h"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("F1"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. F1 for help",
|
||||
["BRAILLE LINE: 'yelp application Orca Screen Reader frame'",
|
||||
" VISIBLE: 'Orca Screen Reader frame', cursor=1",
|
||||
"BRAILLE LINE: ' Orca's logo Orca Screen Reader h1'",
|
||||
" VISIBLE: 'Orca's logo Orca Screen Reader h', cursor=1",
|
||||
"BRAILLE LINE: 'Finished loading Orca Screen Reader.'",
|
||||
" VISIBLE: 'Finished loading Orca Screen Rea', cursor=0",
|
||||
"BRAILLE LINE: ' Orca's logo Orca Screen Reader h1'",
|
||||
" VISIBLE: 'Orca's logo Orca Screen Reader h', cursor=1",
|
||||
"SPEECH OUTPUT: 'F1 '",
|
||||
"SPEECH OUTPUT: 'Orca Screen Reader frame'",
|
||||
"SPEECH OUTPUT: ' \ufffc link Orca Screen Reade'",
|
||||
"SPEECH OUTPUT: 'heading level 1'",
|
||||
"SPEECH OUTPUT: 'Before You Begin",
|
||||
"'",
|
||||
"SPEECH OUTPUT: 'If you are not yet familiar with the navigation commands provided by your desktop environment, you are encouraged to read that documentation first.'",
|
||||
"SPEECH OUTPUT: 'Getting Started'",
|
||||
"SPEECH OUTPUT: 'heading level 2'",
|
||||
"SPEECH OUTPUT: 'Welcome to Orca",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Introducing the Orca screen reader",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'The Orca Modifier",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'A key that works like Shift, Ctrl, and Alt",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Configuration",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Setting up Orca",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: '\"Learn\" Mode",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Discovering Orca's commands",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Keyboard Layout",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Selecting the Desktop or Laptop layout",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'CapsLock in Laptop Layout",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Toggling it when it is the Orca Modifier",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Keybindings",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Binding, rebinding, and unbinding commands",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Profiles",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Maintaining multiple configurations'",
|
||||
"SPEECH OUTPUT: 'Reading Documents and Web Pages'",
|
||||
"SPEECH OUTPUT: 'heading level 2'",
|
||||
"SPEECH OUTPUT: 'Documents",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Reading content",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Text Attributes",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Examining text formatting",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Structural Navigation",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Moving by heading and other elements",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Tables",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Navigating and setting dynamic headers",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Filling out forms",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Accessing widgets embedded in documents",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Live Regions",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Interacting with dynamic web content'",
|
||||
"SPEECH OUTPUT: 'Reviewing and Interacting with Screen Contents'",
|
||||
"SPEECH OUTPUT: 'heading level 2'",
|
||||
"SPEECH OUTPUT: 'WhereAmI",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Learning about your location",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Flat Review",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Examining a window spatially",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Orca Find",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Searching a window for objects",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Mouse Review",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Using the pointer to examine the screen",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Notifications",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Reading previously-received messages",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Bookmarks",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Storing and retrieving objects'",
|
||||
"SPEECH OUTPUT: 'Quick Reference'",
|
||||
"SPEECH OUTPUT: 'heading level 2'",
|
||||
"SPEECH OUTPUT: 'Commands",
|
||||
" link'",
|
||||
"SPEECH OUTPUT: 'Preferences link'",
|
||||
"SPEECH OUTPUT: 'About'",
|
||||
"SPEECH OUTPUT: 'heading level 2'",
|
||||
"SPEECH OUTPUT: 'Finished loading Orca Screen Reader.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
140
test/keystrokes/helpcontent/load_sayall.settings
Normal file
140
test/keystrokes/helpcontent/load_sayall.settings
Normal file
@ -0,0 +1,140 @@
|
||||
{
|
||||
"pronunciations": {},
|
||||
"keybindings": {},
|
||||
"general": {
|
||||
"sayAllOnLoad": true,
|
||||
"enableSpeech": true,
|
||||
"brailleRequiredStateString": null,
|
||||
"enableTutorialMessages": false,
|
||||
"enableFunctionKeys": true,
|
||||
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;",
|
||||
"enableMnemonicSpeaking": false,
|
||||
"progressBarVerbosity": 1,
|
||||
"speakBlankLines": true,
|
||||
"speechServerInfo": null,
|
||||
"enableSpeechIndentation": false,
|
||||
"speakMultiCaseStringsAsWords": false,
|
||||
"enableNavigationKeys": false,
|
||||
"speakSpreadsheetCoordinates": true,
|
||||
"enableEchoByWord": false,
|
||||
"enableModifierKeys": true,
|
||||
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
|
||||
"enableBrailleContext": true,
|
||||
"brailleFlashTime": 5000,
|
||||
"presentTimeFormat": "%X",
|
||||
"speechServerFactory": "speechdispatcherfactory",
|
||||
"mouseDwellDelay": 0,
|
||||
"wrappedStructuralNavigation": true,
|
||||
"enableBraille": false,
|
||||
"enableKeyEcho": false,
|
||||
"enablePositionSpeaking": false,
|
||||
"brailleLinkIndicator": 192,
|
||||
"flashVerbosityLevel": 1,
|
||||
"findResultsMinimumLength": 4,
|
||||
"chatRoomHistories": false,
|
||||
"largeObjectTextLength": 75,
|
||||
"keyboardLayout": 1,
|
||||
"verbalizePunctuationStyle": 1,
|
||||
"spellcheckSpellError": true,
|
||||
"chatSpeakRoomName": false,
|
||||
"chatMessageVerbosity": 0,
|
||||
"messageVerbosityLevel": 1,
|
||||
"brailleAlignmentStyle": 0,
|
||||
"brailleSelectorIndicator": 192,
|
||||
"skipBlankCells": false,
|
||||
"speakCellCoordinates": true,
|
||||
"activeProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"enablePrintableKeys": true,
|
||||
"startingProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"orcaModifierKeys": [
|
||||
"Insert",
|
||||
"KP_Insert"
|
||||
],
|
||||
"spellcheckSpellSuggestion": true,
|
||||
"enablePauseBreaks": true,
|
||||
"enableBrailleMonitor": true,
|
||||
"progressBarUpdateInterval": 10,
|
||||
"speechRequiredStateString": null,
|
||||
"enableDiacriticalKeys": false,
|
||||
"enableMouseReview": false,
|
||||
"enableActionKeys": true,
|
||||
"findResultsVerbosity": 2,
|
||||
"textAttributesBrailleIndicator": 0,
|
||||
"enableEchoByCharacter": false,
|
||||
"enableFlashMessages": true,
|
||||
"enableEchoBySentence": false,
|
||||
"brailleVerbosityLevel": 1,
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "",
|
||||
"speakCellHeaders": true,
|
||||
"flashIsPersistent": false,
|
||||
"speakCellSpan": true,
|
||||
"useColorNames": true,
|
||||
"enableContractedBraille": false,
|
||||
"spellcheckPresentContext": true,
|
||||
"enableProgressBarUpdates": true,
|
||||
"chatAnnounceBuddyTyping": false,
|
||||
"readTableCellRow": true,
|
||||
"brailleRolenameStyle": 1,
|
||||
"sayAllStyle": 1,
|
||||
"disableBrailleEOL": false,
|
||||
"speechVerbosityLevel": 1,
|
||||
"presentToolTips": false,
|
||||
"presentDateFormat": "%x",
|
||||
"structuralNavigationEnabled": true,
|
||||
"onlySpeakDisplayedText": false
|
||||
},
|
||||
"profiles": {
|
||||
"default": {
|
||||
"speechServerFactory": "orca.speechdispatcherfactory",
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "/usr/share/liblouis/tables/en-us-g2.ctb",
|
||||
"pronunciations": {},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"average-pitch": 10.0
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"keybindings": {}
|
||||
}
|
||||
}
|
||||
}
|
165
test/keystrokes/helpcontent/struct_nav_heading.py
Normal file
165
test/keystrokes/helpcontent/struct_nav_heading.py
Normal file
@ -0,0 +1,165 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of learn mode."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(TypeAction("h"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
|
||||
sequence.append(KeyComboAction("F1"))
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. h for next heading",
|
||||
["BRAILLE LINE: ' Before You Begin h2'",
|
||||
" VISIBLE: ' Before You Begin h2', cursor=2",
|
||||
"BRAILLE LINE: ' Before You Begin h2'",
|
||||
" VISIBLE: ' Before You Begin h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Before You Begin heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. h for next heading",
|
||||
["BRAILLE LINE: ' Getting Started h2'",
|
||||
" VISIBLE: ' Getting Started h2', cursor=2",
|
||||
"BRAILLE LINE: ' Getting Started h2'",
|
||||
" VISIBLE: ' Getting Started h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Getting Started heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. h for next heading",
|
||||
["BRAILLE LINE: ' Reading Documents and Web Pages h2'",
|
||||
" VISIBLE: 'Reading Documents and Web Pages ', cursor=1",
|
||||
"BRAILLE LINE: ' Reading Documents and Web Pages h2'",
|
||||
" VISIBLE: 'Reading Documents and Web Pages ', cursor=1",
|
||||
"SPEECH OUTPUT: 'Reading Documents and Web Pages heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. h for next heading",
|
||||
["BRAILLE LINE: ' Reviewing and Interacting with Screen Contents h2'",
|
||||
" VISIBLE: 'Reviewing and Interacting with S', cursor=1",
|
||||
"BRAILLE LINE: ' Reviewing and Interacting with Screen Contents h2'",
|
||||
" VISIBLE: 'Reviewing and Interacting with S', cursor=1",
|
||||
"SPEECH OUTPUT: 'Reviewing and Interacting with Screen Contents heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. h for next heading",
|
||||
["BRAILLE LINE: ' Quick Reference h2'",
|
||||
" VISIBLE: ' Quick Reference h2', cursor=2",
|
||||
"BRAILLE LINE: ' Quick Reference h2'",
|
||||
" VISIBLE: ' Quick Reference h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Quick Reference heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. h for next heading",
|
||||
["BRAILLE LINE: ' About h2'",
|
||||
" VISIBLE: ' About h2', cursor=2",
|
||||
"BRAILLE LINE: ' About h2'",
|
||||
" VISIBLE: ' About h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'About heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. h for next heading",
|
||||
["BRAILLE LINE: 'Wrapping to top.'",
|
||||
" VISIBLE: 'Wrapping to top.', cursor=0",
|
||||
"BRAILLE LINE: ' Orca's logo Orca Screen Reader h1'",
|
||||
" VISIBLE: 'Orca's logo Orca Screen Reader h', cursor=1",
|
||||
"BRAILLE LINE: ' Orca's logo Orca Screen Reader h1'",
|
||||
" VISIBLE: 'Orca's logo Orca Screen Reader h', cursor=1",
|
||||
"SPEECH OUTPUT: 'Wrapping to top.' voice=system",
|
||||
"SPEECH OUTPUT: 'Orca's logo Orca Screen Reader heading level 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. shift+h for previous heading",
|
||||
["BRAILLE LINE: 'Wrapping to bottom.'",
|
||||
" VISIBLE: 'Wrapping to bottom.', cursor=0",
|
||||
"BRAILLE LINE: ' About h2'",
|
||||
" VISIBLE: ' About h2', cursor=2",
|
||||
"BRAILLE LINE: ' About h2'",
|
||||
" VISIBLE: ' About h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Wrapping to bottom.' voice=system",
|
||||
"SPEECH OUTPUT: 'About heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. shift+h for previous heading",
|
||||
["BRAILLE LINE: ' Quick Reference h2'",
|
||||
" VISIBLE: ' Quick Reference h2', cursor=2",
|
||||
"BRAILLE LINE: ' Quick Reference h2'",
|
||||
" VISIBLE: ' Quick Reference h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Quick Reference heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. shift+h for previous heading",
|
||||
["BRAILLE LINE: ' Reviewing and Interacting with Screen Contents h2'",
|
||||
" VISIBLE: 'Reviewing and Interacting with S', cursor=1",
|
||||
"BRAILLE LINE: ' Reviewing and Interacting with Screen Contents h2'",
|
||||
" VISIBLE: 'Reviewing and Interacting with S', cursor=1",
|
||||
"SPEECH OUTPUT: 'Reviewing and Interacting with Screen Contents heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. shift+h for previous heading",
|
||||
["BRAILLE LINE: ' Reading Documents and Web Pages h2'",
|
||||
" VISIBLE: 'Reading Documents and Web Pages ', cursor=1",
|
||||
"BRAILLE LINE: ' Reading Documents and Web Pages h2'",
|
||||
" VISIBLE: 'Reading Documents and Web Pages ', cursor=1",
|
||||
"SPEECH OUTPUT: 'Reading Documents and Web Pages heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. shift+h for previous heading",
|
||||
["BRAILLE LINE: ' Getting Started h2'",
|
||||
" VISIBLE: ' Getting Started h2', cursor=2",
|
||||
"BRAILLE LINE: ' Getting Started h2'",
|
||||
" VISIBLE: ' Getting Started h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Getting Started heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. shift+h for previous heading",
|
||||
["BRAILLE LINE: ' Before You Begin h2'",
|
||||
" VISIBLE: ' Before You Begin h2', cursor=2",
|
||||
"BRAILLE LINE: ' Before You Begin h2'",
|
||||
" VISIBLE: ' Before You Begin h2', cursor=2",
|
||||
"SPEECH OUTPUT: 'Before You Begin heading level 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>h"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"16. shift+h for previous heading",
|
||||
["BRAILLE LINE: ' Orca's logo Orca Screen Reader h1'",
|
||||
" VISIBLE: 'Orca's logo Orca Screen Reader h', cursor=1",
|
||||
"BRAILLE LINE: ' Orca's logo Orca Screen Reader h1'",
|
||||
" VISIBLE: 'Orca's logo Orca Screen Reader h', cursor=1",
|
||||
"SPEECH OUTPUT: 'Orca's logo Orca Screen Reader heading level 1'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
115
test/keystrokes/helpcontent/struct_nav_list.py
Normal file
115
test/keystrokes/helpcontent/struct_nav_list.py
Normal file
@ -0,0 +1,115 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of learn mode."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(TypeAction("h"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
|
||||
sequence.append(KeyComboAction("F1"))
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("k"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. k for next link",
|
||||
["BRAILLE LINE: ' Welcome to Orca'",
|
||||
" VISIBLE: ' Welcome to Orca', cursor=2",
|
||||
"BRAILLE LINE: ' Welcome to Orca'",
|
||||
" VISIBLE: ' Welcome to Orca', cursor=2",
|
||||
"SPEECH OUTPUT: 'Welcome to Orca",
|
||||
"Introducing the Orca screen reader",
|
||||
" link'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("l"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. l for next list",
|
||||
["BRAILLE LINE: 'List with 3 items'",
|
||||
" VISIBLE: 'List with 3 items', cursor=0",
|
||||
"BRAILLE LINE: ' The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: ' The method for configuring Orca', cursor=0",
|
||||
"BRAILLE LINE: ' The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: ' The method for configuring Orca', cursor=0",
|
||||
"SPEECH OUTPUT: 'List with 3 items'",
|
||||
"SPEECH OUTPUT: '\u2022 The method for configuring Orca to be launched automatically as '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("l"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. l for next list",
|
||||
["BRAILLE LINE: 'List with 11 items'",
|
||||
" VISIBLE: 'List with 11 items', cursor=0",
|
||||
"BRAILLE LINE: ' -h, --help: Show the help message'",
|
||||
" VISIBLE: ' -h, --help: Show the help messa', cursor=0",
|
||||
"BRAILLE LINE: ' -h, --help: Show the help message'",
|
||||
" VISIBLE: ' -h, --help: Show the help messa', cursor=0",
|
||||
"SPEECH OUTPUT: 'List with 11 items'",
|
||||
"SPEECH OUTPUT: '\u2022 -h, --help: Show the help message'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("l"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. l for next list",
|
||||
["BRAILLE LINE: 'List with 3 items'",
|
||||
" VISIBLE: 'List with 3 items', cursor=0",
|
||||
"BRAILLE LINE: ' speech'",
|
||||
" VISIBLE: ' speech', cursor=0",
|
||||
"BRAILLE LINE: ' speech'",
|
||||
" VISIBLE: ' speech', cursor=0",
|
||||
"SPEECH OUTPUT: 'List with 3 items'",
|
||||
"SPEECH OUTPUT: '\u25e6 speech'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>l"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. shift+l for previous list",
|
||||
["BRAILLE LINE: 'List with 3 items'",
|
||||
" VISIBLE: 'List with 3 items', cursor=0",
|
||||
"BRAILLE LINE: ' The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: ' The method for configuring Orca', cursor=0",
|
||||
"BRAILLE LINE: ' The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: ' The method for configuring Orca', cursor=0",
|
||||
"SPEECH OUTPUT: 'List with 3 items'",
|
||||
"SPEECH OUTPUT: '\u2022 The method for configuring Orca to be launched automatically as '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>l"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. shift+l for previous list",
|
||||
["BRAILLE LINE: 'Wrapping to bottom.'",
|
||||
" VISIBLE: 'Wrapping to bottom.', cursor=0",
|
||||
"BRAILLE LINE: 'List with 1 item'",
|
||||
" VISIBLE: 'List with 1 item', cursor=0",
|
||||
"BRAILLE LINE: ' Getting Started'",
|
||||
" VISIBLE: ' Getting Started', cursor=0",
|
||||
"BRAILLE LINE: ' Getting Started'",
|
||||
" VISIBLE: ' Getting Started', cursor=0",
|
||||
"SPEECH OUTPUT: 'Wrapping to bottom.'",
|
||||
"SPEECH OUTPUT: 'List with 1 item'",
|
||||
"SPEECH OUTPUT: 'Getting Started link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>l"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. shift+l for previous list",
|
||||
["BRAILLE LINE: 'List with 3 items'",
|
||||
" VISIBLE: 'List with 3 items', cursor=0",
|
||||
"BRAILLE LINE: ' speech'",
|
||||
" VISIBLE: ' speech', cursor=0",
|
||||
"BRAILLE LINE: ' speech'",
|
||||
" VISIBLE: ' speech', cursor=0",
|
||||
"SPEECH OUTPUT: 'List with 3 items'",
|
||||
"SPEECH OUTPUT: '\u25e6 speech'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
140
test/keystrokes/helpcontent/struct_nav_list.settings
Normal file
140
test/keystrokes/helpcontent/struct_nav_list.settings
Normal file
@ -0,0 +1,140 @@
|
||||
{
|
||||
"pronunciations": {},
|
||||
"keybindings": {},
|
||||
"general": {
|
||||
"sayAllOnLoad": false,
|
||||
"enableSpeech": true,
|
||||
"brailleRequiredStateString": null,
|
||||
"enableTutorialMessages": false,
|
||||
"enableFunctionKeys": true,
|
||||
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;",
|
||||
"enableMnemonicSpeaking": false,
|
||||
"progressBarVerbosity": 1,
|
||||
"speakBlankLines": true,
|
||||
"speechServerInfo": null,
|
||||
"enableSpeechIndentation": false,
|
||||
"speakMultiCaseStringsAsWords": false,
|
||||
"enableNavigationKeys": false,
|
||||
"speakSpreadsheetCoordinates": true,
|
||||
"enableEchoByWord": false,
|
||||
"enableModifierKeys": true,
|
||||
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
|
||||
"enableBrailleContext": true,
|
||||
"brailleFlashTime": 5000,
|
||||
"presentTimeFormat": "%X",
|
||||
"speechServerFactory": "speechdispatcherfactory",
|
||||
"mouseDwellDelay": 0,
|
||||
"wrappedStructuralNavigation": true,
|
||||
"enableBraille": false,
|
||||
"enableKeyEcho": false,
|
||||
"enablePositionSpeaking": false,
|
||||
"brailleLinkIndicator": 192,
|
||||
"flashVerbosityLevel": 1,
|
||||
"findResultsMinimumLength": 4,
|
||||
"chatRoomHistories": false,
|
||||
"largeObjectTextLength": 75,
|
||||
"keyboardLayout": 1,
|
||||
"verbalizePunctuationStyle": 1,
|
||||
"spellcheckSpellError": true,
|
||||
"chatSpeakRoomName": false,
|
||||
"chatMessageVerbosity": 0,
|
||||
"messageVerbosityLevel": 1,
|
||||
"brailleAlignmentStyle": 0,
|
||||
"brailleSelectorIndicator": 192,
|
||||
"skipBlankCells": false,
|
||||
"speakCellCoordinates": true,
|
||||
"activeProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"enablePrintableKeys": true,
|
||||
"startingProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"orcaModifierKeys": [
|
||||
"Insert",
|
||||
"KP_Insert"
|
||||
],
|
||||
"spellcheckSpellSuggestion": true,
|
||||
"enablePauseBreaks": true,
|
||||
"enableBrailleMonitor": true,
|
||||
"progressBarUpdateInterval": 10,
|
||||
"speechRequiredStateString": null,
|
||||
"enableDiacriticalKeys": false,
|
||||
"enableMouseReview": false,
|
||||
"enableActionKeys": true,
|
||||
"findResultsVerbosity": 2,
|
||||
"textAttributesBrailleIndicator": 0,
|
||||
"enableEchoByCharacter": false,
|
||||
"enableFlashMessages": true,
|
||||
"enableEchoBySentence": false,
|
||||
"brailleVerbosityLevel": 1,
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "",
|
||||
"speakCellHeaders": true,
|
||||
"flashIsPersistent": false,
|
||||
"speakCellSpan": true,
|
||||
"useColorNames": true,
|
||||
"enableContractedBraille": false,
|
||||
"spellcheckPresentContext": true,
|
||||
"enableProgressBarUpdates": true,
|
||||
"chatAnnounceBuddyTyping": false,
|
||||
"readTableCellRow": true,
|
||||
"brailleRolenameStyle": 1,
|
||||
"sayAllStyle": 1,
|
||||
"disableBrailleEOL": false,
|
||||
"speechVerbosityLevel": 1,
|
||||
"presentToolTips": false,
|
||||
"presentDateFormat": "%x",
|
||||
"structuralNavigationEnabled": true,
|
||||
"onlySpeakDisplayedText": false
|
||||
},
|
||||
"profiles": {
|
||||
"default": {
|
||||
"speechServerFactory": "orca.speechdispatcherfactory",
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "/usr/share/liblouis/tables/en-us-g2.ctb",
|
||||
"pronunciations": {},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"average-pitch": 10.0
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"keybindings": {}
|
||||
}
|
||||
}
|
||||
}
|
144
test/keystrokes/helpcontent/struct_nav_paragraph.py
Normal file
144
test/keystrokes/helpcontent/struct_nav_paragraph.py
Normal file
@ -0,0 +1,144 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of learn mode."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(TypeAction("h"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
|
||||
sequence.append(KeyComboAction("F1"))
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("k"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. k for next link",
|
||||
["BRAILLE LINE: ' Welcome to Orca'",
|
||||
" VISIBLE: ' Welcome to Orca', cursor=2",
|
||||
"BRAILLE LINE: ' Welcome to Orca'",
|
||||
" VISIBLE: ' Welcome to Orca', cursor=2",
|
||||
"SPEECH OUTPUT: 'Welcome to Orca",
|
||||
"Introducing the Orca screen reader",
|
||||
" link'"]))
|
||||
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("p"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. p for next paragraph",
|
||||
["BRAILLE LINE: ' Orca is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
|
||||
" VISIBLE: 'Orca is a free, open source, fle', cursor=1",
|
||||
"BRAILLE LINE: ' Orca is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
|
||||
" VISIBLE: 'Orca is a free, open source, fle', cursor=1",
|
||||
"SPEECH OUTPUT: 'Orca is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("p"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. p for next paragraph",
|
||||
["BRAILLE LINE: ' Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'",
|
||||
" VISIBLE: 'Orca works with applications and', cursor=1",
|
||||
"BRAILLE LINE: ' Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'",
|
||||
" VISIBLE: 'Orca works with applications and', cursor=1",
|
||||
"SPEECH OUTPUT: 'Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("p"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. p for next paragraph",
|
||||
["BRAILLE LINE: ' To launch Orca:'",
|
||||
" VISIBLE: ' To launch Orca:', cursor=2",
|
||||
"BRAILLE LINE: ' To launch Orca:'",
|
||||
" VISIBLE: ' To launch Orca:', cursor=2",
|
||||
"SPEECH OUTPUT: 'To launch Orca:'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("p"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. p for next paragraph",
|
||||
["BRAILLE LINE: ' The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: 'The method for configuring Orca ', cursor=1",
|
||||
"BRAILLE LINE: ' The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: 'The method for configuring Orca ', cursor=1",
|
||||
"SPEECH OUTPUT: 'The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("p"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. p for next paragraph",
|
||||
["BRAILLE LINE: ' To toggle Orca on and off in GNOME, press Super+Alt+S.'",
|
||||
" VISIBLE: 'To toggle Orca on and off in GNO', cursor=1",
|
||||
"BRAILLE LINE: ' To toggle Orca on and off in GNOME, press Super+Alt+S.'",
|
||||
" VISIBLE: 'To toggle Orca on and off in GNO', cursor=1",
|
||||
"SPEECH OUTPUT: 'To toggle Orca on and off in GNOME, press Super+Alt+S.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("p"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. p for next paragraph",
|
||||
["BRAILLE LINE: ' Type orca, along with any optional parameters, in a terminal window or within the Run dialog and then press Return.'",
|
||||
" VISIBLE: 'Type orca, along with any option', cursor=1",
|
||||
"BRAILLE LINE: ' Type orca, along with any optional parameters, in a terminal window or within the Run dialog and then press Return.'",
|
||||
" VISIBLE: 'Type orca, along with any option', cursor=1",
|
||||
"SPEECH OUTPUT: 'Type orca, along with any optional parameters, in a terminal window or within the Run dialog and then press Return.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>p"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. shift+p for previous paragraph",
|
||||
["BRAILLE LINE: ' To toggle Orca on and off in GNOME, press Super+Alt+S.'",
|
||||
" VISIBLE: 'To toggle Orca on and off in GNO', cursor=1",
|
||||
"BRAILLE LINE: ' To toggle Orca on and off in GNOME, press Super+Alt+S.'",
|
||||
" VISIBLE: 'To toggle Orca on and off in GNO', cursor=1",
|
||||
"SPEECH OUTPUT: 'To toggle Orca on and off in GNOME, press Super+Alt+S.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>p"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. shift+p for previous paragraph",
|
||||
["BRAILLE LINE: ' The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: 'The method for configuring Orca ', cursor=1",
|
||||
"BRAILLE LINE: ' The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'",
|
||||
" VISIBLE: 'The method for configuring Orca ', cursor=1",
|
||||
"SPEECH OUTPUT: 'The method for configuring Orca to be launched automatically as your preferred screen reader will depend upon which desktop environment you use. For instance, in GNOME 3.x this option can be found in the Universal Access Control Center panel on the Seeing page.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>p"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. shift+p for previous paragraph",
|
||||
["BRAILLE LINE: ' To launch Orca:'",
|
||||
" VISIBLE: ' To launch Orca:', cursor=2",
|
||||
"BRAILLE LINE: ' To launch Orca:'",
|
||||
" VISIBLE: ' To launch Orca:', cursor=2",
|
||||
"SPEECH OUTPUT: 'To launch Orca:'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>p"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. shift+p for previous paragraph",
|
||||
["BRAILLE LINE: ' Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'",
|
||||
" VISIBLE: 'Orca works with applications and', cursor=1",
|
||||
"BRAILLE LINE: ' Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'",
|
||||
" VISIBLE: 'Orca works with applications and', cursor=1",
|
||||
"SPEECH OUTPUT: 'Orca works with applications and toolkits that support the Assistive Technology Service Provider Interface (AT-SPI), which is the primary assistive technology infrastructure for Linux and Solaris. Applications and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>p"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. shift+p for previous paragraph",
|
||||
["BRAILLE LINE: ' Orca is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
|
||||
" VISIBLE: 'Orca is a free, open source, fle', cursor=1",
|
||||
"BRAILLE LINE: ' Orca is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
|
||||
" VISIBLE: 'Orca is a free, open source, fle', cursor=1",
|
||||
"SPEECH OUTPUT: 'Orca is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
140
test/keystrokes/helpcontent/struct_nav_paragraph.settings
Normal file
140
test/keystrokes/helpcontent/struct_nav_paragraph.settings
Normal file
@ -0,0 +1,140 @@
|
||||
{
|
||||
"pronunciations": {},
|
||||
"keybindings": {},
|
||||
"general": {
|
||||
"sayAllOnLoad": false,
|
||||
"enableSpeech": true,
|
||||
"brailleRequiredStateString": null,
|
||||
"enableTutorialMessages": false,
|
||||
"enableFunctionKeys": true,
|
||||
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;",
|
||||
"enableMnemonicSpeaking": false,
|
||||
"progressBarVerbosity": 1,
|
||||
"speakBlankLines": true,
|
||||
"speechServerInfo": null,
|
||||
"enableSpeechIndentation": false,
|
||||
"speakMultiCaseStringsAsWords": false,
|
||||
"enableNavigationKeys": false,
|
||||
"speakSpreadsheetCoordinates": true,
|
||||
"enableEchoByWord": false,
|
||||
"enableModifierKeys": true,
|
||||
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
|
||||
"enableBrailleContext": true,
|
||||
"brailleFlashTime": 5000,
|
||||
"presentTimeFormat": "%X",
|
||||
"speechServerFactory": "speechdispatcherfactory",
|
||||
"mouseDwellDelay": 0,
|
||||
"wrappedStructuralNavigation": true,
|
||||
"enableBraille": false,
|
||||
"enableKeyEcho": false,
|
||||
"enablePositionSpeaking": false,
|
||||
"brailleLinkIndicator": 192,
|
||||
"flashVerbosityLevel": 1,
|
||||
"findResultsMinimumLength": 4,
|
||||
"chatRoomHistories": false,
|
||||
"largeObjectTextLength": 75,
|
||||
"keyboardLayout": 1,
|
||||
"verbalizePunctuationStyle": 1,
|
||||
"spellcheckSpellError": true,
|
||||
"chatSpeakRoomName": false,
|
||||
"chatMessageVerbosity": 0,
|
||||
"messageVerbosityLevel": 1,
|
||||
"brailleAlignmentStyle": 0,
|
||||
"brailleSelectorIndicator": 192,
|
||||
"skipBlankCells": false,
|
||||
"speakCellCoordinates": true,
|
||||
"activeProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"enablePrintableKeys": true,
|
||||
"startingProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"orcaModifierKeys": [
|
||||
"Insert",
|
||||
"KP_Insert"
|
||||
],
|
||||
"spellcheckSpellSuggestion": true,
|
||||
"enablePauseBreaks": true,
|
||||
"enableBrailleMonitor": true,
|
||||
"progressBarUpdateInterval": 10,
|
||||
"speechRequiredStateString": null,
|
||||
"enableDiacriticalKeys": false,
|
||||
"enableMouseReview": false,
|
||||
"enableActionKeys": true,
|
||||
"findResultsVerbosity": 2,
|
||||
"textAttributesBrailleIndicator": 0,
|
||||
"enableEchoByCharacter": false,
|
||||
"enableFlashMessages": true,
|
||||
"enableEchoBySentence": false,
|
||||
"brailleVerbosityLevel": 1,
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "",
|
||||
"speakCellHeaders": true,
|
||||
"flashIsPersistent": false,
|
||||
"speakCellSpan": true,
|
||||
"useColorNames": true,
|
||||
"enableContractedBraille": false,
|
||||
"spellcheckPresentContext": true,
|
||||
"enableProgressBarUpdates": true,
|
||||
"chatAnnounceBuddyTyping": false,
|
||||
"readTableCellRow": true,
|
||||
"brailleRolenameStyle": 1,
|
||||
"sayAllStyle": 1,
|
||||
"disableBrailleEOL": false,
|
||||
"speechVerbosityLevel": 1,
|
||||
"presentToolTips": false,
|
||||
"presentDateFormat": "%x",
|
||||
"structuralNavigationEnabled": true,
|
||||
"onlySpeakDisplayedText": false
|
||||
},
|
||||
"profiles": {
|
||||
"default": {
|
||||
"speechServerFactory": "orca.speechdispatcherfactory",
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"brailleContractionTable": "/usr/share/liblouis/tables/en-us-g2.ctb",
|
||||
"pronunciations": {},
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"voices": {
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"average-pitch": 10.0
|
||||
},
|
||||
"default": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"keybindings": {}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user