keytests: Polishing

This commit is contained in:
Kornel Benko 2017-05-17 13:52:54 +02:00
parent 09e5acba11
commit 3bdffab7c8
7 changed files with 25 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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