A lot of changes to switch to the new name, might be horribly broken.
This commit is contained in:
@ -6,7 +6,7 @@ import utils
|
||||
sequence = MacroSequence()
|
||||
|
||||
sequence.append(PauseAction(3000))
|
||||
sequence.append(TypeAction("man orca"))
|
||||
sequence.append(TypeAction("man cthulhu"))
|
||||
sequence.append(KeyComboAction("Return"))
|
||||
sequence.append(PauseAction(3000))
|
||||
|
||||
@ -14,18 +14,18 @@ sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"1. Review current line",
|
||||
["BRAILLE LINE: ' Manual page orca(1) line 1 (press h for help or q to quit) $l'",
|
||||
["BRAILLE LINE: ' Manual page cthulhu(1) line 1 (press h for help or q to quit) $l'",
|
||||
" VISIBLE: ' (press h for help or q to quit)', cursor=32",
|
||||
"SPEECH OUTPUT: ' Manual page orca(1) line 1 (press h for help or q to quit)",
|
||||
"SPEECH OUTPUT: ' Manual page cthulhu(1) line 1 (press h for help or q to quit)",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"2. Review previous line",
|
||||
["BRAILLE LINE: ' When starting orca, initiate the GUI-based configuration. $l'",
|
||||
" VISIBLE: ' When starting orca', cursor=1",
|
||||
"SPEECH OUTPUT: ' When starting orca, initiate the GUI-based configuration.",
|
||||
["BRAILLE LINE: ' When starting cthulhu, initiate the GUI-based configuration. $l'",
|
||||
" VISIBLE: ' When starting cthulhu', cursor=1",
|
||||
"SPEECH OUTPUT: ' When starting cthulhu, initiate the GUI-based configuration.",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
@ -41,9 +41,9 @@ sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"4. Review next line",
|
||||
["BRAILLE LINE: ' When starting orca, initiate the GUI-based configuration. $l'",
|
||||
" VISIBLE: ' When starting orca', cursor=1",
|
||||
"SPEECH OUTPUT: ' When starting orca, initiate the GUI-based configuration.",
|
||||
["BRAILLE LINE: ' When starting cthulhu, initiate the GUI-based configuration. $l'",
|
||||
" VISIBLE: ' When starting cthulhu', cursor=1",
|
||||
"SPEECH OUTPUT: ' When starting cthulhu, initiate the GUI-based configuration.",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
@ -60,9 +60,9 @@ sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"6. Review next line",
|
||||
["BRAILLE LINE: 'orca(1) General Commands Manual orca(1) $l'",
|
||||
" VISIBLE: 'orca(1) Gene', cursor=1",
|
||||
"SPEECH OUTPUT: 'orca(1) General Commands Manual orca(1)",
|
||||
["BRAILLE LINE: 'cthulhu(1) General Commands Manual cthulhu(1) $l'",
|
||||
" VISIBLE: 'cthulhu(1) Gene', cursor=1",
|
||||
"SPEECH OUTPUT: 'cthulhu(1) General Commands Manual cthulhu(1)",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
@ -94,54 +94,54 @@ sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"10. Review next line",
|
||||
["BRAILLE LINE: ' orca - a scriptable screen reader $l'",
|
||||
" VISIBLE: ' orca - a scriptable scree', cursor=1",
|
||||
"SPEECH OUTPUT: ' orca - a scriptable screen reader",
|
||||
["BRAILLE LINE: ' cthulhu - a scriptable screen reader $l'",
|
||||
" VISIBLE: ' cthulhu - a scriptable scree', cursor=1",
|
||||
"SPEECH OUTPUT: ' cthulhu - a scriptable screen reader",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>f"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"11. Forward one page",
|
||||
["BRAILLE LINE: ' Manual page orca(1) line 24 (press h for help or q to quit)'",
|
||||
["BRAILLE LINE: ' Manual page cthulhu(1) line 24 (press h for help or q to quit)'",
|
||||
" VISIBLE: '(press h for help or q to quit)', cursor=32",
|
||||
"BRAILLE LINE: ' Manual page orca(1) line 24 (press h for help or q to quit)'",
|
||||
"BRAILLE LINE: ' Manual page cthulhu(1) line 24 (press h for help or q to quit)'",
|
||||
" VISIBLE: '(press h for help or q to quit)', cursor=32",
|
||||
"BRAILLE LINE: ' Manual page orca(1) line 24 (press h for help or q to quit)'",
|
||||
"BRAILLE LINE: ' Manual page cthulhu(1) line 24 (press h for help or q to quit)'",
|
||||
" VISIBLE: '(press h for help or q to quit)', cursor=32",
|
||||
"BRAILLE LINE: ' Manual page orca(1) line 24 (press h for help or q to quit)'",
|
||||
"BRAILLE LINE: ' Manual page cthulhu(1) line 24 (press h for help or q to quit)'",
|
||||
" VISIBLE: '(press h for help or q to quit)', cursor=32",
|
||||
"SPEECH OUTPUT: ' When starting orca, use dirname as an alternate directory for",
|
||||
"SPEECH OUTPUT: ' When starting cthulhu, use dirname as an alternate directory for",
|
||||
" the user preferences.",
|
||||
"",
|
||||
" -e, --enable=speech|braille|braille-monitor",
|
||||
" When starting orca, force the enabling of the supplied options.",
|
||||
" When starting cthulhu, force the enabling of the supplied options.",
|
||||
"",
|
||||
" -d, --disable=speech|braille|braille-monitor",
|
||||
" When starting orca, force the disabling of the supplied options.",
|
||||
" When starting cthulhu, force the disabling of the supplied options.",
|
||||
"",
|
||||
" -l, --list-apps",
|
||||
" Prints the names of all the currently running applications.",
|
||||
" This is used primarily for debugging purposes to see if orca can",
|
||||
" talk to the accessibility infrastructure. Note that if orca is",
|
||||
" already running, this will not kill the other orca process. It",
|
||||
" This is used primarily for debugging purposes to see if cthulhu can",
|
||||
" talk to the accessibility infrastructure. Note that if cthulhu is",
|
||||
" already running, this will not kill the other cthulhu process. It",
|
||||
" will just list the currently running applications, and you will",
|
||||
" see orca listed twice: once for the existing orca and once for",
|
||||
" see cthulhu listed twice: once for the existing cthulhu and once for",
|
||||
" this instance.",
|
||||
"",
|
||||
" --debug",
|
||||
" Enables debug output for orca and sends all debug output to a",
|
||||
" Enables debug output for cthulhu and sends all debug output to a",
|
||||
" file with a name of the form 'debug-YYYY-MM-DD-HH:MM:SS.out' in",
|
||||
" Manual page orca(1) line 24 (press h for help or q to quit)'"]))
|
||||
" Manual page cthulhu(1) line 24 (press h for help or q to quit)'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"12. Review current line",
|
||||
["KNOWN ISSUE: We currently deliberately exit flat review and return to the bottom of the window",
|
||||
"BRAILLE LINE: ' Manual page orca(1) line 24 (press h for help or q to quit) $l'",
|
||||
"BRAILLE LINE: ' Manual page cthulhu(1) line 24 (press h for help or q to quit) $l'",
|
||||
" VISIBLE: ' (press h for help or q to quit)', cursor=32",
|
||||
"SPEECH OUTPUT: ' Manual page orca(1) line 24 (press h for help or q to quit)",
|
||||
"SPEECH OUTPUT: ' Manual page cthulhu(1) line 24 (press h for help or q to quit)",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
@ -157,9 +157,9 @@ sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"14. Review previous line",
|
||||
["BRAILLE LINE: ' Enables debug output for orca and sends all debug output to a $l'",
|
||||
["BRAILLE LINE: ' Enables debug output for cthulhu and sends all debug output to a $l'",
|
||||
" VISIBLE: ' Enables debug ou', cursor=1",
|
||||
"SPEECH OUTPUT: ' Enables debug output for orca and sends all debug output to a",
|
||||
"SPEECH OUTPUT: ' Enables debug output for cthulhu and sends all debug output to a",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
@ -201,26 +201,26 @@ sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("<Control>b"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"19. Back one page",
|
||||
["BRAILLE LINE: ' Manual page orca(1) line 1 (press h for help or q to quit)'",
|
||||
["BRAILLE LINE: ' Manual page cthulhu(1) line 1 (press h for help or q to quit)'",
|
||||
" VISIBLE: '(press h for help or q to quit)', cursor=32",
|
||||
"BRAILLE LINE: ' Manual page orca(1) line 1 (press h for help or q to quit)'",
|
||||
"BRAILLE LINE: ' Manual page cthulhu(1) line 1 (press h for help or q to quit)'",
|
||||
" VISIBLE: '(press h for help or q to quit)', cursor=32",
|
||||
"BRAILLE LINE: ' Manual page orca(1) line 1 (press h for help or q to quit)'",
|
||||
"BRAILLE LINE: ' Manual page cthulhu(1) line 1 (press h for help or q to quit)'",
|
||||
" VISIBLE: '(press h for help or q to quit)', cursor=32",
|
||||
"SPEECH OUTPUT: 'orca(1) General Commands Manual orca(1)",
|
||||
"SPEECH OUTPUT: 'cthulhu(1) General Commands Manual cthulhu(1)",
|
||||
"",
|
||||
"NAME",
|
||||
" orca - a scriptable screen reader",
|
||||
" cthulhu - a scriptable screen reader",
|
||||
"",
|
||||
"SYNOPSIS",
|
||||
" orca [option...]",
|
||||
" cthulhu [option...]",
|
||||
"",
|
||||
"DESCRIPTION",
|
||||
" orca is a screen reader for people with visual impairments, it provides",
|
||||
" cthulhu is a screen reader for people with visual impairments, it provides",
|
||||
" alternative access to the desktop by using speech synthesis and",
|
||||
" braille.",
|
||||
"",
|
||||
" orca works with applications and toolkits that support the Assistive",
|
||||
" cthulhu works with applications and toolkits that support the Assistive",
|
||||
" Technology Service Provider Interface (AT-SPI), which is the primary",
|
||||
" assistive technology infrastructure for Linux and Solaris. Applications",
|
||||
" and toolkits supporting the AT-SPI include the GNOME Gtk+ toolkit, the",
|
||||
@ -229,25 +229,25 @@ sequence.append(utils.AssertPresentationAction(
|
||||
"",
|
||||
"OPTIONS",
|
||||
" -s, --setup",
|
||||
" When starting orca, initiate the GUI-based configuration.",
|
||||
" Manual page orca(1) line 1 (press h for help or q to quit)'"]))
|
||||
" When starting cthulhu, initiate the GUI-based configuration.",
|
||||
" Manual page cthulhu(1) line 1 (press h for help or q to quit)'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_8"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"20. Review current line",
|
||||
["BRAILLE LINE: ' Manual page orca(1) line 1 (press h for help or q to quit) $l'",
|
||||
["BRAILLE LINE: ' Manual page cthulhu(1) line 1 (press h for help or q to quit) $l'",
|
||||
" VISIBLE: ' (press h for help or q to quit)', cursor=32",
|
||||
"SPEECH OUTPUT: ' Manual page orca(1) line 1 (press h for help or q to quit)",
|
||||
"SPEECH OUTPUT: ' Manual page cthulhu(1) line 1 (press h for help or q to quit)",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_7"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"21. Review previous line",
|
||||
["BRAILLE LINE: ' When starting orca, initiate the GUI-based configuration. $l'",
|
||||
" VISIBLE: ' When starting orca', cursor=1",
|
||||
"SPEECH OUTPUT: ' When starting orca, initiate the GUI-based configuration.",
|
||||
["BRAILLE LINE: ' When starting cthulhu, initiate the GUI-based configuration. $l'",
|
||||
" VISIBLE: ' When starting cthulhu', cursor=1",
|
||||
"SPEECH OUTPUT: ' When starting cthulhu, initiate the GUI-based configuration.",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
@ -273,9 +273,9 @@ sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"24. Review next line",
|
||||
["BRAILLE LINE: 'orca(1) General Commands Manual orca(1) $l'",
|
||||
" VISIBLE: 'orca(1) Gene', cursor=1",
|
||||
"SPEECH OUTPUT: 'orca(1) General Commands Manual orca(1)",
|
||||
["BRAILLE LINE: 'cthulhu(1) General Commands Manual cthulhu(1) $l'",
|
||||
" VISIBLE: 'cthulhu(1) Gene', cursor=1",
|
||||
"SPEECH OUTPUT: 'cthulhu(1) General Commands Manual cthulhu(1)",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.StartRecordingAction())
|
||||
@ -307,9 +307,9 @@ sequence.append(utils.StartRecordingAction())
|
||||
sequence.append(KeyComboAction("KP_9"))
|
||||
sequence.append(utils.AssertPresentationAction(
|
||||
"28. Review next line",
|
||||
["BRAILLE LINE: ' orca - a scriptable screen reader $l'",
|
||||
" VISIBLE: ' orca - a scriptable scree', cursor=1",
|
||||
"SPEECH OUTPUT: ' orca - a scriptable screen reader",
|
||||
["BRAILLE LINE: ' cthulhu - a scriptable screen reader $l'",
|
||||
" VISIBLE: ' cthulhu - a scriptable scree', cursor=1",
|
||||
"SPEECH OUTPUT: ' cthulhu - a scriptable screen reader",
|
||||
"'"]))
|
||||
|
||||
sequence.append(utils.AssertionSummaryAction())
|
||||
|
Reference in New Issue
Block a user