mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Added Lang command to test cases. Added a couplr of regression tests for Advanced F&R.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37377 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
cc694943a7
commit
090aac89d0
@ -1,6 +1,7 @@
|
|||||||
# After replacing with something that matches the search pattern, the next
|
# After replacing with something that matches the search pattern, the next
|
||||||
# match should not consider the just replaced text (#4388)
|
# match should not consider the just replaced text (#4388)
|
||||||
#
|
#
|
||||||
|
Lang it_IT.utf8
|
||||||
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
|
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
|
||||||
KK: aaa\[Home]
|
KK: aaa\[Home]
|
||||||
KK: \CF
|
KK: \CF
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# Basic test on refactoring of mathematics notation
|
# Basic test on refactoring of mathematics notation
|
||||||
#
|
#
|
||||||
|
Lang it_IT.utf8
|
||||||
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
|
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
|
||||||
KK: \Cm
|
KK: \Cm
|
||||||
KK: x^(a) +\\frac 1+x^(a) \[Down]1-x^(a) \C\[Home]
|
KK: x^(a) +\\frac 1+x^(a) \[Down]1-x^(a) \C\[Home]
|
||||||
|
19
development/autotests/findadv-03-in.txt
Normal file
19
development/autotests/findadv-03-in.txt
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#
|
||||||
|
Lang it_IT.utf8
|
||||||
|
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
|
||||||
|
KK: \Cm
|
||||||
|
KK: x^2 -x^2\C\[Home]
|
||||||
|
KK: \Afs
|
||||||
|
KK: \CF
|
||||||
|
KK: \Cm
|
||||||
|
KK: x^2\[Return]
|
||||||
|
TestEnd pcregrep -M "Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 0" lyx-log.txt
|
||||||
|
TestBegin test2.lyx -dbg find > lyx-log2.txt 2>&1
|
||||||
|
KK: \Cm
|
||||||
|
KK: x^2 -x^2\C\[Home]
|
||||||
|
KK: \Afs
|
||||||
|
KK: \CF
|
||||||
|
KK: \Cm
|
||||||
|
KK: x^2\[Return]\[Return]
|
||||||
|
TestEnd
|
||||||
|
Assert pcregrep -M "Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par: 0 pos: 2" lyx-log2.txt
|
15
development/autotests/findadv-04-in.txt
Normal file
15
development/autotests/findadv-04-in.txt
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Regression test for #7245
|
||||||
|
#
|
||||||
|
Lang it_IT.utf8
|
||||||
|
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
|
||||||
|
KK: \Cm
|
||||||
|
KK: x^2\C\[Home]
|
||||||
|
KK: \CF
|
||||||
|
KK: \Cm
|
||||||
|
KK: x^2\[Tab]
|
||||||
|
KK: \Cm
|
||||||
|
KK: x^2n\[Return]\[Return]\[Escape]
|
||||||
|
KK: \Afs
|
||||||
|
KK: \Ax
|
||||||
|
KK: buffer-export latex\[Return]
|
||||||
|
TestEnd grep '^\$x\^{2n}\$$' test.tex
|
Loading…
Reference in New Issue
Block a user