]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/findadv-06-in.txt
upgrade boost to 1.75.0
[lyx.git] / development / autotests / findadv-06-in.txt
index d50c73f19f36525558d35eeb1fd18ed25995f674..73060e4d94db8f6944553d9cb99a8d8b0739ce2b 100644 (file)
@@ -1,26 +1,34 @@
-# Basic test for searching styles
+# Basic test for searching with par-style awareness
 
-Lang it_IT.utf8
-TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
+Lang sk_SK.utf8
+CO: findadv-06.ctrl
+TestBegin test.lyx -dbg key,find > findadv-06.loga.txt 2>&1
+CN: Part 1
 KK: foo\[Return]
 KK: \Ap2
 KK: foo\[Return]
 KK: \Aps
 KK: foo\C\[Home]
-KK: \Cs
-KK: \CF
+KK: \Axbuffer-write\[Return]
+KK: \Axdialog-show findreplaceadv\[Return]
 # Uncheck ignore format
-KK: \Az\Ag\Ae
+KK: \At\Ai\Ah
+KK: \Aj
 KK: \Ap2
 KK: foo\[Return]
-TestEnd
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3' lyx-log.txt
+CP: Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3
 #
-TestBegin test.lyx -dbg find > lyx-log2.txt 2>&1
-KK: \C\[Home]
-KK: \CF
+CN: Part 2
+CP: Key (queried) [action=buffer-begin][Ctrl+Home]
+KK: \[Escape]\C\[Home]
+KK: \Axdialog-show findreplaceadv\[Return]
+KK: \[Delete]
 # Uncheck ignore format
-KK: \Az\Ag\Ae
+#KK: \At\Ai\Ah
+KK: \Aps
 KK: foo\[Return]\[Return]
+CP: Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3
+CP: Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 3
 TestEnd
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 3' lyx-log2.txt
+Lang C
+Assert searchPatterns.pl base=findadv-06