lyx_mirror/development/autotests/findadv-21-in.txt
Kornel Benko bfc0b09e0c keytests: Added debug 'key' to be able to analyse test results.
There still are keys which do not make it into the lyx logfile.
For instance repeated shortcuts.
2017-05-09 21:08:52 +02:00

39 lines
908 B
Plaintext

# Test for searching with regular expressions
# Test for #8381
Lang sk_SK.utf8
TestBegin test.lyx -dbg key,find > findadv-21.loga.txt 2>&1
KK: \Apb
KK: one\[Return]
KK: two\[Return]
KK: three\[Return]
KK: \Ape
KK: four\[Return]
KK: five\[Return]
KK: \Apl
KK: l1 six\[Return]
KK: l2 seven\[Return]
KK: \Apd
KK: op1 eight\[Return]
KK: op2 nine\C\[Home]
KK: \Cs
KK: \CF
# Uncheck ignore format
KK: \At\Ai\Ah
KK: \Ape
KK: \Axregexp-mode\[Return][a-z]* \[Return]
TestEnd
Lang C
Assert pcregrep -M 'Putting selection at cur= inset: .* idx: 0 par: 3 pos: 0\n with len: 4' findadv-21.loga.txt
Lang sk_SK.utf8
TestBegin test.lyx -dbg key,find > findadv-21.logb.txt 2>&1
KK: \CF
# Uncheck ignore format
KK: \At\Ai\Ah
KK: \Apd
KK: \Axregexp-mode\[Return][a-z]*\\s+[a-z]* \[Return]\[Return]
TestEnd
Lang C
Assert pcregrep -M 'Putting selection at cur= inset: .* idx: 0 par: 7 pos: 3\n with len: 6' findadv-21.logb.txt