Make sure all files that should be present are present.

This commit is contained in:
Storm Dragon
2024-10-17 16:33:13 -04:00
parent 9d78a3fbee
commit c615709602
1395 changed files with 1344591 additions and 0 deletions

View File

@ -0,0 +1 @@
PARAMS=$TEST_DIR/../../documents/fruit.ods

View File

@ -0,0 +1,39 @@
#!/usr/bin/python
"""Test presentation when coordinate announcement is off"""
from macaroon.playback import *
import utils
sequence = MacroSequence()
sequence.append(PauseAction(3000))
sequence.append(KeyComboAction("<Control>Home"))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"1. Down to A2 - don't speak cell coordinates",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Good in Pies A2'",
" VISIBLE: 'Good in Pies A2', cursor=1",
"SPEECH OUTPUT: 'Good in Pies.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Right"))
sequence.append(utils.AssertPresentationAction(
"2. Right to B2 - don't speak cell coordinates",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Yes B2'",
" VISIBLE: 'Yes B2', cursor=1",
"SPEECH OUTPUT: 'Yes.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Control>Home"))
sequence.append(utils.AssertPresentationAction(
"3. Control+Home to A1 - don't speak cell coordinates",
["KNOWN ISSUE: We don't want to show the sheet.",
"BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table A1'",
" VISIBLE: 'Sheet Sheet1 table A1', cursor=20",
"SPEECH OUTPUT: 'blank.'"]))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -0,0 +1,139 @@
{
"pronunciations": {},
"keybindings": {},
"general": {
"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": false,
"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": {
"established": false
},
"default": {
"established": false
}
},
"keybindings": {}
}
}
}

View File

@ -0,0 +1 @@
PARAMS=$TEST_DIR/../../documents/fruit.ods

View File

@ -0,0 +1,39 @@
#!/usr/bin/python
"""Test presentation when coordinate announcement is on"""
from macaroon.playback import *
import utils
sequence = MacroSequence()
sequence.append(PauseAction(3000))
sequence.append(KeyComboAction("<Control>Home"))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"2. Down to A2 - speak cell coordinates",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Good in Pies A2'",
" VISIBLE: 'Good in Pies A2', cursor=1",
"SPEECH OUTPUT: 'Good in Pies A2.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Right"))
sequence.append(utils.AssertPresentationAction(
"3. Right to B2 - speak cell coordinates",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Yes B2'",
" VISIBLE: 'Yes B2', cursor=1",
"SPEECH OUTPUT: 'Yes B2.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Control>Home"))
sequence.append(utils.AssertPresentationAction(
"4. Control+Home to A1 - speak cell coordinates",
["KNOWN ISSUE: We don't want to show the sheet.",
"BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table A1'",
" VISIBLE: 'Sheet Sheet1 table A1', cursor=20",
"SPEECH OUTPUT: 'blank A1.'"]))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -0,0 +1,139 @@
{
"pronunciations": {},
"keybindings": {},
"general": {
"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": {
"established": false
},
"default": {
"established": false
}
},
"keybindings": {}
}
}
}

View File

@ -0,0 +1,41 @@
#!/usr/bin/python
"""Test of presentation when typing in a cell."""
from macaroon.playback import *
import utils
sequence = MacroSequence()
sequence.append(PauseAction(3000))
sequence.append(KeyComboAction("Tab"))
sequence.append(KeyComboAction("<Shift>ISO_Left_Tab"))
sequence.append(PauseAction(3000))
sequence.append(utils.StartRecordingAction())
sequence.append(TypeAction("h"))
sequence.append(utils.AssertPresentationAction(
"1. Type 'h' - keyecho is off",
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Cell A1 panel h $l'",
" VISIBLE: 'h $l', cursor=2",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar Input line Input line $l h $l'",
" VISIBLE: 'h $l', cursor=1"]))
sequence.append(utils.StartRecordingAction())
sequence.append(TypeAction("i"))
sequence.append(utils.AssertPresentationAction(
"2. Type 'i' - keyecho is off",
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Cell A1 panel hi $l'",
" VISIBLE: 'hi $l', cursor=3"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Return"))
sequence.append(PauseAction(3000))
sequence.append(utils.AssertPresentationAction(
"3. Press Return",
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Sheet Sheet1 table A2'",
" VISIBLE: 'table A2', cursor=7",
"SPEECH OUTPUT: 'blank A2.'"]))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -0,0 +1,165 @@
{
"general": {
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none; fg-color:; bg-color:;",
"cthulhuModifierKeys": [
"Insert",
"KP_Insert"
],
"skipBlankCells": false,
"onlySpeakDisplayedText": false,
"enableMnemonicSpeaking": false,
"chatAnnounceBuddyTyping": false,
"messagesAreDetailed": true,
"speakProgressBarUpdates": true,
"speakCellCoordinates": true,
"enableAlphabeticKeys": true,
"enableBraille": false,
"brailleAlignmentStyle": 0,
"playSoundForPositionInSet": false,
"sayAllStyle": 1,
"enableEchoBySentence": false,
"chatSpeakRoomName": false,
"soundVolume": 0.5,
"activeProfile": [
"Default",
"default"
],
"brailleVerbosityLevel": 1,
"sayAllContextTable": true,
"enableTutorialMessages": false,
"wrappedStructuralNavigation": true,
"capitalizationStyle": "none",
"findResultsMinimumLength": 4,
"enableContractedBraille": false,
"presentDateFormat": "%x",
"enableSpeechIndentation": false,
"brailleContractionTable": "",
"structNavTriggersFocusMode": false,
"enablePauseBreaks": true,
"speakNumbersAsDigits": false,
"spellcheckSpellError": true,
"useColorNames": true,
"speakContextTable": true,
"readFullRowInGUITable": true,
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
"enableSpace": true,
"brailleSelectorIndicator": 192,
"profile": [
"Default",
"default"
],
"verbalizePunctuationStyle": 1,
"enableBrailleContext": true,
"enableNavigationKeys": false,
"structNavInSayAll": false,
"enableSound": true,
"speakCellSpan": true,
"speechVerbosityLevel": 1,
"brailleRolenameStyle": 1,
"mouseDwellDelay": null,
"enableSpeech": true,
"caretNavTriggersFocusMode": false,
"enableDiacriticalKeys": false,
"findResultsVerbosity": 2,
"sayAllContextBlockquote": true,
"speakBlankLines": true,
"speakSpreadsheetCoordinates": true,
"flashIsPersistent": false,
"enableNumericKeys": true,
"enableFlashMessages": true,
"progressBarVerbosity": 1,
"brailleLinkIndicator": 192,
"presentTimeFormat": "%X",
"enablePunctuationKeys": true,
"enableKeyEcho": false,
"playSoundForState": false,
"beepProgressBarUpdates": false,
"enableFunctionKeys": true,
"speakMisspelledIndicator": true,
"textAttributesBrailleIndicator": 0,
"voices": {
"default": {
"established": false
},
"system": {
"established": false
},
"uppercase": {
"average-pitch": 7.0
},
"hyperlink": {
"established": false
}
},
"enableBrailleMonitor": true,
"layoutMode": true,
"brailleFlashTime": 5000,
"largeObjectTextLength": 75,
"speakContextList": true,
"ignoreStatusBarProgressBars": true,
"keyboardLayout": 1,
"brailleProgressBarUpdates": false,
"readFullRowInSpreadSheet": false,
"enableActionKeys": true,
"enablePositionSpeaking": false,
"structuralNavigationEnabled": true,
"playSoundForRole": false,
"disableBrailleEOL": false,
"presentToolTips": false,
"enableMouseReview": false,
"speechServerFactory": "speechdispatcherfactory",
"chatMessageVerbosity": 0,
"enableEchoByWord": false,
"spellcheckSpellSuggestion": true,
"enableModifierKeys": true,
"speakMultiCaseStringsAsWords": false,
"flashIsDetailed": true,
"speakCellHeaders": true,
"rewindAndFastForwardInSayAll": false,
"sayAllContextList": true,
"speakContextBlockquote": true,
"enableEchoByCharacter": false,
"playSoundForValue": false,
"progressBarUpdateInterval": 10,
"spellcheckPresentContext": true,
"speechServerInfo": null,
"chatRoomHistories": false,
"readFullRowInDocumentTable": true,
"startingProfile": [
"Default",
"default"
]
},
"keybindings": {},
"profiles": {
"default": {
"profile": [
"Default",
"default"
],
"brailleContractionTable": "/usr/share/liblouis/tables/en-us-compbrl.ctb",
"voices": {
"default": {
"established": false
},
"system": {
"established": false
},
"uppercase": {
"average-pitch": 7.0
},
"hyperlink": {
"established": false
}
},
"pronunciations": {},
"speechServerInfo": [
"Default Synthesizer",
"default"
],
"keybindings": {},
"speechServerFactory": "cthulhu.speechdispatcherfactory"
}
},
"pronunciations": {}
}

View File

@ -0,0 +1,44 @@
#!/usr/bin/python
"""Test of presentation when typing in a cell."""
from macaroon.playback import *
import utils
sequence = MacroSequence()
sequence.append(PauseAction(3000))
sequence.append(utils.StartRecordingAction())
sequence.append(TypeAction("h"))
sequence.append(utils.AssertPresentationAction(
"1. Type 'h' - keyecho is off",
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc frame'",
" VISIBLE: 'Untitled 1 - LibreOffice Calc fr', cursor=1",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Cell A1 panel h $l'",
" VISIBLE: 'h $l', cursor=2",
"SPEECH OUTPUT: 'Untitled 1 - LibreOffice Calc frame'",
"SPEECH OUTPUT: 'Cell A1 panel.'",
"SPEECH OUTPUT: 'h'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(TypeAction("i"))
sequence.append(utils.AssertPresentationAction(
"2. Type 'i' - keyecho is off",
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Cell A1 panel hi $l'",
" VISIBLE: 'hi $l', cursor=3",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Cell A1 panel hi $l'",
" VISIBLE: 'hi $l', cursor=3"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Return"))
sequence.append(PauseAction(3000))
sequence.append(utils.AssertPresentationAction(
"3. Press Return",
["KNOWN ISSUE: We don't want to include the table",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Sheet Sheet1 table A2'",
" VISIBLE: 'table A2', cursor=7",
"SPEECH OUTPUT: 'blank A2.'"]))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -0,0 +1,165 @@
{
"general": {
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none; fg-color:; bg-color:;",
"cthulhuModifierKeys": [
"Insert",
"KP_Insert"
],
"skipBlankCells": false,
"onlySpeakDisplayedText": false,
"enableMnemonicSpeaking": false,
"chatAnnounceBuddyTyping": false,
"messagesAreDetailed": true,
"speakProgressBarUpdates": true,
"speakCellCoordinates": true,
"enableAlphabeticKeys": true,
"enableBraille": false,
"brailleAlignmentStyle": 0,
"playSoundForPositionInSet": false,
"sayAllStyle": 1,
"enableEchoBySentence": false,
"chatSpeakRoomName": false,
"soundVolume": 0.5,
"activeProfile": [
"Default",
"default"
],
"brailleVerbosityLevel": 1,
"sayAllContextTable": false,
"enableTutorialMessages": false,
"wrappedStructuralNavigation": true,
"capitalizationStyle": "none",
"findResultsMinimumLength": 4,
"enableContractedBraille": false,
"presentDateFormat": "%x",
"enableSpeechIndentation": false,
"brailleContractionTable": "",
"structNavTriggersFocusMode": false,
"enablePauseBreaks": true,
"speakNumbersAsDigits": false,
"spellcheckSpellError": true,
"useColorNames": true,
"speakContextTable": false,
"readFullRowInGUITable": true,
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
"enableSpace": true,
"brailleSelectorIndicator": 192,
"profile": [
"Default",
"default"
],
"verbalizePunctuationStyle": 1,
"enableBrailleContext": true,
"enableNavigationKeys": false,
"structNavInSayAll": false,
"enableSound": true,
"speakCellSpan": true,
"speechVerbosityLevel": 1,
"brailleRolenameStyle": 1,
"mouseDwellDelay": null,
"enableSpeech": true,
"caretNavTriggersFocusMode": false,
"enableDiacriticalKeys": false,
"findResultsVerbosity": 2,
"sayAllContextBlockquote": false,
"speakBlankLines": true,
"speakSpreadsheetCoordinates": true,
"flashIsPersistent": false,
"enableNumericKeys": true,
"enableFlashMessages": true,
"progressBarVerbosity": 1,
"brailleLinkIndicator": 192,
"presentTimeFormat": "%X",
"enablePunctuationKeys": true,
"enableKeyEcho": false,
"playSoundForState": false,
"beepProgressBarUpdates": false,
"enableFunctionKeys": true,
"speakMisspelledIndicator": true,
"textAttributesBrailleIndicator": 0,
"voices": {
"default": {
"established": false
},
"system": {
"established": false
},
"uppercase": {
"average-pitch": 7.0
},
"hyperlink": {
"established": false
}
},
"enableBrailleMonitor": true,
"layoutMode": true,
"brailleFlashTime": 5000,
"largeObjectTextLength": 75,
"speakContextList": false,
"ignoreStatusBarProgressBars": true,
"keyboardLayout": 1,
"brailleProgressBarUpdates": false,
"readFullRowInSpreadSheet": false,
"enableActionKeys": true,
"enablePositionSpeaking": false,
"structuralNavigationEnabled": true,
"playSoundForRole": false,
"disableBrailleEOL": false,
"presentToolTips": false,
"enableMouseReview": false,
"speechServerFactory": "speechdispatcherfactory",
"chatMessageVerbosity": 0,
"enableEchoByWord": false,
"spellcheckSpellSuggestion": true,
"enableModifierKeys": true,
"speakMultiCaseStringsAsWords": false,
"flashIsDetailed": true,
"speakCellHeaders": true,
"rewindAndFastForwardInSayAll": false,
"sayAllContextList": false,
"speakContextBlockquote": false,
"enableEchoByCharacter": false,
"playSoundForValue": false,
"progressBarUpdateInterval": 10,
"spellcheckPresentContext": true,
"speechServerInfo": null,
"chatRoomHistories": false,
"readFullRowInDocumentTable": true,
"startingProfile": [
"Default",
"default"
]
},
"keybindings": {},
"profiles": {
"default": {
"profile": [
"Default",
"default"
],
"brailleContractionTable": "/usr/share/liblouis/tables/en-us-compbrl.ctb",
"voices": {
"default": {
"established": false
},
"system": {
"established": false
},
"uppercase": {
"average-pitch": 7.0
},
"hyperlink": {
"established": false
}
},
"pronunciations": {},
"speechServerInfo": [
"Default Synthesizer",
"default"
],
"keybindings": {},
"speechServerFactory": "cthulhu.speechdispatcherfactory"
}
},
"pronunciations": {}
}

View File

@ -0,0 +1 @@
PARAMS=$TEST_DIR/../../documents/fruit.ods

View File

@ -0,0 +1,131 @@
#!/usr/bin/python
"""Test dynamic header support."""
from macaroon.playback import *
import utils
sequence = MacroSequence()
sequence.append(PauseAction(3000))
sequence.append(KeyComboAction("<Control>Home"))
sequence.append(PauseAction(3000))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"1. Down Arrow to cell A2",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Good in Pies A2'",
" VISIBLE: 'Good in Pies A2', cursor=1",
"SPEECH OUTPUT: 'Good in Pies A2.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Right"))
sequence.append(utils.AssertPresentationAction(
"2. Right Arrow to cell B2",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Yes B2'",
" VISIBLE: 'Yes B2', cursor=1",
"SPEECH OUTPUT: 'Yes B2.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"3. Down Arrow to cell B3",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Yes B3'",
" VISIBLE: 'Yes B3', cursor=1",
"SPEECH OUTPUT: 'Yes B3.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Right"))
sequence.append(utils.AssertPresentationAction(
"4. Right Arrow to cell C3",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Yes C3'",
" VISIBLE: 'Yes C3', cursor=1",
"SPEECH OUTPUT: 'Yes C3.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("KP_Enter"))
sequence.append(utils.AssertPresentationAction(
"5. Basic where am I with no dynamic headers set",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Yes C3'",
" VISIBLE: 'Yes C3', cursor=1",
"SPEECH OUTPUT: 'table cell.'",
"SPEECH OUTPUT: 'column 3.'",
"SPEECH OUTPUT: 'row 3.'",
"SPEECH OUTPUT: 'Yes.'"]))
sequence.append(KeyComboAction("<Control>Home"))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("r"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
sequence.append(utils.AssertPresentationAction(
"6. Set dynamic column headers",
["BRAILLE LINE: 'Dynamic column header set for row 1'",
" VISIBLE: 'Dynamic column header set for ro', cursor=0",
"SPEECH OUTPUT: 'Dynamic column header set for row 1'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("c"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
sequence.append(utils.AssertPresentationAction(
"7. Set dynamic row headers",
["KNOWN ISSUE - We don't want to show the sheet here",
"BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table A1'",
" VISIBLE: 'Sheet Sheet1 table A1', cursor=20",
"BRAILLE LINE: 'Dynamic row header set for column A'",
" VISIBLE: 'Dynamic row header set for colum', cursor=0",
"SPEECH OUTPUT: 'Dynamic row header set for column A' voice=system"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"8. Down Arrow to cell A2",
["KNOWN ISSUE - We don't want to show the sheet here",
"BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table A1'",
" VISIBLE: 'Sheet Sheet1 table A1', cursor=20",
"BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Good in Pies A2'",
" VISIBLE: 'Good in Pies A2', cursor=1",
"SPEECH OUTPUT: 'Good in Pies A2.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Right"))
sequence.append(utils.AssertPresentationAction(
"9. Right Arrow to cell B2",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Good in Pies Apples Yes B2'",
" VISIBLE: 'Yes B2', cursor=1",
"SPEECH OUTPUT: 'Apples Yes B2.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"10. Down Arrow to cell B3",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Juiceable Apples Yes B3'",
" VISIBLE: 'Yes B3', cursor=1",
"SPEECH OUTPUT: 'Juiceable Yes B3.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Right"))
sequence.append(utils.AssertPresentationAction(
"11. Right Arrow to cell C3",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Juiceable Pears Yes C3'",
" VISIBLE: 'Yes C3', cursor=1",
"SPEECH OUTPUT: 'Pears Yes C3.'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("KP_Enter"))
sequence.append(utils.AssertPresentationAction(
"12. Basic where am I with dynamic headers set",
["BRAILLE LINE: 'soffice application fruit.ods - LibreOffice Calc root pane Sheet Sheet1 table Juiceable Pears Yes C3'",
" VISIBLE: 'Yes C3', cursor=1",
"SPEECH OUTPUT: 'table cell.'",
"SPEECH OUTPUT: 'column 3.'",
"SPEECH OUTPUT: 'Pears.'",
"SPEECH OUTPUT: 'row 3.'",
"SPEECH OUTPUT: 'Juiceable.'",
"SPEECH OUTPUT: 'Yes.'"]))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -0,0 +1 @@
PARAMS=$TEST_DIR/../../documents/fruit.ods

View File

@ -0,0 +1,37 @@
#!/usr/bin/python
"""Test presentation of character attributes."""
from macaroon.playback import *
import utils
sequence = MacroSequence()
sequence.append(PauseAction(3000))
sequence.append(KeyComboAction("<Control>Home"))
sequence.append(KeyComboAction("Down"))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("f"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
sequence.append(utils.AssertPresentationAction(
"1. Attributes of cell A2",
["SPEECH OUTPUT: 'size: 16' voice=system",
"SPEECH OUTPUT: 'family name: Arial' voice=system",
"SPEECH OUTPUT: 'bold' voice=system",
"SPEECH OUTPUT: 'style: italic' voice=system"]))
sequence.append(KeyComboAction("Right"))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("f"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
sequence.append(utils.AssertPresentationAction(
"2. Attributes of cell B2",
["SPEECH OUTPUT: 'size: 10' voice=system",
"SPEECH OUTPUT: 'family name: Arial' voice=system"]))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -0,0 +1,56 @@
#!/usr/bin/python
"""Test presentation of the Manage Names combobox"""
from macaroon.playback import *
import utils
sequence = MacroSequence()
sequence.append(PauseAction(5000))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Shift><Control>t"))
sequence.append(utils.AssertPresentationAction(
"1. Shift+Ctrl+T",
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar Name Box A1 $l'",
" VISIBLE: 'Name Box A1 $l', cursor=12",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar A1 $l combo box'",
" VISIBLE: 'tool bar A1 $l combo box', cursor=12",
"SPEECH OUTPUT: 'A1'",
"SPEECH OUTPUT: 'selected'",
"SPEECH OUTPUT: 'Formula Tool Bar tool bar'",
"SPEECH OUTPUT: 'Name Box Name Box editable combo box.'",
"SPEECH OUTPUT: 'A1 selected'"]))
sequence.append(KeyComboAction("<Control>a"))
sequence.append(KeyComboAction("BackSpace"))
sequence.append(PauseAction(3000))
sequence.append(utils.StartRecordingAction())
sequence.append(TypeAction("C3"))
sequence.append(utils.AssertPresentationAction(
"2. Type 'C3' - keyecho is disabled",
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar Name Box C $l'",
" VISIBLE: 'Name Box C $l', cursor=11",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar Name Box C $l'",
" VISIBLE: 'Name Box C $l', cursor=11",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar Name Box C3 $l'",
" VISIBLE: 'Name Box C3 $l', cursor=12",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar Name Box C3 $l'",
" VISIBLE: 'Name Box C3 $l', cursor=12"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Return"))
sequence.append(utils.AssertPresentationAction(
"3. Press Return to jump to C3",
["KNOWN ISSUE: We don't want to show the table here",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Sheet Sheet1 table'",
" VISIBLE: 'Sheet Sheet1 table', cursor=1",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Sheet Sheet1 table C3'",
" VISIBLE: 'table C3', cursor=7",
"SPEECH OUTPUT: 'Sheet Sheet1.'",
"SPEECH OUTPUT: 'table with 1048576 rows 1024 columns'",
"SPEECH OUTPUT: 'blank C3.'"]))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -0,0 +1,165 @@
{
"general": {
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none; fg-color:; bg-color:;",
"cthulhuModifierKeys": [
"Insert",
"KP_Insert"
],
"skipBlankCells": false,
"onlySpeakDisplayedText": false,
"enableMnemonicSpeaking": false,
"chatAnnounceBuddyTyping": false,
"messagesAreDetailed": true,
"speakProgressBarUpdates": true,
"speakCellCoordinates": true,
"enableAlphabeticKeys": true,
"enableBraille": false,
"brailleAlignmentStyle": 0,
"playSoundForPositionInSet": false,
"sayAllStyle": 1,
"enableEchoBySentence": false,
"chatSpeakRoomName": false,
"soundVolume": 0.5,
"activeProfile": [
"Default",
"default"
],
"brailleVerbosityLevel": 1,
"sayAllContextTable": true,
"enableTutorialMessages": false,
"wrappedStructuralNavigation": true,
"capitalizationStyle": "none",
"findResultsMinimumLength": 4,
"enableContractedBraille": false,
"presentDateFormat": "%x",
"enableSpeechIndentation": false,
"brailleContractionTable": "",
"structNavTriggersFocusMode": false,
"enablePauseBreaks": true,
"speakNumbersAsDigits": false,
"spellcheckSpellError": true,
"useColorNames": true,
"speakContextTable": true,
"readFullRowInGUITable": true,
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
"enableSpace": true,
"brailleSelectorIndicator": 192,
"profile": [
"Default",
"default"
],
"verbalizePunctuationStyle": 1,
"enableBrailleContext": true,
"enableNavigationKeys": false,
"structNavInSayAll": false,
"enableSound": true,
"speakCellSpan": true,
"speechVerbosityLevel": 1,
"brailleRolenameStyle": 1,
"mouseDwellDelay": null,
"enableSpeech": true,
"caretNavTriggersFocusMode": false,
"enableDiacriticalKeys": false,
"findResultsVerbosity": 2,
"sayAllContextBlockquote": true,
"speakBlankLines": true,
"speakSpreadsheetCoordinates": true,
"flashIsPersistent": false,
"enableNumericKeys": true,
"enableFlashMessages": true,
"progressBarVerbosity": 1,
"brailleLinkIndicator": 192,
"presentTimeFormat": "%X",
"enablePunctuationKeys": true,
"enableKeyEcho": false,
"playSoundForState": false,
"beepProgressBarUpdates": false,
"enableFunctionKeys": true,
"speakMisspelledIndicator": true,
"textAttributesBrailleIndicator": 0,
"voices": {
"default": {
"established": false
},
"system": {
"established": false
},
"uppercase": {
"average-pitch": 7.0
},
"hyperlink": {
"established": false
}
},
"enableBrailleMonitor": true,
"layoutMode": true,
"brailleFlashTime": 5000,
"largeObjectTextLength": 75,
"speakContextList": true,
"ignoreStatusBarProgressBars": true,
"keyboardLayout": 1,
"brailleProgressBarUpdates": false,
"readFullRowInSpreadSheet": false,
"enableActionKeys": true,
"enablePositionSpeaking": false,
"structuralNavigationEnabled": true,
"playSoundForRole": false,
"disableBrailleEOL": false,
"presentToolTips": false,
"enableMouseReview": false,
"speechServerFactory": "speechdispatcherfactory",
"chatMessageVerbosity": 0,
"enableEchoByWord": false,
"spellcheckSpellSuggestion": true,
"enableModifierKeys": true,
"speakMultiCaseStringsAsWords": false,
"flashIsDetailed": true,
"speakCellHeaders": true,
"rewindAndFastForwardInSayAll": false,
"sayAllContextList": true,
"speakContextBlockquote": true,
"enableEchoByCharacter": false,
"playSoundForValue": false,
"progressBarUpdateInterval": 10,
"spellcheckPresentContext": true,
"speechServerInfo": null,
"chatRoomHistories": false,
"readFullRowInDocumentTable": true,
"startingProfile": [
"Default",
"default"
]
},
"keybindings": {},
"profiles": {
"default": {
"profile": [
"Default",
"default"
],
"brailleContractionTable": "/usr/share/liblouis/tables/en-us-compbrl.ctb",
"voices": {
"default": {
"established": false
},
"system": {
"established": false
},
"uppercase": {
"average-pitch": 7.0
},
"hyperlink": {
"established": false
}
},
"pronunciations": {},
"speechServerInfo": [
"Default Synthesizer",
"default"
],
"keybindings": {},
"speechServerFactory": "cthulhu.speechdispatcherfactory"
}
},
"pronunciations": {}
}

View File

@ -0,0 +1,57 @@
#!/usr/bin/python
"""Test presentation of the Manage Names combobox"""
from macaroon.playback import *
import utils
sequence = MacroSequence()
sequence.append(PauseAction(5000))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("<Shift><Control>t"))
sequence.append(utils.AssertPresentationAction(
"1. Shift+Ctrl+T",
["KNOWN ISSUE: We're speaking the name box twice",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar Name Box A1 $l'",
" VISIBLE: 'Name Box A1 $l', cursor=12",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar A1 $l combo box'",
" VISIBLE: 'tool bar A1 $l combo box', cursor=12",
"SPEECH OUTPUT: 'A1'",
"SPEECH OUTPUT: 'selected'",
"SPEECH OUTPUT: 'Formula Tool Bar tool bar'",
"SPEECH OUTPUT: 'Name Box Name Box editable combo box.'",
"SPEECH OUTPUT: 'A1 selected'"]))
sequence.append(KeyComboAction("<Control>a"))
sequence.append(KeyComboAction("BackSpace"))
sequence.append(PauseAction(3000))
sequence.append(utils.StartRecordingAction())
sequence.append(TypeAction("C3"))
sequence.append(utils.AssertPresentationAction(
"2. Type 'C3' - keyecho is disabled",
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar Name Box C $l'",
" VISIBLE: 'Name Box C $l', cursor=11",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar Name Box C $l'",
" VISIBLE: 'Name Box C $l', cursor=11",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar Name Box C3 $l'",
" VISIBLE: 'Name Box C3 $l', cursor=12",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Formula Tool Bar tool bar Name Box C3 $l'",
" VISIBLE: 'Name Box C3 $l', cursor=12"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Return"))
sequence.append(utils.AssertPresentationAction(
"3. Press Return to jump to C3",
["KNOWN ISSUE: We don't want to show the table here",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Sheet Sheet1 table'",
" VISIBLE: 'Sheet Sheet1 table', cursor=1",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Sheet Sheet1 table C3'",
" VISIBLE: 'table C3', cursor=7",
"SPEECH OUTPUT: 'Sheet Sheet1.'",
"SPEECH OUTPUT: 'table with 1048576 rows 1024 columns'",
"SPEECH OUTPUT: 'blank C3.'"]))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -0,0 +1,165 @@
{
"general": {
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none; fg-color:; bg-color:;",
"cthulhuModifierKeys": [
"Insert",
"KP_Insert"
],
"skipBlankCells": false,
"onlySpeakDisplayedText": false,
"enableMnemonicSpeaking": false,
"chatAnnounceBuddyTyping": false,
"messagesAreDetailed": true,
"speakProgressBarUpdates": true,
"speakCellCoordinates": true,
"enableAlphabeticKeys": true,
"enableBraille": false,
"brailleAlignmentStyle": 0,
"playSoundForPositionInSet": false,
"sayAllStyle": 1,
"enableEchoBySentence": false,
"chatSpeakRoomName": false,
"soundVolume": 0.5,
"activeProfile": [
"Default",
"default"
],
"brailleVerbosityLevel": 1,
"sayAllContextTable": false,
"enableTutorialMessages": false,
"wrappedStructuralNavigation": true,
"capitalizationStyle": "none",
"findResultsMinimumLength": 4,
"enableContractedBraille": false,
"presentDateFormat": "%x",
"enableSpeechIndentation": false,
"brailleContractionTable": "",
"structNavTriggersFocusMode": false,
"enablePauseBreaks": true,
"speakNumbersAsDigits": false,
"spellcheckSpellError": true,
"useColorNames": true,
"speakContextTable": false,
"readFullRowInGUITable": true,
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
"enableSpace": true,
"brailleSelectorIndicator": 192,
"profile": [
"Default",
"default"
],
"verbalizePunctuationStyle": 1,
"enableBrailleContext": true,
"enableNavigationKeys": false,
"structNavInSayAll": false,
"enableSound": true,
"speakCellSpan": true,
"speechVerbosityLevel": 1,
"brailleRolenameStyle": 1,
"mouseDwellDelay": null,
"enableSpeech": true,
"caretNavTriggersFocusMode": false,
"enableDiacriticalKeys": false,
"findResultsVerbosity": 2,
"sayAllContextBlockquote": false,
"speakBlankLines": true,
"speakSpreadsheetCoordinates": true,
"flashIsPersistent": false,
"enableNumericKeys": true,
"enableFlashMessages": true,
"progressBarVerbosity": 1,
"brailleLinkIndicator": 192,
"presentTimeFormat": "%X",
"enablePunctuationKeys": true,
"enableKeyEcho": false,
"playSoundForState": false,
"beepProgressBarUpdates": false,
"enableFunctionKeys": true,
"speakMisspelledIndicator": true,
"textAttributesBrailleIndicator": 0,
"voices": {
"default": {
"established": false
},
"system": {
"established": false
},
"uppercase": {
"average-pitch": 7.0
},
"hyperlink": {
"established": false
}
},
"enableBrailleMonitor": true,
"layoutMode": true,
"brailleFlashTime": 5000,
"largeObjectTextLength": 75,
"speakContextList": false,
"ignoreStatusBarProgressBars": true,
"keyboardLayout": 1,
"brailleProgressBarUpdates": false,
"readFullRowInSpreadSheet": false,
"enableActionKeys": true,
"enablePositionSpeaking": false,
"structuralNavigationEnabled": true,
"playSoundForRole": false,
"disableBrailleEOL": false,
"presentToolTips": false,
"enableMouseReview": false,
"speechServerFactory": "speechdispatcherfactory",
"chatMessageVerbosity": 0,
"enableEchoByWord": false,
"spellcheckSpellSuggestion": true,
"enableModifierKeys": true,
"speakMultiCaseStringsAsWords": false,
"flashIsDetailed": true,
"speakCellHeaders": true,
"rewindAndFastForwardInSayAll": false,
"sayAllContextList": false,
"speakContextBlockquote": false,
"enableEchoByCharacter": false,
"playSoundForValue": false,
"progressBarUpdateInterval": 10,
"spellcheckPresentContext": true,
"speechServerInfo": null,
"chatRoomHistories": false,
"readFullRowInDocumentTable": true,
"startingProfile": [
"Default",
"default"
]
},
"keybindings": {},
"profiles": {
"default": {
"profile": [
"Default",
"default"
],
"brailleContractionTable": "/usr/share/liblouis/tables/en-us-compbrl.ctb",
"voices": {
"default": {
"established": false
},
"system": {
"established": false
},
"uppercase": {
"average-pitch": 7.0
},
"hyperlink": {
"established": false
}
},
"pronunciations": {},
"speechServerInfo": [
"Default Synthesizer",
"default"
],
"keybindings": {},
"speechServerFactory": "cthulhu.speechdispatcherfactory"
}
},
"pronunciations": {}
}

View File

@ -0,0 +1,77 @@
#!/usr/bin/python
"""Test of messages associated with dynamic headers."""
from macaroon.playback import *
import utils
sequence = MacroSequence()
sequence.append(PauseAction(3000))
sequence.append(KeyComboAction("Down"))
sequence.append(PauseAction(3000))
sequence.append(KeyComboAction("<Control>Home"))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("r"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
sequence.append(utils.AssertPresentationAction(
"1. Set column headers",
["BRAILLE LINE: 'Dynamic column header set for row 1'",
" VISIBLE: 'Dynamic column header set for ro', cursor=0",
"SPEECH OUTPUT: 'Dynamic column header set for row 1'"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("r"))
sequence.append(KeyComboAction("r"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
sequence.append(utils.AssertPresentationAction(
"2. Clear column headers",
["KNOWN ISSUE: We don't want to show the table here",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Sheet Sheet1 table A1'",
" VISIBLE: 'table A1', cursor=7",
"BRAILLE LINE: 'Dynamic column header set for row 1'",
" VISIBLE: 'Dynamic column header set for ro', cursor=0",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Sheet Sheet1 table A1'",
" VISIBLE: 'table A1', cursor=7",
"BRAILLE LINE: 'Dynamic column header cleared.'",
" VISIBLE: 'Dynamic column header cleared.', cursor=0",
"SPEECH OUTPUT: 'Dynamic column header set for row 1' voice=system",
"SPEECH OUTPUT: 'Dynamic column header cleared.' voice=system"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("c"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
sequence.append(utils.AssertPresentationAction(
"3. Set row headers",
["KNOWN ISSUE: We don't want to show the table here",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Sheet Sheet1 table A1'",
" VISIBLE: 'table A1', cursor=7",
"BRAILLE LINE: 'Dynamic row header set for column A'",
" VISIBLE: 'Dynamic row header set for colum', cursor=0",
"SPEECH OUTPUT: 'Dynamic row header set for column A' voice=system"]))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyPressAction(0, None, "KP_Insert"))
sequence.append(KeyComboAction("c"))
sequence.append(KeyComboAction("c"))
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
sequence.append(utils.AssertPresentationAction(
"4. Clear row headers",
["KNOWN ISSUE: We don't want to show the table here",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Sheet Sheet1 table A1'",
" VISIBLE: 'table A1', cursor=7",
"BRAILLE LINE: 'Dynamic row header set for column A'",
" VISIBLE: 'Dynamic row header set for colum', cursor=0",
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Calc root pane Untitled 1 - LibreOffice Spreadsheets Sheet Sheet1 table A1'",
" VISIBLE: 'table A1', cursor=7",
"BRAILLE LINE: 'Dynamic row header cleared.'",
" VISIBLE: 'Dynamic row header cleared.', cursor=0",
"SPEECH OUTPUT: 'Dynamic row header set for column A' voice=system",
"SPEECH OUTPUT: 'Dynamic row header cleared.' voice=system"]))
sequence.append(utils.AssertionSummaryAction())
sequence.start()

View File

@ -0,0 +1 @@
PARAMS=$TEST_DIR/../../documents/fruit.ods

View File

@ -0,0 +1,43 @@
#!/usr/bin/python
"""Test presentation of checked menu item state."""
from macaroon.playback import *
import utils
sequence = MacroSequence()
sequence.append(PauseAction(3000))
sequence.append(KeyComboAction("<Alt>v"))
sequence.append(KeyComboAction("Down"))
sequence.append(KeyComboAction("Down"))
sequence.append(KeyComboAction("Down"))
sequence.append(PauseAction(3000))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"1. Arrow to the check menu item (checked)",
["BRAILLE LINE: 'soffice application <x> Formula Bar check menu item'",
" VISIBLE: '<x> Formula Bar check menu item', cursor=1",
"SPEECH OUTPUT: 'Formula Bar check menu item checked.'"]))
sequence.append(KeyComboAction("Return"))
sequence.append(KeyComboAction("<Alt>v"))
sequence.append(KeyComboAction("Down"))
sequence.append(KeyComboAction("Down"))
sequence.append(KeyComboAction("Down"))
sequence.append(PauseAction(3000))
sequence.append(utils.StartRecordingAction())
sequence.append(KeyComboAction("Down"))
sequence.append(utils.AssertPresentationAction(
"2. Arrow to the check menu item (unchecked)",
["BRAILLE LINE: 'soffice application View menu < > Formula Bar check menu item'",
" VISIBLE: '< > Formula Bar check menu item', cursor=1",
"SPEECH OUTPUT: 'menu'",
"SPEECH OUTPUT: 'Formula Bar check menu item not checked.'"]))
sequence.append(KeyComboAction("Return"))
sequence.append(utils.AssertionSummaryAction())
sequence.start()