mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
keytests: small improvements in test speed
This commit is contained in:
parent
0cda6808d7
commit
54f2d0ee22
@ -4,6 +4,7 @@ Lang en_US.utf8
|
||||
TestBegin ../bug-7673.lyx > lyx-log.txt 2>&1
|
||||
KK: \Ax
|
||||
# 'outline-in' was needed to reproduce the crash on some commits when bisecting
|
||||
KD: 1
|
||||
KK: command-sequence repeat 3 char-forward; outline-in; down; down\[Return]
|
||||
TestEnd
|
||||
Assert ! pcregrep -M 'SIGSEGV' lyx-log.txt
|
||||
|
@ -3,5 +3,6 @@
|
||||
Lang en_US.utf8
|
||||
TestBegin > lyx-log.txt 2>&1
|
||||
KK: \Ax
|
||||
KD: 1
|
||||
KK: command-sequence buffer-new; layout Itemize; self-insert a; paragraph-break; depth-increment; self-insert b; up; char-delete-backward; down\[Return]
|
||||
TestEnd
|
||||
|
@ -3,5 +3,6 @@
|
||||
Lang en_US.utf8
|
||||
TestBegin ../bug-8370.lyx > lyx-log.txt 2>&1
|
||||
KK: \Ax
|
||||
KD: 1
|
||||
KK: command-sequence change-next; change-reject; change-next\[Return]
|
||||
TestEnd
|
||||
|
@ -1,10 +1,12 @@
|
||||
Lang en_US.utf8
|
||||
TestBegin ../bug-8684.lyx > lyx-log1.txt 2>&1
|
||||
KK: \Ax
|
||||
KD: 1
|
||||
KK: command-sequence change-next; change-reject; change-next\[Return]
|
||||
TestEnd
|
||||
|
||||
TestBegin ../bug-8684.lyx > lyx-log2.txt 2>&1
|
||||
KK: \Ax
|
||||
KD: 1
|
||||
KK: command-sequence char-forward; change-next\[Return]
|
||||
TestEnd
|
||||
|
@ -1,4 +1,5 @@
|
||||
# Test export lyx-icon-info
|
||||
# creates lib/images/math-mode.pdf in lyx-source tree, but it should not
|
||||
#
|
||||
#
|
||||
|
||||
@ -7,6 +8,8 @@ TestBegin -dbg files test.lyx > lyx-log.txt 2>&1
|
||||
KK: \Axinfo-insert icon math-mode\[Return]
|
||||
KK: \Axbuffer-export luatex\[Return]
|
||||
KK: \[Tab]\[Return]
|
||||
KK: \Axbuffer-write\[Return]
|
||||
KK: \[Tab]\[Return]
|
||||
TestEnd
|
||||
Lang C
|
||||
Assert ! pcregrep -M "support/FileName.cpp .* creating path '/.*/lib/images'" lyx-log.txt
|
||||
|
@ -6,7 +6,9 @@ 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\Axregexp-mode\[Return].* a\[Return]
|
||||
KK: o
|
||||
KK: \Axregexp-mode\[Return]
|
||||
KK: .* a\[Return]
|
||||
TestEnd
|
||||
Lang C
|
||||
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8' lyx-log.txt
|
||||
@ -14,11 +16,13 @@ Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8' l
|
||||
Lang sk_SK.utf8
|
||||
TestBegin test.lyx -dbg find > lyx-log2.txt 2>&1
|
||||
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
|
||||
KK: o\Axregexp-mode\[Return][\\w]* a
|
||||
KK: o
|
||||
KK: \Axregexp-mode\[Return]
|
||||
KK: [\\w]* a
|
||||
# select whole words
|
||||
KK: \Ac\Ac
|
||||
KD: 500
|
||||
# search next
|
||||
KK: \Al
|
||||
KD: 100
|
||||
TestEnd
|
||||
Lang C
|
||||
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6' lyx-log2.txt
|
||||
@ -26,7 +30,10 @@ Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6'
|
||||
Lang sk_SK.utf8
|
||||
TestBegin test.lyx -dbg find > lyx-log3.txt 2>&1
|
||||
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
|
||||
KK: \Axregexp-mode\[Return].* \Ac\Ac\Al\Al\Al
|
||||
KK: \Axregexp-mode\[Return]
|
||||
KK: .* \Ac\Ac
|
||||
KK: \Al\Al\Al
|
||||
KK: \[Tab]\[Return]
|
||||
TestEnd
|
||||
Lang C
|
||||
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3' lyx-log3.txt
|
||||
|
Loading…
Reference in New Issue
Block a user