e72d4855de
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
27 lines
590 B
PowerShell
27 lines
590 B
PowerShell
$testRoot = ".\"
|
|
|
|
$dirName=$args[0]
|
|
$langName=$args[1]
|
|
|
|
|
|
if ((Get-Item $testRoot$dirName) -is [System.IO.DirectoryInfo])
|
|
{
|
|
..\..\bin\notepad++.exe -export=functionList -l"$langName" $testRoot$dirName\unitTest | Out-Null
|
|
|
|
$expectedRes = Get-Content $testRoot$dirName\unitTest.expected.result
|
|
$generatedRes = Get-Content $testRoot$dirName\unitTest.result.json
|
|
|
|
if ($generatedRes -eq $expectedRes)
|
|
{
|
|
Remove-Item $testRoot$dirName\unitTest.result.json
|
|
"$dirName ... OK"
|
|
}
|
|
else
|
|
{
|
|
"$dirName ... KO"
|
|
""
|
|
"There's a (some) problem(s) in your functionList.xml"
|
|
exit -1
|
|
}
|
|
}
|