lyx_mirror/development/autotests/findadv-08-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

# Basic test for searching with regular expressions
Lang sk_SK.utf8
TestBegin test.lyx -dbg key,find > findadv-08.loga.txt 2>&1
CO: findadv-08.ctrl
CN: Started findadv-08 1
CP: Key (queried) [action=buffer-begin][Ctrl+Home]
KK: Nel mezzo del cammin di nostra vita\[Return]
KK: mi ritrovai per una selva oscura\C\[Home]
KK: \Axbuffer-write\[Return]
KK: \Axdialog-show findreplaceadv\[Return]
KK: o
KK: \Axregexp-mode\[Return]
KK: .* a\[Return]
CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8
#
CN: Started findadv-08 2
KK: \[Escape]\C\[Home]\Axdialog-show findreplaceadv\[Return]
KK: \[Delete]
KK: o
KK: \Axregexp-mode\[Return]
KK: [\\w]* a
# Without the slowing, lyx crashes
KD: 100
# select whole words
KK: \Ac\Ac
# search next
KK: \Al
KK: \[Escape]
#KD: 1
CP: Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6
#
CN: Started findadv-08 3
KK: \[Escape]
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
KK: \[Delete]
KK: \Axregexp-mode\[Return]
KK: .*
KK: \Al\Al\Al
CP: Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3
TestEnd
CC:
Assert searchPatterns.pl log=findadv-08.loga.txt patterns=findadv-08.ctrl