Update copyright notice to latest guidance (#12190)

This commit is contained in:
Steve Lee
2020-03-24 11:08:37 -07:00
committed by GitHub
parent f8fb77052f
commit b7cb335f03
1760 changed files with 1861 additions and 1861 deletions
@@ -1,4 +1,4 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Describe "SxS Module Path Basic Tests" -tags "CI" {
@@ -1,4 +1,4 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
using namespace Microsoft.PowerShell.Commands
@@ -1,4 +1,4 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Describe "New-ModuleManifest basic tests" -tags "CI" {
@@ -1,4 +1,4 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Describe "Tests for paths of submodules in module manifest" -tags "CI" {
@@ -12,10 +12,10 @@ Describe "Tests for paths of submodules in module manifest" -tags "CI" {
$nestedModuleFilePath = Join-Path $nestedModulePath $submoduleFileName
BeforeEach {
Remove-Module $moduleName -Force -ErrorAction SilentlyContinue
Remove-Item $moduleRootPath -Recurse -Force -ErrorAction SilentlyContinue
New-Item -ItemType Directory -Force -Path $nestedModulePath
"function TestModuleFunction{'Hello from TestModuleFunction'}" | Out-File $nestedModuleFilePath
}
@@ -40,7 +40,7 @@ Describe "Tests for paths of submodules in module manifest" -tags "CI" {
It "Test if NestedModule path is <SubModulePath>" -TestCases $testCases {
param($SubModulePath)
New-ModuleManifest $moduleFilePath -NestedModules @($SubModulePath)
Import-Module $moduleFilePath
(Get-Module $moduleName).ExportedCommands.Keys.Contains('TestModuleFunction') | Should -BeTrue
@@ -48,7 +48,7 @@ Describe "Tests for paths of submodules in module manifest" -tags "CI" {
It "Test if RootModule path is <SubModulePath>" -TestCases $testCases {
param($SubModulePath)
New-ModuleManifest $moduleFilePath -RootModule $SubModulePath
Import-Module $moduleFilePath
(Get-Module $moduleName).ExportedCommands.Keys.Contains('TestModuleFunction') | Should -BeTrue
@@ -1,4 +1,4 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Import-Module HelpersCommon
@@ -1,4 +1,4 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
Describe "Update-ModuleManifest tests" -tags "CI" {
@@ -14,7 +14,7 @@ Author = 'PowerShell'
CompanyName = 'Microsoft Corporation'
# Copyright statement for this module
Copyright = 'Copyright (c) Microsoft Corporation. All rights reserved.'
Copyright = 'Copyright (c) Microsoft Corporation.'
# Description of the functionality provided by this module
Description = 'NestedRequiredModule1 module'
@@ -1,3 +1,3 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
function Get-NestedRequiredModule1 { Get-Date }