Cmake tests: findadv-01 - findadv-21 working

Tests 07 and 09 corrected because of not working
shortcuts in cua env using sk/menus.bind.
This commit is contained in:
Kornel Benko 2021-01-17 14:30:34 +01:00
parent c600906d92
commit 8ec16f4020
3 changed files with 24 additions and 7 deletions

View File

@ -1,4 +1,17 @@
# Basic test for searching with par-style awareness
UseShortcut "C-F20" "layout Part"
UseShortcut "C-F21" "layout Chapter"
UseShortcut "C-F22" "layout Section"
UseShortcut "C-F23" "layout Subsection"
UseShortcut "C-F24" "layout Subsubsection"
UseShortcut "C-F25" "layout Paragraph"
UseShortcut "C-F26" "layout Subparagraph"
UseShortcut "C-F29" "layout Standard"
UseShortcut "C-F30" "layout Itemize"
PrepareShortcuts
Lang sk_SK.utf8
CO: findadv-06.ctrl
Lang sk_SK.utf8
CO: findadv-07.ctrl
@ -7,16 +20,16 @@ KD: 100
CN: Part 1
KK: foo bar\[Return]
#select itemized
KK: \Aob
KK: \C\[F30]
KK: foo bar\[Return]
KK: \Ao9
KK: \C\[F29]
KK: foo bar\C\[Home]
KK: \Axbuffer-write\[Return]
KK: \Axdialog-show findreplaceadv\[Return]
# Uncheck ignore format
KK: \At\Ai\Ah
KK: \CF
KK: \Aob
KK: \C\[F30]
Sleep 1
KK: foo\[Return]
CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3
@ -29,7 +42,7 @@ KK: \[Delete]
# Uncheck ignore format
#KK: \At\Ai\Ah
#KK: \CF
KK: \Aob
KK: \C\[F30]
Sleep 1
KK: bar\[Return]
CP: Putting selection at .*idx: 0 par: 1 pos: 4\n with len: 3

View File

@ -1,16 +1,19 @@
# Test for searching with regular expressions
UseShortcut "C-F30" "layout Itemize"
PrepareShortcuts
Lang sk_SK.utf8
CO: findadv-09.ctrl
TestBegin test.lyx -dbg key,find > findadv-09.loga.txt 2>&1
CN: Part 1
KK: \Aob
KK: \C\[F30]
KK: one\[Return]two\[Return]three\C\[Home]\Cs
KK: \CF
# Uncheck ignore format
KK: \At\Ai\Ah
KK: \CF
KK: \Aob
KK: \C\[F30]
KK: \Axregexp-mode\[Return][a-z]* \[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
@ -22,7 +25,7 @@ KK: \[Delete]
# Uncheck ignore format
#KK: \At\Ai\Ah
#KK: \CF
KK: \Aob
KK: \C\[F30]
KK: \Axregexp-mode\[Return][a-z]* \[Return]\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3

View File

@ -14,6 +14,7 @@ KK: v\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n.*idx: 1 par: 0 pos: 0\n with len: 1
#
Lang it_IT.utf8
CN: Part 2
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
KK: \[Escape]\C\[Home]