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

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests/ToStringByte.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2021-09-15 21:46:07 +0200
committerMartin Hořeňovský2021-09-15 23:38:43 +0200
commit3f8cae8025f4f5e804383f44bb393a63bcef90a4 (patch)
tree6968a937b713cc21820c3ae32ca45239dd0a809a /tests/SelfTest/UsageTests/ToStringByte.tests.cpp
parent2c82f82ee211b011460f2f44647b69e0feaf3d4e (diff)
downloadcatch3-3f8cae8025f4f5e804383f44bb393a63bcef90a4.tar.gz
Add consistency-checking event listener to SelfTest
This event listener performs basic consistency checks (akin to matching braces) on events that are passed to the listeners when the `SelfTest` test binary is run. The current checks are about nesting events (e.g. `testCaseStarting` cannot be received before `testRunStarting`, `sectionStarting` can only be received when a test case is active, etc), and matching up counts of starting/ended events. The simplicity means that it could be confused by starting/ended events matching up but being out of order, e.g. ``` * test case A starting * test case B ended * test case B starting * test case A ended ``` would be accepted, even though it is wrong. However, doing full order checking would be much more implementation work, for relatively little benefit, so it is left out for now.
Diffstat (limited to 'tests/SelfTest/UsageTests/ToStringByte.tests.cpp')
0 files changed, 0 insertions, 0 deletions