]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/findadv-14-in.txt
ctests: allow excluding patterns
[lyx.git] / development / autotests / findadv-14-in.txt
index 4552e212593901abe830f021ac8eb4e9559e52bb..b821f8e5abc87d7e2567123533c78831b31dd4b0 100644 (file)
@@ -1,16 +1,18 @@
 # Finding displayed maths with ignore-format on&off (might affect #7596)
+UseShortcut "C-F23" "math-display"
+PrepareShortcuts
 #
 Lang sk_SK.utf8
-TestBegin test.lyx -dbg key,find > findadv-14.loga.txt 2>&1
 CO: findadv-14.ctrl
+TestBegin test.lyx -dbg key,find > findadv-14.loga.txt 2>&1
 CN: Part 1
-KK: \Axmath-display\[Return]
+KK: \C\[F23]
 KK: x^2 +x^2\C\[Home]
 KK: \Cs
 KK: \CF
 # Uncheck ignore format
 KK: \At\Ai\Ah
-KK: \Axmath-display\[Return]
+KK: \C\[F23]
 KK: x^2\[Return]
 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
 #
@@ -19,7 +21,7 @@ KK: \[Escape]\C\[Home]
 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
 KK: \CF
 KK: \[Delete]
-KK: \Axmath-display\[Return]
+KK: \C\[F23]
 KK: x^2\[Return]\[Return]
 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
@@ -31,7 +33,7 @@ CP: Key (queried) [action=buffer-begin][Ctrl+Home]
 KK: \CF
 KK: \[Delete]
 KK: \At\Ai\Ah
-KK: \Axmath-display\[Return]
+KK: \C\[F23]
 KK: x^2\[Return]
 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
 
@@ -41,10 +43,10 @@ KK: \[Escape]\C\[Home]
 CP: Key (queried) [action=buffer-begin][Ctrl+Home]
 KK: \CF
 KK: \[Delete]
-KK: \Axmath-display\[Return]
+KK: \C\[F23]
 KK: x^2\[Return]\[Return]
 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0\n with len: 1
 CP: Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2\n with len: 1
 TestEnd
 Lang C
-Assert searchPatterns.pl log=findadv-14.loga.txt patterns=findadv-14.ctrl
+Assert searchPatterns.pl base=findadv-14