mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
ac5534827e
Cmake key-tests: These are very touchy in respect to timings 1.) Try to use shortcuts instead of direct command 2.) use bigger pause where needed
86 lines
2.1 KiB
Plaintext
86 lines
2.1 KiB
Plaintext
# Finding styles with regexp
|
|
UseShortcut "C-F20" "regexp-mode"
|
|
PrepareShortcuts
|
|
|
|
Lang sk_SK.utf8
|
|
CO: findadv-re-04.ctrl
|
|
CN: Part 1
|
|
CP: Init key
|
|
TestBegin test.lyx -dbg key,find > findadv-re-04.loga.txt 2>&1
|
|
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
|
|
KK: The quick Brown \CeFox jUMps\Ce over the lazy Dog\[Return]
|
|
Sleep 1
|
|
KK: \C\[Home]
|
|
KK: \Cs
|
|
KK: \CF
|
|
# Uncheck ignore format (depends on IT language)
|
|
KK: \At\Ai\Ah
|
|
KK: \CF
|
|
KK: \Ce
|
|
CN: Case insensitive, format not ignored .*
|
|
KK: \C\[F20].*\[Return]
|
|
Cr: ^.*Putting
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 16\n with len: 9
|
|
Cr: ^.*Putting
|
|
TestEnd
|
|
|
|
CO: >> findadv-re-04.ctrl
|
|
CN: Part 2
|
|
CP: Init key
|
|
TestBegin test.lyx -dbg key,find >> findadv-re-04.loga.txt 2>&1
|
|
CN: Case insensitive, format not ignored [a-z]*
|
|
KK: \CF
|
|
# Uncheck ignore format (depends on IT language)
|
|
KK: \At\Ai\Ah
|
|
KK: \CF
|
|
KK: \Ce
|
|
KK: \C\[F20]\\b[a-z]*\\b\[Return]\[Return]\[Return]
|
|
Cr: ^.*Putting
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 16\n with len: 3
|
|
Cr: ^.*Putting
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 20\n with len: 5
|
|
Cr: ^.*Putting
|
|
TestEnd
|
|
|
|
CO: >> findadv-re-04.ctrl
|
|
CN: Part 3
|
|
CP: Init key
|
|
TestBegin test.lyx -dbg key,find >> findadv-re-04.loga.txt 2>&1
|
|
|
|
CN: Case sensitive, format not ignored [a-z]*
|
|
KK: \CF
|
|
KK: \At\Ai\Ah
|
|
KK: \CF
|
|
KK: \Ce
|
|
KK: \Az\[Tab]\C\[F20][a-z]+\[Return]\[Return]\[Return]\[Return]
|
|
Cr: ^.*Putting
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 17\n with len: 2
|
|
Cr: ^.*Putting
|
|
Cr: ^.*Init key
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 20\n with len: 1
|
|
Cr: ^.*Putting
|
|
Cr: ^.*Init key
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 23\n with len: 2
|
|
Cr: ^.*Putting
|
|
TestEnd
|
|
|
|
CO: >> findadv-re-04.ctrl
|
|
CN: Part 4
|
|
CP: Init key
|
|
TestBegin test.lyx -dbg key,find >> findadv-re-04.loga.txt 2>&1
|
|
|
|
CN: Case sensitive, format not ignored [A-Z]+
|
|
KK: \CF
|
|
KK: \At\Ai\Ah
|
|
KK: \CF
|
|
KK: \Ce
|
|
KK: \Az\[Tab]\C\[F20][A-Z]+\[Return]\[Return]\[Return]
|
|
Cr: ^.*Putting
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 16\n with len: 1
|
|
Cr: ^.*Putting
|
|
CP: Putting selection at .*idx: 0 par: 0 pos: 21\n with len: 2
|
|
Cr: ^.*Putting
|
|
TestEnd
|
|
Lang C
|
|
Assert searchPatterns.pl base=findadv-re-04
|