PowerShell/test/powershell/Modules/Microsoft.PowerShell.Utility
bergmeister ffd39b2853 PSScriptAnalyzer fixes by category (#4261)
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'ForEach-Object' (alias is '%' or 'foreach')
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'Where-Object' (alias is '?' or 'where')
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'Select-Object' (alias is 'select')
- Fix PSScriptAnalyzer warnings of type PSPossibleIncorrectComparisonWithNull. Essentially, $null has to be on the left-hand side when using it for comparison.
- A Test in ParameterBinding.Tests.ps1 needed adapting as this test used to rely on the wrong null comparison
- Replace a subset of tests of kind '($object -eq $null) | Should Be $true' with '$object | Should Be $null'
2017-07-21 21:03:49 -07:00
..
assets Fixes CIM deserialization bug (#4234) 2017-07-14 09:52:24 -07:00
Add-Member.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Add-Type.Tests.ps1 Add 'CSharpVersion7' member into public 'Language' enum (#3933) 2017-06-19 18:09:15 -07:00
alias.tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
Clear-Variable.Tests.ps1 Change to not expose unsupported aliases/cmdlets in Unix (#3595) 2017-05-23 10:27:31 -07:00
clixml.tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
command.tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
Compare-Object.Tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
ConvertFrom-Csv.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
ConvertFrom-Json.Tests.ps1 spelling fixes: test 2016-08-25 17:49:32 +00:00
ConvertFrom-StringData.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
ConvertTo-Csv.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
ConvertTo-Html.Tests.ps1 Fix ConvertTo-Html single matched column header bug (#4276) 2017-07-18 14:13:54 -07:00
ConvertTo-SecureString.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
ConvertTo-Xml.Tests.ps1 Add Test coverage for XmlCommand.cs (#4201) 2017-07-21 13:50:14 -07:00
Debug-Runspace.Tests.ps1 Fix non-fatal (red) errors in test output (#3968) 2017-06-09 16:29:59 -07:00
EnableDisablePSBreakpoint.Tests.ps1 Add simple Enable-PSBreakpoint and Disable-PSBreakpoint cmdlet tests 2016-08-30 16:15:10 -07:00
Environment-Variables.Tests.ps1 changes tags for tests 2016-07-27 12:06:51 -07:00
Eventing.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Export-Alias.Tests.ps1 fixed some expected exception tests according to the template 611f7f9b77/docs/testing-guidelines/WritingPesterTests.md (L54) 2017-01-05 18:23:37 -08:00
Export-Csv.Tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
Export-FormatData.Tests.ps1 Fix tests that were broken by the sxs module path change. Also fix some unreliable tests. 2016-08-11 21:45:20 -07:00
Format-Custom.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Format-List.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Format-Table.Tests.ps1 spelling fixes: test 2016-08-25 17:49:32 +00:00
Format-Wide.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
formatdata.tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
FormatHex.Tests.ps1 Implement Format-Hex in C# (#3320) 2017-03-21 09:00:43 -07:00
Get-Alias.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-Culture.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-Date.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-Event.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-EventSubscriber.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-FileHash.Tests.ps1 Convert Get-FileHash to a cmdlet (#3024) 2017-02-03 18:11:57 -08:00
Get-FormatData.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-Host.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-Member.Tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
Get-PSBreakpoint.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Get-PSCallStack.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Get-Random.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-RunspaceDebug.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-TraceSource.Tests.ps1 changes tags for tests 2016-07-27 12:06:51 -07:00
Get-UICulture.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-Unique.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-Uptime.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Get-Variable.Tests.ps1 Change to not expose unsupported aliases/cmdlets in Unix (#3595) 2017-05-23 10:27:31 -07:00
Get-Verb.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Group-Object.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Implicit.Remoting.Tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
Import-Alias.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Import-Csv.Tests.ps1 Move powershell to .NET Core 2.0 (#3556) 2017-04-17 11:52:38 -07:00
Import-LocalizedData.Tests.ps1 changes tags for tests 2016-07-27 12:06:51 -07:00
ImportExportCSV.Delimiter.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Invoke-Expression.Tests.ps1 Change to not expose unsupported aliases/cmdlets in Unix (#3595) 2017-05-23 10:27:31 -07:00
Invoke-Item.Tests.ps1 Change positional parameter for powershell.exe from -Command to -File (#4019) 2017-06-19 12:17:56 -07:00
JsonObject.Tests.ps1 Invoke-RestMethod cmdlet error if the response is neither JSON nor XML (#2862) 2016-12-15 00:06:26 -08:00
Measure-Command.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Measure-Object.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
MiscCmdletUpdates.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
New-Alias.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
New-Event.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
New-Object.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
New-TimeSpan.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
New-Variable.Tests.ps1 Change to not expose unsupported aliases/cmdlets in Unix (#3595) 2017-05-23 10:27:31 -07:00
NewGuid.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
NewTemporaryFile.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
object.tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
Out-File.Tests.ps1 Added alias (Path) to the FilePath parameter of the Out-File cmdlet. (#2945) 2017-01-26 14:17:40 -08:00
Out-String.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Pester.Commands.Cmdlets.Json.Tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
PowerShellData.tests.ps1 Moving Import-PowerShellDatafile from script to cmdlet (#2750) 2017-02-26 16:50:28 -08:00
Read-Host.Tests.ps1 Add autoload for test modules (#3342) 2017-03-26 21:46:39 -07:00
Register-EngineEvent.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Register-ObjectEvent.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Remove-Event.Tests.ps1 changes tags for tests 2016-07-27 12:06:51 -07:00
Remove-PSBreakpoint.Tests.ps1 Change to not expose unsupported aliases/cmdlets in Unix (#3595) 2017-05-23 10:27:31 -07:00
Remove-TypeData.Tests.ps1 changes tags for tests 2016-07-27 12:06:51 -07:00
Remove-Variable.Tests.ps1 Change to not expose unsupported aliases/cmdlets in Unix (#3595) 2017-05-23 10:27:31 -07:00
RunspaceCmdlets.Tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
Select-Object.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Select-String.Tests.ps1 Change to not expose unsupported aliases/cmdlets in Unix (#3595) 2017-05-23 10:27:31 -07:00
Select-XML.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Send-MailMessage.Tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
Set-Alias.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Set-Date.Tests.ps1 Add autoload for TestLanguage.psm1 TestHelpers.psm1 (#3456) 2017-05-17 11:09:27 -07:00
Set-PSBreakpoint.Tests.ps1 changes tags for tests 2016-07-27 12:06:51 -07:00
Set-Variable.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Sort-Object.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Start-Sleep.Tests.ps1 Adding a slightly bigger window to 'Start-Sleep' test. (#4049) 2017-06-20 09:49:49 -07:00
string.tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Tee-Object.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Test-Mocks.ps1
Trace-Command.Tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
typedata.tests.ps1 Remove System.Array type data (#3231) 2017-03-01 12:58:03 -08:00
Unblock-File.Tests.ps1 Fix typo in Unblock-File test (#3025) 2017-01-23 11:43:38 -08:00
Unimplemented-Cmdlet.Tests.ps1 Remove unimplemented Utility cmdlets from Unix 2016-08-09 18:53:43 -07:00
Update-FormatData.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Update-TypeData.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Wait-Event.Tests.ps1 changes tags for tests 2016-07-27 12:06:51 -07:00
WebCmdlets.Tests.ps1 updated webcmdlets CI tests to not depend on external website (#4279) 2017-07-18 12:33:40 -07:00
Write-Error.Tests.ps1 Fix GetType() bad pattern and related issues in tests (#3134) 2017-02-15 16:40:51 -08:00
Write-Host.Tests.ps1 with change of positional parameter to powershell.exe from -command to -file, need to update some feature tests (#4058) 2017-06-21 18:47:56 -07:00
Write-Output.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Write-Progress.Tests.ps1 Remove trailing whitespace (#3001) 2017-01-16 13:31:14 -08:00
Write-Stream.Tests.ps1 Fix a test when the information object returns a FQDN (#3296) 2017-03-10 16:44:08 -08:00
Write-Verbose.Tests.ps1 changes tags for tests 2016-07-27 12:06:51 -07:00
xml.tests.ps1 PSScriptAnalyzer fixes by category (#4261) 2017-07-21 21:03:49 -07:00
XMLCommand.Tests.ps1 Add Test coverage for XmlCommand.cs (#4201) 2017-07-21 13:50:14 -07:00