From 3bdffab7c885d98fbdc711c6e67a6e6882e1a26f Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Wed, 17 May 2017 13:52:54 +0200 Subject: [PATCH] keytests: Polishing --- development/autotests/findadv-07-in.txt | 1 - development/autotests/findadv-08-in.txt | 6 +++++- development/autotests/findadv-11-in.txt | 3 ++- development/autotests/findadv-14-in.txt | 6 ++++++ development/autotests/findadv-15-in.txt | 8 +++++++- development/autotests/findadv-16-in.txt | 4 +++- development/autotests/findadv-17-in.txt | 2 ++ 7 files changed, 25 insertions(+), 5 deletions(-) diff --git a/development/autotests/findadv-07-in.txt b/development/autotests/findadv-07-in.txt index 2a5bf22591..1582510de0 100644 --- a/development/autotests/findadv-07-in.txt +++ b/development/autotests/findadv-07-in.txt @@ -21,7 +21,6 @@ CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3 CN: Part 2 CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \[Escape]\C\[Home] -KK: \C\[Home] KK: \CF KK: \[Delete] # Uncheck ignore format diff --git a/development/autotests/findadv-08-in.txt b/development/autotests/findadv-08-in.txt index a5688d0885..f8991d01ab 100644 --- a/development/autotests/findadv-08-in.txt +++ b/development/autotests/findadv-08-in.txt @@ -15,6 +15,7 @@ KK: .* a\[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8 # CN: Started findadv-08 2 +CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \[Escape]\C\[Home]\Axdialog-show findreplaceadv\[Return] KK: \[Delete] KK: o @@ -31,14 +32,17 @@ KK: \[Escape] CP: Putting selection at .*idx: 0 par: 1 pos: 26\n with len: 6 # CN: Started findadv-08 3 +CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \[Escape] KK: \C\[Home]\Axdialog-show findreplaceadv\[Return] KK: \[Delete] KK: \Axregexp-mode\[Return] KK: .* KK: \Al\Al\Al +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3 +CP: Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 5 CP: Putting selection at .*idx: 0 par: 0 pos: 10\n with len: 3 TestEnd -CC: +Lang C Assert searchPatterns.pl log=findadv-08.loga.txt patterns=findadv-08.ctrl diff --git a/development/autotests/findadv-11-in.txt b/development/autotests/findadv-11-in.txt index 935eed8b27..6aa28e01d8 100644 --- a/development/autotests/findadv-11-in.txt +++ b/development/autotests/findadv-11-in.txt @@ -22,6 +22,7 @@ KK: \[Delete] KK: \At\Ai\Ah KK: \Cm 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 TestEnd 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.logb.txt +Assert searchPatterns.pl log=findadv-11.loga.txt patterns=findadv-11.ctrl diff --git a/development/autotests/findadv-14-in.txt b/development/autotests/findadv-14-in.txt index ce5c7ee98d..4552e21259 100644 --- a/development/autotests/findadv-14-in.txt +++ b/development/autotests/findadv-14-in.txt @@ -16,15 +16,18 @@ CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with l # CN: Part 2 KK: \[Escape]\C\[Home] +CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \CF KK: \[Delete] KK: \Axmath-display\[Return] KK: x^2\[Return]\[Return] +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1 # CN: Part 3 KK: \[Escape]\C\[Home] +CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \CF KK: \[Delete] KK: \At\Ai\Ah @@ -35,10 +38,13 @@ CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with l # CN: Part 4 KK: \[Escape]\C\[Home] +CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \CF KK: \[Delete] KK: \Axmath-display\[Return] KK: x^2\[Return]\[Return] +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1 TestEnd +Lang C Assert searchPatterns.pl log=findadv-14.loga.txt patterns=findadv-14.ctrl diff --git a/development/autotests/findadv-15-in.txt b/development/autotests/findadv-15-in.txt index 89c05ead58..9879320aa4 100644 --- a/development/autotests/findadv-15-in.txt +++ b/development/autotests/findadv-15-in.txt @@ -16,15 +16,18 @@ CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with l CN: Part 2 KK: \[Escape]\C\[Home] +CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \CF KK: \[Delete] KK: \CM\Axmath-number-toggle\[Return] KK: x^2\[Return]\[Return] +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1 -Lang it_IT.utf8 +# CN: Part 3 KK: \[Escape]\C\[Home] +CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \CF KK: \[Delete] # Check ignore format (was unchecked) @@ -35,11 +38,14 @@ CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with l CN: Part 4 KK: \[Escape]\C\[Home] +CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \CF KK: \[Delete] KK: \CM\Axmath-number-toggle\[Return] KK: x^2\[Return]\[Return] +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0 par: 0 pos: 0\n with len: 1 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1 TestEnd +Lang C Assert searchPatterns.pl log=findadv-15.loga.txt patterns=findadv-15.ctrl diff --git a/development/autotests/findadv-16-in.txt b/development/autotests/findadv-16-in.txt index 1e7700f267..a0514bf4d2 100644 --- a/development/autotests/findadv-16-in.txt +++ b/development/autotests/findadv-16-in.txt @@ -18,12 +18,14 @@ CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with l # CN: Part 2 KK: \[Escape]\C\[Home] +CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \CF KK: \[Delete] KK: \CM\Axmath-mutate gather\[Return] KK: x^2\[Return]\[Return] +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1 +CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1 TestEnd Lang C -CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1 Assert searchPatterns.pl log=findadv-16.loga.txt patterns=findadv-16.ctrl diff --git a/development/autotests/findadv-17-in.txt b/development/autotests/findadv-17-in.txt index 8c8f1f6ab7..ace20add59 100644 --- a/development/autotests/findadv-17-in.txt +++ b/development/autotests/findadv-17-in.txt @@ -13,6 +13,7 @@ CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 1\n with l # CN: Part 2 KK: \[Escape]\C\[Home] +CP: Key (queried) [action=buffer-begin][Ctrl+Home] KK: \CF KK: \[Delete] # Uncheck ignore format @@ -20,4 +21,5 @@ KK: \At\Ai\Ah KK: \Cm\\beta\\alpha \[Return] CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 1\n with len: 2 TestEnd +Lang C Assert searchPatterns.pl log=findadv-17.loga.txt patterns=findadv-17.ctrl -- 2.39.2