Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorLeitwolf112026-11-01 22:05:27 +0300
committerLeitwolf112026-11-01 22:05:27 +0300
commit241b5567d09d59e82bff18287c32ada480deb8c0 (patch)
tree24bb446828301b1fdfb60ceef08c2a8fec23ab3e /docs
parent5cbd481125b881a4c2eed74050be9899eb3f23a7 (diff)
downloadcatch3-241b5567d09d59e82bff18287c32ada480deb8c0.tar.gz
Carry mocks in the amalgamated files
Mock.hpp goes into catch_amalgamated.hpp, since tests use it directly, and Mock.cpp into catch_amalgamated.cpp. The test of the amalgamated files now uses a mock, so a file left out fails it.
Diffstat (limited to 'docs')
-rw-r--r--docs/progmasoft-mocking.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/progmasoft-mocking.md b/docs/progmasoft-mocking.md
index f79a537e..69043646 100644
--- a/docs/progmasoft-mocking.md
+++ b/docs/progmasoft-mocking.md
@@ -43,6 +43,8 @@ a skip, the expectations it did not reach are not reported on top of it.
`Verify()` checks the expectations earlier and forgets them, for a test case
that goes on with new ones.
+With the amalgamated files, `catch_amalgamated.hpp` holds all of this.
+
## Declaring mocks
`CATCH3_MOCK_METHOD(result, name, (types), specifiers)` declares the member