From ef9364a67925d84a1e2a81431ff2e46104c16cb1 Mon Sep 17 00:00:00 2001 From: Charlie Poole Date: Thu, 16 Sep 2021 05:46:58 -0700 Subject: [PATCH] Update copyright headers --- LICENSE.txt | 2 +- build.cake | 5 +++++ cake/assertions.cake | 5 +++++ cake/constraints.cake | 5 +++++ cake/package-checks.cake | 7 ++++++- cake/package-tests.cake | 7 ++++++- cake/packaging.cake | 9 +++++++-- cake/parameters.cake | 7 ++++++- cake/test-reports.cake | 2 +- cake/test-results.cake | 2 +- cake/test-runner.cake | 5 +++++ cake/tests.cake | 5 +++++ cake/utilities.cake | 5 +++++ cake/versioning.cake | 5 +++++ src/extension/NUnit2ResultSummary.cs | 22 ++-------------------- src/extension/NUnit2XmlResultWriter.cs | 22 ++-------------------- src/extension/SafeAttributeAccess.cs | 22 ++-------------------- src/mock-assembly/MockAssembly.cs | 2 +- src/tests/NUnit2XmlResultWriterTests.cs | 22 ++-------------------- 19 files changed, 72 insertions(+), 89 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index fc6cd32..ad6af27 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Copyright (c) 2017 Charlie Poole +Copyright (c) 2016-2021 Charlie Poole Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/build.cake b/build.cake index 8a54bf7..9d4bd49 100644 --- a/build.cake +++ b/build.cake @@ -1,3 +1,8 @@ +// *********************************************************************** +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. +// *********************************************************************** + #tool nuget:?package=GitVersion.CommandLine&version=5.0.0 #tool nuget:?package=GitReleaseManager&version=0.11.0 #tool nuget:?package=NUnit.ConsoleRunner&version=3.10.0 diff --git a/cake/assertions.cake b/cake/assertions.cake index 595c8f7..39d8bfd 100644 --- a/cake/assertions.cake +++ b/cake/assertions.cake @@ -1,3 +1,8 @@ +// *********************************************************************** +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. +// *********************************************************************** + public static class Assert { internal static List FailureMessages = new List(); diff --git a/cake/constraints.cake b/cake/constraints.cake index cbfbc25..4136a52 100644 --- a/cake/constraints.cake +++ b/cake/constraints.cake @@ -1,3 +1,8 @@ +// *********************************************************************** +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. +// *********************************************************************** + public abstract class Constraint { public abstract bool Matches(TActual actual); diff --git a/cake/package-checks.cake b/cake/package-checks.cake index d3feefa..b79712b 100644 --- a/cake/package-checks.cake +++ b/cake/package-checks.cake @@ -1,4 +1,9 @@ -////////////////////////////////////////////////////////////////////// +// *********************************************************************** +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. +// *********************************************************************** + +////////////////////////////////////////////////////////////////////// // SYNTAX FOR EXPRESSING CHECKS ////////////////////////////////////////////////////////////////////// diff --git a/cake/package-tests.cake b/cake/package-tests.cake index b8e208d..e88c4de 100644 --- a/cake/package-tests.cake +++ b/cake/package-tests.cake @@ -1,4 +1,9 @@ -using System.Xml; +// *********************************************************************** +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. +// *********************************************************************** + +using System.Xml; ////////////////////////////////////////////////////////////////////// // PACKAGE TEST diff --git a/cake/packaging.cake b/cake/packaging.cake index d966f6c..42eda1a 100644 --- a/cake/packaging.cake +++ b/cake/packaging.cake @@ -1,4 +1,9 @@ -using System.Xml; +// *********************************************************************** +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. +// *********************************************************************** + +using System.Xml; ////////////////////////////////////////////////////////////////////// // PACKAGE METADATA @@ -9,7 +14,7 @@ static readonly string[] AUTHORS = new[] { "Charlie Poole" }; static readonly string[] OWNERS = new[] { "Charlie Poole" }; const string DESCRIPTION = "This extension allows NUnit to create result files in the V2 format, which is used by many CI servers."; const string SUMMARY = "NUnit Engine extension for writing test result files in NUnit V2 format."; -const string COPYRIGHT = "Copyright (c) 2016 Charlie Poole"; +const string COPYRIGHT = "Copyright (c) 2016-2021 Charlie Poole"; static readonly string[] RELEASE_NOTES = new [] { "See https://raw.githubusercontent.com/nunit/nunit-v2-result-writer/main/CHANGES.md" }; static readonly string[] TAGS = new[] { "nunit", "test", "testing", "tdd", "runner" }; static readonly Uri PROJECT_URL = new Uri("http://nunit.org"); diff --git a/cake/parameters.cake b/cake/parameters.cake index 853ccad..de3ea86 100644 --- a/cake/parameters.cake +++ b/cake/parameters.cake @@ -1,4 +1,9 @@ -#load "./versioning.cake" +// *********************************************************************** +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. +// *********************************************************************** + +#load "./versioning.cake" #load "./packaging.cake" #load "./package-checks.cake" #load "./package-tests.cake" diff --git a/cake/test-reports.cake b/cake/test-reports.cake index b152d10..ac5f55d 100644 --- a/cake/test-reports.cake +++ b/cake/test-reports.cake @@ -1,5 +1,5 @@ // *********************************************************************** -// Copyright (c) Charlie Poole and TestCentric GUI contributors. +// Copyright (c) Charlie Poole and contributors. // Licensed under the MIT License. See LICENSE.txt in root directory. // *********************************************************************** diff --git a/cake/test-results.cake b/cake/test-results.cake index 044f51b..d5270fa 100644 --- a/cake/test-results.cake +++ b/cake/test-results.cake @@ -1,5 +1,5 @@ // *********************************************************************** -// Copyright (c) Charlie Poole and TestCentric GUI contributors. +// Copyright (c) Charlie Poole and contributors. // Licensed under the MIT License. See LICENSE.txt in root directory. // *********************************************************************** diff --git a/cake/test-runner.cake b/cake/test-runner.cake index 624d9fc..8a84476 100644 --- a/cake/test-runner.cake +++ b/cake/test-runner.cake @@ -1,3 +1,8 @@ +// *********************************************************************** +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. +// *********************************************************************** + #load ./assertions.cake #load ./constraints.cake diff --git a/cake/tests.cake b/cake/tests.cake index 7f9d8cc..a65c815 100644 --- a/cake/tests.cake +++ b/cake/tests.cake @@ -1,3 +1,8 @@ +// *********************************************************************** +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. +// *********************************************************************** + const string NUNIT2_RESULT_SCHEMA = "NUnit2Results.xsd"; public class ResultWriterTests diff --git a/cake/utilities.cake b/cake/utilities.cake index e3da86b..bf97ad7 100644 --- a/cake/utilities.cake +++ b/cake/utilities.cake @@ -1,3 +1,8 @@ +// *********************************************************************** +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. +// *********************************************************************** + ////////////////////////////////////////////////////////////////////// // GLOBALLY ACCESSIBLE UTILITY METHODS ////////////////////////////////////////////////////////////////////// diff --git a/cake/versioning.cake b/cake/versioning.cake index b3ebe12..8663a82 100644 --- a/cake/versioning.cake +++ b/cake/versioning.cake @@ -1,3 +1,8 @@ +// *********************************************************************** +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. +// *********************************************************************** + using System.Text.RegularExpressions; public class BuildVersion diff --git a/src/extension/NUnit2ResultSummary.cs b/src/extension/NUnit2ResultSummary.cs index 8132531..89cffa0 100644 --- a/src/extension/NUnit2ResultSummary.cs +++ b/src/extension/NUnit2ResultSummary.cs @@ -1,24 +1,6 @@ // *********************************************************************** -// Copyright (c) 2014 Charlie Poole -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. // *********************************************************************** using System; diff --git a/src/extension/NUnit2XmlResultWriter.cs b/src/extension/NUnit2XmlResultWriter.cs index 34882f1..d1a291c 100644 --- a/src/extension/NUnit2XmlResultWriter.cs +++ b/src/extension/NUnit2XmlResultWriter.cs @@ -1,24 +1,6 @@ // *********************************************************************** -// Copyright (c) 2014 Charlie Poole -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. // *********************************************************************** using System; diff --git a/src/extension/SafeAttributeAccess.cs b/src/extension/SafeAttributeAccess.cs index 7897100..f6c9c81 100644 --- a/src/extension/SafeAttributeAccess.cs +++ b/src/extension/SafeAttributeAccess.cs @@ -1,24 +1,6 @@ // *********************************************************************** -// Copyright (c) 2016 Charlie Poole -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. // *********************************************************************** using System; diff --git a/src/mock-assembly/MockAssembly.cs b/src/mock-assembly/MockAssembly.cs index 39efe5e..6730d8c 100644 --- a/src/mock-assembly/MockAssembly.cs +++ b/src/mock-assembly/MockAssembly.cs @@ -1,5 +1,5 @@ // *********************************************************************** -// Copyright (c) Charlie Poole and TestCentric GUI contributors. +// Copyright (c) Charlie Poole and contributors. // Licensed under the MIT License. See LICENSE.txt in root directory. // *********************************************************************** diff --git a/src/tests/NUnit2XmlResultWriterTests.cs b/src/tests/NUnit2XmlResultWriterTests.cs index 08d1318..fd3c756 100644 --- a/src/tests/NUnit2XmlResultWriterTests.cs +++ b/src/tests/NUnit2XmlResultWriterTests.cs @@ -1,24 +1,6 @@ // *********************************************************************** -// Copyright (c) 2016 Charlie Poole -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +// Copyright (c) Charlie Poole and contributors. +// Licensed under the MIT License. See LICENSE.txt in root directory. // *********************************************************************** using System;