]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/findadv-09-in.txt
ctests-costs-benefits: define false positive
[lyx.git] / development / autotests / findadv-09-in.txt
index abd42a66e38e8335ff0f77a792acd5c4b11675e5..684076f63597180abd426861efb3443bcdd92eb9 100644 (file)
@@ -1,25 +1,34 @@
 # Test for searching with regular expressions
+UseShortcut "C-F30" "layout Itemize"
+
+PrepareShortcuts
 
 Lang sk_SK.utf8
-TestBegin test.lyx -dbg find > findadv-09.loga.txt 2>&1
-KK: \Apb
+CO: findadv-09.ctrl
+TestBegin test.lyx -dbg key,find > findadv-09.loga.txt 2>&1
+CN: Part 1
+KK: \C\[F30]
 KK: one\[Return]two\[Return]three\C\[Home]\Cs
 KK: \CF
 # Uncheck ignore format
 KK: \At\Ai\Ah
-KK: \Apb
+KK: \CF
+KK: \C\[F30]
 KK: \Axregexp-mode\[Return][a-z]* \[Return]
-TestEnd
-Lang C
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3' findadv-09.loga.txt
+CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
 
-Lang sk_SK.utf8
-TestBegin test.lyx -dbg find > findadv-09.logb.txt 2>&1
+CN: Part 2
+CP: Key (queried) [action=buffer-begin][Ctrl+Home]
+KK: \[Escape]\C\[Home]
 KK: \CF
+KK: \[Delete]
 # Uncheck ignore format
-KK: \At\Ai\Ah
-KK: \Apb
+#KK: \At\Ai\Ah
+#KK: \CF
+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
 TestEnd
 Lang C
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3' findadv-09.logb.txt
+Assert searchPatterns.pl base=findadv-09