Commit graph

40 commits

Author SHA1 Message Date
xtqqczze f4382202ae
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files (#12584) 2020-05-07 17:00:30 +05:00
Steve Lee b7cb335f03
Update copyright notice to latest guidance (#12190) 2020-03-24 11:08:37 -07:00
xtqqczze 863528881f Use https in URLs where available (#8622)
Use https in URLS across the repository where the domain serves content by https.
2019-01-24 12:50:11 -08:00
Andrew bc5fe72096 Updating test gallery URL in PackageManagement tests (#7879) 2018-09-27 14:23:10 -07:00
Kevin Marquette 404e876740 Use new Pester syntax: -Parameter for Pester tests in modules: PowerShellGet, PackageManagement, PSReadLine (#6488) 2018-03-30 09:22:26 +04:00
Steve Lee c1c5344a88 Update copyright and license headers (#6134)
Based on standard practices, we need to have a copyright and license notice at the top of each source file. Removed existing copyrights and updated/added copyright notices for .h, .cpp, .cs, .ps1, and .psm1 files.

Updated module manifests for consistency to have Author = "PowerShell" and Company = "Microsoft Corporation". Removed multiple line breaks.

Separate PR coming to update contribution document for new source files: #6140

Manually reviewed each change.

Fix #6073
2018-02-13 09:23:53 -08:00
bergmeister ffd39b2853 PSScriptAnalyzer fixes by category (#4261)
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'ForEach-Object' (alias is '%' or 'foreach')
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'Where-Object' (alias is '?' or 'where')
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'Select-Object' (alias is 'select')
- Fix PSScriptAnalyzer warnings of type PSPossibleIncorrectComparisonWithNull. Essentially, $null has to be on the left-hand side when using it for comparison.
- A Test in ParameterBinding.Tests.ps1 needed adapting as this test used to rely on the wrong null comparison
- Replace a subset of tests of kind '($object -eq $null) | Should Be $true' with '$object | Should Be $null'
2017-07-21 21:03:49 -07:00
James Truher [MSFT] 9aa693dfb3 Jameswtruher/travisdaily2 (#2842)
* Assign $ProgressPreference = "SilentlyContinue" to reduce output size

Travis is still complaining that the log file is too big, eliminating progress is
another step to reducing output. It's also not needed for our CI environment.

* Removed white space at end of lines

* fix misplacement of progress preference setting

also fix up trailing whitespace
2016-12-06 13:58:57 -08:00
Manikyam Bavandla 67e9bf6376 - Fixed failing PackageManagement related tests in daily-builds (#2759)
- Updated Restore-PSModule function to delete the PSGetModuleInfo.xml so that this file will not be included in the PowerShell release.
- Since PackageManagement module gets installed with PowerShellGet module, removed PackageManagement module name in Restore-PSModule command invocation.
2016-11-21 17:36:51 -08:00
Jianyun Tao 00d5f9c884 remove packagemanagement test code 2016-11-19 23:52:16 -08:00
Jianyun Tao a61f70f2e7 Add PackageManagement acceptance test cases 2016-11-19 23:52:16 -08:00
Aditya Patwardhan 877c193af0 Add RequireAdminOnWindows tag for install-package tests (#2390)
Add the tag RequireAdminOnWindows tags so that these tests do not fail on
daily builds.
2016-09-29 18:13:33 -07:00
Mike Richmond 374e1d1b21 Merge pull request #2280 from vors/admin-tests
Separate tests on Windows CI to Admin-Required and Non-Admin-Required
2016-09-29 16:28:29 -07:00
Aditya Patwardhan 561824c306 Change fwlink to use http instead of https.
An issue was filed for corefx team for httpclient.getasync with https and
redirects. https://github.com/dotnet/corefx/issues/12171
2016-09-29 12:39:56 -07:00
Sergei Vorobev dcc10bc771 Change install scope for Install-PackageProvider.Tests.ps1
This helps avoid problem when run as non-elevated user.
2016-09-29 12:29:27 -07: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
Sergei Vorobev 1638bdf3e6 Merge pull request #2063 from jsoref/spelling-test
spelling fixes: tests
2016-08-31 14:13:49 -07:00
Travis Plunk a814e6660c Mark failing test as pending 2016-08-31 12:17:07 -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
Jason Shirk 8b056776c0 Stop using 'Open PowerShell' and OPS in code (#1838) 2016-08-16 17:03:34 -07:00
James Truher 456bc4da6b marked some package tests as feature rather than CI 2016-07-27 12:06:51 -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 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
Travis Plunk ffe0a250a9 Changed Find-Package test to 'SLOW' 2016-07-20 16:28:32 -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
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
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