commit e0c3379645897a3683d8828393c0790c0b1fed8b
Author: Kornel Benko <[email protected]>
Date: Tue Mar 17 17:52:37 2015 +0100
New test for seach and replace of a logo
diff --git a/development/autotests/findadv-logo-in.txt
b/development/autotests/findadv-logo-in.txt
new file mode 100644
index 0000000..7b40eed
--- /dev/null
+++ b/development/autotests/findadv-logo-in.txt
@@ -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