]> git.lyx.org Git - features.git/blobdiff - development/autotests/findadv-re-03-in.txt
ctests: log an upstream issue that wasted time
[features.git] / development / autotests / findadv-re-03-in.txt
index f42b6ca69596f6009d1203167b34f5e80eba7169..dd99a5d7cb532bf8505f4c68cce38d7c3379cf79 100644 (file)
@@ -1,41 +1,53 @@
 # Finding special latex/regexp chars: {
 #
+UseShortcut "C-F20" "regexp-mode"
+PrepareShortcuts
+
 Lang it_IT.utf8
-TestBegin test.lyx -dbg find > findadv-re-03.loga.txt 2>&1
+CO: findadv-re-03.ctrl
+TestBegin test.lyx -dbg key,find > findadv-re-03.loga.txt 2>&1
+CN: Part 1
 KK: \\()[]{}%^#@?*.\C\[Home]
 KK: \Cs
 KK: \CF
-KK: \Axregexp-mode\[Return]\\{\[Return]
+KK: \C\[F20]\\{\[Return]
+CP: Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1
 TestEnd
-Lang C
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1' findadv-re-03.loga.txt
 #
 Lang sk_SK.utf8
-TestBegin test.lyx -dbg find > findadv-re-03.logb.txt 2>&1
+CO: >> findadv-re-03.ctrl
+TestBegin test.lyx -dbg key,find >> findadv-re-03.loga.txt 2>&1
+CN: Part 2
 KK: \CF
 # Uncheck ignore format
-KK: \At\Ai\Ah
-KK: \Axregexp-mode\[Return]\\{\[Return]
+KK: \At\Ar\Ak\Ah
+KK: \CF
+KK: \C\[F20]\\{\[Return]
+CP: Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1
 TestEnd
-Lang C
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1' findadv-re-03.logb.txt
-
+#
 # Finding special latex/regexp chars: }
 #
 Lang it_IT.utf8
-TestBegin test.lyx -dbg find > findadv-re-03.logc.txt 2>&1
+CO: >> findadv-re-03.ctrl
+TestBegin test.lyx -dbg key,find >> findadv-re-03.loga.txt 2>&1
+CN: Part 3
 KK: \CF
-KK: \Axregexp-mode\[Return]\\}\[Return]
+KK: \C\[F20]\\}\[Return]
+CP: Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 1
 TestEnd
-Lang C
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 1' findadv-re-03.logc.txt
 #
 Lang sk_SK.utf8
-TestBegin test.lyx -dbg find > findadv-re-03.logd.txt 2>&1
+CO: >> findadv-re-03.ctrl
+TestBegin test.lyx -dbg key,find >> findadv-re-03.loga.txt 2>&1
+CN: Part 4
 KK: \CF
 # Uncheck ignore format
-KK: \At\Ai\Ah
-KK: \Axregexp-mode\[Return]\\}\[Return]
+KK: \At\Ar\Ak\Ah
+KK: \CF
+KK: \C\[F20]\\}\[Return]
+CP: Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 1
+Sleep 1
 TestEnd
 Lang C
-Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 1' findadv-re-03.logd.txt
+Assert searchPatterns.pl base=findadv-re-03