]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/findadv-10-in.txt
FindAdv: next 3 tests working
[lyx.git] / development / autotests / findadv-10-in.txt
index c816a51b558005c3f4ec789d09ccb088ea6ac185..8ff7df9ac480f47aa306a203f501ea9e58c544c0 100644 (file)
@@ -2,24 +2,29 @@
 # when ignoring format
 
 Lang sk_SK.utf8
-TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
+CO: findadv-10.ctrl
+TestBegin test.lyx -dbg key,find > findadv-10.loga.txt 2>&1
+CN: Part 1
 KK: This is LyX,\[Return]
 KK: a WYSIWYG LaTeX editor.\C\[Home]
 KK: \Cs
 KK: \CF
 # Uncheck ignore format (depends on IT language)
 KK: \At\Ai\Ah
+KK: \CF
 KK: LyX\[Return]
-TestEnd
-Lang C
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 3' lyx-log.txt
-
-Lang sk_SK.utf8
-TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
+CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 3
+#
+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: \At\Ai\Ah
+#KK: \CF
 KK: LaTeX\[Return]
+CP: Putting selection at .*idx: 0 par: 1 pos: 10\n with len: 5
 TestEnd
 Lang C
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 10\n with len: 5' lyx-log.txt
+Assert searchPatterns.pl base=findadv-10