Add tests for PowerShell classes inheriting from abstract .NET classes #6752
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Summary
Add some tests to check for regressions against #1760 (which magically was fixed at some point).
In particular this tests for:
If there are other things we should be testing for, let me know and I will add them.
Also, if there are other easily available .NET abstract classes that we could inherit from to diversify testing (particularly with non-
void
abstract methods), I would like to substitute one of those for aPSHost
subclass. (I just couldn't find any good candidates after searching for a while).PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
to the beginning of the title and remove the prefix when the PR is ready.[feature]
if the change is significant or affects feature tests