Commit Graph

6 Commits (7f2c303ac6583f370e06ad9ad121fa70db23c114)

Author SHA1 Message Date
Christian Grasser c5477ee21c Add Github CI build
- add first version of GH CI build
- fix merge issue for lexilla.mak
- fix clang compiler issue:
       ..\lexers\LexObjC.cxx(50,20): warning : unused function 'IsADigit' [-Wunused-function] [D:\a\notepad-plus-plus\notepad-plus-plus\lexilla\src\Lexilla.vcxproj]
- fix functionlist unittest run for github
- make functionList unittest compatible with newer powershell 7

Fix #12177, close #14291
2023-11-02 12:16:31 +01:00
Don Ho ee336b24c1 [xml] Add SQL unit tests
And make unit test error message more explicit.

Close #12627
2022-12-13 15:58:37 +01:00
Don Ho 14a0a43b16 Add global regex unitTest via UDL way
Use User Defined Language to have function list on Unit-tests.
It could reduce regression happening while the code of boost regex or the related code is changed.

And also make build system be aware of unit-test result.

Close #10108
2021-07-07 03:37:43 +02:00
Don HO c0c070abaf
Split functionList.xml into multifile in "functionList" Folder
New "functionList" will be added beside of notepad++.exe or "%APPDATA%\Notepad++\", according the installation mode. If the portable package is used, after removing "doLocalConf.xml", the "functionList" folder should be copied manually from Notepad++ installed directory to "%APPDATA%\Notepad++\" to make function list work again.

All splited files are localized in this folder with the explicit language name.

"overrideMap.xml" is optional for overriding the default functionList parse rule files, and for adding UDL parse rule files.

Close #4896
2020-10-21 18:05:08 +02:00
Don HO 56e4290501 Add the ability to have more than 1 unit-test per language
For function list, each language can have 2 or mor unit-test files.
The 2nd added unit-test file should be added in a sub-directory, the 3rd added unit-test file should be added into anather sub-directory, and so on.
2020-08-31 04:21:32 +02:00
Baptiste Thémine e72d4855de Update functionList.xml C++ parser
Improvements :
- add templated classes (and template-nested templated classes)
- add namespaced classes
- add classes which inherits another class without the accessibility keyword (private is optional for example)
- add classes with virtual inheritance
- add functions defined with the following keywords
  - (left) consteval|constexpr|friend|inline|static|virtual
  - (right) const|final|noexcept|override
- add functions defined with templated types (and template-nested templated types)
- add operator definitions

Close #5175
2020-08-30 18:13:23 +02:00