]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/findadv-05-in.txt
ctest: Patterns in invertedTests must match the full test name.
[lyx.git] / development / autotests / findadv-05-in.txt
index e13d9f6c834e266ec486b8eed955cc3d7ac051b6..0fcf149af52bf4c033a14d03164c7cbd7c62ca19 100644 (file)
@@ -1,25 +1,30 @@
 # Basic test for format-aware searching
 #
 Lang sk_SK.utf8
-TestBegin test.lyx -dbg find > findadv-05.loga.txt 2>&1
+CO: findadv-05.ctrl
+TestBegin test.lyx -dbg key,find > findadv-05.loga.txt 2>&1
+KD: 50
+CN: Part 1
 KK: foo \Cefoo foo\Ce foo\C\[Home]
 KK: \Cs
 KK: \CF
 # Uncheck ignore format
 KK: \At\Ai\Ah
+# Select emphasised
 KK: \Ce
 KK: foo\[Return]
-TestEnd
-Lang C
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 3' findadv-05.loga.txt
-
-Lang sk_SK.utf8
-TestBegin test.lyx -dbg find > findadv-05.logb.txt 2>&1
+CP: Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 3
+#
+CN: Part 2
+CP: Key (queried) [action=buffer-begin][Ctrl+Home]
+KK: \[Escape]\C\[Home]
 KK: \CF
-# Uncheck ignore format
-KK: \At\Ai\Ah
-KK: \Ce
+KK: \[Delete]
+# Unchecked ignore format and emphasised already set
 KK: foo\[Return]\[Return]
+CP: Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 3
+CP: Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 3
 TestEnd
 Lang C
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 3' findadv-05.logb.txt
+Assert searchPatterns.pl base=findadv-05
+