Closed JonasGilg closed 1 year ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
plugins/csp-measurement-tools/src/PathTool.cpp | 0 | 1 | 0.0% | ||
plugins/csl-tools/src/DeletableMark.cpp | 0 | 2 | 0.0% | ||
plugins/csl-tools/src/MultiPointTool.cpp | 0 | 2 | 0.0% | ||
plugins/csl-tools/src/Mark.cpp | 0 | 3 | 0.0% | ||
plugins/csl-tools/src/logger.cpp | 0 | 3 | 0.0% | ||
plugins/csp-measurement-tools/src/EllipseTool.cpp | 0 | 5 | 0.0% | ||
<!-- | Total: | 0 | 16 | 0.0% | --> |
Totals | |
---|---|
Change from base Build 3249311940: | -0.0004% |
Covered Lines: | 491 |
Relevant Lines: | 16307 |
This PR adds a new type of plugin called a plugin library. Plugin libraries are also located in the plugins folder, but are prefixed with
csl
, instead ofcsp
.cs-core
tocsl-tools
.tools/New-PluginLibrary.ps1
I tested the loading of
csl-tools
with a copy of measurement tools on Windows. I did the following tests:csl-tools
is loaded only once.csl-tools
is not unloaded for the other plugin.csl-tools
is also unloaded.csl-tools
was loaded.To ensure that
csl-tools
was only loaded once, I logged the memory address of thelogger
.Resolves #301