Use the new licence header in ExtraTests's cpp files

This commit is contained in:
Martin Hořeňovský 2022-01-29 00:07:44 +01:00
parent 51888d360a
commit 635db2785f
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
9 changed files with 72 additions and 0 deletions

View File

@ -1,3 +1,11 @@
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
// X01-DisableStringification.cpp // X01-DisableStringification.cpp
// Test that Catch's prefixed macros compile and run properly. // Test that Catch's prefixed macros compile and run properly.
// This won't provide full coverage, but it might be worth checking // This won't provide full coverage, but it might be worth checking

View File

@ -1,3 +1,11 @@
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
// X02-DisabledMacros.cpp // X02-DisabledMacros.cpp
// Test that CATCH_CONFIG_DISABLE turns off TEST_CASE autoregistration // Test that CATCH_CONFIG_DISABLE turns off TEST_CASE autoregistration
// and expressions in assertion macros are not run. // and expressions in assertion macros are not run.

View File

@ -1,3 +1,11 @@
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
#include <catch2/catch_test_macros.hpp> #include <catch2/catch_test_macros.hpp>
#include <catch2/benchmark/catch_benchmark.hpp> #include <catch2/benchmark/catch_benchmark.hpp>
#include <catch2/matchers/catch_matchers.hpp> #include <catch2/matchers/catch_matchers.hpp>

View File

@ -1,3 +1,11 @@
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
#include <catch2/catch_test_macros.hpp> #include <catch2/catch_test_macros.hpp>
namespace Catch { namespace Catch {

View File

@ -1,3 +1,11 @@
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
// X10-FallbackStringifier.cpp // X10-FallbackStringifier.cpp
// Test that defining fallbackStringifier compiles // Test that defining fallbackStringifier compiles

View File

@ -1,3 +1,11 @@
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
// X11-DisableStringification.cpp // X11-DisableStringification.cpp
// Test that stringification of original expression can be disabled // Test that stringification of original expression can be disabled
// this is a workaround for VS 2017 issue with Raw String literal // this is a workaround for VS 2017 issue with Raw String literal

View File

@ -1,3 +1,11 @@
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
// X12-CustomDebugBreakMacro.cpp // X12-CustomDebugBreakMacro.cpp
// Test that user-defined `CATCH_BREAK_INTO_DEBUGGER` is respected and used. // Test that user-defined `CATCH_BREAK_INTO_DEBUGGER` is respected and used.

View File

@ -1,3 +1,11 @@
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
// X90-WindowsHeaderInclusion.cpp // X90-WindowsHeaderInclusion.cpp
// Test that the Catch2 header compiles even after including windows.h // Test that the Catch2 header compiles even after including windows.h
// without defining NOMINMAX first. As an FYI, if you do that, you are // without defining NOMINMAX first. As an FYI, if you do that, you are

View File

@ -1,3 +1,11 @@
// Copyright Catch2 Authors
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
// SPDX-License-Identifier: BSL-1.0
/**\file /**\file
* *
* This file serves as a simple compilation test against the amalgamated * This file serves as a simple compilation test against the amalgamated