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.
This commit is contained in:
Kornel Benko 2017-05-09 21:08:52 +02:00
parent afd32f7843
commit bfc0b09e0c
39 changed files with 70 additions and 70 deletions

View File

@ -1,7 +1,7 @@
# see http://www.lyx.org/trac/ticket/7673#comment:15 # see http://www.lyx.org/trac/ticket/7673#comment:15
# #
Lang en_US.utf8 Lang en_US.utf8
TestBegin ../bug-7673.lyx > bug-7673.loga.txt 2>&1 TestBegin -dbg key ../bug-7673.lyx > bug-7673.loga.txt 2>&1
# 'outline-in' was needed to reproduce the crash on some commits when bisecting # 'outline-in' was needed to reproduce the crash on some commits when bisecting
KK: \Axcommand-sequence repeat 3 char-forward; outline-in; down; down\[Return] KK: \Axcommand-sequence repeat 3 char-forward; outline-in; down; down\[Return]
TestEnd TestEnd

View File

@ -1,6 +1,6 @@
# based on the steps to reproduce #7673 in the original report # based on the steps to reproduce #7673 in the original report
# #
Lang en_US.utf8 Lang en_US.utf8
TestBegin > bug-7673b.loga.txt 2>&1 TestBegin -dbg key > bug-7673b.loga.txt 2>&1
KK: \Axcommand-sequence buffer-new; layout Itemize; self-insert a; paragraph-break; depth-increment; self-insert b; up; char-delete-backward; down\[Return] KK: \Axcommand-sequence buffer-new; layout Itemize; self-insert a; paragraph-break; depth-increment; self-insert b; up; char-delete-backward; down\[Return]
TestEnd TestEnd

View File

@ -1,6 +1,6 @@
# .lyx file is from http://www.lyx.org/trac/ticket/8370#comment:8 # .lyx file is from http://www.lyx.org/trac/ticket/8370#comment:8
# #
Lang en_US.utf8 Lang en_US.utf8
TestBegin ../bug-8370.lyx > bug-8370.loga.txt 2>&1 TestBegin -dbg key ../bug-8370.lyx > bug-8370.loga.txt 2>&1
KK: \Axcommand-sequence change-next; change-reject; change-next\[Return] KK: \Axcommand-sequence change-next; change-reject; change-next\[Return]
TestEnd TestEnd

View File

@ -4,7 +4,7 @@
# is cleared after the next test starts. # is cleared after the next test starts.
Lang en_US.utf8 Lang en_US.utf8
TestBegin test.lyx > bug-8482.loga.txt 2>&1 TestBegin -dbg key test.lyx > bug-8482.loga.txt 2>&1
KK: \Cm KK: \Cm
KK: \Ai KK: \Ai
TestEnd TestEnd

View File

@ -2,7 +2,7 @@
# #
Lang en_US.utf8 Lang en_US.utf8
TestBegin > bug-8540.loga.txt 2>&1 TestBegin -dbg key > bug-8540.loga.txt 2>&1
KK: \Axlyxrc-apply \\spellchecker enchant\[Return] KK: \Axlyxrc-apply \\spellchecker enchant\[Return]
KK: \Axlyxrc-apply \\spellchecker enchant\[Return] KK: \Axlyxrc-apply \\spellchecker enchant\[Return]
TestEnd TestEnd

View File

@ -1,8 +1,8 @@
Lang en_US.utf8 Lang en_US.utf8
TestBegin ../bug-8684.lyx > bug-8684.loga.txt 2>&1 TestBegin -dbg key ../bug-8684.lyx > bug-8684.loga.txt 2>&1
KK: \Axcommand-sequence change-next; change-reject; change-next\[Return] KK: \Axcommand-sequence change-next; change-reject; change-next\[Return]
TestEnd TestEnd
TestBegin ../bug-8684.lyx > bug-8684.logb.txt 2>&1 TestBegin -dbg key ../bug-8684.lyx > bug-8684.logb.txt 2>&1
KK: \Axcommand-sequence char-forward; change-next\[Return] KK: \Axcommand-sequence char-forward; change-next\[Return]
TestEnd TestEnd

View File

@ -4,7 +4,7 @@
# #
Lang C Lang C
TestBegin -dbg files test.lyx > bug-export-latex.loga.txt 2>&1 TestBegin -dbg key,files test.lyx > bug-export-latex.loga.txt 2>&1
KK: \Axinfo-insert icon math-mode\[Return] KK: \Axinfo-insert icon math-mode\[Return]
KK: \Axbuffer-export luatex\[Return] KK: \Axbuffer-export luatex\[Return]
KK: \[Tab]\[Return] KK: \[Tab]\[Return]

View File

@ -2,7 +2,7 @@
# #
Lang C Lang C
TestBegin test.lyx > bug-math-undo.loga.txt 2>&1 TestBegin -dbg key test.lyx > bug-math-undo.loga.txt 2>&1
KK: \Amm\\frac \\sqrt \Cz KK: \Amm\\frac \\sqrt \Cz
KK: \[Return] KK: \[Return]
TestEnd TestEnd

View File

@ -2,7 +2,7 @@
# match should not consider the just replaced text (#4388) # match should not consider the just replaced text (#4388)
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-01.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-01.loga.txt 2>&1
KK: aaa\[Home] KK: aaa\[Home]
KK: \CF KK: \CF
KK: a\[Tab] KK: a\[Tab]

View File

@ -1,7 +1,7 @@
# Basic test on refactoring of mathematics notation # Basic test on refactoring of mathematics notation
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-02.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-02.loga.txt 2>&1
KK: \Cm KK: \Cm
KK: x^(a) +\\frac 1+x^(a) \[Down]1-x^(a) \C\[Home] KK: x^(a) +\\frac 1+x^(a) \[Down]1-x^(a) \C\[Home]
KK: \CF KK: \CF

View File

@ -1,6 +1,6 @@
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-03.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-03.loga.txt 2>&1
KK: \Cm KK: \Cm
KK: x^2 -x^2\C\[Home] KK: x^2 -x^2\C\[Home]
KK: \Cs KK: \Cs
@ -10,7 +10,7 @@ KK: x^2\[Return]
Lang C Lang C
TestEnd pcregrep -M "Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0" findadv-03.loga.txt TestEnd pcregrep -M "Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0" findadv-03.loga.txt
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test2.lyx -dbg find > findadv-03.logb.txt 2>&1 TestBegin test2.lyx -dbg key,find > findadv-03.logb.txt 2>&1
KK: \Cm KK: \Cm
KK: x^2 -x^2\C\[Home] KK: x^2 -x^2\C\[Home]
KK: \Cs KK: \Cs

View File

@ -1,7 +1,7 @@
# Regression test for #7245 # Regression test for #7245
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-04.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-04.loga.txt 2>&1
KK: \Cm KK: \Cm
KK: x^2 \[Return] KK: x^2 \[Return]
KK: \Cm KK: \Cm

View File

@ -1,7 +1,7 @@
# Basic test for format-aware searching # Basic test for format-aware searching
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-05.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-05.loga.txt 2>&1
KK: foo \Cefoo foo\Ce foo\C\[Home] KK: foo \Cefoo foo\Ce foo\C\[Home]
KK: \Cs KK: \Cs
KK: \CF KK: \CF
@ -14,7 +14,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 3' findadv-05.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 3' findadv-05.loga.txt
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-05.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-05.logb.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah

View File

@ -1,7 +1,7 @@
# Basic test for searching with par-style awareness # Basic test for searching with par-style awareness
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-06.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-06.loga.txt 2>&1
KK: foo\[Return] KK: foo\[Return]
KK: \Ap2 KK: \Ap2
KK: foo\[Return] KK: foo\[Return]
@ -19,7 +19,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3' findadv-06.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3' findadv-06.loga.txt
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-06.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-06.logb.txt 2>&1
KK: \C\[Home] KK: \C\[Home]
KK: \Axdialog-show findreplaceadv\[Return] KK: \Axdialog-show findreplaceadv\[Return]
# Uncheck ignore format # Uncheck ignore format

View File

@ -1,7 +1,7 @@
# Basic test for searching with par-style awareness # Basic test for searching with par-style awareness
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-07.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-07.loga.txt 2>&1
KK: foo bar\[Return] KK: foo bar\[Return]
#select itemized #select itemized
KK: \Apb KK: \Apb
@ -19,7 +19,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3' findadv-07.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3' findadv-07.loga.txt
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-07.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-07.logb.txt 2>&1
KK: \C\[Home] KK: \C\[Home]
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format

View File

@ -1,7 +1,7 @@
# Basic test for searching with regular expressions # Basic test for searching with regular expressions
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-08.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-08.loga.txt 2>&1
KK: Nel mezzo del cammin di nostra vita\[Return] KK: Nel mezzo del cammin di nostra vita\[Return]
KK: mi ritrovai per una selva oscura\C\[Home] KK: mi ritrovai per una selva oscura\C\[Home]
KK: \Axbuffer-write\[Return] KK: \Axbuffer-write\[Return]
@ -14,7 +14,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8' findadv-08.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8' findadv-08.loga.txt
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-08.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-08.logb.txt 2>&1
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return] KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
KK: o KK: o
KK: \Axregexp-mode\[Return] KK: \Axregexp-mode\[Return]
@ -29,7 +29,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6' findadv-08.logb.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6' findadv-08.logb.txt
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-08.logc.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-08.logc.txt 2>&1
KK: \C\[Home]\Axdialog-show findreplaceadv\[Return] KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
KK: \Axregexp-mode\[Return] KK: \Axregexp-mode\[Return]
KK: .* \Ac\Ac KK: .* \Ac\Ac

View File

@ -1,7 +1,7 @@
# Test for searching with regular expressions # Test for searching with regular expressions
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-09.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-09.loga.txt 2>&1
KK: \Apb KK: \Apb
KK: one\[Return]two\[Return]three\C\[Home]\Cs KK: one\[Return]two\[Return]three\C\[Home]\Cs
KK: \CF KK: \CF
@ -14,7 +14,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3' findadv-09.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3' findadv-09.loga.txt
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-09.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-09.logb.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah

View File

@ -2,7 +2,7 @@
# when ignoring format # when ignoring format
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-10.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-10.loga.txt 2>&1
KK: This is LyX,\[Return] KK: This is LyX,\[Return]
KK: a WYSIWYG LaTeX editor.\C\[Home] KK: a WYSIWYG LaTeX editor.\C\[Home]
KK: \Cs KK: \Cs
@ -15,7 +15,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 3' findadv-10.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 3' findadv-10.loga.txt
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-10.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-10.logb.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah

View File

@ -1,7 +1,7 @@
# Inspired by #7363. # Inspired by #7363.
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-11.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-11.loga.txt 2>&1
KK: \Cm KK: \Cm
KK: x_v \C\[Home] KK: x_v \C\[Home]
KK: \Cs KK: \Cs
@ -13,7 +13,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n.*idx: 1 par: 0 pos: 0\n with len: 1' findadv-11.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n.*idx: 1 par: 0 pos: 0\n with len: 1' findadv-11.loga.txt
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-11.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-11.logb.txt 2>&1
KK: \C\[Home] KK: \C\[Home]
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format

View File

@ -3,7 +3,7 @@
# (#7442) # (#7442)
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-12.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-12.loga.txt 2>&1
KK: a\C\[Home] KK: a\C\[Home]
KK: \CF KK: \CF
KK: a\[Tab] KK: a\[Tab]

View File

@ -1,7 +1,7 @@
# Finding footnotes # Finding footnotes
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-13.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-13.loga.txt 2>&1
KK: \Axfootnote-insert\[Return] KK: \Axfootnote-insert\[Return]
# Work around a little UI bug/non-determinism in cursor position after LFUN # Work around a little UI bug/non-determinism in cursor position after LFUN
KK: \C\[Home]\[Right] KK: \C\[Home]\[Right]

View File

@ -1,7 +1,7 @@
# Finding displayed maths with ignore-format on&off (might affect #7596) # Finding displayed maths with ignore-format on&off (might affect #7596)
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-14.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-14.loga.txt 2>&1
KK: \Axmath-display\[Return] KK: \Axmath-display\[Return]
KK: x^2 +x^2\C\[Home] KK: x^2 +x^2\C\[Home]
KK: \Cs KK: \Cs
@ -15,7 +15,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1' findadv-14.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1' findadv-14.loga.txt
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-14.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-14.logb.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah
@ -26,7 +26,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1' findadv-14.logb.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1' findadv-14.logb.txt
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-14.logc.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-14.logc.txt 2>&1
KK: \CF KK: \CF
KK: \Axmath-display\[Return] KK: \Axmath-display\[Return]
KK: x^2\[Return] KK: x^2\[Return]
@ -35,7 +35,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1' findadv-14.logc.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1' findadv-14.logc.txt
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-14.logd.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-14.logd.txt 2>&1
KK: \CF KK: \CF
KK: \Axmath-display\[Return] KK: \Axmath-display\[Return]
KK: x^2\[Return]\[Return] KK: x^2\[Return]\[Return]

View File

@ -1,7 +1,7 @@
# Finding numbered maths with ignore-format on&off (might affect #7596) # Finding numbered maths with ignore-format on&off (might affect #7596)
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-15.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-15.loga.txt 2>&1
KK: \CM\Axmath-number-toggle\[Return] KK: \CM\Axmath-number-toggle\[Return]
KK: x^2 +x^2\C\[Home] KK: x^2 +x^2\C\[Home]
KK: \Cs KK: \Cs
@ -15,7 +15,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1' findadv-15.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1' findadv-15.loga.txt
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-15.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-15.logb.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah
@ -26,7 +26,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1' findadv-15.logb.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1' findadv-15.logb.txt
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-15.logc.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-15.logc.txt 2>&1
KK: \CF KK: \CF
KK: \CM\Axmath-number-toggle\[Return] KK: \CM\Axmath-number-toggle\[Return]
KK: x^2\[Return] KK: x^2\[Return]
@ -35,7 +35,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1' findadv-15.logc.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1' findadv-15.logc.txt
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-15.logd.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-15.logd.txt 2>&1
KK: \CF KK: \CF
KK: \CM\Axmath-number-toggle\[Return] KK: \CM\Axmath-number-toggle\[Return]
KK: x^2\[Return]\[Return] KK: x^2\[Return]\[Return]

View File

@ -2,7 +2,7 @@
# (gather environment comes in the *-form after mutate) # (gather environment comes in the *-form after mutate)
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-16.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-16.loga.txt 2>&1
KK: \CM\Axmath-mutate gather\[Return] KK: \CM\Axmath-mutate gather\[Return]
KK: x^2 +x^2\C\[Home] KK: x^2 +x^2\C\[Home]
KK: \Cs KK: \Cs
@ -16,7 +16,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1' findadv-16.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1' findadv-16.loga.txt
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-16.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-16.logb.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah

View File

@ -1,7 +1,7 @@
# Finding consecutive macros in math mode # Finding consecutive macros in math mode
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-17.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-17.loga.txt 2>&1
KK: \Cm\\alpha\\beta\\alpha \C\[Home] KK: \Cm\\alpha\\beta\\alpha \C\[Home]
KK: \Cs KK: \Cs
KK: \CF KK: \CF
@ -11,7 +11,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 1\n with len: 2' findadv-17.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 1\n with len: 2' findadv-17.loga.txt
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-17.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-17.logb.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah

View File

@ -1,7 +1,7 @@
# Searching for regexp with e.g. \[Backspace]\[Backspace]s finds blanks # Searching for regexp with e.g. \[Backspace]\[Backspace]s finds blanks
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-18.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-18.loga.txt 2>&1
KK: a b c\C\[Home] KK: a b c\C\[Home]
KK: \Cs KK: \Cs
KK: \CF KK: \CF

View File

@ -1,7 +1,7 @@
# Check that searching for regexp "([a-z]+)\s\1" finds duplicate words. # Check that searching for regexp "([a-z]+)\s\1" finds duplicate words.
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-19.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-19.loga.txt 2>&1
KK: Hello world world!\C\[Home] KK: Hello world world!\C\[Home]
KK: \Cs KK: \Cs
KK: \CF KK: \CF

View File

@ -3,7 +3,7 @@
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-20.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-20.loga.txt 2>&1
KK: a a a\C\[Home] KK: a a a\C\[Home]
KK: \CF KK: \CF
KK: a\[Tab] KK: a\[Tab]
@ -15,7 +15,7 @@ Lang C
Assert pcregrep -M '^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ a' test.tex Assert pcregrep -M '^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ a' test.tex
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test2.lyx -dbg find > findadv-20.logb.txt 2>&1 TestBegin test2.lyx -dbg key,find > findadv-20.logb.txt 2>&1
KK: \Cma \Cma \Cma \C\[Home] KK: \Cma \Cma \Cma \C\[Home]
KK: \CF KK: \CF
KK: a\[Tab] KK: a\[Tab]

View File

@ -2,7 +2,7 @@
# Test for #8381 # Test for #8381
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-21.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-21.loga.txt 2>&1
KK: \Apb KK: \Apb
KK: one\[Return] KK: one\[Return]
KK: two\[Return] KK: two\[Return]
@ -27,7 +27,7 @@ Lang C
Assert pcregrep -M 'Putting selection at cur= inset: .* idx: 0 par: 3 pos: 0\n with len: 4' findadv-21.loga.txt 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 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-21.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-21.logb.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah

View File

@ -2,7 +2,7 @@
# Crash in using function 'word-findadv' # Crash in using function 'word-findadv'
Lang C Lang C
TestBegin test.lyx -dbg find > findadv-crash.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-crash.loga.txt 2>&1
KK: abcd KK: abcd
KK: \Axword-findadv a\[Return] KK: \Axword-findadv a\[Return]
TestEnd TestEnd

View File

@ -2,7 +2,7 @@
# when ignoring format # when ignoring format
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-logo.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-logo.loga.txt 2>&1
KK: This should be a LaTeX logo: KK: This should be a LaTeX logo:
KK: \Axspecialchar-insert lyx\[Return]\[Return] KK: \Axspecialchar-insert lyx\[Return]\[Return]
KK: for a WYSIWYG LaTeX editor.\C\[Home] KK: for a WYSIWYG LaTeX editor.\C\[Home]

View File

@ -1,7 +1,7 @@
# Finding special latex/regexp chars: ( # Finding special latex/regexp chars: (
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-re-01.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-01.loga.txt 2>&1
KK: \\()[]{}%^#@?*.\C\[Home] KK: \\()[]{}%^#@?*.\C\[Home]
KK: \Cs KK: \Cs
KK: \CF KK: \CF
@ -11,7 +11,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 1\n with len: 1' findadv-re-01.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 1\n with len: 1' findadv-re-01.loga.txt
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-re-01.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-01.logb.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah
@ -23,7 +23,7 @@ Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 1\n with len: 1' f
# Finding special latex/regexp chars: [ # Finding special latex/regexp chars: [
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-re-01.logc.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-01.logc.txt 2>&1
KK: \CF KK: \CF
KK: \Axregexp-mode\[Return]\\[\[Return] KK: \Axregexp-mode\[Return]\\[\[Return]
TestEnd TestEnd
@ -31,7 +31,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 3\n with len: 1' findadv-re-01.logc.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 3\n with len: 1' findadv-re-01.logc.txt
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-re-01.logd.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-01.logd.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah

View File

@ -1,7 +1,7 @@
# Finding special latex/regexp chars: \ # Finding special latex/regexp chars: \
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-re-02.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-02.loga.txt 2>&1
KK: \\()[]{}%^#@?*.\C\[Home] KK: \\()[]{}%^#@?*.\C\[Home]
KK: \Cs KK: \Cs
KK: \CF KK: \CF
@ -11,7 +11,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1' findadv-re-02.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1' findadv-re-02.loga.txt
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-re-02.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-02.logb.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah
@ -23,7 +23,7 @@ Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1' f
# Finding special latex/regexp chars: % # Finding special latex/regexp chars: %
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-re-02.logc.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-02.logc.txt 2>&1
KK: \CF KK: \CF
KK: \Axregexp-mode\[Return]%\[Return] KK: \Axregexp-mode\[Return]%\[Return]
TestEnd TestEnd
@ -31,7 +31,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1' findadv-re-02.logc.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1' findadv-re-02.logc.txt
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-re-02.logd.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-02.logd.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah
@ -43,7 +43,7 @@ Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1' f
# Finding special latex/regexp chars: ^ # Finding special latex/regexp chars: ^
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-re-02.loge.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-02.loge.txt 2>&1
KK: \CF KK: \CF
KK: \Axregexp-mode\[Return]\\^\[Return] KK: \Axregexp-mode\[Return]\\^\[Return]
TestEnd TestEnd
@ -51,7 +51,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 1' findadv-re-02.loge.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 1' findadv-re-02.loge.txt
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-re-02.logf.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-02.logf.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah

View File

@ -1,7 +1,7 @@
# Finding special latex/regexp chars: { # Finding special latex/regexp chars: {
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-re-03.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-03.loga.txt 2>&1
KK: \\()[]{}%^#@?*.\C\[Home] KK: \\()[]{}%^#@?*.\C\[Home]
KK: \Cs KK: \Cs
KK: \CF KK: \CF
@ -11,7 +11,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1' findadv-re-03.loga.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1' findadv-re-03.loga.txt
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-re-03.logb.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-03.logb.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah
@ -23,7 +23,7 @@ Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1' f
# Finding special latex/regexp chars: } # Finding special latex/regexp chars: }
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-re-03.logc.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-03.logc.txt 2>&1
KK: \CF KK: \CF
KK: \Axregexp-mode\[Return]\\}\[Return] KK: \Axregexp-mode\[Return]\\}\[Return]
TestEnd TestEnd
@ -31,7 +31,7 @@ Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 1' findadv-re-03.logc.txt Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 1' findadv-re-03.logc.txt
# #
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-re-03.logd.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-03.logd.txt 2>&1
KK: \CF KK: \CF
# Uncheck ignore format # Uncheck ignore format
KK: \At\Ai\Ah KK: \At\Ai\Ah

View File

@ -1,7 +1,7 @@
# Finding styles with regexp # Finding styles with regexp
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-re-04.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-04.loga.txt 2>&1
KK: Hello \CeHello\C\[Home] KK: Hello \CeHello\C\[Home]
KK: \Cs KK: \Cs
KK: \CF KK: \CF

View File

@ -9,7 +9,7 @@
# ask if the cursor started at the beginning of the buffer). # ask if the cursor started at the beginning of the buffer).
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx -dbg find > findadv-re-05.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-05.loga.txt 2>&1
KK: \Cm\\frac 1-x\[Down]1+x^2 \C\[Home] KK: \Cm\\frac 1-x\[Down]1+x^2 \C\[Home]
KK: \CF KK: \CF
KK: \Cm\\frac \Axregexp-mode\[Return].* \[Down]1+x^2 \[Return] KK: \Cm\\frac \Axregexp-mode\[Return].* \[Down]1+x^2 \[Return]

View File

@ -1,7 +1,7 @@
# Finding regexps within \frac{} # Finding regexps within \frac{}
Lang sk_SK.utf8 Lang sk_SK.utf8
TestBegin test.lyx -dbg find > findadv-re-06.loga.txt 2>&1 TestBegin test.lyx -dbg key,find > findadv-re-06.loga.txt 2>&1
KK: \Cm\\frac 1-x\[Down]1+x^2 \C\[Home] KK: \Cm\\frac 1-x\[Down]1+x^2 \C\[Home]
KK: \CF KK: \CF
# Uncheck ignore format (depends on IT language) # Uncheck ignore format (depends on IT language)

View File

@ -1,4 +1,4 @@
Lang en_US.utf8 Lang en_US.utf8
TestBegin test.lyx > first-time.loga.txt 2>&1 TestBegin -dbg key test.lyx > first-time.loga.txt 2>&1
KK: \[Left]\[Return] KK: \[Left]\[Return]
TestEnd TestEnd

View File

@ -2,7 +2,7 @@
# (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167716.html) # (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167716.html)
# #
Lang it_IT.utf8 Lang it_IT.utf8
TestBegin test.lyx > tabular-footnote.loga.txt 2>&1 TestBegin test.lyx -dbg key > tabular-footnote.loga.txt 2>&1
KK: \Axtabular-insert 1 1\[Return]\[Left] KK: \Axtabular-insert 1 1\[Return]\[Left]
KK: \Axinset-modify tabular align-decimal\[Return] KK: \Axinset-modify tabular align-decimal\[Return]
KK: \Axfootnote-insert\[Return] KK: \Axfootnote-insert\[Return]