Remove files that should be ignored based on .gitignore

This commit is contained in:
Storm Dragon
2024-10-17 16:28:08 -04:00
parent 3278dd8a6c
commit 9569c50a0b
1448 changed files with 0 additions and 1537952 deletions

View File

@ -1,347 +0,0 @@
#!/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 Cthulhu h1'",
" VISIBLE: ' Welcome to Cthulhu h1', cursor=2",
"SPEECH OUTPUT: 'Welcome to Cthulhu'",
"SPEECH OUTPUT: 'heading level 1'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"3. Down",
["BRAILLE LINE: ' Cthulhu is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
" VISIBLE: 'Cthulhu is a free, open source, fle', cursor=1",
"SPEECH OUTPUT: 'Cthulhu is a free, open source, flexible, and extensible '"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"4. Down",
["BRAILLE LINE: 'Cthulhu is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
" VISIBLE: 'Cthulhu 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: 'Cthulhu is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
" VISIBLE: 'Cthulhu 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: ' Cthulhu 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: 'Cthulhu works with applications and', cursor=1",
"SPEECH OUTPUT: 'Cthulhu 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: 'Cthulhu 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: 'Cthulhu 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: 'Cthulhu 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: 'Cthulhu 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: 'Cthulhu 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: 'Cthulhu 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: 'Cthulhu 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: 'Cthulhu 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: 'Cthulhu 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: 'Cthulhu 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 Cthulhu h2'",
" VISIBLE: ' Launching Cthulhu h2', cursor=2",
"SPEECH OUTPUT: 'Launching Cthulhu'",
"SPEECH OUTPUT: 'heading level 2'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"13. Down",
["BRAILLE LINE: ' To launch Cthulhu:'",
" VISIBLE: ' To launch Cthulhu:', cursor=2",
"SPEECH OUTPUT: 'To launch Cthulhu:'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"14. Down",
["BRAILLE LINE: ' The method for configuring Cthulhu 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 Cthulhu ', cursor=1",
"SPEECH OUTPUT: 'The method for configuring Cthulhu 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 Cthulhu 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 Cthulhu ', 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 Cthulhu 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 Cthulhu ', 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 Cthulhu 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 Cthulhu ', 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 Cthulhu 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 Cthulhu on and off in GNOME, press Super+Alt+S.'",
" VISIBLE: 'To toggle Cthulhu on and off in GNO', cursor=1",
"SPEECH OUTPUT: 'To toggle Cthulhu on and off in GNOME, press'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"20. Down",
["BRAILLE LINE: ' To toggle Cthulhu on and off in GNOME, press Super+Alt+S.'",
" VISIBLE: 'Cthulhu on and off in GNOME, press ', cursor=32",
"SPEECH OUTPUT: 'To toggle Cthulhu on and off in GNOME, press'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"21. Up",
["BRAILLE LINE: ' To toggle Cthulhu on and off in GNOME, press Super+Alt+S.'",
" VISIBLE: 'To toggle Cthulhu on and off in GNO', cursor=1",
"SPEECH OUTPUT: 'To toggle Cthulhu 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 Cthulhu to be launched automatically as '",
" VISIBLE: 'The method for configuring Cthulhu ', cursor=1",
"SPEECH OUTPUT: 'The method for configuring Cthulhu to be launched automatically as '"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"27. Up",
["BRAILLE LINE: ' To launch Cthulhu:'",
" VISIBLE: ' To launch Cthulhu:', cursor=2",
"SPEECH OUTPUT: 'To launch Cthulhu:'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"28. Up",
["BRAILLE LINE: ' Launching Cthulhu h2'",
" VISIBLE: ' Launching Cthulhu h2', cursor=2",
"SPEECH OUTPUT: 'Launching Cthulhu'",
"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: ' Cthulhu works with applications and toolkits that support the Assistive '",
" VISIBLE: 'Cthulhu works with applications and', cursor=1",
"SPEECH OUTPUT: 'Cthulhu 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: ' Cthulhu is a free, open source, flexible, and extensible '",
" VISIBLE: 'Cthulhu is a free, open source, fle', cursor=1",
"SPEECH OUTPUT: 'Cthulhu 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 Cthulhu h1'",
" VISIBLE: ' Welcome to Cthulhu h1', cursor=2",
"SPEECH OUTPUT: 'Welcome to Cthulhu'",
"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 Cthulhu Screen Reader Getting Started'",
" VISIBLE: ' Introduction to the Cthulhu Screen', cursor=0",
"SPEECH OUTPUT: 'Introduction to the Cthulhu Screen Reader link \xa0\u203a Getting Started link \xa0\xbb'"]))
sequence.append(KeyComboAction("<Alt>F4"))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -1,140 +0,0 @@
{
"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"
],
"cthulhuModifierKeys": [
"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": "cthulhu.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": {}
}
}
}

View File

@ -1,375 +0,0 @@
#!/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 Cthulhu'",
" VISIBLE: ' Welcome to Cthulhu', cursor=2",
"SPEECH OUTPUT: 'Welcome to Cthulhu'",
"SPEECH OUTPUT: 'link'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"7. Down",
["BRAILLE LINE: ' Welcome to Cthulhu'",
" VISIBLE: ' Welcome to Cthulhu', cursor=2",
"SPEECH OUTPUT: 'Welcome to Cthulhu'",
"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 Cthulhu Modifier'",
" VISIBLE: ' The Cthulhu Modifier', cursor=2",
"SPEECH OUTPUT: 'The Cthulhu Modifier'",
"SPEECH OUTPUT: 'link'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"10. Down",
["BRAILLE LINE: ' The Cthulhu Modifier'",
" VISIBLE: ' The Cthulhu Modifier', cursor=2",
"SPEECH OUTPUT: 'The Cthulhu 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 Cthulhu Modifier'",
" VISIBLE: ' The Cthulhu Modifier', cursor=2",
"SPEECH OUTPUT: 'The Cthulhu Modifier'",
"SPEECH OUTPUT: 'link'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"31. Up",
["BRAILLE LINE: ' The Cthulhu Modifier'",
" VISIBLE: ' The Cthulhu Modifier', cursor=2",
"SPEECH OUTPUT: 'The Cthulhu 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 Cthulhu'",
" VISIBLE: ' Welcome to Cthulhu', cursor=2",
"SPEECH OUTPUT: 'Welcome to Cthulhu'",
"SPEECH OUTPUT: 'link'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Up"))
sequence.append(utils.AssertPresentationAction(
"34. Up",
["BRAILLE LINE: ' Welcome to Cthulhu'",
" VISIBLE: ' Welcome to Cthulhu', cursor=2",
"SPEECH OUTPUT: 'Welcome to Cthulhu'",
"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: ' Cthulhu's logo Cthulhu Screen Reader h1'",
" VISIBLE: 'Cthulhu's logo Cthulhu Screen Reader h', cursor=1",
"SPEECH OUTPUT: 'Cthulhu's logo'",
"SPEECH OUTPUT: ' Cthulhu Screen Reade'",
"SPEECH OUTPUT: 'heading level 1'"]))
sequence.append(KeyComboAction("<Alt>F4"))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -1,140 +0,0 @@
{
"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"
],
"cthulhuModifierKeys": [
"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": "cthulhu.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": {}
}
}
}

View File

@ -1,34 +0,0 @@
#!/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 Cthulhu Screen Reader frame'",
" VISIBLE: 'Cthulhu Screen Reader frame', cursor=1",
"BRAILLE LINE: ' Cthulhu's logo Cthulhu Screen Reader h1'",
" VISIBLE: 'Cthulhu's logo Cthulhu Screen Reader h', cursor=1",
"BRAILLE LINE: 'Finished loading Cthulhu Screen Reader.'",
" VISIBLE: 'Finished loading Cthulhu Screen Rea', cursor=0",
"BRAILLE LINE: ' Cthulhu's logo Cthulhu Screen Reader h1'",
" VISIBLE: 'Cthulhu's logo Cthulhu Screen Reader h', cursor=1",
"SPEECH OUTPUT: 'F1 '",
"SPEECH OUTPUT: 'Cthulhu Screen Reader frame'",
"SPEECH OUTPUT: 'Finished loading Cthulhu Screen Reader.' voice=system"]))
sequence.append(KeyComboAction("<Alt>F4"))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -1,140 +0,0 @@
{
"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"
],
"cthulhuModifierKeys": [
"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": "cthulhu.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": {}
}
}
}

View File

@ -1,129 +0,0 @@
#!/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 Cthulhu Screen Reader frame'",
" VISIBLE: 'Cthulhu Screen Reader frame', cursor=1",
"BRAILLE LINE: ' Cthulhu's logo Cthulhu Screen Reader h1'",
" VISIBLE: 'Cthulhu's logo Cthulhu Screen Reader h', cursor=1",
"BRAILLE LINE: 'Finished loading Cthulhu Screen Reader.'",
" VISIBLE: 'Finished loading Cthulhu Screen Rea', cursor=0",
"BRAILLE LINE: ' Cthulhu's logo Cthulhu Screen Reader h1'",
" VISIBLE: 'Cthulhu's logo Cthulhu Screen Reader h', cursor=1",
"SPEECH OUTPUT: 'F1 '",
"SPEECH OUTPUT: 'Cthulhu Screen Reader frame'",
"SPEECH OUTPUT: ' \ufffc link Cthulhu 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 Cthulhu",
" link'",
"SPEECH OUTPUT: 'Introducing the Cthulhu screen reader",
" link'",
"SPEECH OUTPUT: 'The Cthulhu Modifier",
" link'",
"SPEECH OUTPUT: 'A key that works like Shift, Ctrl, and Alt",
" link'",
"SPEECH OUTPUT: 'Configuration",
" link'",
"SPEECH OUTPUT: 'Setting up Cthulhu",
" link'",
"SPEECH OUTPUT: '\"Learn\" Mode",
" link'",
"SPEECH OUTPUT: 'Discovering Cthulhu'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 Cthulhu 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: 'Cthulhu 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 Cthulhu Screen Reader.'"]))
sequence.append(KeyComboAction("<Alt>F4"))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -1,140 +0,0 @@
{
"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"
],
"cthulhuModifierKeys": [
"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": "cthulhu.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": {}
}
}
}

View File

@ -1,165 +0,0 @@
#!/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: ' Cthulhu's logo Cthulhu Screen Reader h1'",
" VISIBLE: 'Cthulhu's logo Cthulhu Screen Reader h', cursor=1",
"BRAILLE LINE: ' Cthulhu's logo Cthulhu Screen Reader h1'",
" VISIBLE: 'Cthulhu's logo Cthulhu Screen Reader h', cursor=1",
"SPEECH OUTPUT: 'Wrapping to top.' voice=system",
"SPEECH OUTPUT: 'Cthulhu's logo Cthulhu 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: ' Cthulhu's logo Cthulhu Screen Reader h1'",
" VISIBLE: 'Cthulhu's logo Cthulhu Screen Reader h', cursor=1",
"BRAILLE LINE: ' Cthulhu's logo Cthulhu Screen Reader h1'",
" VISIBLE: 'Cthulhu's logo Cthulhu Screen Reader h', cursor=1",
"SPEECH OUTPUT: 'Cthulhu's logo Cthulhu Screen Reader heading level 1'"]))
sequence.append(KeyComboAction("<Alt>F4"))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -1,115 +0,0 @@
#!/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 Cthulhu'",
" VISIBLE: ' Welcome to Cthulhu', cursor=2",
"BRAILLE LINE: ' Welcome to Cthulhu'",
" VISIBLE: ' Welcome to Cthulhu', cursor=2",
"SPEECH OUTPUT: 'Welcome to Cthulhu",
"Introducing the Cthulhu 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 Cthulhu 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 Cthulhu', cursor=0",
"BRAILLE LINE: ' The method for configuring Cthulhu 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 Cthulhu', cursor=0",
"SPEECH OUTPUT: 'List with 3 items'",
"SPEECH OUTPUT: '\u2022 The method for configuring Cthulhu 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 Cthulhu 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 Cthulhu', cursor=0",
"BRAILLE LINE: ' The method for configuring Cthulhu 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 Cthulhu', cursor=0",
"SPEECH OUTPUT: 'List with 3 items'",
"SPEECH OUTPUT: '\u2022 The method for configuring Cthulhu 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()

View File

@ -1,140 +0,0 @@
{
"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"
],
"cthulhuModifierKeys": [
"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": "cthulhu.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": {}
}
}
}

View File

@ -1,144 +0,0 @@
#!/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 Cthulhu'",
" VISIBLE: ' Welcome to Cthulhu', cursor=2",
"BRAILLE LINE: ' Welcome to Cthulhu'",
" VISIBLE: ' Welcome to Cthulhu', cursor=2",
"SPEECH OUTPUT: 'Welcome to Cthulhu",
"Introducing the Cthulhu 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: ' Cthulhu is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
" VISIBLE: 'Cthulhu is a free, open source, fle', cursor=1",
"BRAILLE LINE: ' Cthulhu is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
" VISIBLE: 'Cthulhu is a free, open source, fle', cursor=1",
"SPEECH OUTPUT: 'Cthulhu 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: ' Cthulhu 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: 'Cthulhu works with applications and', cursor=1",
"BRAILLE LINE: ' Cthulhu 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: 'Cthulhu works with applications and', cursor=1",
"SPEECH OUTPUT: 'Cthulhu 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 Cthulhu:'",
" VISIBLE: ' To launch Cthulhu:', cursor=2",
"BRAILLE LINE: ' To launch Cthulhu:'",
" VISIBLE: ' To launch Cthulhu:', cursor=2",
"SPEECH OUTPUT: 'To launch Cthulhu:'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("p"))
sequence.append(utils.AssertPresentationAction(
"5. p for next paragraph",
["BRAILLE LINE: ' The method for configuring Cthulhu 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 Cthulhu ', cursor=1",
"BRAILLE LINE: ' The method for configuring Cthulhu 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 Cthulhu ', cursor=1",
"SPEECH OUTPUT: 'The method for configuring Cthulhu 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 Cthulhu on and off in GNOME, press Super+Alt+S.'",
" VISIBLE: 'To toggle Cthulhu on and off in GNO', cursor=1",
"BRAILLE LINE: ' To toggle Cthulhu on and off in GNOME, press Super+Alt+S.'",
" VISIBLE: 'To toggle Cthulhu on and off in GNO', cursor=1",
"SPEECH OUTPUT: 'To toggle Cthulhu 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 cthulhu, along with any optional parameters, in a terminal window or within the Run dialog and then press Return.'",
" VISIBLE: 'Type cthulhu, along with any option', cursor=1",
"BRAILLE LINE: ' Type cthulhu, along with any optional parameters, in a terminal window or within the Run dialog and then press Return.'",
" VISIBLE: 'Type cthulhu, along with any option', cursor=1",
"SPEECH OUTPUT: 'Type cthulhu, 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 Cthulhu on and off in GNOME, press Super+Alt+S.'",
" VISIBLE: 'To toggle Cthulhu on and off in GNO', cursor=1",
"BRAILLE LINE: ' To toggle Cthulhu on and off in GNOME, press Super+Alt+S.'",
" VISIBLE: 'To toggle Cthulhu on and off in GNO', cursor=1",
"SPEECH OUTPUT: 'To toggle Cthulhu 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 Cthulhu 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 Cthulhu ', cursor=1",
"BRAILLE LINE: ' The method for configuring Cthulhu 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 Cthulhu ', cursor=1",
"SPEECH OUTPUT: 'The method for configuring Cthulhu 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 Cthulhu:'",
" VISIBLE: ' To launch Cthulhu:', cursor=2",
"BRAILLE LINE: ' To launch Cthulhu:'",
" VISIBLE: ' To launch Cthulhu:', cursor=2",
"SPEECH OUTPUT: 'To launch Cthulhu:'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Shift>p"))
sequence.append(utils.AssertPresentationAction(
"11. shift+p for previous paragraph",
["BRAILLE LINE: ' Cthulhu 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: 'Cthulhu works with applications and', cursor=1",
"BRAILLE LINE: ' Cthulhu 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: 'Cthulhu works with applications and', cursor=1",
"SPEECH OUTPUT: 'Cthulhu 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: ' Cthulhu is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
" VISIBLE: 'Cthulhu is a free, open source, fle', cursor=1",
"BRAILLE LINE: ' Cthulhu is a free, open source, flexible, and extensible screen reader that provides access to the graphical desktop via speech and refreshable braille.'",
" VISIBLE: 'Cthulhu is a free, open source, fle', cursor=1",
"SPEECH OUTPUT: 'Cthulhu 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()

View File

@ -1,140 +0,0 @@
{
"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"
],
"cthulhuModifierKeys": [
"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": "cthulhu.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": {}
}
}
}