From 9e3086fbfcac0e284de6928c5b4339a67bcb0766 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Fri, 29 May 2020 20:56:38 +0200 Subject: [PATCH] FindAdv: Remaining tests working now again All of these changes were due to 1.) Changed latex output (white space) 2.) changed reaction of dialog shortcut to return from find-adv settings to search tab 3.) debug-mode of libstdc++ 4.) LASSERT in InsetMathGrid.cpp --- development/autotests/findadv-logo-in.txt | 1 + development/autotests/findadv-re-02-in.txt | 3 +++ development/autotests/findadv-re-03-in.txt | 2 ++ development/autotests/findadv-re-04-in.txt | 6 +++++- development/autotests/findadv-re-06-in.txt | 1 + 5 files changed, 12 insertions(+), 1 deletion(-) diff --git a/development/autotests/findadv-logo-in.txt b/development/autotests/findadv-logo-in.txt index 3da4d6534b..b3a4a6c22c 100644 --- a/development/autotests/findadv-logo-in.txt +++ b/development/autotests/findadv-logo-in.txt @@ -10,6 +10,7 @@ KK: \Cs KK: \CF # Uncheck ignore format (depends on IT language) KK: \At\Ai\Ah +KK: \CF KK: \Axspecialchar-insert lyx\[Return]\[Tab] KK: \Axspecialchar-insert latex\[Return]\Al\Ar\An KK: \[Tab]\[Return] diff --git a/development/autotests/findadv-re-02-in.txt b/development/autotests/findadv-re-02-in.txt index d9b7e1ac19..e82549aa11 100644 --- a/development/autotests/findadv-re-02-in.txt +++ b/development/autotests/findadv-re-02-in.txt @@ -18,6 +18,7 @@ CN: Part 2 KK: \CF # Uncheck ignore format KK: \At\Ai\Ah +KK: \CF KK: \Axregexp-mode\[Return]\\\\\[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1 TestEnd @@ -40,6 +41,7 @@ CN: Part 4 KK: \CF # Uncheck ignore format KK: \At\Ai\Ah +KK: \CF KK: \Axregexp-mode\[Return]%\[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1 TestEnd @@ -62,6 +64,7 @@ CN: Part 6 KK: \CF # Uncheck ignore format KK: \At\Ai\Ah +KK: \CF KK: \Axregexp-mode\[Return]\\^\[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 1 TestEnd diff --git a/development/autotests/findadv-re-03-in.txt b/development/autotests/findadv-re-03-in.txt index 9718467dbf..26dec197d9 100644 --- a/development/autotests/findadv-re-03-in.txt +++ b/development/autotests/findadv-re-03-in.txt @@ -18,6 +18,7 @@ CN: Part 2 KK: \CF # Uncheck ignore format KK: \At\Ai\Ah +KK: \CF KK: \Axregexp-mode\[Return]\\{\[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1 TestEnd @@ -40,6 +41,7 @@ CN: Part 4 KK: \CF # Uncheck ignore format KK: \At\Ai\Ah +KK: \CF KK: \Axregexp-mode\[Return]\\}\[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 1 Sleep 1 diff --git a/development/autotests/findadv-re-04-in.txt b/development/autotests/findadv-re-04-in.txt index ef09d9f04c..1b35ef39c0 100644 --- a/development/autotests/findadv-re-04-in.txt +++ b/development/autotests/findadv-re-04-in.txt @@ -13,6 +13,7 @@ KK: \Cs KK: \CF # Uncheck ignore format (depends on IT language) KK: \At\Ai\Ah +KK: \CF KK: \Ce CN: Case insensitive, format not ignored .* KK: \Axregexp-mode\[Return].*\[Return] @@ -29,8 +30,9 @@ CN: Case insensitive, format not ignored [a-z]* KK: \CF # Uncheck ignore format (depends on IT language) KK: \At\Ai\Ah +KK: \CF KK: \Ce -KK: \Axregexp-mode\[Return]\\b[a-z\\s]*\\b\[Return]\[Return]\[Return] +KK: \Axregexp-mode\[Return]\\b[a-z]*\\b\[Return]\[Return]\[Return] Cr: ^.*Putting CP: Putting selection at .*idx: 0 par: 0 pos: 16\n with len: 3 Cr: ^.*Putting @@ -46,6 +48,7 @@ TestBegin test.lyx -dbg key,find >> findadv-re-04.loga.txt 2>&1 CN: Case sensitive, format not ignored [a-z]* KK: \CF KK: \At\Ai\Ah +KK: \CF KK: \Ce KK: \Az\[Tab]\Axregexp-mode\[Return][a-z]+\[Return]\[Return]\[Return]\[Return] Cr: ^.*Putting @@ -67,6 +70,7 @@ TestBegin test.lyx -dbg key,find >> findadv-re-04.loga.txt 2>&1 CN: Case sensitive, format not ignored [A-Z]+ KK: \CF KK: \At\Ai\Ah +KK: \CF KK: \Ce KK: \Az\[Tab]\Axregexp-mode\[Return][A-Z]+\[Return]\[Return]\[Return] Cr: ^.*Putting diff --git a/development/autotests/findadv-re-06-in.txt b/development/autotests/findadv-re-06-in.txt index dd22409520..9379da0de7 100644 --- a/development/autotests/findadv-re-06-in.txt +++ b/development/autotests/findadv-re-06-in.txt @@ -8,6 +8,7 @@ KK: \Cm\\frac 1-x\[Down]1+x^2 \C\[Home] KK: \CF # Uncheck ignore format (depends on IT language) KK: \At\Ai\Ah +KK: \CF KK: \Cm\\frac \Axregexp-mode\[Return].* \[Down]1+x^2 \[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1 TestEnd