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
This commit is contained in:
Steve Lee
2018-02-13 09:23:53 -08:00
committed by Travis Plunk
parent 0ad9fc9d70
commit c1c5344a88
1567 changed files with 3484 additions and 5749 deletions
@@ -1,8 +1,5 @@
##
## Copyright (c) Microsoft Corporation. All rights reserved.
##
## Script debugging tests
##
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
Describe "Breakpoints set on custom FileSystem provider files should work" -Tags "CI" {
#
@@ -53,7 +50,6 @@ Describe "Breakpoints set on custom FileSystem provider files should work" -Tags
}
}
Describe "Tests line breakpoints on dot-sourced files" -Tags "CI" {
#
# <Test>
@@ -108,7 +104,6 @@ Describe "Tests line breakpoints on dot-sourced files" -Tags "CI" {
}
}
Describe "Function calls clear debugger cache too early" -Tags "CI" {
#
# <Test>
@@ -163,7 +158,6 @@ Describe "Function calls clear debugger cache too early" -Tags "CI" {
}
}
Describe "Line breakpoints on commands in multi-line pipelines" -Tags "CI" {
#
# <Test>
@@ -211,7 +205,6 @@ Describe "Line breakpoints on commands in multi-line pipelines" -Tags "CI" {
}
}
Context "COM TESTS" {
# DRT for 133807 SetBreakpointWithShortPath
BeforeAll {
@@ -248,7 +241,6 @@ Describe "Line breakpoints on commands in multi-line pipelines" -Tags "CI" {
}
}
Describe "Unit tests for various script breakpoints" -Tags "CI" {
#
# <Test>
@@ -411,7 +403,6 @@ Describe "Unit tests for various script breakpoints" -Tags "CI" {
}
}
Describe "Unit tests for line breakpoints on dot-sourced files" -Tags "CI" {
#
# <Test>
@@ -499,7 +490,6 @@ Describe "Unit tests for line breakpoints on dot-sourced files" -Tags "CI" {
}
}
Describe "Unit tests for line breakpoints on modules" -Tags "CI" {
#
# <Test>
@@ -604,7 +594,6 @@ Describe "Unit tests for line breakpoints on modules" -Tags "CI" {
}
}
Describe "Sometimes line breakpoints are ignored" -Tags "CI" {
#####################################################################################
#
@@ -1,3 +1,5 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
$script1 = @'
'aaa'.ToString() > $null
'aa' > $null
@@ -1,8 +1,5 @@
##
## Copyright (c) Microsoft Corporation. All rights reserved.
##
## Debugging in Host tests
##
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
Describe "Tests Debugger GetCallStack() on runspaces when attached to a WinRM host process" -Tags "CI" {