From 35cba5486d47adcc8978eefcf7e4a66d4834b5f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Mon, 10 May 2021 21:49:40 +0200 Subject: [PATCH] Remove mention of `ANON_TEST_CASE` from documentation It was removed from v3, because the standard `TEST_CASE` can now be anonymous as well. --- docs/other-macros.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/docs/other-macros.md b/docs/other-macros.md index f23ee6c2..5e7f0af0 100644 --- a/docs/other-macros.md +++ b/docs/other-macros.md @@ -119,21 +119,6 @@ is initiated. This means that it either needs to be done in a global constructor, or before Catch2's session is created in user's own main._ -* `ANON_TEST_CASE` - -`ANON_TEST_CASE` is a `TEST_CASE` replacement that will autogenerate -unique name. The advantage of this is that you do not have to think -of a name for the test case,`the disadvantage is that the name doesn't -necessarily remain stable across different links, and thus it might be -hard to run directly. - -Example: -```cpp -ANON_TEST_CASE() { - SUCCEED("Hello from anonymous test case"); -} -``` - * `DYNAMIC_SECTION` > Introduced in Catch2 2.3.0.