Commit graph

52 commits

Author SHA1 Message Date
James Truher
a784149b36 all tests are now marked with proper tag
also, update build.psm1 to be more flexible
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 [MSFT]
a6072c4576 Merge pull request #1447 from PowerShell/jameswtruher/LanguageTestMigration
language pester test migration - woo - adding 800 more tests
2016-07-20 18:29:56 -07:00
Travis Plunk
ffe0a250a9 Changed Find-Package test to 'SLOW' 2016-07-20 16:28:32 -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
a51b8d500b Mark feed dependent NuGet tests as pending
The feed/credential combo has stopped working, breaking all CI runs.
2016-07-19 15:30:23 -07:00
Andrew Schwartzmeyer
f9ed7e84fb Mark failed NuGet test as pending
Once the clean-up stage on Linux / OS X was fixed, this test stopped
passing. This test should be fixed.
2016-07-19 15:12:12 -07:00
Andrew Schwartzmeyer
472947bf76 Fix use of rm alias in tests
This is not an alias on Linux / OS X.
2016-07-19 15:12:12 -07:00
Jason Shirk
5a1432e234 Merge pull request #1388 from PowerShell/andschwa/default-editmode
Use Emacs as DefaultEditMode on Linux / OS X
2016-07-15 15:57:58 -07:00
Andrew Schwartzmeyer
b745d75f1b Test PSReadLine's DefaultEditMode and bindings 2016-07-15 13:43:29 -07:00
Sergei Vorobev
736eaade3c Add CimCmdlets module in the produced package of core modules 2016-07-15 13:25:38 -07:00
Andrew Schwartzmeyer
32e0a7dcaa Format New-Item.Tests.ps1 2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
e6c037c666 Remove Platform.HasExecutionPolicy query
Also change Get-ExecutionPolicy to not throw, but to return
Unrestricted (which is the effect of the actual policy).
2016-07-14 17:34:12 -07:00
Quoc Truong
ac7bed909e Merge pull request #1359 from PowerShell/quoct/onegettest
Enable test for PackageManagement on CorePowerShell
2016-07-14 13:26:01 -07:00
Quoc Truong
d7309a2435 Remove test that calls powershell 2016-07-14 09:56:35 -07:00
Quoc Truong
24eaf67917 Remove install contoso credential test 2016-07-13 16:36:29 -07:00
Quoc Truong
6338d8c33a Remove scope test for install-package in nuget.tests.ps1 2016-07-13 15:58:05 -07:00
Andrew Schwartzmeyer
6f938bd860 Add regression test for Get-Process -IncludeUserName 2016-07-13 15:46:25 -07:00
Quoc Truong
67bc478695 Fix test failure for Install-PackageProvider.tests.ps1 on Windows 2016-07-13 15:39:52 -07:00
quoctruong91
a041c44c5b Fix a test failure where path name is not in the correct case 2016-07-13 01:34:38 -07:00
quoctruong91
8253bb9b85 Fix NuGet.tests.ps1 failure 2016-07-13 01:09:47 -07:00
quoctruong91
987faf03a7 Remove test that requires installing packages that has dependencies 2016-07-13 00:34:43 -07:00
quoctruong91
50c3e5bfc8 Fix Install PackageProvider failure because we are not running on administrator 2016-07-12 21:17:11 -07:00
Quoc Truong
c978927947 Fix Nuget tests 2016-07-12 21:17:11 -07:00
Quoc Truong
85955352fe Fix test failures for PackageManagement 2016-07-12 21:17:11 -07:00
PowerShell Team
55b8cd1da6 Import source-depot tests for PackageManagement 2016-07-12 21:17:11 -07:00
Alex Jordan
90defe681d Changing childitem to cope with regex 2016-07-12 15:58:21 -07:00
Alex Jordan
7c6a0ce2f1 New-Item tests to use Should Match 2016-07-11 22:22:45 -07:00
Alex Jordan
4a4df0f080 Editing for OSX passing symbolic links 2016-07-11 20:56:34 -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
df15348557 Merge Get-TimeZone.Tests.ps1 and Set-TimeZone.Tests.ps1 to TimeZone.Tests.ps1 2016-07-06 15:52:18 -07:00
Dongbo Wang
c1d9316a3c Disable 3 FileCatalog tests. They fail in CoreCLR OPS on AppVeyor build VM (Windows Server 2012R2), though they always pass on Windows 10 2016-07-06 15:08:51 -07:00
Dongbo Wang
c502b31509 Exclude the TimeZone/Computer/FileCatalog cmdlets for Linux. They use windows specific Win32 APIs 2016-07-06 13:04:51 -07:00
PowerShell Team
45791aa030 Add tests for TimeZone cmdlets and FileCatalog cmdlets [SD:717473] 2016-07-06 13:04:32 -07:00
Jason Shirk
9a6655c147 Merge pull request #1246 from PowerShell/andschwa/guard-rawui
Guard RawUI when TTY is non-existent
2016-07-01 17:20:03 -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
Sergei Vorobev
777ba09bce Add a simple test for Get-WinEvent on windows (Core + Full) 2016-07-01 12:20:48 -07:00
Andy Schwartzmeyer
b7f33f6822 Merge pull request #1255 from PowerShell/jasonsh/measure-object-fix
Fix Measure-Object -Property w/ wildcards
2016-07-01 10:25:11 -07:00
Jason Shirk (POWERSHELL)
dc1d672a86 Fix Measure-Object -Property w/ wildcards
Fixes #1215
2016-06-30 18:16:37 -07:00
Jason Shirk (POWERSHELL)
bfc5b7e836 Revert Unix specific Split-Path -Qualifier code
The -Qualifier code for Split-Path made some incorrect assumptions:

* That a path only referred to the file system
* That drives cannot be used on Unix systems

These assumptions were both wrong, so I've reverted the change so we
do not have any Unix specific code in Split-Path now.

Fixes #1176
2016-06-29 14:12:29 -07:00