Commit Graph

14 Commits

Author SHA1 Message Date
Christian Grasser
648e6eb891 Integrate unit-tests for function list into appveyor CI
- run unitTestLauncher.ps1 on win32 debug builds (release is not possible due to missing scintilla crypto signing)
- SciLexer.dll needs to be taken from an official build, because boost is required for functionlist to be functional
- slightly optimized test script, added timing traces

It's for #8762

Close #8816
2020-09-07 01:43:06 +02:00
Don HO
509c46b8f7 Make expected result corrected for C++ parser unit test 2020-09-01 02:36:16 +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
Don HO
38037035e4 Fix some Perl functions not being recognized in function list issue
Fix Perl functions without parentheses / with attributes are not recognized in function list issue.

Fix #4265, close #4266
2020-08-29 02:06:06 +02:00
Don HO
f9fa72b9db Fix unit tests problem for Python 2020-08-28 23:47:29 +02:00
Don HO
71b532710f Fix Python the variable "def" not working correctly in Function List
Fix #3645, close #3672
2020-08-28 14:36:23 +02:00
Don HO
fad747300a Update python unit-tests files 2020-08-28 00:18:19 +02:00
Don HO
95a924f4f3 Make valid perl unit tests for function list 2020-08-27 21:17:08 +02:00
Don HO
34357a46cf Unit-tests for function-list
Close #8757, close #8762
2020-08-26 14:01:05 +02:00
Simon Buhrow
ffd6bb0889 Add VHDL to functionList.xml
Add VHDL to functionList.xml supporting ENTITY, BLOCK, PROCESS, COMPONENT, ARCHITECTURE.

Close #8480, close #8509
2020-08-25 12:28:46 +02:00
Christian Grasser
0cddeaa9f2
Remove BOM from 2 localization files
- corrected xml encoding from UTF8 with BOM -> required UTF8 for zulu and kurdish
- added zulu to localization list, see also #5209
- space -> tab in localizationString.h according to the rest of the list

Close #5209, close #5397
2019-03-15 03:13:31 +01:00
Don HO
3aaf083c1d Add unit tests for function list feature
go to notepad-plus-plus\PowerEditor\Test\FunctionList directory then
launch the following commands:
powershell ./unitTestLauncher.ps1
2018-04-13 12:46:03 +02:00
Don Ho
82dd554c49 Move xsd file 2017-02-22 00:15:54 +01:00