Commit Graph
30 Commits
Author SHA1 Message Date
Dongbo Wang 753b202a75 Fix tests that were broken by the sxs module path change. Also fix some unreliable tests. 2016-08-11 21:45:20 -07:00
Andrew Schwartzmeyer 280bd651c1 Remove unimplemented Utility cmdlets from Unix
ConvertFrom-SddlString and Unblock-File are Windows-specific cmdlets
with no equivalent on Unix.

squash! Remove Unblock-File from Unix
2016-08-09 18:53:43 -07:00
Andrew Schwartzmeyer 5bc34eb63c Run Trace-Command tests on CI 2016-08-08 12:11:51 -07:00
James Truher 6a07b71ba6 update tests to include $IsCoreCLR rather than $IsCore
also fix archive test to be sure it gets the proper archive module (not the one that's somewhere in the filesystem)
2016-08-02 12:50:24 -07:00
James Truher 0a18a46281 Update json tests to be more cross-plat and handle multiple invocations
only create the enumtest type if it doesn't exist
don't try to compare line endings on json tests which contain arrays,
formatting of the output need not be validated
2016-08-02 12:05:24 -07:00
James Truher dd0291be09 update encoding on the test files - these are ascii 2016-08-02 12:05:24 -07:00
James Truher 96a81c626c rename test files so they match map.json and can be found by invoke-pester 2016-08-02 12:05:24 -07:00
PowerShell Team ce4303b873 migrated tests run clean on all platforms (locally) 2016-08-02 12:05:24 -07:00
PowerShell Team 7305b82b73 Add migrated files 2016-08-02 12:05:24 -07:00
James Truher fa1b386a08 make sure that all tests are using the proper $IsCoreCLR variable instead of $IsCore 2016-07-27 12:32:17 -07:00
James Truher ac8238075d mark the add-type tests as pending for $IsCore 2016-07-27 12:14:08 -07:00
James Truher 1b9565ae89 add tags to describe blocks that didn't have any tags 2016-07-27 12:06:51 -07:00
James Truher 9e225ccae2 changes tags for tests
Start using tags CI, Feature, Scenario
2016-07-27 12:06:51 -07:00
Sergei Vorobev d8a040ca99 Add test for Add-Type System.Runtime.Serialization.Primitives.dll TPA 2016-07-26 17:53:52 -07:00
Sergei Vorobev 3fd885ef2d Add-Type: add mscorlib.dll to the list of default references
Fix #1361
On CoreCLR 1.0.0 RTM the layout changed compare to RC2.
This change accounts for it.
This change also cleans up some left-overs for SecureString ref.
2016-07-26 17:45:49 -07:00
Sergei Vorobev 52569380c7 Merge pull request #1519 from PowerShell/vors/json
Fix ConvertFrom-Json to handle mutlilines
2016-07-26 14:37:36 -07:00
Andrew Schwartzmeyer 41173a3b65 Rename IsCore to IsCoreCLR 2016-07-26 11:54:08 -07:00
Sergei Vorobev 3240a2d369 Fix ConvertFrom-Json to handle mutlilines
Fix #956

Add Newtonsoft.Json.JsonSerializationException to catch block
that determines which mode to use: single-string or multi-string
2016-07-26 11:11:44 -07:00
Francisco Gamino 42105138a7 Adding WebCmdlets tests 2016-07-24 16:20:46 -07:00
PowerShell Team 165f2a86c3 Convert UTF-16 files to UTF-8 2016-07-22 13:54:34 -07:00
James Truher 84041fb37d fix Get-PSBreakpoint test to not require 0 as the breakpoint id
Essentially, other tests may set breakpoints and the Id is ever
increasing, so a test for Id 0 will only be true if this is the
first time a breakpoint has been set in this session
2016-07-20 12:54:59 -07:00
Andrew Schwartzmeyer 50e6627a8e Throw PlatformNotSupported on Windows .NET Core build 2016-07-08 14:08:22 -07:00
Andrew Schwartzmeyer 9a7199b05b Enable Invoke-Item test for Windows 2016-07-08 13:48:36 -07:00
Dongbo Wang 2f9be46eac Merge pull request #1285 from PowerShell/dongbo/miss-files-ops
Add back missing files for OPS
2016-07-06 16:54:16 -07:00
PowerShell Team 45791aa030 Add tests for TimeZone cmdlets and FileCatalog cmdlets [SD:717473] 2016-07-06 13:04:32 -07:00
Andrew Schwartzmeyer 2dd01a9d31 Fix Write-Host tests
These were not testing the development build of PowerShell.
2016-07-01 14:36:15 -07:00
Andrew Schwartzmeyer fe56aaafa7 Re-enable tests on OS X 2016-07-01 14:36:15 -07:00
Jason Shirk (POWERSHELL) dc1d672a86 Fix Measure-Object -Property w/ wildcards
Fixes #1215
2016-06-30 18:16:37 -07:00
Alex Jordan 7bc1bffdca Adding isWindows to invoke item test and new test location 2016-06-29 13:56:46 -07:00
James Truher 1e1c4b7dc0 Restructure of pester test layout
This restructuring moves tests to a directory name which matches the module
in which the cmdlet resides which should improve the discoverability of a
specific test.
For tests which are not about cmdlets in a module, new directories have been
created to make those tests easier to find as well
2016-06-29 12:05:41 -07:00