You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
notepad-plus-plus/scintilla/test
Christian Grasser ad79718fc8
Update to scintilla 5.5.2 & Lexilla 5.4.0
3 months ago
..
gi
unit Update to scintilla 5.5.0 & Lexilla 5.3.2 7 months ago
MessageNumbers.py Upgrade Scintilla from 4.1.4 to 4.2.0 5 years ago
README Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5 3 years ago
ScintillaCallable.py Update: Scintilla 5.3.5 Lexilla 5.2.5 2 years ago
XiteMenu.py
XiteWin.py Update: Scintilla 5.3.5 Lexilla 5.2.5 2 years ago
performanceTests.py Updated to Scintilla 5.4.1 & Lexilla 5.3.0 11 months ago
simpleTests.py Update to scintilla 5.5.2 & Lexilla 5.4.0 3 months ago
win32Tests.py Updated to Scintilla 5.4.1 & Lexilla 5.3.0 11 months ago
xite.py Upgrade Scintilla from v4.2.0 to v4.4.6 4 years ago

README

The test directory contains some unit and performance tests for Scintilla.

The tests can only be run on Windows using Python 2.7 or 3.x.
Python 2.7+ is required because the bytes string type and literals are available.
Scintilla must be built before running any tests.
Lexilla may be built before running tests but lexing tests will be skipped if Lexilla not available.

A test application for Windows only is in xite.py and this can be run to experiment:
pythonw xite.py

To run the basic tests:
python simpleTests.py

To check for performance regressions:
python performanceTests.py
While each test run will be different and the timer has only limited granularity, some results
from a 2 GHz Athlon with a DEBUG build are:
 0.187 testAddLine
. 0.203 testAddLineMiddle
. 0.171 testHuge
. 0.203 testHugeInserts
. 0.312 testHugeReplace
.