Commit Graph

208 Commits

Author SHA1 Message Date
Tommaso Cucinotta
37179bca4b Added test cases for format-aware searching of formatted text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37380 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 19:46:05 +00:00
Tommaso Cucinotta
7e02f60ae6 keytest.py ignores now also whitespaces only lines.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37379 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 19:45:17 +00:00
Tommaso Cucinotta
e4df1f08fb Removed stripping of whitespaces from script commands.
Added the capability to ignore empty lines.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37378 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 19:44:31 +00:00
Tommaso Cucinotta
090aac89d0 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
2011-01-30 16:01:22 +00:00
Tommaso Cucinotta
cc694943a7 Refined description of syntax.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37376 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 16:00:01 +00:00
Tommaso Cucinotta
4d138a9f3d Avoid confusing the window name of a LyX instance with the one of
Thunderbird while displaying LyX mails or Firefox while displaying
LyX web pages.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37375 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 15:59:41 +00:00
Tommaso Cucinotta
8ef0abbacc Added Sleep and Assert commands in test scripts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37374 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 15:58:08 +00:00
Tommaso Cucinotta
5f50ae8f08 Added basic automated testing capability, based on the MonKey Test (keytest.py) by McCabe-Dansted.
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
2011-01-29 14:42:53 +00:00