mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Cleanup summary comments in ExtraTests
This commit is contained in:
parent
635db2785f
commit
79e4cd1af4
@ -6,10 +6,13 @@
|
|||||||
|
|
||||||
// SPDX-License-Identifier: BSL-1.0
|
// SPDX-License-Identifier: BSL-1.0
|
||||||
|
|
||||||
// X01-DisableStringification.cpp
|
/**\file
|
||||||
// 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
|
*
|
||||||
// the other branch as well
|
* We intentionally do not provide full coverage of all macros, but we
|
||||||
|
* test a smattering and can add other ones as they have regressions.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <catch2/catch_test_macros.hpp>
|
#include <catch2/catch_test_macros.hpp>
|
||||||
#include <catch2/matchers/catch_matchers_predicate.hpp>
|
#include <catch2/matchers/catch_matchers_predicate.hpp>
|
||||||
|
@ -6,9 +6,11 @@
|
|||||||
|
|
||||||
// SPDX-License-Identifier: BSL-1.0
|
// SPDX-License-Identifier: BSL-1.0
|
||||||
|
|
||||||
// X02-DisabledMacros.cpp
|
/**\file
|
||||||
// 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <catch2/catch_test_macros.hpp>
|
#include <catch2/catch_test_macros.hpp>
|
||||||
#include <catch2/benchmark/catch_benchmark.hpp>
|
#include <catch2/benchmark/catch_benchmark.hpp>
|
||||||
|
@ -6,8 +6,13 @@
|
|||||||
|
|
||||||
// SPDX-License-Identifier: BSL-1.0
|
// SPDX-License-Identifier: BSL-1.0
|
||||||
|
|
||||||
// X10-FallbackStringifier.cpp
|
/**\file
|
||||||
// Test that defining fallbackStringifier compiles
|
* Test that the user can define custom fallbackStringifier
|
||||||
|
*
|
||||||
|
* This is done by defining a custom fallback stringifier that prints
|
||||||
|
* out a specific string, and then asserting (to cause stringification)
|
||||||
|
* over a type without stringification support.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -6,11 +6,13 @@
|
|||||||
|
|
||||||
// SPDX-License-Identifier: BSL-1.0
|
// SPDX-License-Identifier: BSL-1.0
|
||||||
|
|
||||||
// X11-DisableStringification.cpp
|
/**\file
|
||||||
// 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
|
*
|
||||||
// and preprocessor token pasting. In other words, hopefully this test
|
* This is a workaround for VS 2017, 2019 issue with Raw String literals
|
||||||
// will be deleted soon :-)
|
* and preprocessor token pasting.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <catch2/catch_test_macros.hpp>
|
#include <catch2/catch_test_macros.hpp>
|
||||||
|
|
||||||
|
@ -6,8 +6,9 @@
|
|||||||
|
|
||||||
// SPDX-License-Identifier: BSL-1.0
|
// SPDX-License-Identifier: BSL-1.0
|
||||||
|
|
||||||
// X12-CustomDebugBreakMacro.cpp
|
/**\file
|
||||||
// Test that user-defined `CATCH_BREAK_INTO_DEBUGGER` is respected and used.
|
* Test that user-defined `CATCH_BREAK_INTO_DEBUGGER` is respected and used.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
@ -6,10 +6,12 @@
|
|||||||
|
|
||||||
// SPDX-License-Identifier: BSL-1.0
|
// SPDX-License-Identifier: BSL-1.0
|
||||||
|
|
||||||
// X90-WindowsHeaderInclusion.cpp
|
/**\file
|
||||||
// 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.
|
||||||
// wrong.
|
*
|
||||||
|
* As an FYI, if you do that, you are wrong.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <catch2/catch_test_macros.hpp>
|
#include <catch2/catch_test_macros.hpp>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
// SPDX-License-Identifier: BSL-1.0
|
// 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
|
||||||
* version of Catch2.
|
* version of Catch2.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user