Browse Source

Add local unit-test launcher

pull/10125/head
Don Ho 3 years ago
parent
commit
4642be5492
  1. 8
      PowerEditor/Test/FunctionList/localUnitestLauncher.ps1
  2. 1
      PowerEditor/Test/FunctionList/udl-regexGlobalTest/unitTest.result.json

8
PowerEditor/Test/FunctionList/localUnitestLauncher.ps1

@ -0,0 +1,8 @@
$testRoot = ".\"
$PowerEditor = "$testRoot\..\..\"
Copy-Item "$PowerEditor\installer\functionList" -Destination "$PowerEditor\bin" -Recurse
Copy-Item "$PowerEditor\installer\filesForTesting\regexGlobalTest.xml" -Destination "$PowerEditor\bin\functionList"
Copy-Item "$PowerEditor\installer\filesForTesting\overrideMap.xml" -Destination "$PowerEditor\bin\functionList"
& ".\unitTestLauncher.ps1"

1
PowerEditor/Test/FunctionList/udl-regexGlobalTest/unitTest.result.json

@ -1 +0,0 @@
{"leaves":["(/news/images/npp.businessCard.jpg)","(you probably want to hide tool bar if you have more content to show)","(I made the Notepad++ size on screen just fit my card)","(html, xml, php, c, c++, etc...)","(type \"Alt\" to show menu)","(via menu \"Settings\")","(for the bg/fg colour, font style and font size)","(on the top)","(https://www.albert-hwang.com/blog/2011/12/re-my-business-card)"],"root":"unitTest"}
Loading…
Cancel
Save