mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
5f50ae8f08
As of now, I plan to add a few regression tests for the Advanced Find & Replace using this engine. It can be used for automated testing of other LyX subsystems as well. Just write your own *-in.txt scripts and add them into the autotests/ folder. TODOs: - perhaps simplify keytest.py - check how this behaves under various types of failure of the test (e.g., LyX crashing, hanging, ...) just to be sure it goes on with the other tests anyway. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37364 a592a061-630c-0410-9148-cb99ea01b6c8
13 lines
342 B
Plaintext
13 lines
342 B
Plaintext
# Basic test on refactoring of mathematics notation
|
|
#
|
|
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
|
|
KK: \Cm
|
|
KK: x^(a) +\\frac 1+x^(a) \[Down]1-x^(a) \C\[Home]
|
|
KK: \CF
|
|
KK: \Cmx^(a) \[Tab]
|
|
KK: \Cmx_a \[Return]\[Return]\[Return]
|
|
KK: \Afs
|
|
KK: \Ax
|
|
KK: buffer-export latex\[Return]
|
|
TestEnd grep '^\$x_{a}+\\frac{1+x_{a}}{1-x\^{(a)}}\$' test.tex
|