test_c_family_doxygen_block_is_found_past_a_license_header¶
Tests › tests/test_filedocs.py
What this test is for
Why it exists
The `/* Copyright */` line must be SKIPPED OVER rather than terminating the search — the same shape as the `#`-divider trap that used to make doxygen-guard read the wrong block.
Verifies REQ-DDB-SCHEMA-014
Given
- —
When
doc = extract_file_doc("src/mutex_order.c", C_SOURCE)
Then
- ✓ doc contains "deadlock"
- ✓ doc does not contain "Copyright"
- ✓ doc.startswith("*") is false
tests/test_filedocs.py:87 · its file's page
What it checks (3)
assert "deadlock" in docobservesextract_file_docviadocassert "Copyright" not in docobservesextract_file_docviadocassert not doc.startswith("*")observesextract_file_docviadoc
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
What it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Requirements it verifies (1)
| requirement | linked by | implementers exercised |
|---|---|---|
| REQ-DDB-SCHEMA-014 | catalog | unknown |
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-PIPE-008 measured