Commit graph

389 commits

Author SHA1 Message Date
Andy Schwartzmeyer
43f07425e9 Merge pull request #1283 from PowerShell/andschwa/readlinesafe
Implement ReadLineSafe for Linux
2016-07-08 17:02:49 -07:00
Jason Shirk
5e1cbe0e5d Merge pull request #1328 from PowerShell/dongbo/type-completion
Fix issue #682 - [system.manage<Tab>] doesn't work
2016-07-08 16:16:32 -07:00
Andrew Schwartzmeyer
332397e955 Bump expect timeout for slow CI systems 2016-07-08 14:28:49 -07:00
Dongbo Wang
81b92583e1 Fix #682 - [system.manage<Tab>] doesn't work 2016-07-08 14:18:20 -07:00
Andrew Schwartzmeyer
50e6627a8e Throw PlatformNotSupported on Windows .NET Core build 2016-07-08 14:08:22 -07:00
Andrew Schwartzmeyer
8d23dad0ab Add Read-Host regression test 2016-07-08 13:48:51 -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
Dongbo Wang
731797c9e6 Add map.json file under the 'test' folder to track the tests that were moved 2016-07-06 15:56:47 -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
Alex Jordan
946280b4f3 Removing extra invokeitem test 2016-07-05 18:05:56 -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
25e2316345 Fix Console-Host tests
Update tests from Source Depot and run everywhere.
2016-07-01 14:36:15 -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
c01ee38d5e Speed-up CimCmdlets FullCLR test 2016-07-01 12:20:48 -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
Alex Jordan
7bc1bffdca Adding isWindows to invoke item test and new test location 2016-06-29 13:56:46 -07:00
Alex Jordan
7cac07f31c Adding pending to invokeitem tests due to windows bug 2016-06-29 12:32: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
Alex Jordan
65f31c06bb Adding Invoke-Item tests 2016-06-29 10:52:56 -07:00
Alex Jordan
61a6713f4c Invoke-Item tests added 2016-06-29 10:52:56 -07:00
Andrew Schwartzmeyer
4086644de7 Disable JIT cache tests
This test fails since we've disabled the JIT cache entirely.
2016-06-28 20:08:11 -07:00
Sergei Vorobev
934cda2d7d Add test for CimCmdlets module 2016-06-28 16:19:15 -07:00
Sergei Vorobev
56599d3514 Add tests for PSWorkflow and PSWorkflowUtility 2016-06-28 16:08:33 -07:00
Sergei Vorobev
055185440d Merge pull request #1226 from PowerShell/vors/build
Add simple test for non-empty workflow, make it work
2016-06-28 14:54:07 -07:00
Andy Schwartzmeyer
b294a46d2e Merge pull request #1210 from PowerShell/andschwa/rtm
Update PowerShell to use .NET Core 1.0
2016-06-28 14:37:20 -07:00
Sergei Vorobev
c4f268f7cd Add simple test for non-empty workflow, make it work 2016-06-28 12:59:25 -07:00
Sergei Vorobev
e647549d0d Exclude Microsoft.WSMan.Management from the list of default snapins
Fix #1180
2016-06-28 12:14:18 -07:00
Andrew Schwartzmeyer
2f303f3822 Use dotnet-test-xunit package from NuGet 2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
10ea1733e9 Update to .NET Core 1.0 packages 2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
e8b8b22c4e Removing remaining centos.7.1 RIDs
This should have been done programmatically.
2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
97df59f553 Re-enable checking of assemblies with strong names
This removes the `UsesCodeSignedAssemblies()` switch in `CorePsPlatform`
and reverts the work-arounds skipping strong name checking.
2016-06-27 14:49:46 -07:00
Sergei Vorobev
8011ad707f Disable 3 debugging tests on all platforms to unblock code integration 2016-06-22 06:28:34 -07:00
James Truher [MSFT]
810ed39d49 Merge pull request #1062 from PowerShell/XMLCommandPesterTest
Add Export-Clixml and Import-Clixml Pester Test
2016-06-20 11:00:02 -07:00
Dongbo Wang
eae26dc0fa Add test to verify that a simple workflow can run 2016-06-17 14:54:54 -07:00
Sergei Vorobev
299d7798ce Merge pull request #1136 from PowerShell/vors/scheduledjobs
PSScheduledJobs Module
2016-06-17 11:26:24 -07:00
JumpingYang001
8cd16e81c1 Update fix based on comments for Sort-Object Pester Test 2016-06-16 19:54:13 -07:00
JumpingYang001
bb32b104bc Add Sort-Object Pester Unit Test 2016-06-16 19:46:52 -07:00
JumpingYang001
c1b0095361 Update fix based on comments for Export-Clixml and Import-Clixml Pester Test 2016-06-16 19:44:57 -07:00
JumpingYang001
5c9ff45370 Add Export-Clixml and Import-Clixml Pester Test 2016-06-16 19:42:51 -07:00
Sergei Vorobev
7cd6a76479 Add project.json for ScheduledJob, add test that we build PSScheduledJob module 2016-06-16 19:20:35 -07:00
Andrew Schwartzmeyer
b19be8c911 Fix CentOS RID in tests and build module 2016-06-16 18:39:29 -07:00
Andrew Schwartzmeyer
8e7c2ca30b Sign all assemblies with key 2016-06-16 15:48:18 -07:00