-
Notifications
You must be signed in to change notification settings - Fork 46
Migrate Tests to Pester 5 #122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dan-hughes
wants to merge
48
commits into
dsccommunity:main
Choose a base branch
from
dan-hughes:pester-5
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
a3d2fe9
Initial config and setup
dan-hughes 4daf3a4
Migrate RDCertificateConfiguration
dan-hughes 3427bee
Update changelog
dan-hughes 9210032
Enable ModuleFast
dan-hughes bf748e7
Formatting
dan-hughes e445856
Migrate MSFT_xRDConnectionBrokerHAMode
dan-hughes fa012a5
Add module import
dan-hughes e60d1ac
Merge branch 'master' into pester-5
dan-hughes f0fb450
GetHostByName obsolete
dan-hughes 8562acd
Use $env:ComputerName
dan-hughes 0658611
Merge branch 'main' into pester-5
dan-hughes 24ff7f3
Fix HQRM
dan-hughes 7a7b2fa
Update formatting
dan-hughes 8aa2753
Add Indented.ScriptAnalyzerRules
dan-hughes 137a35b
Merge branch 'main' into pester-5
dan-hughes a0e507d
Merge branch 'pester-5' of https://github.com/dan-hughes/xRemoteDeskt…
dan-hughes fc1a228
Add service name
dan-hughes c1357f2
Migrate RDSessionDeployment
dan-hughes 1cb6591
Add PR 124
dan-hughes cf3bf49
Reformat
dan-hughes 7d6f256
Migrate RDSessionCollectionConfiguration
dan-hughes 5fd79ad
Fix HQRM
dan-hughes 6ad0831
SessionCollection WIP
dan-hughes da9b4e2
Test local failure
dan-hughes 0d6069e
Remove use of New-Object
dan-hughes 69e1c7c
Migrate RDSessionCollection
dan-hughes 7a46f46
Migrate RDServer
dan-hughes b782e8f
Migrate RDRemoteApp
dan-hughes ae4e5ca
Fix HQRM
dan-hughes 0b15dd7
Fix types
dan-hughes 0e9834b
Clean up
dan-hughes db9808e
Migrate LicenseConfiguration
dan-hughes 7d95dd1
Rearrange assert
dan-hughes 4bba711
Migrate GatewayConfiguration
dan-hughes 1eb7c58
Catch exception
dan-hughes 12bb279
Fix error
dan-hughes 9bfbbbb
Update changelog
dan-hughes cf79492
Update changelog
dan-hughes d38d0a7
Add empty Integration test file
dan-hughes fc3affa
Update changelog link
dan-hughes 41e6fbd
Remove commented code
dan-hughes d7c76f8
Update from comments
dan-hughes f010ebf
Add example
dan-hughes eb1a0a2
Fix test title
dan-hughes 6927af8
Fix indent
dan-hughes 3318ec3
Add param block and output type
dan-hughes 84a6ac2
Use Get-ComputerName
dan-hughes 3c02d00
Fix trailing whitespace
dan-hughes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
source/DSCResources/MSFT_xRDLicenseConfiguration/MSFT_xRDLicenseConfiguration.psm1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 6 additions & 8 deletions
14
source/DSCResources/MSFT_xRDRemoteApp/MSFT_xRDRemoteApp.psm1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
source/DSCResources/MSFT_xRDSessionCollection/MSFT_xRDSessionCollection.psm1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 6 additions & 8 deletions
14
...ources/MSFT_xRDSessionCollectionConfiguration/MSFT_xRDSessionCollectionConfiguration.psm1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 7 additions & 2 deletions
9
source/DSCResources/MSFT_xRDSessionDeployment/MSFT_xRDSessionDeployment.psm1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
source/Modules/en-US/xRemoteDesktopSessionHostCommon.strings.psd1
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...odules/xRemoteDesktopSessionHost.Common/Public/Get-xRemoteDesktopSessionHostOsVersion.ps1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| function Get-xRemoteDesktopSessionHostOsVersion | ||
| { | ||
| return [Environment]::OSVersion.Version | ||
| } | ||
dan-hughes marked this conversation as resolved.
Show resolved
Hide resolved
|
||
4 changes: 4 additions & 0 deletions
4
...s/xRemoteDesktopSessionHost.Common/Public/Test-xRemoteDesktopSessionHostOsRequirement.ps1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| function Test-xRemoteDesktopSessionHostOsRequirement | ||
| { | ||
| return (Get-xRemoteDesktopSessionHostOsVersion) -ge (New-Object 'Version' 6, 2, 9200, 0) | ||
| } | ||
dan-hughes marked this conversation as resolved.
Show resolved
Hide resolved
|
||
4 changes: 4 additions & 0 deletions
4
...ules/xRemoteDesktopSessionHost.Common/en-US/xRemoteDesktopSessionHost.Common.strings.psd1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # Localized resources for xRemoteDesktopSessionHost.Common | ||
|
|
||
| ConvertFrom-StringData @' | ||
| '@ |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.