]> git.lyx.org Git - features.git/commitdiff
keytests: small improvements in test speed
authorKornel Benko <kornel@lyx.org>
Mon, 24 Apr 2017 15:43:39 +0000 (17:43 +0200)
committerKornel Benko <kornel@lyx.org>
Mon, 24 Apr 2017 15:43:39 +0000 (17:43 +0200)
development/autotests/bug-7673-in.txt
development/autotests/bug-7673b-in.txt
development/autotests/bug-8370-in.txt
development/autotests/bug-8684-in.txt
development/autotests/bug-export-latex-in.txt
development/autotests/findadv-08-in.txt

index ceb3bfd6f1e0fbdafa00c3a2ffafaaf011a56573..dad630b1f6349a22e07da55bf58bf1b55ea89c51 100644 (file)
@@ -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
index f3e359504f2b8ece898c023ac32894adc3aa5f74..7dae139f0341cf03aec7f78b126f59f27658f445 100644 (file)
@@ -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
index c3247ab786707c76954066fa3a774504cadb48f8..78e554a2ed352599c250b719610cea4add36d564 100644 (file)
@@ -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
index 9954f79b2fa37c8faddd50c95c3758bd0b5323f2..c6b5224ba4c3ee5f068d739c3d41385af9f95803 100644 (file)
@@ -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
index b45c81552de8590e21cc6205187d5f8d77c917f5..23264b9310be6ae15c9639c7ee35919666f05a63 100644 (file)
@@ -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
index c77ddd4a6a5fb08ef16c0cb7e93e29420e1fe448..a0f6d952b2da090b2bd55bff0169bde4c1532d02 100644 (file)
@@ -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