lyx_mirror/development/autotests/findadv-14-in.txt
Kornel Benko 09e5acba11 keytests: Rewritten to use searchPatterns.pl instead of pcregrep
Also corrected output of keytest.py. Messages from called
programs were output to stdout wile own printed messages
were still cached.
2017-05-17 12:12:55 +02:00

45 lines
1.1 KiB
Plaintext

# Finding displayed maths with ignore-format on&off (might affect #7596)
#
Lang sk_SK.utf8
TestBegin test.lyx -dbg key,find > findadv-14.loga.txt 2>&1
CO: findadv-14.ctrl
CN: Part 1
KK: \Axmath-display\[Return]
KK: x^2 +x^2\C\[Home]
KK: \Cs
KK: \CF
# Uncheck ignore format
KK: \At\Ai\Ah
KK: \Axmath-display\[Return]
KK: x^2\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
#
CN: Part 2
KK: \[Escape]\C\[Home]
KK: \CF
KK: \[Delete]
KK: \Axmath-display\[Return]
KK: x^2\[Return]\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
#
CN: Part 3
KK: \[Escape]\C\[Home]
KK: \CF
KK: \[Delete]
KK: \At\Ai\Ah
KK: \Axmath-display\[Return]
KK: x^2\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
#
CN: Part 4
KK: \[Escape]\C\[Home]
KK: \CF
KK: \[Delete]
KK: \Axmath-display\[Return]
KK: x^2\[Return]\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
TestEnd
Assert searchPatterns.pl log=findadv-14.loga.txt patterns=findadv-14.ctrl