diff options
| author | Martin Hořeňovský | 2021-05-10 21:49:40 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2021-05-10 21:49:45 +0200 |
| commit | 35cba5486d47adcc8978eefcf7e4a66d4834b5f0 (patch) | |
| tree | 54a70f0991b7d757f855069e4af94a10d1592194 /docs | |
| parent | eb911aa995d806a5989cc026df7e8b69c470c4c8 (diff) | |
| download | catch3-35cba5486d47adcc8978eefcf7e4a66d4834b5f0.tar.gz | |
Remove mention of `ANON_TEST_CASE` from documentation
It was removed from v3, because the standard `TEST_CASE` can now be
anonymous as well.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/other-macros.md | 15 |
1 files changed, 0 insertions, 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. |