From e86edc38206d784e708af6531c5ce43776a6363a Mon Sep 17 00:00:00 2001 From: tomaszkam Date: Sat, 23 Jun 2018 16:39:00 +0200 Subject: [PATCH] Added missing license to unit test files (#356) --- test/clock_cast_test/custom_clock.pass.cpp | 2 +- test/clock_cast_test/local_t.pass.cpp | 22 +++++++++++++++++++ test/clock_cast_test/noncastable.pass.cpp | 2 +- .../to_sys_return_utc_time.fail.cpp | 2 +- test/tz_test/zone.pass.cpp | 22 +++++++++++++++++++ 5 files changed, 47 insertions(+), 3 deletions(-) diff --git a/test/clock_cast_test/custom_clock.pass.cpp b/test/clock_cast_test/custom_clock.pass.cpp index fe3b05a..1c64a5d 100644 --- a/test/clock_cast_test/custom_clock.pass.cpp +++ b/test/clock_cast_test/custom_clock.pass.cpp @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2017 Tomasz Kamiński +// Copyright (c) 2017, 2018 Tomasz Kamiński // // 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/test/clock_cast_test/local_t.pass.cpp b/test/clock_cast_test/local_t.pass.cpp index ecc821a..c80459d 100644 --- a/test/clock_cast_test/local_t.pass.cpp +++ b/test/clock_cast_test/local_t.pass.cpp @@ -1,3 +1,25 @@ +// The MIT License (MIT) +// +// Copyright (c) 2018 Tomasz Kamiński +// +// 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. + #include #include "date/tz.h" diff --git a/test/clock_cast_test/noncastable.pass.cpp b/test/clock_cast_test/noncastable.pass.cpp index 6a91f57..373f223 100644 --- a/test/clock_cast_test/noncastable.pass.cpp +++ b/test/clock_cast_test/noncastable.pass.cpp @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2017 Tomasz Kamiński +// Copyright (c) 2017, 2018 Tomasz Kamiński // // 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/test/clock_cast_test/to_sys_return_utc_time.fail.cpp b/test/clock_cast_test/to_sys_return_utc_time.fail.cpp index 6fc7a2b..a3e715c 100644 --- a/test/clock_cast_test/to_sys_return_utc_time.fail.cpp +++ b/test/clock_cast_test/to_sys_return_utc_time.fail.cpp @@ -1,6 +1,6 @@ // The MIT License (MIT) // -// Copyright (c) 2017 Tomasz Kamiński +// Copyright (c) 2017, 2018 Tomasz Kamiński // // 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/test/tz_test/zone.pass.cpp b/test/tz_test/zone.pass.cpp index 30329e5..a0b003c 100644 --- a/test/tz_test/zone.pass.cpp +++ b/test/tz_test/zone.pass.cpp @@ -1,3 +1,25 @@ +// The MIT License (MIT) +// +// Copyright (c) 2015, 2016 Howard Hinnant +// +// 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. + #include "tz.h" #include