mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Mark as pending tests not working with ConsoleHost
This commit is contained in:
@@ -86,12 +86,12 @@ set-psbreakpoint -command foo
|
||||
Remove-PSBreakPoint -Id $brk.Id
|
||||
}
|
||||
|
||||
It "Should throw Exception when missing mandatory parameter -line"{
|
||||
It "Should throw Exception when missing mandatory parameter -line" -Pending {
|
||||
$output = & $ps -noninteractive -command "sbp -column 1 -script $scriptFileName"
|
||||
[system.string]::Join(" ", $output) | Should Match "MissingMandatoryParameter,Microsoft.PowerShell.Commands.SetPSBreakpointCommand"
|
||||
}
|
||||
|
||||
It "Should throw Exception when missing mandatory parameter" {
|
||||
It "Should throw Exception when missing mandatory parameter" -Pending {
|
||||
$output = & $ps -noprofile -noninteractive -command "sbp -line 1"
|
||||
[system.string]::Join(" ", $output) | Should Match "MissingMandatoryParameter,Microsoft.PowerShell.Commands.SetPSBreakpointCommand"
|
||||
}
|
||||
|
||||
@@ -35,11 +35,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
It "all mandatory params works" {
|
||||
It "all mandatory params works" -Pending {
|
||||
{ write-progress -activity 'myactivity' -status 'mystatus' } | Should Not Throw
|
||||
}
|
||||
|
||||
It "all params works" {
|
||||
It "all params works" -Pending {
|
||||
{ write-progress -activity 'myactivity' -status 'mystatus' -id 1 -parentId 2 -completed:$false -current 'current' -sec 1 -percent 1 } | Should Not Throw
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user