Commit Graph
23 Commits
Author SHA1 Message Date
Jason Shirk (POWERSHELL) 39db1ec402 Add capacity test for initialsessionstate 2016-09-28 16:54:31 -07:00
Paul Higinbotham 0ba1e2d9d1 Minor improvements to SSH remoting cmdlets (#2249)
* Fix for relative paths for KeyFilePath cmdlet parameter, renamed cmdlet KeyPath parameter to KeyFilePath parameter, and added tests.

* Code review comment update

* Added missing KeyFilePath check

* Test fix from review comment
2016-09-14 15:13:10 -07:00
George Chakhidze db330207dd Make sure we log that tests for Cert:\ and WSMan:\ provider-specific help are skipped 2016-09-13 10:26:53 +04:00
George Chakhidze e8190a569b Use prefixed QNames in XPath expressions used by all implementations of ICmdletProviderSupportsHelp interface
Also includes these bugfixes:
  - WSManConfigProvider.GetHelpMaml: Tried to load XML from
    MemoryStream that was created from file name string. Use XmlReader
    instead.
  - WSManConfigProvider.GetHelpMaml: Use Path.Combine instead of
    platform-specific directory separator character.
  - WSManConfigProvider.GetHelpMaml: CmdletHelpPath MAML XML element
    attribute `ID` name casing seems inconsistent with other help.xml
    files. XPath 1.0 does not support case-insensitive expressions,
    use both `id` and `ID` in query.
  - Add Pester test to verify that Get-Help shows provider-specific help.

Fixes #2088
2016-09-13 09:40:14 +04:00
Dongbo Wang 58a2ba730d Merge pull request #2046 from xiaoyinl/use-https-links
Use HTTPS links for go.microsoft.com
2016-09-01 17:23:09 -07:00
Josh Soref 2badb244de spelling fixes: test 2016-08-25 17:49:32 +00:00
xiaoyinl f538eeb416 Use HTTPS links for go.microsoft.com
I replace all occurrences of http://go.microsoft.com with https://go.microsoft.com in text files.
2016-08-23 21:21:31 -04:00
Mike Richmond 18f3589d68 Fixing the path to the user's JSON configuration file 2016-08-23 15:45:49 -07:00
Francisco Gamino 135af2089a Updating tests to install the help content before running on Windows 2016-08-10 12:19:51 -07:00
Francisco Gamino 2b1dc87774 Adding Feature tag to help tests 2016-08-10 12:19:51 -07:00
Francisco Gamino 233e75657a Breaking down help tests for CI and Feature test runs 2016-08-10 12:19:51 -07:00
Francisco Gamino 3ed7201e21 Fixing get-help on Linux 2016-08-10 12:19:51 -07:00
Dongbo Wang dc9b326587 Fix issue #1609 - Get-PSSession -computername fails on nano
Root cause: Microsoft.WSMan.Management  and  Microsoft.PowerShell.Commands.Diagnostics  are not put in the default snapin list for win-ops, and thus when a runspace is created using RunspaceConfiguration, those 2 are not loaded as snapins by default, which is a behavior change compared to Nano PS.
Fix: Replace the guard 'PORTABLE' to be 'UNIX' so that they are in the default snapin list when targeting windows platform.
2016-08-05 11:20:14 -07:00
Jason Shirk (POWERSHELL) 420155517a Add serialization test of SemanticVersion 2016-08-03 13:21:42 -07:00
Sergei Vorobev d591871b2c Add CI tag to SemanticVersion.Tests.ps1 2016-07-27 18:54:40 -07:00
Sergei Vorobev aa72512c76 Merge pull request #1523 from lzybkr/semver
Semver
2016-07-27 18:35:12 -07:00
James Truher f0233a8d20 fix bad tag to check tag checking 2016-07-27 12:06:51 -07:00
James Truher 0b61bb6464 purposefully create a bad tag to test tag checks for build 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
Jason Shirk (POWERSHELL) 8e8ade947d Add SemanticVersion tests 2016-07-27 10:53:11 -07:00
Sergei Vorobev 4c78fc5e7f Scope ExecutionPolicy tests to Process
Allow it run without admin escalation
2016-07-22 12:58:50 -07:00
Travis Plunk 5669e14dff Ported Execution policy tests
Made a fix to store data on testdrive instead of system drive
Made a note of where the tests where ported from
Skipped entire test file on non-windows machines
2016-07-11 18:54:34 -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