Remove files that should be ignored based on .gitignore
This commit is contained in:
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../documents/table-sample.odt
|
@ -1,66 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of speech output when tabbing amongst table cells."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to Tue",
|
||||
["BRAILLE LINE: 'Tue $l'",
|
||||
" VISIBLE: 'Tue $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Tue C1.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Tab to Wed",
|
||||
["BRAILLE LINE: 'Wed $l'",
|
||||
" VISIBLE: 'Wed $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Wed D1.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Tab to Thu",
|
||||
["BRAILLE LINE: 'Thu $l'",
|
||||
" VISIBLE: 'Thu $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Thu E1.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Tab to Fri",
|
||||
["BRAILLE LINE: 'Fri $l'",
|
||||
" VISIBLE: 'Fri $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Fri F1.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Tab to Sat",
|
||||
["BRAILLE LINE: 'Sat $l'",
|
||||
" VISIBLE: 'Sat $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Sat G1.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Tab to blank cell in next row",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'blank A2.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,60 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test presentation of caret navigation by line."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(TypeAction("Line 1"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("Line 2"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Return to top of document",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Arrow down to 'Line 2'",
|
||||
["BRAILLE LINE: 'Line 2 $l'",
|
||||
" VISIBLE: 'Line 2 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Arrow down over the empty line",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'blank'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Arrow up to 'Line 2'",
|
||||
["BRAILLE LINE: 'Line 2 $l'",
|
||||
" VISIBLE: 'Line 2 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Arrow up to 'Line 1'",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 1'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,54 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test presentation of caret navigation by line in list with bullets."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyComboAction("<Shift>F12"))
|
||||
sequence.append(TypeAction("Line 1"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("Line 2"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("Line 3"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Down to next bulleted line",
|
||||
["BRAILLE LINE: '• Line 2 $l'",
|
||||
" VISIBLE: '• Line 2 $l', cursor=3",
|
||||
"SPEECH OUTPUT: '• Line 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down to next bulleted line",
|
||||
["BRAILLE LINE: '• Line 3 $l'",
|
||||
" VISIBLE: '• Line 3 $l', cursor=3",
|
||||
"SPEECH OUTPUT: '• Line 3'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Up to previous bulleted line",
|
||||
["BRAILLE LINE: '• Line 2 $l'",
|
||||
" VISIBLE: '• Line 2 $l', cursor=3",
|
||||
"SPEECH OUTPUT: '• Line 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Up to previous bulleted line",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document • Line 1 $l'",
|
||||
" VISIBLE: '• Line 1 $l', cursor=3",
|
||||
"SPEECH OUTPUT: '• Line 1'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../documents/spanish.odt
|
@ -1,88 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of presentation of caret navigation by paragraph."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Next paragraph",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1",
|
||||
"SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse elements as: fear, surprise, ruthless efficiency, an almost fanatical devotion to the Pope, and nice red uniforms - Oh damn!'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Next paragraph",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'blank'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Next paragraph",
|
||||
["BRAILLE LINE: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'",
|
||||
" VISIBLE: 'Now old lady, you have one last ', cursor=1",
|
||||
"SPEECH OUTPUT: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject the works of the ungodly. Two last chances. And you shall be free. Three last chances. You have three last chances, the nature of which I have divulged in my previous utterance.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Next paragraph",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'blank'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Next paragraph",
|
||||
["BRAILLE LINE: 'Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR! $l'",
|
||||
" VISIBLE: 'Hm! She is made of harder stuff!', cursor=1",
|
||||
"SPEECH OUTPUT: 'Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR!'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Previous paragraph",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'blank'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Previous paragraph",
|
||||
["BRAILLE LINE: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'",
|
||||
" VISIBLE: 'Now old lady, you have one last ', cursor=1",
|
||||
"SPEECH OUTPUT: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject the works of the ungodly. Two last chances. And you shall be free. Three last chances. You have three last chances, the nature of which I have divulged in my previous utterance.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Previous paragraph",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'blank'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Previous paragraph",
|
||||
["BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse $l'",
|
||||
" VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1",
|
||||
"SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse elements as: fear, surprise, ruthless efficiency, an almost fanatical devotion to the Pope, and nice red uniforms - Oh damn!'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,117 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test presentation of caret navigation by word."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(TypeAction("This is a test."))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("So is this."))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=6",
|
||||
"SPEECH OUTPUT: 'is '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=9",
|
||||
"SPEECH OUTPUT: 'a '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=11",
|
||||
"SPEECH OUTPUT: 'test.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=15",
|
||||
"SPEECH OUTPUT: '.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=16",
|
||||
"SPEECH OUTPUT: 'blank' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Next Word",
|
||||
["BRAILLE LINE: 'So is this. $l'",
|
||||
" VISIBLE: 'So is this. $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'So '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=16",
|
||||
"SPEECH OUTPUT: 'blank' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=15",
|
||||
"SPEECH OUTPUT: '.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=11",
|
||||
"SPEECH OUTPUT: 'test.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=9",
|
||||
"SPEECH OUTPUT: 'a '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=6",
|
||||
"SPEECH OUTPUT: 'is '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'This '"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,26 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test to verify what is announced when you create a new document."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>N"))
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"New text document",
|
||||
["BRAILLE LINE: 'soffice application Untitled 2 - LibreOffice Writer frame'",
|
||||
" VISIBLE: 'Untitled 2 - LibreOffice Writer ', cursor=1",
|
||||
"BRAILLE LINE: 'soffice application Untitled 2 - LibreOffice Writer root pane Untitled 2 - LibreOffice Document $l'",
|
||||
" VISIBLE: 'Document $l', cursor=10",
|
||||
"SPEECH OUTPUT: 'Untitled 2 - LibreOffice Writer frame'",
|
||||
"SPEECH OUTPUT: 'blank'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,99 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("<Shift>F10"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Review current line",
|
||||
["BRAILLE LINE: 'Paste $l'",
|
||||
" VISIBLE: 'Paste $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Paste'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Review previous line",
|
||||
[""]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Review current line",
|
||||
["BRAILLE LINE: 'Paste $l'",
|
||||
" VISIBLE: 'Paste $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Paste'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Review next line",
|
||||
["BRAILLE LINE: 'separator $l'",
|
||||
" VISIBLE: 'separator $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'separator'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Review next line",
|
||||
["BRAILLE LINE: 'Character... $l'",
|
||||
" VISIBLE: 'Character... $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Character...'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Review next line",
|
||||
["BRAILLE LINE: 'Paragraph... $l'",
|
||||
" VISIBLE: 'Paragraph... $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Paragraph...'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Review next line",
|
||||
["BRAILLE LINE: 'Bullets and Numbering... $l'",
|
||||
" VISIBLE: 'Bullets and Numbering... $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Bullets and Numbering...'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Review next line",
|
||||
["BRAILLE LINE: 'Page... $l'",
|
||||
" VISIBLE: 'Page... $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Page...'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Review next line",
|
||||
["BRAILLE LINE: 'separator $l'",
|
||||
" VISIBLE: 'separator $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'separator'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Review next line",
|
||||
["BRAILLE LINE: 'Styles $l'",
|
||||
" VISIBLE: 'Styles $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Styles'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Review next line",
|
||||
[""]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
||||
|
@ -1,107 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test flat review by line."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(1000))
|
||||
sequence.append(KeyComboAction("<Alt>v"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
|
||||
sequence.append(TypeAction("Line 1"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("Line 2"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Review current line.",
|
||||
["BRAILLE LINE: 'Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Review next line.",
|
||||
["BRAILLE LINE: 'Line 2 $l'",
|
||||
" VISIBLE: 'Line 2 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Spell current line.",
|
||||
["BRAILLE LINE: 'Line 2 $l'",
|
||||
" VISIBLE: 'Line 2 $l', cursor=1",
|
||||
"BRAILLE LINE: 'Line 2 $l'",
|
||||
" VISIBLE: 'Line 2 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 2'",
|
||||
"SPEECH OUTPUT: 'L'",
|
||||
"SPEECH OUTPUT: 'i'",
|
||||
"SPEECH OUTPUT: 'n'",
|
||||
"SPEECH OUTPUT: 'e'",
|
||||
"SPEECH OUTPUT: 'space'",
|
||||
"SPEECH OUTPUT: '2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Phonetic spell current line.",
|
||||
["BRAILLE LINE: 'Line 2 $l'",
|
||||
" VISIBLE: 'Line 2 $l', cursor=1",
|
||||
"BRAILLE LINE: 'Line 2 $l'",
|
||||
" VISIBLE: 'Line 2 $l', cursor=1",
|
||||
"BRAILLE LINE: 'Line 2 $l'",
|
||||
" VISIBLE: 'Line 2 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 2'",
|
||||
"SPEECH OUTPUT: 'L'",
|
||||
"SPEECH OUTPUT: 'i'",
|
||||
"SPEECH OUTPUT: 'n'",
|
||||
"SPEECH OUTPUT: 'e'",
|
||||
"SPEECH OUTPUT: 'space'",
|
||||
"SPEECH OUTPUT: '2'",
|
||||
"SPEECH OUTPUT: 'lima'",
|
||||
"SPEECH OUTPUT: 'india'",
|
||||
"SPEECH OUTPUT: 'november'",
|
||||
"SPEECH OUTPUT: 'echo'",
|
||||
"SPEECH OUTPUT: ' '",
|
||||
"SPEECH OUTPUT: '2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Review previous line.",
|
||||
["BRAILLE LINE: 'Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 1'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../documents/column-example.odt
|
@ -1,136 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test flat review in multi-columned text."""
|
||||
|
||||
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(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
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. Down to menu item",
|
||||
["BRAILLE LINE: 'soffice application View menu <x> Sidebar check menu item'",
|
||||
" VISIBLE: '<x> Sidebar check menu item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Sidebar check menu item checked.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Return on menu item",
|
||||
["KNOWN ISSUE: We're not presenting anything here",
|
||||
""]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down in document",
|
||||
["BRAILLE LINE: '10, 2006 editor@eff.org $l'",
|
||||
" VISIBLE: '10, 2006 editor@eff.org $l', cursor=1",
|
||||
"SPEECH OUTPUT: '10, 2006 editor@eff.org link'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Top of file.",
|
||||
["BRAILLE LINE: 'soffice application column-example.odt - LibreOffice Writer root pane column-example - LibreOffice Document EFFector Vol. 19, No. 38 October $l'",
|
||||
" VISIBLE: 'EFFector Vol. 19, No. 38 Octobe', cursor=1",
|
||||
"SPEECH OUTPUT: 'EFFector Vol. 19, No. 38 October '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Review current line.",
|
||||
["BRAILLE LINE: 'EFFector Vol. 19, No. 38 October first lawsuit against $l'",
|
||||
" VISIBLE: 'EFFector Vol. 19, No. 38 Octobe', cursor=1",
|
||||
"SPEECH OUTPUT: 'EFFector Vol. 19, No. 38 October first lawsuit against ",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Review current line.",
|
||||
["BRAILLE LINE: 'EFFector Vol. 19, No. 38 October first lawsuit against $l'",
|
||||
" VISIBLE: 'EFFector Vol. 19, No. 38 Octobe', cursor=1",
|
||||
"SPEECH OUTPUT: 'EFFector Vol. 19, No. 38 October first lawsuit against ",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Review next line.",
|
||||
["BRAILLE LINE: '10, 2006 editor@eff.org the Department of Justice last $l'",
|
||||
" VISIBLE: '10, 2006 editor@eff.org the Dep', cursor=1",
|
||||
"SPEECH OUTPUT: '10, 2006 editor@eff.org",
|
||||
" the Department of Justice last '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Review next line.",
|
||||
["BRAILLE LINE: ' week after the FBI failed to $l'",
|
||||
" VISIBLE: ' week after the FBI failed to $', cursor=1",
|
||||
"SPEECH OUTPUT: '",
|
||||
" week after the FBI failed to ",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Review next line.",
|
||||
["BRAILLE LINE: 'A Publication of the Electronic respond to a Freedom of $l'",
|
||||
" VISIBLE: 'A Publication of the Electronic ', cursor=1",
|
||||
"SPEECH OUTPUT: 'A Publication of the Electronic respond to a Freedom of '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Review previous line.",
|
||||
["BRAILLE LINE: ' week after the FBI failed to $l'",
|
||||
" VISIBLE: ' week after the FBI failed to $', cursor=1",
|
||||
"SPEECH OUTPUT: '",
|
||||
" week after the FBI failed to ",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Review previous line.",
|
||||
["BRAILLE LINE: '10, 2006 editor@eff.org the Department of Justice last $l'",
|
||||
" VISIBLE: '10, 2006 editor@eff.org the Dep', cursor=1",
|
||||
"SPEECH OUTPUT: '10, 2006 editor@eff.org",
|
||||
" the Department of Justice last '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Review previous line.",
|
||||
["BRAILLE LINE: 'EFFector Vol. 19, No. 38 October first lawsuit against $l'",
|
||||
" VISIBLE: 'EFFector Vol. 19, No. 38 Octobe', cursor=1",
|
||||
"SPEECH OUTPUT: 'EFFector Vol. 19, No. 38 October first lawsuit against ",
|
||||
"'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,102 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test flat review on menubar."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("F6"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Review previous line.",
|
||||
["BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'File Edit View Insert Format Sty', cursor=1",
|
||||
"SPEECH OUTPUT: 'File Edit View Insert Format Styles Table Form Tools Window Help'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Review current word.",
|
||||
["BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'File Edit View Insert Format Sty', cursor=1",
|
||||
"SPEECH OUTPUT: 'File'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Review next word.",
|
||||
["BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'Edit View Insert Format Styles T', cursor=1",
|
||||
"SPEECH OUTPUT: 'Edit'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Review next word.",
|
||||
["BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'View Insert Format Styles Table ', cursor=1",
|
||||
"SPEECH OUTPUT: 'View'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_4"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Review previous word.",
|
||||
["BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'Edit View Insert Format Styles T', cursor=1",
|
||||
"SPEECH OUTPUT: 'Edit'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_4"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Review previous word.",
|
||||
["BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'File Edit View Insert Format Sty', cursor=1",
|
||||
"SPEECH OUTPUT: 'File'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Review current char.",
|
||||
["BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'File Edit View Insert Format Sty', cursor=1",
|
||||
"SPEECH OUTPUT: 'F'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Spell current char.",
|
||||
["BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'File Edit View Insert Format Sty', cursor=1",
|
||||
"BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'File Edit View Insert Format Sty', cursor=1",
|
||||
"SPEECH OUTPUT: 'F'",
|
||||
"SPEECH OUTPUT: 'foxtrot'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Unicode for current char.",
|
||||
["BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'File Edit View Insert Format Sty', cursor=1",
|
||||
"BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'File Edit View Insert Format Sty', cursor=1",
|
||||
"BRAILLE LINE: 'File Edit View Insert Format Styles Table Form Tools Window Help $l'",
|
||||
" VISIBLE: 'File Edit View Insert Format Sty', cursor=1",
|
||||
"SPEECH OUTPUT: 'F'",
|
||||
"SPEECH OUTPUT: 'foxtrot'",
|
||||
"SPEECH OUTPUT: 'Unicode 0046'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,136 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test flat review by word."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(1000))
|
||||
sequence.append(KeyComboAction("<Alt>v"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
|
||||
sequence.append(TypeAction("Line 1"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("Line 2"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Review current word.",
|
||||
["BRAILLE LINE: 'Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Spell current word.",
|
||||
["BRAILLE LINE: 'Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"BRAILLE LINE: 'Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line '",
|
||||
"SPEECH OUTPUT: 'L'",
|
||||
"SPEECH OUTPUT: 'i'",
|
||||
"SPEECH OUTPUT: 'n'",
|
||||
"SPEECH OUTPUT: 'e'",
|
||||
"SPEECH OUTPUT: 'space'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Phonetic spell current word.",
|
||||
["BRAILLE LINE: 'Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"BRAILLE LINE: 'Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"BRAILLE LINE: 'Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line '",
|
||||
"SPEECH OUTPUT: 'L'",
|
||||
"SPEECH OUTPUT: 'i'",
|
||||
"SPEECH OUTPUT: 'n'",
|
||||
"SPEECH OUTPUT: 'e'",
|
||||
"SPEECH OUTPUT: 'space'",
|
||||
"SPEECH OUTPUT: 'lima'",
|
||||
"SPEECH OUTPUT: 'india'",
|
||||
"SPEECH OUTPUT: 'november'",
|
||||
"SPEECH OUTPUT: 'echo'",
|
||||
"SPEECH OUTPUT: ' '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Review next word.",
|
||||
["BRAILLE LINE: 'Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=6",
|
||||
"SPEECH OUTPUT: '1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Review next word.",
|
||||
["BRAILLE LINE: 'Line 2 $l'",
|
||||
" VISIBLE: 'Line 2 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Review next word.",
|
||||
["BRAILLE LINE: 'Line 2 $l'",
|
||||
" VISIBLE: 'Line 2 $l', cursor=6",
|
||||
"SPEECH OUTPUT: '2'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_4"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Review previous word.",
|
||||
["BRAILLE LINE: 'Line 2 $l'",
|
||||
" VISIBLE: 'Line 2 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line '"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_4"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Review previous word.",
|
||||
["BRAILLE LINE: 'Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=6",
|
||||
"SPEECH OUTPUT: '1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_4"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Review previous word.",
|
||||
["BRAILLE LINE: 'Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line '"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,98 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test to verify table message presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(TypeAction("Line 1"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
|
||||
sequence.append(KeyComboAction("<Control>F12"))
|
||||
sequence.append(PauseAction(1000))
|
||||
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
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 enter the table",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Table1-1.'",
|
||||
"SPEECH OUTPUT: 'table with 2 rows 2 columns'",
|
||||
"SPEECH OUTPUT: 'A1 B1.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down arrow to next row of the table",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'A2 B2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down arrow to exit the table",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'leaving table.'",
|
||||
"SPEECH OUTPUT: 'blank'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Up arrow to enter the table",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Table1-1.'",
|
||||
"SPEECH OUTPUT: 'table with 2 rows 2 columns'",
|
||||
"SPEECH OUTPUT: 'A2 B2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Tab to move to last cell of the table",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'End of table.'",
|
||||
"SPEECH OUTPUT: 'blank B2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Tab to insert a new row in the table",
|
||||
["BRAILLE LINE: 'Row inserted at the end of the table.'",
|
||||
" VISIBLE: 'Row inserted at the end of the t', cursor=0",
|
||||
"BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Row inserted at the end of the table.' voice=system",
|
||||
"SPEECH OUTPUT: 'blank A3.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Z"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Ctrl+Z to undo that insertion",
|
||||
["BRAILLE LINE: 'undo'",
|
||||
" VISIBLE: 'undo', cursor=0",
|
||||
"BRAILLE LINE: 'Last row deleted.'",
|
||||
" VISIBLE: 'Last row deleted.', cursor=0",
|
||||
"BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'undo' voice=system",
|
||||
"SPEECH OUTPUT: 'Last row deleted.' voice=system",
|
||||
"SPEECH OUTPUT: 'End of table.'",
|
||||
"SPEECH OUTPUT: 'A2 B2.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,165 +0,0 @@
|
||||
{
|
||||
"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": {
|
||||
"average-pitch": 3.0
|
||||
},
|
||||
"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": {
|
||||
"average-pitch": 3.0
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"pronunciations": {},
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"keybindings": {},
|
||||
"speechServerFactory": "cthulhu.speechdispatcherfactory"
|
||||
}
|
||||
},
|
||||
"pronunciations": {}
|
||||
}
|
@ -1,93 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test to verify table message presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(TypeAction("Line 1"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
|
||||
sequence.append(KeyComboAction("<Control>F12"))
|
||||
sequence.append(PauseAction(1000))
|
||||
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
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 enter the table",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'A1 B1.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down arrow to next row of the table",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'A2 B2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down arrow to exit the table",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'blank'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Up arrow to enter the table",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'A2 B2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Tab to move to last cell of the table",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'End of table.'",
|
||||
"SPEECH OUTPUT: 'blank B2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Tab to insert a new row in the table",
|
||||
["BRAILLE LINE: 'Row inserted at the end of the table.'",
|
||||
" VISIBLE: 'Row inserted at the end of the t', cursor=0",
|
||||
"BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Row inserted at the end of the table.' voice=system",
|
||||
"SPEECH OUTPUT: 'blank A3.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Z"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Ctrl+Z to undo that insertion",
|
||||
["BRAILLE LINE: 'undo'",
|
||||
" VISIBLE: 'undo', cursor=0",
|
||||
"BRAILLE LINE: 'Last row deleted.'",
|
||||
" VISIBLE: 'Last row deleted.', cursor=0",
|
||||
"BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'undo' voice=system",
|
||||
"SPEECH OUTPUT: 'Last row deleted.' voice=system",
|
||||
"SPEECH OUTPUT: 'End of table.'",
|
||||
"SPEECH OUTPUT: 'A2 B2.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,165 +0,0 @@
|
||||
{
|
||||
"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": {
|
||||
"average-pitch": 3.0
|
||||
},
|
||||
"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": {
|
||||
"average-pitch": 3.0
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"pronunciations": {},
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"keybindings": {},
|
||||
"speechServerFactory": "cthulhu.speechdispatcherfactory"
|
||||
}
|
||||
},
|
||||
"pronunciations": {}
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test to verify SayAll works in Writer."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(TypeAction("Line 1"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("Line 2"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("Line 3"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("Line 4"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Return to top of document",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document Line 1 $l'",
|
||||
" VISIBLE: 'Line 1 $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Line 1'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Add"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Say all on document",
|
||||
["SPEECH OUTPUT: 'Line 1'",
|
||||
"SPEECH OUTPUT: 'Line 2'",
|
||||
"SPEECH OUTPUT: 'Line 3'",
|
||||
"SPEECH OUTPUT: 'Line 4'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,31 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test SayAll presentation in document without sentence punctuation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(TypeAction("The quick"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("brown"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("fox jumps over"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("the lazy dog"))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Add"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. SayAll",
|
||||
["SPEECH OUTPUT: 'The quick'",
|
||||
"SPEECH OUTPUT: 'brown'",
|
||||
"SPEECH OUTPUT: 'fox jumps over'",
|
||||
"SPEECH OUTPUT: 'the lazy dog'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../documents/table-sample.odt
|
@ -1,65 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test to verify SayAll works in Writer."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
sequence.append(PauseAction(2000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Add"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Say all",
|
||||
["SPEECH OUTPUT: 'December 2006'",
|
||||
"SPEECH OUTPUT: 'This is a test.'",
|
||||
"SPEECH OUTPUT: 'Calendar-1.'",
|
||||
"SPEECH OUTPUT: 'table with 7 rows 7 columns'",
|
||||
"SPEECH OUTPUT: 'Sun'",
|
||||
"SPEECH OUTPUT: 'Mon'",
|
||||
"SPEECH OUTPUT: 'Tue'",
|
||||
"SPEECH OUTPUT: 'Wed'",
|
||||
"SPEECH OUTPUT: 'Thu'",
|
||||
"SPEECH OUTPUT: 'Fri'",
|
||||
"SPEECH OUTPUT: 'Sat'",
|
||||
"SPEECH OUTPUT: '1'",
|
||||
"SPEECH OUTPUT: '2'",
|
||||
"SPEECH OUTPUT: '3'",
|
||||
"SPEECH OUTPUT: '4'",
|
||||
"SPEECH OUTPUT: '5'",
|
||||
"SPEECH OUTPUT: '6'",
|
||||
"SPEECH OUTPUT: '7'",
|
||||
"SPEECH OUTPUT: '8'",
|
||||
"SPEECH OUTPUT: '9'",
|
||||
"SPEECH OUTPUT: '10'",
|
||||
"SPEECH OUTPUT: '11'",
|
||||
"SPEECH OUTPUT: '12'",
|
||||
"SPEECH OUTPUT: '13'",
|
||||
"SPEECH OUTPUT: '14'",
|
||||
"SPEECH OUTPUT: '15'",
|
||||
"SPEECH OUTPUT: '16'",
|
||||
"SPEECH OUTPUT: '17'",
|
||||
"SPEECH OUTPUT: '18'",
|
||||
"SPEECH OUTPUT: '19'",
|
||||
"SPEECH OUTPUT: '20'",
|
||||
"SPEECH OUTPUT: '21'",
|
||||
"SPEECH OUTPUT: '22'",
|
||||
"SPEECH OUTPUT: '23'",
|
||||
"SPEECH OUTPUT: '24'",
|
||||
"SPEECH OUTPUT: '25'",
|
||||
"SPEECH OUTPUT: '26'",
|
||||
"SPEECH OUTPUT: '27'",
|
||||
"SPEECH OUTPUT: '28'",
|
||||
"SPEECH OUTPUT: '29'",
|
||||
"SPEECH OUTPUT: '30'",
|
||||
"SPEECH OUTPUT: '31'",
|
||||
"SPEECH OUTPUT: 'leaving table.'",
|
||||
"SPEECH OUTPUT: 'So is this.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,165 +0,0 @@
|
||||
{
|
||||
"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": {
|
||||
"average-pitch": 3.0
|
||||
},
|
||||
"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": {
|
||||
"average-pitch": 3.0
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"pronunciations": {},
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"keybindings": {},
|
||||
"speechServerFactory": "cthulhu.speechdispatcherfactory"
|
||||
}
|
||||
},
|
||||
"pronunciations": {}
|
||||
}
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../documents/table-sample.odt
|
@ -1,62 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test to verify SayAll works in Writer."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
sequence.append(PauseAction(2000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Add"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Say all",
|
||||
["SPEECH OUTPUT: 'December 2006'",
|
||||
"SPEECH OUTPUT: 'This is a test.'",
|
||||
"SPEECH OUTPUT: 'Sun'",
|
||||
"SPEECH OUTPUT: 'Mon'",
|
||||
"SPEECH OUTPUT: 'Tue'",
|
||||
"SPEECH OUTPUT: 'Wed'",
|
||||
"SPEECH OUTPUT: 'Thu'",
|
||||
"SPEECH OUTPUT: 'Fri'",
|
||||
"SPEECH OUTPUT: 'Sat'",
|
||||
"SPEECH OUTPUT: '1'",
|
||||
"SPEECH OUTPUT: '2'",
|
||||
"SPEECH OUTPUT: '3'",
|
||||
"SPEECH OUTPUT: '4'",
|
||||
"SPEECH OUTPUT: '5'",
|
||||
"SPEECH OUTPUT: '6'",
|
||||
"SPEECH OUTPUT: '7'",
|
||||
"SPEECH OUTPUT: '8'",
|
||||
"SPEECH OUTPUT: '9'",
|
||||
"SPEECH OUTPUT: '10'",
|
||||
"SPEECH OUTPUT: '11'",
|
||||
"SPEECH OUTPUT: '12'",
|
||||
"SPEECH OUTPUT: '13'",
|
||||
"SPEECH OUTPUT: '14'",
|
||||
"SPEECH OUTPUT: '15'",
|
||||
"SPEECH OUTPUT: '16'",
|
||||
"SPEECH OUTPUT: '17'",
|
||||
"SPEECH OUTPUT: '18'",
|
||||
"SPEECH OUTPUT: '19'",
|
||||
"SPEECH OUTPUT: '20'",
|
||||
"SPEECH OUTPUT: '21'",
|
||||
"SPEECH OUTPUT: '22'",
|
||||
"SPEECH OUTPUT: '23'",
|
||||
"SPEECH OUTPUT: '24'",
|
||||
"SPEECH OUTPUT: '25'",
|
||||
"SPEECH OUTPUT: '26'",
|
||||
"SPEECH OUTPUT: '27'",
|
||||
"SPEECH OUTPUT: '28'",
|
||||
"SPEECH OUTPUT: '29'",
|
||||
"SPEECH OUTPUT: '30'",
|
||||
"SPEECH OUTPUT: '31'",
|
||||
"SPEECH OUTPUT: 'So is this.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,165 +0,0 @@
|
||||
{
|
||||
"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": {
|
||||
"average-pitch": 3.0
|
||||
},
|
||||
"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": {
|
||||
"average-pitch": 3.0
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 7.0
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"pronunciations": {},
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"keybindings": {},
|
||||
"speechServerFactory": "cthulhu.speechdispatcherfactory"
|
||||
}
|
||||
},
|
||||
"pronunciations": {}
|
||||
}
|
@ -1,224 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Cthulhu's presentation of Writer word navigation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(TypeAction("This is a test."))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("So is this."))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Select Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=6",
|
||||
"SPEECH OUTPUT: 'This '",
|
||||
"SPEECH OUTPUT: 'selected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Select Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=9",
|
||||
"SPEECH OUTPUT: 'is '",
|
||||
"SPEECH OUTPUT: 'selected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Select Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=11",
|
||||
"SPEECH OUTPUT: 'a '",
|
||||
"SPEECH OUTPUT: 'selected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Select Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=15",
|
||||
"SPEECH OUTPUT: 'test'",
|
||||
"SPEECH OUTPUT: 'selected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Select Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=16",
|
||||
"SPEECH OUTPUT: 'dot'",
|
||||
"SPEECH OUTPUT: 'selected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Unselect Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=15",
|
||||
"SPEECH OUTPUT: 'dot'",
|
||||
"SPEECH OUTPUT: 'unselected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Unselect Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=11",
|
||||
"SPEECH OUTPUT: 'test'",
|
||||
"SPEECH OUTPUT: 'unselected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Unselect Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=9",
|
||||
"SPEECH OUTPUT: 'a '",
|
||||
"SPEECH OUTPUT: 'unselected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Unselect Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=6",
|
||||
"SPEECH OUTPUT: 'is '",
|
||||
"SPEECH OUTPUT: 'unselected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Unselect Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'This '",
|
||||
"SPEECH OUTPUT: 'unselected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>End"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Move to end of document",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: ' This is a test. $l', cursor=1",
|
||||
"BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'blank'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Select Previous Word",
|
||||
["BRAILLE LINE: 'So is this. $l'",
|
||||
" VISIBLE: 'So is this. $l', cursor=11",
|
||||
"SPEECH OUTPUT: 'dot'",
|
||||
"SPEECH OUTPUT: 'selected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Select Previous Word",
|
||||
["BRAILLE LINE: 'So is this. $l'",
|
||||
" VISIBLE: 'So is this. $l', cursor=7",
|
||||
"SPEECH OUTPUT: 'this'",
|
||||
"SPEECH OUTPUT: 'selected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Select Previous Word",
|
||||
["BRAILLE LINE: 'So is this. $l'",
|
||||
" VISIBLE: 'So is this. $l', cursor=4",
|
||||
"SPEECH OUTPUT: 'is '",
|
||||
"SPEECH OUTPUT: 'selected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Select Previous Word",
|
||||
["BRAILLE LINE: 'So is this. $l'",
|
||||
" VISIBLE: 'So is this. $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'So '",
|
||||
"SPEECH OUTPUT: 'selected' voice=system"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"16. Select Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=15",
|
||||
"SPEECH OUTPUT: 'dot'",
|
||||
"SPEECH OUTPUT: 'selected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"17. Select Previous Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=11",
|
||||
"SPEECH OUTPUT: 'test'",
|
||||
"SPEECH OUTPUT: 'selected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"18. Unselect Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=15",
|
||||
"SPEECH OUTPUT: 'test'",
|
||||
"SPEECH OUTPUT: 'unselected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"19. Unselect Next Word",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Untitled 1 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=16",
|
||||
"SPEECH OUTPUT: 'dot'",
|
||||
"SPEECH OUTPUT: 'unselected' voice=system"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Control><Shift>Right"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"20. Unselect Next Word",
|
||||
["BRAILLE LINE: 'So is this. $l'",
|
||||
" VISIBLE: 'So is this. $l', cursor=4",
|
||||
"SPEECH OUTPUT: 'So '",
|
||||
"SPEECH OUTPUT: 'unselected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"21. Unselect Next Word",
|
||||
["BRAILLE LINE: 'So is this. $l'",
|
||||
" VISIBLE: 'So is this. $l', cursor=7",
|
||||
"SPEECH OUTPUT: 'is '",
|
||||
"SPEECH OUTPUT: 'unselected' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"22. Unselect Next Word",
|
||||
["BRAILLE LINE: 'So is this. $l'",
|
||||
" VISIBLE: 'So is this. $l', cursor=11",
|
||||
"SPEECH OUTPUT: 'this'",
|
||||
"SPEECH OUTPUT: 'unselected' voice=system"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,56 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test to verify spell checking support."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(TypeAction("The quuuiick brown fox"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(TypeAction("jumps overr the lazy dog"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("F7"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Enter F7 to bring up the spell checking dialog",
|
||||
["SPEECH OUTPUT: 'Spelling: English (USA) frame'",
|
||||
"SPEECH OUTPUT: 'Misspelled word: quuuiick'",
|
||||
"SPEECH OUTPUT: 'q'",
|
||||
"SPEECH OUTPUT: 'u'",
|
||||
"SPEECH OUTPUT: 'u'",
|
||||
"SPEECH OUTPUT: 'u'",
|
||||
"SPEECH OUTPUT: 'i'",
|
||||
"SPEECH OUTPUT: 'i'",
|
||||
"SPEECH OUTPUT: 'c'",
|
||||
"SPEECH OUTPUT: 'k'",
|
||||
"SPEECH OUTPUT: 'Suggestions quick'",
|
||||
"SPEECH OUTPUT: 'q'",
|
||||
"SPEECH OUTPUT: 'u'",
|
||||
"SPEECH OUTPUT: 'i'",
|
||||
"SPEECH OUTPUT: 'c'",
|
||||
"SPEECH OUTPUT: 'k'",
|
||||
"SPEECH OUTPUT: 'Context is The quuuiick brown fox'",
|
||||
"SPEECH OUTPUT: 'Spelling: English (USA) dialog'",
|
||||
"SPEECH OUTPUT: 'Correct push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt>I"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Alt I to ignore the first error and present the next",
|
||||
["SPEECH OUTPUT: 'Suggestions overt'",
|
||||
"SPEECH OUTPUT: 'o'",
|
||||
"SPEECH OUTPUT: 'v'",
|
||||
"SPEECH OUTPUT: 'e'",
|
||||
"SPEECH OUTPUT: 'r'",
|
||||
"SPEECH OUTPUT: 't'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,177 +0,0 @@
|
||||
{
|
||||
"pronunciations": {},
|
||||
"keybindings": {},
|
||||
"profiles": {
|
||||
"default": {
|
||||
"speechServerFactory": "cthulhu.speechdispatcherfactory",
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"voices": {
|
||||
"default": {
|
||||
"average-pitch": 5.0,
|
||||
"rate": 50.0,
|
||||
"gain": 10.0
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 5.6
|
||||
},
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"hyperlink": {
|
||||
"average-pitch": 3.0
|
||||
}
|
||||
},
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"keybindings": {},
|
||||
"pronunciations": {}
|
||||
}
|
||||
},
|
||||
"general": {
|
||||
"speakCellHeaders": true,
|
||||
"magEdgeMargin": 0,
|
||||
"brailleContractionTable": "",
|
||||
"magPointerFollowsFocus": false,
|
||||
"magTextTrackingMode": 2,
|
||||
"magZoomerBorderSize": 1,
|
||||
"brailleAlignmentStyle": 0,
|
||||
"enableEchoByWord": false,
|
||||
"enableMagZoomerColorInversion": false,
|
||||
"magCursorSize": 32,
|
||||
"magSmoothingMode": 0,
|
||||
"magZoomerLeft": 1200,
|
||||
"sayAllStyle": 1,
|
||||
"brailleSelectorIndicator": 192,
|
||||
"presentDateFormat": "%x",
|
||||
"magContrastLevel": 0,
|
||||
"magMouseTrackingMode": 0,
|
||||
"speakCellSpan": true,
|
||||
"progressBarUpdateInterval": 10,
|
||||
"speakCellCoordinates": true,
|
||||
"enablePauseBreaks": true,
|
||||
"brailleEOLIndicator": " $l",
|
||||
"verbalizePunctuationStyle": 1,
|
||||
"progressBarVerbosity": 1,
|
||||
"enableSpeech": true,
|
||||
"enableBraille": false,
|
||||
"chatAnnounceBuddyTyping": false,
|
||||
"speakMultiCaseStringsAsWords": false,
|
||||
"enableBrailleGrouping": false,
|
||||
"readTableCellRow": true,
|
||||
"activeProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"textAttributesBrailleIndicator": 0,
|
||||
"enableMagCursorExplicitSize": false,
|
||||
"messageVerbosityLevel": 1,
|
||||
"enableMagLiveUpdating": true,
|
||||
"enableSpeechIndentation": true,
|
||||
"enableKeyEcho": false,
|
||||
"magHideCursor": false,
|
||||
"magZoomerBorderColor": "#000000",
|
||||
"magPointerFollowsZoomer": true,
|
||||
"mouseDwellDelay": 0,
|
||||
"magBrightnessLevelRed": 0,
|
||||
"enableMagnifier": false,
|
||||
"magZoomFactor": 4.0,
|
||||
"speechServerFactory": "speechdispatcherfactory",
|
||||
"enableMagZoomerBorder": false,
|
||||
"flashVerbosityLevel": 1,
|
||||
"enableFlashMessages": true,
|
||||
"speechServerInfo": null,
|
||||
"presentToolTips": false,
|
||||
"flashIsPersistent": false,
|
||||
"brailleRequiredStateString": "required",
|
||||
"firstStart": false,
|
||||
"largeObjectTextLength": 75,
|
||||
"enableEchoBySentence": false,
|
||||
"magContrastLevelBlue": 0,
|
||||
"magContrastLevelRed": 0,
|
||||
"enableContractedBraille": false,
|
||||
"cthulhuModifierKeys": [
|
||||
"Insert",
|
||||
"KP_Insert"
|
||||
],
|
||||
"enableMagCursor": true,
|
||||
"speechRequiredStateString": "required",
|
||||
"quitCthulhuNoConfirmation": false,
|
||||
"skipBlankCells": false,
|
||||
"magCursorColor": "#000000",
|
||||
"enablePositionSpeaking": false,
|
||||
"magZoomerType": 0,
|
||||
"onlySpeakDisplayedText": false,
|
||||
"enableProgressBarUpdates": true,
|
||||
"wrappedStructuralNavigation": true,
|
||||
"chatRoomHistories": false,
|
||||
"brailleVerbosityLevel": 1,
|
||||
"enableFunctionKeys": true,
|
||||
"enableModifierKeys": true,
|
||||
"magCrossHairColor": "#000000",
|
||||
"enableTutorialMessages": false,
|
||||
"enableActionKeys": true,
|
||||
"speakBlankLines": true,
|
||||
"magColorFilteringMode": 0,
|
||||
"magZoomerRight": 2400,
|
||||
"keyboardLayout": 1,
|
||||
"magTargetDisplay": "",
|
||||
"disableBrailleEOL": false,
|
||||
"magZoomerTop": 0,
|
||||
"magSourceDisplay": "",
|
||||
"enableDiacriticalKeys": false,
|
||||
"enableMnemonicSpeaking": false,
|
||||
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
|
||||
"speechVerbosityLevel": 1,
|
||||
"enableMagCrossHair": true,
|
||||
"enableBrailleMonitor": false,
|
||||
"voices": {
|
||||
"default": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 5.6
|
||||
},
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"magContrastLevelGreen": 0,
|
||||
"brailleFlashTime": 5000,
|
||||
"magCrossHairSize": 16,
|
||||
"enableMouseReview": false,
|
||||
"enableNavigationKeys": false,
|
||||
"magBrightnessLevelGreen": 0,
|
||||
"chatSpeakRoomName": false,
|
||||
"startingProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"enableLockingKeys": true,
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"brailleRolenameStyle": 1,
|
||||
"brailleLinkIndicator": 192,
|
||||
"enableEchoByCharacter": false,
|
||||
"magBrightnessLevelBlue": 0,
|
||||
"enableBrailleContext": true,
|
||||
"magControlTrackingMode": 2,
|
||||
"magZoomerBottom": 1920,
|
||||
"enablePrintableKeys": true,
|
||||
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;",
|
||||
"chatMessageVerbosity": 0,
|
||||
"presentTimeFormat": "%X",
|
||||
"magBrightnessLevel": 0,
|
||||
"presentRequiredState": false,
|
||||
"enableMagCrossHairClip": false
|
||||
}
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of presentation of indentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(TypeAction(" This is a test."))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Up Arrow to typed line",
|
||||
["SPEECH OUTPUT: '2 tabs 3 spaces This is a test.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,177 +0,0 @@
|
||||
{
|
||||
"pronunciations": {},
|
||||
"keybindings": {},
|
||||
"profiles": {
|
||||
"default": {
|
||||
"speechServerFactory": "cthulhu.speechdispatcherfactory",
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"voices": {
|
||||
"default": {
|
||||
"average-pitch": 5.0,
|
||||
"rate": 50.0,
|
||||
"gain": 10.0
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 5.6
|
||||
},
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"hyperlink": {
|
||||
"average-pitch": 3.0
|
||||
}
|
||||
},
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"keybindings": {},
|
||||
"pronunciations": {}
|
||||
}
|
||||
},
|
||||
"general": {
|
||||
"speakCellHeaders": true,
|
||||
"magEdgeMargin": 0,
|
||||
"brailleContractionTable": "",
|
||||
"magPointerFollowsFocus": false,
|
||||
"magTextTrackingMode": 2,
|
||||
"magZoomerBorderSize": 1,
|
||||
"brailleAlignmentStyle": 0,
|
||||
"enableEchoByWord": false,
|
||||
"enableMagZoomerColorInversion": false,
|
||||
"magCursorSize": 32,
|
||||
"magSmoothingMode": 0,
|
||||
"magZoomerLeft": 1200,
|
||||
"sayAllStyle": 1,
|
||||
"brailleSelectorIndicator": 192,
|
||||
"presentDateFormat": "%x",
|
||||
"magContrastLevel": 0,
|
||||
"magMouseTrackingMode": 0,
|
||||
"speakCellSpan": true,
|
||||
"progressBarUpdateInterval": 10,
|
||||
"speakCellCoordinates": true,
|
||||
"enablePauseBreaks": true,
|
||||
"brailleEOLIndicator": " $l",
|
||||
"verbalizePunctuationStyle": 1,
|
||||
"progressBarVerbosity": 1,
|
||||
"enableSpeech": true,
|
||||
"enableBraille": false,
|
||||
"chatAnnounceBuddyTyping": false,
|
||||
"speakMultiCaseStringsAsWords": false,
|
||||
"enableBrailleGrouping": false,
|
||||
"readTableCellRow": true,
|
||||
"activeProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"textAttributesBrailleIndicator": 0,
|
||||
"enableMagCursorExplicitSize": false,
|
||||
"messageVerbosityLevel": 1,
|
||||
"enableMagLiveUpdating": true,
|
||||
"enableSpeechIndentation": true,
|
||||
"enableKeyEcho": true,
|
||||
"magHideCursor": false,
|
||||
"magZoomerBorderColor": "#000000",
|
||||
"magPointerFollowsZoomer": true,
|
||||
"mouseDwellDelay": 0,
|
||||
"magBrightnessLevelRed": 0,
|
||||
"enableMagnifier": false,
|
||||
"magZoomFactor": 4.0,
|
||||
"speechServerFactory": "speechdispatcherfactory",
|
||||
"enableMagZoomerBorder": false,
|
||||
"flashVerbosityLevel": 1,
|
||||
"enableFlashMessages": true,
|
||||
"speechServerInfo": null,
|
||||
"presentToolTips": false,
|
||||
"flashIsPersistent": false,
|
||||
"brailleRequiredStateString": "required",
|
||||
"firstStart": false,
|
||||
"largeObjectTextLength": 75,
|
||||
"enableEchoBySentence": false,
|
||||
"magContrastLevelBlue": 0,
|
||||
"magContrastLevelRed": 0,
|
||||
"enableContractedBraille": false,
|
||||
"cthulhuModifierKeys": [
|
||||
"Insert",
|
||||
"KP_Insert"
|
||||
],
|
||||
"enableMagCursor": true,
|
||||
"speechRequiredStateString": "required",
|
||||
"quitCthulhuNoConfirmation": false,
|
||||
"skipBlankCells": false,
|
||||
"magCursorColor": "#000000",
|
||||
"enablePositionSpeaking": false,
|
||||
"magZoomerType": 0,
|
||||
"onlySpeakDisplayedText": false,
|
||||
"enableProgressBarUpdates": true,
|
||||
"wrappedStructuralNavigation": true,
|
||||
"chatRoomHistories": false,
|
||||
"brailleVerbosityLevel": 1,
|
||||
"enableFunctionKeys": true,
|
||||
"enableModifierKeys": true,
|
||||
"magCrossHairColor": "#000000",
|
||||
"enableTutorialMessages": false,
|
||||
"enableActionKeys": true,
|
||||
"speakBlankLines": true,
|
||||
"magColorFilteringMode": 0,
|
||||
"magZoomerRight": 2400,
|
||||
"keyboardLayout": 1,
|
||||
"magTargetDisplay": "",
|
||||
"disableBrailleEOL": false,
|
||||
"magZoomerTop": 0,
|
||||
"magSourceDisplay": "",
|
||||
"enableDiacriticalKeys": false,
|
||||
"enableMnemonicSpeaking": false,
|
||||
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
|
||||
"speechVerbosityLevel": 1,
|
||||
"enableMagCrossHair": true,
|
||||
"enableBrailleMonitor": false,
|
||||
"voices": {
|
||||
"default": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 5.6
|
||||
},
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"magContrastLevelGreen": 0,
|
||||
"brailleFlashTime": 5000,
|
||||
"magCrossHairSize": 16,
|
||||
"enableMouseReview": false,
|
||||
"enableNavigationKeys": false,
|
||||
"magBrightnessLevelGreen": 0,
|
||||
"chatSpeakRoomName": false,
|
||||
"startingProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"enableLockingKeys": true,
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"brailleRolenameStyle": 1,
|
||||
"brailleLinkIndicator": 192,
|
||||
"enableEchoByCharacter": false,
|
||||
"magBrightnessLevelBlue": 0,
|
||||
"enableBrailleContext": true,
|
||||
"magControlTrackingMode": 2,
|
||||
"magZoomerBottom": 1920,
|
||||
"enablePrintableKeys": true,
|
||||
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;",
|
||||
"chatMessageVerbosity": 0,
|
||||
"presentTimeFormat": "%X",
|
||||
"magBrightnessLevel": 0,
|
||||
"presentRequiredState": false,
|
||||
"enableMagCrossHairClip": false
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../documents/table-sample2.odt
|
@ -1,220 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test for structural navigation amongst table cells in Writer."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(KeyComboAction("z"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Toggle structural navigation on",
|
||||
["BRAILLE LINE: 'Structural navigation keys on.'",
|
||||
" VISIBLE: 'Structural navigation keys on.', cursor=0",
|
||||
"SPEECH OUTPUT: 'Structural navigation keys on.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Alt Shift Left.",
|
||||
["BRAILLE LINE: '4 $l'",
|
||||
" VISIBLE: '4 $l', cursor=2",
|
||||
"BRAILLE LINE: '3 $l'",
|
||||
" VISIBLE: '3 $l', cursor=1",
|
||||
"BRAILLE LINE: 'Row 3, column 1.'",
|
||||
" VISIBLE: 'Row 3, column 1.', cursor=0",
|
||||
"SPEECH OUTPUT: '3.'",
|
||||
"SPEECH OUTPUT: 'Row 3, column 1.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Alt Shift Left.",
|
||||
["BRAILLE LINE: '3 $l'",
|
||||
" VISIBLE: '3 $l', cursor=1",
|
||||
"BRAILLE LINE: 'Beginning of row.'",
|
||||
" VISIBLE: 'Beginning of row.', cursor=0",
|
||||
"SPEECH OUTPUT: 'Beginning of row.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Alt Shift Right.",
|
||||
["BRAILLE LINE: '3 $l'",
|
||||
" VISIBLE: '3 $l', cursor=1",
|
||||
"BRAILLE LINE: '4 $l'",
|
||||
" VISIBLE: '4 $l', cursor=1",
|
||||
"BRAILLE LINE: 'Row 3, column 2.'",
|
||||
" VISIBLE: 'Row 3, column 2.', cursor=0",
|
||||
"SPEECH OUTPUT: '4.'",
|
||||
"SPEECH OUTPUT: 'Row 3, column 2.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Alt Shift Right.",
|
||||
["BRAILLE LINE: '4 $l'",
|
||||
" VISIBLE: '4 $l', cursor=1",
|
||||
"BRAILLE LINE: '5 $l'",
|
||||
" VISIBLE: '5 $l', cursor=1",
|
||||
"BRAILLE LINE: 'Row 3, column 3.'",
|
||||
" VISIBLE: 'Row 3, column 3.', cursor=0",
|
||||
"SPEECH OUTPUT: '5.'",
|
||||
"SPEECH OUTPUT: 'Row 3, column 3.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Alt Shift Right.",
|
||||
["BRAILLE LINE: '5 $l'",
|
||||
" VISIBLE: '5 $l', cursor=1",
|
||||
"BRAILLE LINE: '6 $l'",
|
||||
" VISIBLE: '6 $l', cursor=1",
|
||||
"BRAILLE LINE: 'Row 3, column 4.'",
|
||||
" VISIBLE: 'Row 3, column 4.', cursor=0",
|
||||
"BRAILLE LINE: 'Cell spans 2 columns'",
|
||||
" VISIBLE: 'Cell spans 2 columns', cursor=0",
|
||||
"SPEECH OUTPUT: '6 7.'",
|
||||
"SPEECH OUTPUT: 'Row 3, column 4.' voice=system",
|
||||
"SPEECH OUTPUT: 'Cell spans 2 columns' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Alt Shift Up.",
|
||||
["KNOWN ISSUE: We're not presenting the 'blank'",
|
||||
"BRAILLE LINE: '6 $l'",
|
||||
" VISIBLE: '6 $l', cursor=1",
|
||||
"BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"BRAILLE LINE: 'Row 2, column 4.'",
|
||||
" VISIBLE: 'Row 2, column 4.', cursor=0",
|
||||
"SPEECH OUTPUT: 'blank.'",
|
||||
"SPEECH OUTPUT: 'Row 2, column 4.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Alt Shift Up.",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"BRAILLE LINE: 'Wed $l'",
|
||||
" VISIBLE: 'Wed $l', cursor=1",
|
||||
"BRAILLE LINE: 'Row 1, column 4.'",
|
||||
" VISIBLE: 'Row 1, column 4.', cursor=0",
|
||||
"SPEECH OUTPUT: 'Wed.'",
|
||||
"SPEECH OUTPUT: 'Row 1, column 4.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Alt Shift Up.",
|
||||
["BRAILLE LINE: 'Wed $l'",
|
||||
" VISIBLE: 'Wed $l', cursor=1",
|
||||
"BRAILLE LINE: 'Top of column.'",
|
||||
" VISIBLE: 'Top of column.', cursor=0",
|
||||
"SPEECH OUTPUT: 'Top of column.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>End"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Alt Shift End.",
|
||||
["KNOWN ISSUE: We're not presenting the 'blank'",
|
||||
"BRAILLE LINE: 'Wed $l'",
|
||||
" VISIBLE: 'Wed $l', cursor=1",
|
||||
"BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"BRAILLE LINE: 'Row 7, column 7.'",
|
||||
" VISIBLE: 'Row 7, column 7.', cursor=0",
|
||||
"SPEECH OUTPUT: 'blank.'",
|
||||
"SPEECH OUTPUT: 'Row 7, column 7.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Alt Shift Down.",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"BRAILLE LINE: 'Bottom of column.'",
|
||||
" VISIBLE: 'Bottom of column.', cursor=0",
|
||||
"SPEECH OUTPUT: 'Bottom of column.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Alt Shift Right.",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"BRAILLE LINE: 'End of row.'",
|
||||
" VISIBLE: 'End of row.', cursor=0",
|
||||
"SPEECH OUTPUT: 'End of row.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Home"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Alt Shift Home.",
|
||||
["BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"BRAILLE LINE: 'Sun $l'",
|
||||
" VISIBLE: 'Sun $l', cursor=1",
|
||||
"BRAILLE LINE: 'Row 1, column 1.'",
|
||||
" VISIBLE: 'Row 1, column 1.', cursor=0",
|
||||
"SPEECH OUTPUT: 'Sun.'",
|
||||
"SPEECH OUTPUT: 'Row 1, column 1.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Alt Shift Up.",
|
||||
["BRAILLE LINE: 'Sun $l'",
|
||||
" VISIBLE: 'Sun $l', cursor=1",
|
||||
"BRAILLE LINE: 'Top of column.'",
|
||||
" VISIBLE: 'Top of column.', cursor=0",
|
||||
"SPEECH OUTPUT: 'Top of column.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Up Arrow out of table.",
|
||||
["BRAILLE LINE: 'Sun $l'",
|
||||
" VISIBLE: 'Sun $l', cursor=1",
|
||||
"BRAILLE LINE: 'soffice application table-sample2.odt - LibreOffice Writer root pane table-sample2 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=16",
|
||||
"SPEECH OUTPUT: 'leaving table.'",
|
||||
"SPEECH OUTPUT: 'This is a test.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt><Shift>Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"16. Alt Shift Up when not in a table.",
|
||||
["BRAILLE LINE: 'Not in a table.'",
|
||||
" VISIBLE: 'Not in a table.', cursor=0",
|
||||
"SPEECH OUTPUT: 'Not in a table.' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(KeyComboAction("z"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"17. Toggle structural navigation off",
|
||||
["BRAILLE LINE: 'soffice application table-sample2.odt - LibreOffice Writer root pane table-sample2 - LibreOffice Document This is a test. $l'",
|
||||
" VISIBLE: 'This is a test. $l', cursor=16",
|
||||
"BRAILLE LINE: 'Structural navigation keys off.'",
|
||||
" VISIBLE: 'Structural navigation keys off.', cursor=0",
|
||||
"SPEECH OUTPUT: 'Structural navigation keys off.' voice=system"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,177 +0,0 @@
|
||||
{
|
||||
"pronunciations": {},
|
||||
"keybindings": {},
|
||||
"profiles": {
|
||||
"default": {
|
||||
"speechServerFactory": "cthulhu.speechdispatcherfactory",
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"voices": {
|
||||
"default": {
|
||||
"average-pitch": 5.0,
|
||||
"rate": 50.0,
|
||||
"gain": 10.0
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 5.6
|
||||
},
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"hyperlink": {
|
||||
"average-pitch": 3.0
|
||||
}
|
||||
},
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"keybindings": {},
|
||||
"pronunciations": {}
|
||||
}
|
||||
},
|
||||
"general": {
|
||||
"speakCellHeaders": true,
|
||||
"magEdgeMargin": 0,
|
||||
"brailleContractionTable": "",
|
||||
"magPointerFollowsFocus": false,
|
||||
"magTextTrackingMode": 2,
|
||||
"magZoomerBorderSize": 1,
|
||||
"brailleAlignmentStyle": 0,
|
||||
"enableEchoByWord": false,
|
||||
"enableMagZoomerColorInversion": false,
|
||||
"magCursorSize": 32,
|
||||
"magSmoothingMode": 0,
|
||||
"magZoomerLeft": 1200,
|
||||
"sayAllStyle": 1,
|
||||
"brailleSelectorIndicator": 192,
|
||||
"presentDateFormat": "%x",
|
||||
"magContrastLevel": 0,
|
||||
"magMouseTrackingMode": 0,
|
||||
"speakCellSpan": true,
|
||||
"progressBarUpdateInterval": 10,
|
||||
"speakCellCoordinates": true,
|
||||
"enablePauseBreaks": true,
|
||||
"brailleEOLIndicator": " $l",
|
||||
"verbalizePunctuationStyle": 1,
|
||||
"progressBarVerbosity": 1,
|
||||
"enableSpeech": true,
|
||||
"enableBraille": false,
|
||||
"chatAnnounceBuddyTyping": false,
|
||||
"speakMultiCaseStringsAsWords": false,
|
||||
"enableBrailleGrouping": false,
|
||||
"readTableCellRow": true,
|
||||
"activeProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"textAttributesBrailleIndicator": 0,
|
||||
"enableMagCursorExplicitSize": false,
|
||||
"messageVerbosityLevel": 1,
|
||||
"enableMagLiveUpdating": true,
|
||||
"enableSpeechIndentation": true,
|
||||
"enableKeyEcho": false,
|
||||
"magHideCursor": false,
|
||||
"magZoomerBorderColor": "#000000",
|
||||
"magPointerFollowsZoomer": true,
|
||||
"mouseDwellDelay": 0,
|
||||
"magBrightnessLevelRed": 0,
|
||||
"enableMagnifier": false,
|
||||
"magZoomFactor": 4.0,
|
||||
"speechServerFactory": "speechdispatcherfactory",
|
||||
"enableMagZoomerBorder": false,
|
||||
"flashVerbosityLevel": 1,
|
||||
"enableFlashMessages": true,
|
||||
"speechServerInfo": null,
|
||||
"presentToolTips": false,
|
||||
"flashIsPersistent": false,
|
||||
"brailleRequiredStateString": "required",
|
||||
"firstStart": false,
|
||||
"largeObjectTextLength": 75,
|
||||
"enableEchoBySentence": false,
|
||||
"magContrastLevelBlue": 0,
|
||||
"magContrastLevelRed": 0,
|
||||
"enableContractedBraille": false,
|
||||
"cthulhuModifierKeys": [
|
||||
"Insert",
|
||||
"KP_Insert"
|
||||
],
|
||||
"enableMagCursor": true,
|
||||
"speechRequiredStateString": "required",
|
||||
"quitCthulhuNoConfirmation": false,
|
||||
"skipBlankCells": false,
|
||||
"magCursorColor": "#000000",
|
||||
"enablePositionSpeaking": false,
|
||||
"magZoomerType": 0,
|
||||
"onlySpeakDisplayedText": false,
|
||||
"enableProgressBarUpdates": true,
|
||||
"wrappedStructuralNavigation": true,
|
||||
"chatRoomHistories": false,
|
||||
"brailleVerbosityLevel": 1,
|
||||
"enableFunctionKeys": true,
|
||||
"enableModifierKeys": true,
|
||||
"magCrossHairColor": "#000000",
|
||||
"enableTutorialMessages": false,
|
||||
"enableActionKeys": true,
|
||||
"speakBlankLines": true,
|
||||
"magColorFilteringMode": 0,
|
||||
"magZoomerRight": 2400,
|
||||
"keyboardLayout": 1,
|
||||
"magTargetDisplay": "",
|
||||
"disableBrailleEOL": false,
|
||||
"magZoomerTop": 0,
|
||||
"magSourceDisplay": "",
|
||||
"enableDiacriticalKeys": false,
|
||||
"enableMnemonicSpeaking": false,
|
||||
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
|
||||
"speechVerbosityLevel": 1,
|
||||
"enableMagCrossHair": true,
|
||||
"enableBrailleMonitor": true,
|
||||
"voices": {
|
||||
"default": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 5.6
|
||||
},
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"magContrastLevelGreen": 0,
|
||||
"brailleFlashTime": 5000,
|
||||
"magCrossHairSize": 16,
|
||||
"enableMouseReview": false,
|
||||
"enableNavigationKeys": false,
|
||||
"magBrightnessLevelGreen": 0,
|
||||
"chatSpeakRoomName": false,
|
||||
"startingProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"enableLockingKeys": true,
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"brailleRolenameStyle": 1,
|
||||
"brailleLinkIndicator": 192,
|
||||
"enableEchoByCharacter": false,
|
||||
"magBrightnessLevelBlue": 0,
|
||||
"enableBrailleContext": true,
|
||||
"magControlTrackingMode": 2,
|
||||
"magZoomerBottom": 1920,
|
||||
"enablePrintableKeys": true,
|
||||
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;",
|
||||
"chatMessageVerbosity": 0,
|
||||
"presentTimeFormat": "%X",
|
||||
"magBrightnessLevel": 0,
|
||||
"presentRequiredState": false,
|
||||
"enableMagCrossHairClip": false
|
||||
}
|
||||
}
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../documents/table-sample.odt
|
@ -1,80 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of cell and row reading in Writer tables."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(5000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(KeyComboAction("F11"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Enable cell reading",
|
||||
["BRAILLE LINE: 'Speak cell'",
|
||||
" VISIBLE: 'Speak cell', cursor=0",
|
||||
"SPEECH OUTPUT: 'Speak cell' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down Arrow",
|
||||
["BRAILLE LINE: 'Mon $l'",
|
||||
" VISIBLE: 'Mon $l', cursor=4",
|
||||
"BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'blank B2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down Arrow",
|
||||
["BRAILLE LINE: '4 $l'",
|
||||
" VISIBLE: '4 $l', cursor=2",
|
||||
"SPEECH OUTPUT: '4 B3.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(KeyComboAction("F11"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Enable row reading",
|
||||
["BRAILLE LINE: 'Speak row'",
|
||||
" VISIBLE: 'Speak row', cursor=0",
|
||||
"SPEECH OUTPUT: 'Speak row' voice=system"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Up Arrow",
|
||||
["BRAILLE LINE: '4 $l'",
|
||||
" VISIBLE: '4 $l', cursor=2",
|
||||
"BRAILLE LINE: ' $l'",
|
||||
" VISIBLE: ' $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'A2 B2 C2 D2 E2'",
|
||||
"SPEECH OUTPUT: '1 F2 2 G2.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Up Arrow",
|
||||
["BRAILLE LINE: 'Mon $l'",
|
||||
" VISIBLE: 'Mon $l', cursor=4",
|
||||
"SPEECH OUTPUT: 'Sun A1 Mon B1 Tue C1 Wed D1 Thu E1 Fri F1 Sat G1.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,67 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test presentation of character attributes."""
|
||||
|
||||
from macaroon.playback import *
|
||||
|
||||
sequence = MacroSequence()
|
||||
import utils
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("<Control>b"))
|
||||
sequence.append(TypeAction("Bold"))
|
||||
sequence.append(KeyComboAction("<Control>b"))
|
||||
sequence.append(TypeAction(" "))
|
||||
sequence.append(KeyComboAction("<Control>i"))
|
||||
sequence.append(TypeAction("Italic"))
|
||||
sequence.append(KeyComboAction("<Control>i"))
|
||||
sequence.append(TypeAction(" Normal"))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(TypeAction ("f"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Font information for bold word",
|
||||
["SPEECH OUTPUT: 'size: 12' voice=system",
|
||||
"SPEECH OUTPUT: 'family name: Liberation Serif' voice=system",
|
||||
"SPEECH OUTPUT: 'bold' voice=system",
|
||||
"SPEECH OUTPUT: 'paragraph style: Default Style' voice=system",
|
||||
"SPEECH OUTPUT: 'foreground color: black' voice=system",
|
||||
"SPEECH OUTPUT: 'background color: white' voice=system"]))
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("<Control>Right"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(TypeAction ("f"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Font information for italic word",
|
||||
["SPEECH OUTPUT: 'size: 12' voice=system",
|
||||
"SPEECH OUTPUT: 'family name: Liberation Serif' voice=system",
|
||||
"SPEECH OUTPUT: 'style: italic' voice=system",
|
||||
"SPEECH OUTPUT: 'paragraph style: Default Style' voice=system",
|
||||
"SPEECH OUTPUT: 'foreground color: black' voice=system",
|
||||
"SPEECH OUTPUT: 'background color: white' voice=system"]))
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("<Control>Right"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyPressAction(0, None, "KP_Insert"))
|
||||
sequence.append(TypeAction ("f"))
|
||||
sequence.append(KeyReleaseAction(0, None, "KP_Insert"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Font information for regular word",
|
||||
["SPEECH OUTPUT: 'size: 12' voice=system",
|
||||
"SPEECH OUTPUT: 'family name: Liberation Serif' voice=system",
|
||||
"SPEECH OUTPUT: 'paragraph style: Default Style' voice=system",
|
||||
"SPEECH OUTPUT: 'foreground color: black' voice=system",
|
||||
"SPEECH OUTPUT: 'background color: white' voice=system"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,43 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>f"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Ctrl+F",
|
||||
["KNOWN ISSUE: We're double-presenting the combobox name",
|
||||
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Find tool bar $l combo box'",
|
||||
" VISIBLE: 'Find tool bar $l combo box', cursor=15",
|
||||
"SPEECH OUTPUT: 'Find tool bar'",
|
||||
"SPEECH OUTPUT: 'Find Text Find Text editable combo box.'"]))
|
||||
|
||||
sequence.append(TypeAction("foo"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Tab",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Find tool bar $l combo box'",
|
||||
" VISIBLE: 'Find Previous push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Find Previous push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>ISO_Left_Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Shift+Tab",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Find tool bar Find Previous push button'",
|
||||
" VISIBLE: 'foo $l combo box', cursor=4",
|
||||
"SPEECH OUTPUT: 'Find Text Find Text editable combo box.'",
|
||||
"SPEECH OUTPUT: 'foo selected'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../documents/navigator.odt
|
@ -1,50 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test to verify presentation of the navigator."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(2000))
|
||||
sequence.append(KeyComboAction("F5"))
|
||||
sequence.append(PauseAction(2000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Down arrow to the next item",
|
||||
["BRAILLE LINE: 'soffice application Navigator panel Content Navigation View tree Tables collapsed'",
|
||||
" VISIBLE: 'Tables collapsed', cursor=1",
|
||||
"SPEECH OUTPUT: 'Tables.'",
|
||||
"SPEECH OUTPUT: 'collapsed.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Expand it",
|
||||
["BRAILLE LINE: 'soffice application Navigator panel Content Navigation View tree Tables expanded'",
|
||||
" VISIBLE: 'Tables expanded', cursor=1",
|
||||
"SPEECH OUTPUT: 'expanded'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Collapse it",
|
||||
["BRAILLE LINE: 'soffice application Navigator panel Content Navigation View tree Tables collapsed'",
|
||||
" VISIBLE: 'Tables collapsed', cursor=1",
|
||||
"SPEECH OUTPUT: 'collapsed'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Down arrow to the next item",
|
||||
["BRAILLE LINE: 'soffice application Navigator panel Content Navigation View tree Text frames'",
|
||||
" VISIBLE: 'Text frames', cursor=1",
|
||||
"SPEECH OUTPUT: 'Text frames.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,59 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Cthulhu's presentation of a combo box."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(TypeAction("This is a test."))
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(KeyComboAction("<Control><Shift>Left"))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>o"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(KeyComboAction("<Control>Page_Down"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Move to Strikethrough",
|
||||
["BRAILLE LINE: 'soffice application Character dialog Font Effects page tab Strikethrough: (Without) combo box'",
|
||||
" VISIBLE: 'Strikethrough: (Without) combo b', cursor=16",
|
||||
"SPEECH OUTPUT: 'Strikethrough: (Without) combo box.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down Arrow",
|
||||
["KNOWN ISSUE: We seem to be presenting extra context here",
|
||||
"BRAILLE LINE: 'soffice application Character dialog Font Effects page tab Strikethrough: Single combo box Single list item'",
|
||||
" VISIBLE: 'Single list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Character dialog'",
|
||||
"SPEECH OUTPUT: 'Font Effects page tab.'",
|
||||
"SPEECH OUTPUT: 'Single.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Up Arrow",
|
||||
["BRAILLE LINE: 'soffice application Character dialog Font Effects page tab Strikethrough: (Without) combo box (Without) list item'",
|
||||
" VISIBLE: '(Without) list item', cursor=1",
|
||||
"SPEECH OUTPUT: '(Without)'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,45 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test to verify presentation of focusable labels."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>f"))
|
||||
sequence.append(TypeAction("w"))
|
||||
sequence.append(TypeAction("a"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("<Alt>n"))
|
||||
sequence.append(KeyComboAction("<Alt>b"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Down arrow to the first item",
|
||||
["BRAILLE LINE: 'soffice application Agenda Wizard dialog Steps panel General information'",
|
||||
" VISIBLE: 'General information', cursor=1",
|
||||
"SPEECH OUTPUT: 'General information.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down arrow to the next item",
|
||||
["BRAILLE LINE: 'soffice application Agenda Wizard dialog Steps panel Headings to include'",
|
||||
" VISIBLE: 'Headings to include', cursor=1",
|
||||
"SPEECH OUTPUT: 'Headings to include.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Down arrow to the next item",
|
||||
["BRAILLE LINE: 'soffice application Agenda Wizard dialog Steps panel Names'",
|
||||
" VISIBLE: 'Names', cursor=1",
|
||||
"SPEECH OUTPUT: 'Names.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,53 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test to verify presentation of selectable list items."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("<Control><Shift>n"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Tab to combo box",
|
||||
["BRAILLE LINE: 'soffice application Templates dialog All Categories combo box'",
|
||||
" VISIBLE: 'All Categories combo box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Filter by Category All Categories combo box.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Tab to list item",
|
||||
["BRAILLE LINE: 'soffice application Templates dialog Template List panel list Modern business letter sans-serif list item'",
|
||||
" VISIBLE: 'Modern business letter sans-seri', cursor=1",
|
||||
"SPEECH OUTPUT: 'Template List panel.'",
|
||||
"SPEECH OUTPUT: 'List with 7 items.'",
|
||||
"SPEECH OUTPUT: 'Modern business letter sans-serif.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Right to next list item",
|
||||
["BRAILLE LINE: 'soffice application Templates dialog Template List panel list Modern business letter serif list item'",
|
||||
" VISIBLE: 'Modern business letter serif lis', cursor=1",
|
||||
"SPEECH OUTPUT: 'Modern business letter serif.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Left"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Left to previous list item",
|
||||
["BRAILLE LINE: 'soffice application Templates dialog Template List panel list Modern business letter sans-serif list item'",
|
||||
" VISIBLE: 'Modern business letter sans-seri', cursor=1",
|
||||
"SPEECH OUTPUT: 'Modern business letter sans-serif.'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,35 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test to verify result of entering and escaping out of a submenu."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>f"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(TypeAction("w"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Open the Wizards submenu",
|
||||
["BRAILLE LINE: 'soffice application Wizards menu'",
|
||||
" VISIBLE: 'soffice application Wizards menu', cursor=21",
|
||||
"BRAILLE LINE: 'soffice application File menu Letter...'",
|
||||
" VISIBLE: 'Letter...', cursor=1",
|
||||
"SPEECH OUTPUT: 'Wizards menu.'",
|
||||
"SPEECH OUTPUT: 'Letter...'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Escape"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Exit the Wizards submenu, which now returns you to the document",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer frame'",
|
||||
" VISIBLE: 'Untitled 1 - LibreOffice Writer ', cursor=1",
|
||||
"SPEECH OUTPUT: 'Untitled 1 - LibreOffice Writer frame'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,165 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of menu and menu item output."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(5000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt>v"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Initial menu and menu item",
|
||||
["BRAILLE LINE: 'soffice application View menu'",
|
||||
" VISIBLE: 'soffice application View menu', cursor=21",
|
||||
"BRAILLE LINE: 'soffice application View menu &=y Normal radio menu item'",
|
||||
" VISIBLE: '&=y Normal radio menu item', cursor=1",
|
||||
"SPEECH OUTPUT: 'View menu.'",
|
||||
"SPEECH OUTPUT: 'menu'",
|
||||
"SPEECH OUTPUT: 'Normal selected radio menu item'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Down",
|
||||
["BRAILLE LINE: 'soffice application View menu & y Web radio menu item'",
|
||||
" VISIBLE: '& y Web radio menu item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Web not selected radio menu item'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Review currernt line",
|
||||
["BRAILLE LINE: '& y Web $l'",
|
||||
" VISIBLE: '& y Web $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'not selected Web'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Review next line",
|
||||
["BRAILLE LINE: 'separator $l'",
|
||||
" VISIBLE: 'separator $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'separator'"]))
|
||||
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Review next line",
|
||||
["BRAILLE LINE: 'Toolbars $l'",
|
||||
" VISIBLE: 'Toolbars $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Toolbars'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Review next line",
|
||||
["BRAILLE LINE: '<x> Status Bar $l'",
|
||||
" VISIBLE: '<x> Status Bar $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'checked Status Bar'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Review next line",
|
||||
["BRAILLE LINE: 'Rulers $l'",
|
||||
" VISIBLE: 'Rulers $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Rulers'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_5"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Review current word",
|
||||
["BRAILLE LINE: 'Rulers $l'",
|
||||
" VISIBLE: 'Rulers $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Rulers'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Review next word",
|
||||
["BRAILLE LINE: 'Scrollbars $l'",
|
||||
" VISIBLE: 'Scrollbars $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Scrollbars'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Review current char",
|
||||
["BRAILLE LINE: 'Scrollbars $l'",
|
||||
" VISIBLE: 'Scrollbars $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'S'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_3"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Review next char",
|
||||
["BRAILLE LINE: 'Scrollbars $l'",
|
||||
" VISIBLE: 'Scrollbars $l', cursor=2",
|
||||
"SPEECH OUTPUT: 'c'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Review next word",
|
||||
["BRAILLE LINE: 'separator $l'",
|
||||
" VISIBLE: 'separator $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'separator'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_2"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Review current char",
|
||||
["BRAILLE LINE: 'separator $l'",
|
||||
" VISIBLE: 'separator $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'separator'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_3"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Review next char",
|
||||
["BRAILLE LINE: '<x> Text Boundaries $l'",
|
||||
" VISIBLE: '<x> Text Boundaries $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'checked'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_1"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Review previous char",
|
||||
["BRAILLE LINE: 'separator $l'",
|
||||
" VISIBLE: 'separator $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'separator'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_1"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"16. Review previous char",
|
||||
["BRAILLE LINE: 'Scrollbars $l'",
|
||||
" VISIBLE: 'Scrollbars $l', cursor=10",
|
||||
"SPEECH OUTPUT: 's'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_4"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"17. Review previous word",
|
||||
["BRAILLE LINE: 'Rulers $l'",
|
||||
" VISIBLE: 'Rulers $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'Rulers'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"18. Review previous line",
|
||||
["BRAILLE LINE: '<x> Status Bar $l'",
|
||||
" VISIBLE: '<x> Status Bar $l', cursor=1",
|
||||
"SPEECH OUTPUT: 'checked Status Bar'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,244 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test of Cthulhu's presentation of Writer toolbar buttons."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(KeyComboAction("F6"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("F6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. F6 to Standard toolbar",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Standard tool bar New push button'",
|
||||
" VISIBLE: 'New push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Standard tool bar'",
|
||||
"SPEECH OUTPUT: 'New push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Right Arrow to Open button",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Standard tool bar Open push button'",
|
||||
" VISIBLE: 'Open push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Open push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Right"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"3. Right Arrow to Save button",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Standard tool bar Save push button'",
|
||||
" VISIBLE: 'Save push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Save push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("F6"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. F6 to next toolbar",
|
||||
["KNOWN ISSUE: We're double-speaking the combobox name",
|
||||
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar Default Style $l combo box'",
|
||||
" VISIBLE: 'Default Style $l combo box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Formatting tool bar'",
|
||||
"SPEECH OUTPUT: 'Paragraph Style Paragraph Style editable combo box.'",
|
||||
"SPEECH OUTPUT: 'Default Style'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"5. Tab to next item",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar Update push button'",
|
||||
" VISIBLE: 'Update push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Update push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>ISO_Left_Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Shift+Tab to return to the former widget",
|
||||
["KNOWN ISSUE: We're double-speaking the combobox name",
|
||||
"BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar Default Style $l combo box'",
|
||||
" VISIBLE: 'Default Style $l combo box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Paragraph Style Paragraph Style editable combo box.'",
|
||||
"SPEECH OUTPUT: 'Default Style'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"7. Down in Apply Style (Collapsed)",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar Text Body list item'",
|
||||
" VISIBLE: 'Text Body list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Text Body.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"8. Down in Apply Style (Collapsed)",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar Quotations list item'",
|
||||
" VISIBLE: 'Quotations list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Quotations.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt>Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"9. Alt Down to expand list",
|
||||
["KNOWN ISSUE: We say nothing here",
|
||||
""]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Down in Apply Style (Expanded)",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar combo boxTitle $l Title list item'",
|
||||
" VISIBLE: 'Title list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Title.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Down"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Down in Apply Style (Expanded)",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar combo boxSubtitle $l Subtitle list item'",
|
||||
" VISIBLE: 'Subtitle list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Subtitle.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Up in Apply Style (Expanded)",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar combo boxTitle $l Title list item'",
|
||||
" VISIBLE: 'Title list item', cursor=1",
|
||||
"SPEECH OUTPUT: 'Title.'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Alt>Up"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"13. Alt+Up to collapse list",
|
||||
["KNOWN ISSUE: We say nothing",
|
||||
""]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Tab to next widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar Update push button'",
|
||||
" VISIBLE: 'Update push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Update push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"15. Tab to next widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar New push button'",
|
||||
" VISIBLE: 'New push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'New push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"16. Tab to next widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar Liberation Sans $l combo box'",
|
||||
" VISIBLE: 'Liberation Sans $l combo box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Font Name Liberation Sans editable combo box.'",
|
||||
"SPEECH OUTPUT: 'Liberation Sans'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>ISO_Left_Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"17. Shift+Tab to return to the previous widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar New push button'",
|
||||
" VISIBLE: 'New push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'New push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>ISO_Left_Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"18. Shift+Tab to return to the previous widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar Update push button'",
|
||||
" VISIBLE: 'Update push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Update push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"19. Tab to next widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar New push button'",
|
||||
" VISIBLE: 'New push button', cursor=1",
|
||||
"SPEECH OUTPUT: 'New push button'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"20. Tab to next widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar Liberation Sans $l combo box'",
|
||||
" VISIBLE: 'Liberation Sans $l combo box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Font Name Liberation Sans editable combo box.'",
|
||||
"SPEECH OUTPUT: 'Liberation Sans'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"21. Tab to next widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar 28 $l combo box'",
|
||||
" VISIBLE: '28 $l combo box', cursor=1",
|
||||
"SPEECH OUTPUT: 'Font Size 28 editable combo box.'",
|
||||
"SPEECH OUTPUT: '28'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"22. Tab to next widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar &=y Bold toggle button'",
|
||||
" VISIBLE: '&=y Bold toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Bold on'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"23. Tab to next widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar & y Italic toggle button'",
|
||||
" VISIBLE: '& y Italic toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Italic off'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"24. Tab to next widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar & y Underline toggle button'",
|
||||
" VISIBLE: '& y Underline toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Underline off'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"25. Toggle its state",
|
||||
["SPEECH OUTPUT: 'Underline on'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"26. Tab to next widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar & y Strikethrough toggle button'",
|
||||
" VISIBLE: '& y Strikethrough toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Strikethrough off'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Shift>ISO_Left_Tab"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"27. Shift Tab to previous widget",
|
||||
["BRAILLE LINE: 'soffice application Untitled 1 - LibreOffice Writer root pane Formatting tool bar &=y Underline toggle button'",
|
||||
" VISIBLE: '&=y Underline toggle button', cursor=1",
|
||||
"SPEECH OUTPUT: 'Underline on'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"28. Toggle its state",
|
||||
["SPEECH OUTPUT: 'Underline off'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1 +0,0 @@
|
||||
PARAMS=$TEST_DIR/../../documents/spanish.odt
|
@ -1,42 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
"""Test WhereAmI presentation."""
|
||||
|
||||
from macaroon.playback import *
|
||||
import utils
|
||||
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(KeyComboAction("<Control>Home"))
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Basic WhereAmI with no text selected",
|
||||
["SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and '"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Control>Right"))
|
||||
sequence.append(KeyComboAction("<Control>Right"))
|
||||
sequence.append(KeyComboAction("<Control>Right"))
|
||||
sequence.append(KeyComboAction("<Shift><Control>Down"))
|
||||
sequence.append(KeyComboAction("<Shift><Control>Down"))
|
||||
sequence.append(KeyComboAction("<Shift><Control>Down"))
|
||||
sequence.append(KeyComboAction("<Shift><Control>Down"))
|
||||
sequence.append(KeyComboAction("<Shift><Control>Down"))
|
||||
sequence.append(KeyComboAction("<Shift>Down"))
|
||||
sequence.append(KeyComboAction("<Shift><Control>Right"))
|
||||
sequence.append(KeyComboAction("<Shift><Control>Right"))
|
||||
sequence.append(KeyComboAction("<Shift><Control>Right"))
|
||||
sequence.append(KeyComboAction("<Shift><Control>Right"))
|
||||
sequence.append(KeyComboAction("<Shift><Control>Right"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_Enter"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Basic WhereAmI with multiple paragraphs selected",
|
||||
["SPEECH OUTPUT: 'Spanish Inquisition! Our chief weapon is surprise. Surprise and fear. Fear and surprise. Our two weapons are fear and surprise. And ruthless efficiency. Our three weapons are fear, surprise, and ruthless efficiency. And an almost fanatical devotion to the Pope. Our four. No. Amongst our weapons. Amongst our weaponry, are such elements as fear, surprise. I'll come in again. NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse elements as: fear, surprise, ruthless efficiency, an almost fanatical devotion to the Pope, and nice red uniforms - Oh damn! Now old lady, you have one last chance. Confess the heinous sin of heresy, reject the works of the ungodly. Two last chances. And you shall be free. Three last chances. You have three last chances, the nature of which I have divulged in my previous utterance. Hm! She is made selected'"]))
|
||||
|
||||
sequence.append(KeyComboAction("<Alt>F4"))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
sequence.start()
|
@ -1,177 +0,0 @@
|
||||
{
|
||||
"pronunciations": {},
|
||||
"keybindings": {},
|
||||
"profiles": {
|
||||
"default": {
|
||||
"speechServerFactory": "cthulhu.speechdispatcherfactory",
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"voices": {
|
||||
"default": {
|
||||
"average-pitch": 5.0,
|
||||
"rate": 50.0,
|
||||
"gain": 10.0
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 5.6
|
||||
},
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"hyperlink": {
|
||||
"average-pitch": 3.0
|
||||
}
|
||||
},
|
||||
"speechServerInfo": [
|
||||
"Default Synthesizer",
|
||||
"default"
|
||||
],
|
||||
"keybindings": {},
|
||||
"pronunciations": {}
|
||||
}
|
||||
},
|
||||
"general": {
|
||||
"speakCellHeaders": true,
|
||||
"magEdgeMargin": 0,
|
||||
"brailleContractionTable": "",
|
||||
"magPointerFollowsFocus": false,
|
||||
"magTextTrackingMode": 2,
|
||||
"magZoomerBorderSize": 1,
|
||||
"brailleAlignmentStyle": 0,
|
||||
"enableEchoByWord": false,
|
||||
"enableMagZoomerColorInversion": false,
|
||||
"magCursorSize": 32,
|
||||
"magSmoothingMode": 0,
|
||||
"magZoomerLeft": 1200,
|
||||
"sayAllStyle": 1,
|
||||
"brailleSelectorIndicator": 192,
|
||||
"presentDateFormat": "%x",
|
||||
"magContrastLevel": 0,
|
||||
"magMouseTrackingMode": 0,
|
||||
"speakCellSpan": true,
|
||||
"progressBarUpdateInterval": 10,
|
||||
"speakCellCoordinates": true,
|
||||
"enablePauseBreaks": true,
|
||||
"brailleEOLIndicator": " $l",
|
||||
"verbalizePunctuationStyle": 1,
|
||||
"progressBarVerbosity": 1,
|
||||
"enableSpeech": true,
|
||||
"enableBraille": false,
|
||||
"chatAnnounceBuddyTyping": false,
|
||||
"speakMultiCaseStringsAsWords": false,
|
||||
"enableBrailleGrouping": false,
|
||||
"readTableCellRow": true,
|
||||
"activeProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"textAttributesBrailleIndicator": 0,
|
||||
"enableMagCursorExplicitSize": false,
|
||||
"messageVerbosityLevel": 1,
|
||||
"enableMagLiveUpdating": true,
|
||||
"enableSpeechIndentation": true,
|
||||
"enableKeyEcho": false,
|
||||
"magHideCursor": false,
|
||||
"magZoomerBorderColor": "#000000",
|
||||
"magPointerFollowsZoomer": true,
|
||||
"mouseDwellDelay": 0,
|
||||
"magBrightnessLevelRed": 0,
|
||||
"enableMagnifier": false,
|
||||
"magZoomFactor": 4.0,
|
||||
"speechServerFactory": "speechdispatcherfactory",
|
||||
"enableMagZoomerBorder": false,
|
||||
"flashVerbosityLevel": 1,
|
||||
"enableFlashMessages": true,
|
||||
"speechServerInfo": null,
|
||||
"presentToolTips": false,
|
||||
"flashIsPersistent": false,
|
||||
"brailleRequiredStateString": "required",
|
||||
"firstStart": false,
|
||||
"largeObjectTextLength": 75,
|
||||
"enableEchoBySentence": false,
|
||||
"magContrastLevelBlue": 0,
|
||||
"magContrastLevelRed": 0,
|
||||
"enableContractedBraille": false,
|
||||
"cthulhuModifierKeys": [
|
||||
"Insert",
|
||||
"KP_Insert"
|
||||
],
|
||||
"enableMagCursor": true,
|
||||
"speechRequiredStateString": "required",
|
||||
"quitCthulhuNoConfirmation": false,
|
||||
"skipBlankCells": false,
|
||||
"magCursorColor": "#000000",
|
||||
"enablePositionSpeaking": false,
|
||||
"magZoomerType": 0,
|
||||
"onlySpeakDisplayedText": false,
|
||||
"enableProgressBarUpdates": true,
|
||||
"wrappedStructuralNavigation": true,
|
||||
"chatRoomHistories": false,
|
||||
"brailleVerbosityLevel": 1,
|
||||
"enableFunctionKeys": true,
|
||||
"enableModifierKeys": true,
|
||||
"magCrossHairColor": "#000000",
|
||||
"enableTutorialMessages": false,
|
||||
"enableActionKeys": true,
|
||||
"speakBlankLines": true,
|
||||
"magColorFilteringMode": 0,
|
||||
"magZoomerRight": 2400,
|
||||
"keyboardLayout": 1,
|
||||
"magTargetDisplay": "",
|
||||
"disableBrailleEOL": false,
|
||||
"magZoomerTop": 0,
|
||||
"magSourceDisplay": "",
|
||||
"enableDiacriticalKeys": false,
|
||||
"enableMnemonicSpeaking": false,
|
||||
"enabledBrailledTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; text-spelling:none;",
|
||||
"speechVerbosityLevel": 1,
|
||||
"enableMagCrossHair": true,
|
||||
"enableBrailleMonitor": false,
|
||||
"voices": {
|
||||
"default": {
|
||||
"established": false
|
||||
},
|
||||
"uppercase": {
|
||||
"average-pitch": 5.6
|
||||
},
|
||||
"system": {
|
||||
"established": false
|
||||
},
|
||||
"hyperlink": {
|
||||
"established": false
|
||||
}
|
||||
},
|
||||
"magContrastLevelGreen": 0,
|
||||
"brailleFlashTime": 5000,
|
||||
"magCrossHairSize": 16,
|
||||
"enableMouseReview": false,
|
||||
"enableNavigationKeys": false,
|
||||
"magBrightnessLevelGreen": 0,
|
||||
"chatSpeakRoomName": false,
|
||||
"startingProfile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"enableLockingKeys": true,
|
||||
"profile": [
|
||||
"Default",
|
||||
"default"
|
||||
],
|
||||
"brailleRolenameStyle": 1,
|
||||
"brailleLinkIndicator": 192,
|
||||
"enableEchoByCharacter": false,
|
||||
"magBrightnessLevelBlue": 0,
|
||||
"enableBrailleContext": true,
|
||||
"magControlTrackingMode": 2,
|
||||
"magZoomerBottom": 1920,
|
||||
"enablePrintableKeys": true,
|
||||
"enabledSpokenTextAttributes": "size:; family-name:; weight:400; indent:0; underline:none; strikethrough:false; justification:left; style:normal; paragraph-style:; text-spelling:none;",
|
||||
"chatMessageVerbosity": 0,
|
||||
"presentTimeFormat": "%X",
|
||||
"magBrightnessLevel": 0,
|
||||
"presentRequiredState": false,
|
||||
"enableMagCrossHairClip": false
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user