From 8ec16f4020e0f64768ad2ae80d3203af1c2c145b Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Sun, 17 Jan 2021 14:30:34 +0100 Subject: [PATCH] Cmake tests: findadv-01 - findadv-21 working Tests 07 and 09 corrected because of not working shortcuts in cua env using sk/menus.bind. --- development/autotests/findadv-07-in.txt | 21 +++++++++++++++++---- development/autotests/findadv-09-in.txt | 9 ++++++--- development/autotests/findadv-11-in.txt | 1 + 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/development/autotests/findadv-07-in.txt b/development/autotests/findadv-07-in.txt index 77f6b8b2d3..844145a614 100644 --- a/development/autotests/findadv-07-in.txt +++ b/development/autotests/findadv-07-in.txt @@ -1,4 +1,17 @@ # Basic test for searching with par-style awareness +UseShortcut "C-F20" "layout Part" +UseShortcut "C-F21" "layout Chapter" +UseShortcut "C-F22" "layout Section" +UseShortcut "C-F23" "layout Subsection" +UseShortcut "C-F24" "layout Subsubsection" +UseShortcut "C-F25" "layout Paragraph" +UseShortcut "C-F26" "layout Subparagraph" +UseShortcut "C-F29" "layout Standard" +UseShortcut "C-F30" "layout Itemize" + +PrepareShortcuts +Lang sk_SK.utf8 +CO: findadv-06.ctrl Lang sk_SK.utf8 CO: findadv-07.ctrl @@ -7,16 +20,16 @@ KD: 100 CN: Part 1 KK: foo bar\[Return] #select itemized -KK: \Aob +KK: \C\[F30] KK: foo bar\[Return] -KK: \Ao9 +KK: \C\[F29] KK: foo bar\C\[Home] KK: \Axbuffer-write\[Return] KK: \Axdialog-show findreplaceadv\[Return] # Uncheck ignore format KK: \At\Ai\Ah KK: \CF -KK: \Aob +KK: \C\[F30] Sleep 1 KK: foo\[Return] CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3 @@ -29,7 +42,7 @@ KK: \[Delete] # Uncheck ignore format #KK: \At\Ai\Ah #KK: \CF -KK: \Aob +KK: \C\[F30] Sleep 1 KK: bar\[Return] CP: Putting selection at .*idx: 0 par: 1 pos: 4\n with len: 3 diff --git a/development/autotests/findadv-09-in.txt b/development/autotests/findadv-09-in.txt index 48d1b2bd44..684076f635 100644 --- a/development/autotests/findadv-09-in.txt +++ b/development/autotests/findadv-09-in.txt @@ -1,16 +1,19 @@ # Test for searching with regular expressions +UseShortcut "C-F30" "layout Itemize" + +PrepareShortcuts Lang sk_SK.utf8 CO: findadv-09.ctrl TestBegin test.lyx -dbg key,find > findadv-09.loga.txt 2>&1 CN: Part 1 -KK: \Aob +KK: \C\[F30] KK: one\[Return]two\[Return]three\C\[Home]\Cs KK: \CF # Uncheck ignore format KK: \At\Ai\Ah KK: \CF -KK: \Aob +KK: \C\[F30] KK: \Axregexp-mode\[Return][a-z]* \[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3 @@ -22,7 +25,7 @@ KK: \[Delete] # Uncheck ignore format #KK: \At\Ai\Ah #KK: \CF -KK: \Aob +KK: \C\[F30] KK: \Axregexp-mode\[Return][a-z]* \[Return]\[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3 CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3 diff --git a/development/autotests/findadv-11-in.txt b/development/autotests/findadv-11-in.txt index 81f1184092..597dae994a 100644 --- a/development/autotests/findadv-11-in.txt +++ b/development/autotests/findadv-11-in.txt @@ -14,6 +14,7 @@ KK: v\[Return] CP: 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 # +Lang it_IT.utf8 CN: Part 2 CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \[Escape]\C\[Home] -- 2.39.5