notepad-plus-plus/lexilla/test/unit
Christian Grasser 0f3ae2e3d5 Updated to Scintilla 5.4.2 & Lexilla 5.3.1
https://www.scintilla.org/scintilla542.zip
Release 5.4.2

    Released 5 March 2024.
    Significantly reduce memory used for undo actions, often to a half or quarter of previous versions. Feature #1458.
    Add APIs for saving and restoring undo history.
    For GTK, when laying out text, detect runs with both left-to-right and right-to-left ranges and divide into an ASCII prefix and more complex suffix. Lay out the ASCII prefix in the standard manner but, for the suffix, measure the whole width and spread that over the suffix bytes. This produces more usable results where the caret moves over the ASCII prefix correctly and over the suffix reasonably but not accurately.
    For ScintillaEdit on Qt, fix reference from ScintillaDocument to Document to match change in 5.4.1 using IDocumentEditable for SCI_GETDOCPOINTER and SCI_SETDOCPOINTER.
    For Direct2D on Win32, use the multi-threaded option to avoid crashes when Scintilla instances created on different threads. There may be more problems with this scenario so it should be avoided. Bug #2420.
    For Win32, ensure keyboard-initiated context menu appears in multi-screen situations.

https://www.scintilla.org/lexilla531.zip
Release 5.3.1

    Released 5 March 2024.
    Assembler: After comments, treat \r\n line ends the same as \n. This makes testing easier.
    Bash: Fix folding when line changed to/from comment and previous line is comment. Issue #224.
    Batch: Fix handling ':' next to keywords. Issue #222.
    JavaScript: in cpp lexer, add lexer.cpp.backquoted.strings=2 mode to treat ` back-quoted strings as template literals which allow embedded ${expressions}. Issue #94.
    Python: fix lexing of rb'' and rf'' strings. Issue #223, Pull request #227.
    Ruby: fix lexing of methods on numeric literals like '3.times' so the '.' and method name do not appear in numeric style. Issue #225.
2024-03-11 03:58:17 +01:00
..
LICENSE_1_0.txt Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5 2022-03-27 17:12:53 +02:00
README Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5 2022-03-27 17:12:53 +02:00
Sci.natvis Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5 2022-03-27 17:12:53 +02:00
SciTE.properties Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5 2022-03-27 17:12:53 +02:00
UnitTester.cxx Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5 2022-03-27 17:12:53 +02:00
UnitTester.vcxproj Updated to Scintilla 5.4.2 & Lexilla 5.3.1 2024-03-11 03:58:17 +01:00
catch.hpp Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5 2022-03-27 17:12:53 +02:00
makefile Updated to Scintilla 5.4.2 & Lexilla 5.3.1 2024-03-11 03:58:17 +01:00
test.mak Updated to Scintilla 5.4.2 & Lexilla 5.3.1 2024-03-11 03:58:17 +01:00
testCharacterSet.cxx Updated to Scintilla 5.4.2 & Lexilla 5.3.1 2024-03-11 03:58:17 +01:00
testInList.cxx Updated to Scintilla 5.4.2 & Lexilla 5.3.1 2024-03-11 03:58:17 +01:00
testLexerSimple.cxx Update: Scintilla 5.3.6 and Lexilla 5.2.6 2023-08-01 19:44:35 +02:00
testOptionSet.cxx Update: Scintilla 5.3.6 and Lexilla 5.2.6 2023-08-01 19:44:35 +02:00
testPropSetSimple.cxx Update: Scintilla 5.3.6 and Lexilla 5.2.6 2023-08-01 19:44:35 +02:00
testSparseState.cxx Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5 2022-03-27 17:12:53 +02:00
testWordList.cxx Update: Scintilla 5.3.6 and Lexilla 5.2.6 2023-08-01 19:44:35 +02:00
unitTest.cxx Update Scintilla from v4.4.6 to v5.2.1 and add Lexilla v5.1.5 2022-03-27 17:12:53 +02:00

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The test/unit directory contains unit tests for Scintilla data structures.

The tests can be run on Windows, macOS, or Linux using g++ and GNU make.
The Catch test framework is used.
https://github.com/philsquared/Catch
The file catch.hpp is under the Boost Software License which is contained in LICENSE_1_0.txt

   To run the tests on macOS or Linux:
make test

   To run the tests on Windows:
mingw32-make test

   Visual C++ (2010+) and nmake can also be used on Windows:
nmake -f test.mak test