Commit graph

64 commits

Author SHA1 Message Date
TingLiu6 757724abf5 fix the issue of review 2016-04-07 20:27:04 -07:00
TingLiu6 63f8782d05 Improve Unit Test for Get-Date 2016-04-07 00:15:50 -07:00
Ting Liu [Wicresoft] 9733f5e8e7 Merge branch 'master' into UnitTest_Temp 2016-04-06 16:27:44 +08:00
TingLiu6 4a4994ba2d Add Unit Test for StartSleepTest.cs 2016-04-06 01:17:27 -07:00
TingLiu6 11afac883f Add Unit Test for GetDateTest.cs 2016-04-06 01:14:14 -07:00
Andrew Schwartzmeyer fe0ad12598 Update test documentation 2016-04-04 19:20:26 -07:00
Andrew Schwartzmeyer 1b3bd12230 Don't load Netwonsoft.Json from path
It's already loaded.
2016-04-01 22:35:00 -07:00
Andrew Schwartzmeyer d27ae18ca0 Skip Add-Type.Tests.ps1
This broke and needs to be fixed.
2016-04-01 22:35:00 -07:00
JumpingYang001 fc0f9c315c Add Pester Unit test for Set-Alias 2016-04-01 00:50:10 -07:00
Andy Schwartzmeyer 954280d950 Merge pull request #756 from PowerShell/GetAliasPesterUnitTest
Add Pester Unit test for Get-Alias
2016-03-31 20:14:15 -07:00
JumpingYang001 97b96dda9e Update Pester Unit test for Get-Alias 2016-03-31 20:03:07 -07:00
JumpingYang001 c0f3fea44b Add Pester Unit test for Get-Alias 2016-03-31 01:24:50 -07:00
Andrew Schwartzmeyer 609a4c31e9 Fix up Pester test documentation 2016-03-30 23:30:25 -07:00
Andrew Schwartzmeyer fd51ebe78f Remove obsolete testing docs 2016-03-30 21:30:06 -07:00
George Fleming e6980894f7 Modify tests to display link type and link target 2016-03-28 14:35:34 -07:00
TingLiu6 880225501a Modify Pester test for New-Object 2016-03-24 20:20:06 -07:00
TingLiu6 0802c32562 Merge branch 'master' of https://github.com/PowerShell/PowerShell into PesterTest_Temp 2016-03-24 19:50:03 -07:00
TingLiu6 2d622eedc0 Modify Pester test for New-Object 2016-03-24 19:40:39 -07:00
Andrew Schwartzmeyer e88e463315 Add regression test .NET class interop
This bug arose because of a shortcut previously taken when generating
input for the type catalog generator. With a proper parser created, the
input to the generator is now correct, and so this test should succeed.
2016-03-22 21:41:46 -07:00
TingLiu6 bd51520505 Improve Pester Test for New-object #476 2016-03-22 19:58:34 -07:00
JumpingYang001 8141baaa47 Add comparison operator tests for #219 2016-03-22 01:17:22 -07:00
Andy Schwartzmeyer 8c67f6ca6f Merge pull request #711 from PowerShell/PesterTest_Temp
Add Pester Test for Get-PSBreakpoint, Import-Module, Sort-Object  #535 #479 #474
2016-03-21 10:30:15 -07:00
TingLiu6 25f8d334d6 Modify Pester Test for Get-PSBreakpoint 2016-03-20 22:04:08 -07:00
Andy Schwartzmeyer 8313aaa418 Merge pull request #695 from PowerShell/NativeLinuxCommandsTest
Add Pester tests for calling native Linux commands for #138
2016-03-18 19:39:09 -07:00
TingLiu6 6be57a0b5c Add Pester Test for Get-PSBreakpoint, Import-Module, Sort-Object 2016-03-18 02:30:26 -07:00
JumpingYang001 bf80880b51 Update Pester test for calling native Linux commands for isssue 138 2016-03-18 00:23:57 -07:00
Andy Schwartzmeyer 3d967c33ec Merge pull request #697 from PowerShell/RemoveModuleTest
Add Pester test for Remove-Module for #536
2016-03-18 00:11:55 -07:00
JumpingYang001 2836fe3714 Add Pester test for Remove-Module 2016-03-17 23:50:23 -07:00
JumpingYang001 89a6b8c1b5 Add Get-Process Pester test for issue 147 2016-03-17 23:49:09 -07:00
JumpingYang001 73fa64c350 Add Pester tests for calling native Linux commands for issue 138 2016-03-17 22:48:35 -07:00
Andrew Schwartzmeyer 5901e70dd0 Revert work-around in Json.Tests.ps1
This resolves #627.
2016-03-14 13:39:32 -07:00
Andrew Schwartzmeyer 887ac21256 Remove accidentally committed temporary file
This file was used to convert the test from UTF-8 with BOM to ASCII, and
got caught in a `git commit -a`.
2016-03-08 19:15:22 -08:00
Jumping Yang a504defbb9 Fixed Pester Get-Location test 2016-03-08 14:55:30 +08:00
Andy Schwartzmeyer 299ee6af2e Merge pull request #628 from PowerShell/osx-ping
Fix Start-Process tests
2016-03-04 17:53:15 -08:00
Andrew Schwartzmeyer 0df9b76322 Fix Start-Process tests
OS X's ping command requires the flags to be specified before the
arguments. I also reduced the ping count so that the tests execute a bit
faster. This resolves #556.
2016-03-04 17:35:13 -08:00
George Fleming e52da3b1e5 Add hardlink test for New-Item 2016-03-04 16:51:24 -08:00
Andrew Schwartzmeyer 6382bfb069 Enable Add-Type test on Windows
Resolves #606.
2016-03-04 15:55:55 -08:00
Andrew Schwartzmeyer 0c6b14adab Programmatic indentation and whitespace-cleanup of tests 2016-03-04 14:52:27 -08:00
Andrew Schwartzmeyer 0aaf74bdcc Convert Pester tests to ASCII
Instead of UTF-8 with BOM.

Resolves #417.
2016-03-04 14:48:30 -08:00
Andrew Schwartzmeyer 901160cb78 Fix Get-Location tests
These should never have passed.
2016-03-04 14:42:36 -08:00
Andrew Schwartzmeyer 15f8433d98 Use $PSScriptRoot instead of assigning $here 2016-03-04 14:42:08 -08:00
Andrew Schwartzmeyer c37a0c4a64 Increase New-TimeSpan difference to reduce errant failures 2016-03-04 14:41:33 -08:00
Andrew Schwartzmeyer 579287c53d Fix ExecutionPolicy tests to -Skip instead of return 2016-03-04 14:40:51 -08:00
Andrew Schwartzmeyer 4feb665203 Update PSVersionTable tests for PSEdition 2016-03-04 14:40:33 -08:00
Andrew Schwartzmeyer 615eca6fd5 Use -Skip:$IsWindows
Uses the $IsWindows etc. booleans from the Microsoft.PowerShell.Platform
module instead of sourcing Test-Common repeatedly.
2016-03-04 14:39:18 -08:00
Andrew Schwartzmeyer de6a452f63 Pester test formatting cleanups 2016-03-04 14:38:01 -08:00
Andrew Schwartzmeyer 7857f13165 Skip SymbolicLink tests on Windows
On Windows, making symbolic links requires administrator access, so
let's skip it.
2016-03-03 18:09:52 -08:00
Andrew Schwartzmeyer d253a4e483 Make Add-Type test -Pending until it passes on Windows 2016-03-03 13:46:35 -08:00
Andy Schwartzmeyer cdd0e9daef Merge pull request #601 from PowerShell/newitem
Modify New-Item to support Symbolic Link on Linux
2016-03-01 16:32:14 -08:00
George Fleming 134ccef8c0 Remove directory symlink first to avoid broken symlink issues 2016-03-01 15:57:16 -08:00