PowerShell/test/powershell/Modules/Microsoft.PowerShell.Management
xtqqczze 743983390e Update pester syntax to v4 (#11544)
* Capitalize 'Should' command and fix whitespace

```powershell
$_ -ireplace '\s?\|\s?should\b',' | Should'
```

* Capitalise and apply hyphen to 'Not' parameter

```powershell
$_ -ireplace '(\| Should) not\b','$1 -Not'
```

* Capitalise and apply hyphen to 'Be' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?) -?be\b','$1 -Be'
```

* Capitalise and apply hyphen to 'BeExactly' parameter

$_ -ireplace '(\| Should(?: -Not)?) -?beexactly\b','$1 -BeExactly'

* Capitalise and apply hyphen to 'BeGreaterThan' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?) -?begreaterthan\b','$1 -BeGreaterThan'
```

* Use 'BeTrue' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?true\b','$1 -BeTrue'
```

* Use 'BeFalse' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?) -Be\s\$?false\b','$1 -BeFalse'
```

* Capitalise and apply hyphen to 'Match' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?match\b','$1 -Match'
```

* Capitalise and apply hyphen to 'Throw' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?throw\b','$1 -Throw'
```

* Capitalise and apply hyphen to 'BeNullOrEmpty' parameter

```powershell
$_ -ireplace '(\| Should(?: -Not)?)\s-?benullorempty\b','$1 -BeNullOrEmpty'
```

* Capitalise 'Because' parameter

```powershell
$_ -ireplace '\s-because\b',' -Because'
```

* Fix 'BeNullOrEmpty'
2020-01-11 20:41:59 +05:00
..
assets
Add-Content.Tests.ps1 Enable Add-Content to share read access to other tools while writing content (#8091) 2018-10-23 16:27:53 -07:00
Alias.Tests.ps1
Clear-Content.Tests.ps1 Error message enhancement for clear-content cmdlet when targeting a directory (#8134) 2018-11-01 08:56:45 +05:00
Clear-EventLog.Tests.ps1
Clear-Item.Tests.ps1
Clipboard.Tests.ps1 Added cross-platform Get-Clipboard and Set-Clipboard (#10340) 2019-11-04 11:28:58 -08:00
ControlService.Tests.ps1
Convert-Path.Tests.ps1
Copy.Item.Tests.ps1 Update pester syntax to v4 (#11544) 2020-01-11 20:41:59 +05:00
FileSystem.Tests.ps1 Re-balance CI tests (#11420) 2020-01-05 13:01:42 +05:00
FunctionProvider.Tests.ps1 Fix Rename-Item -Path with wildcard char (#7398) 2018-11-09 11:08:26 -08:00
Get-ChildItem.Tests.ps1 Update pester syntax to v4 (#11544) 2020-01-11 20:41:59 +05:00
Get-ComputerInfo.Tests.ps1 Fixing progress for Get-ComputerInfo (#9236) 2019-04-04 16:15:43 -07:00
Get-Content.Tests.ps1 Fix for Get-Content -ReadCount 0 behavior when -TotalCount is set (#10749) 2019-10-14 17:32:37 -07:00
Get-EventLog.Tests.ps1
Get-HotFix.Tests.ps1 Update pester syntax to v4 (#11544) 2020-01-11 20:41:59 +05:00
Get-Item.Tests.ps1 Fix setting original path of filesystem object to not have extra trailing slash (#10959) 2019-11-02 22:09:08 +05:00
Get-ItemProperty.Tests.ps1
Get-Location.Tests.ps1 Remove use of cmdlet aliases from .\test\powershell (#8546) 2018-12-28 13:48:23 +05:00
Get-Process.Tests.ps1 Support using non-compatible Windows PowerShell modules in PowerShell Core (#10973) 2019-11-18 10:44:55 -08:00
Get-PSDrive.Tests.ps1 Make UseAbbreviationExpansion and TempDrive official features (#9872) 2019-06-13 13:05:37 -07:00
Get-PSProvider.Tests.ps1 Add ItemSeparator and AltItemSeparator properties in ProviderInfo (#8587) 2019-04-02 09:59:36 -07:00
Get-Service.Tests.ps1
Hierarchical-Path.Tests.ps1
ItemProperty.Tests.ps1
Join-Path.Tests.ps1
Move-Item.Tests.ps1
New-EventLog.Tests.ps1
New-Item.Tests.ps1 Update tests to accurately describe test actions. (#10928) 2019-10-30 09:13:55 +05:00
New-PSDrive.Tests.ps1 Fix for PSDrive creation with a UNC path with a trailing backslash or forward slash when combined with -Persist (#8305) 2018-11-30 08:49:22 +05:00
Pester.Commands.Cmdlets.NoNewlineParameter.Tests.ps1
Pop-Location.Tests.ps1
PSDrive.Tests.ps1 Fix for PSDrive creation with a UNC path with a trailing backslash or forward slash when combined with -Persist (#8305) 2018-11-30 08:49:22 +05:00
Push-Location.Tests.ps1 Remove use of cmdlet aliases from .\test\powershell (#8546) 2018-12-28 13:48:23 +05:00
Registry.Tests.ps1
Remove-EventLog.Tests.ps1
Remove-Item.Tests.ps1 Replace Ambiguous language for tests from switch to parameter for accuracy (#10666) 2019-10-03 20:54:08 +05:00
Rename-Computer.Tests.ps1 Fix tests running in Azure DevOps (#8220) 2018-11-09 15:11:02 -08:00
Rename-Item.Tests.ps1 Fix Rename-Item -Path with wildcard char (#7398) 2018-11-09 11:08:26 -08:00
Resolve-Path.Tests.ps1
Restart-Computer.Tests.ps1 Update pester syntax to v4 (#11544) 2020-01-11 20:41:59 +05:00
Set-Content.Tests.ps1 Update pester syntax to v4 (#11544) 2020-01-11 20:41:59 +05:00
Set-Item.Tests.ps1
Set-Location.Tests.ps1 Update pester syntax to v4 (#11544) 2020-01-11 20:41:59 +05:00
Set-Service.Tests.ps1 Adding -SecurityDescriptorSDDL parameter to New-Service (#10483) 2019-10-03 17:12:17 -07:00
Split-Path.Tests.ps1
Start-Process.Tests.ps1 Update pester syntax to v4 (#11544) 2020-01-11 20:41:59 +05:00
Stop-Computer.Tests.ps1 Update pester syntax to v4 (#11544) 2020-01-11 20:41:59 +05:00
Test-Connection.Tests.ps1 Test-Connection: Fallback to hop IP Address on -Traceroute without -ResolveDestination (#11335) 2019-12-19 09:51:34 -08:00
Test-Path.Tests.ps1 Test-Path: Return $false when given an empty or $null -Path/-LiteralPath value (#8080) 2018-11-21 10:08:31 +05:00
TimeZone.Tests.ps1
Unimplemented-Cmdlet.Tests.ps1 Add an implementation of Stop-Computer for Linux and macOS (#11151) 2019-12-02 17:29:11 -08:00
UnixStat.Tests.ps1 Experimental Feature: Provide Unix stat information in filesystem output (#11042) 2019-11-15 17:26:11 -08:00
Variable.Tests.ps1