]> git.lyx.org Git - features.git/commitdiff
New test for seach and replace of a logo
authorKornel Benko <kornel@lyx.org>
Tue, 17 Mar 2015 16:52:37 +0000 (17:52 +0100)
committerKornel Benko <kornel@lyx.org>
Tue, 17 Mar 2015 16:52:37 +0000 (17:52 +0100)
development/autotests/findadv-logo-in.txt [new file with mode: 0644]

diff --git a/development/autotests/findadv-logo-in.txt b/development/autotests/findadv-logo-in.txt
new file mode 100644 (file)
index 0000000..7b40eed
--- /dev/null
@@ -0,0 +1,16 @@
+# Test for searching the special LyX and LaTeX words
+# when ignoring format
+
+Lang sk_SK.utf8
+TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
+KK: This should be a LaTeX logo: \Axspecialchar-insert lyx\[Return]\[Return]
+KK: for a WYSIWYG LaTeX editor.\C\[Home]
+KK: \Cs
+KK: \CF
+# Uncheck ignore format (depends on IT language)
+KK: \At\Ai\Ah
+KK: \Axspecialchar-insert lyx\[Return]\Ai
+KK: \Axspecialchar-insert latex\[Return]\Ae
+TestEnd
+Lang C
+Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 29\n with len: 1' lyx-log.txt