test_c_family_doxygen_block_is_found_past_a_license_header

Tests › tests/test_filedocs.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. doc = extract_file_doc("src/mutex_order.c", C_SOURCE)
→

Then

  1. ✓ doc contains "deadlock"
  2. ✓ doc does not contain "Copyright"
  3. ✓ doc.startswith("*") is false

tests/test_filedocs.py:87 · its file's page

What it checks (3)

  1. assert "deadlock" in doc observes extract_file_doc via doc
  2. assert "Copyright" not in doc observes extract_file_doc via doc
  3. assert not doc.startswith("*") observes extract_file_doc via doc

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

test_c_family_doxygen_block_is_found_past_a_license_header→extract_file_doc

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.

test_c_family_doxygen_block_is_found_past_a_license_header · 3 checksextract_file_docREQ-DDB-PIPE-008 · measured

Requirements it verifies (1)

requirementlinked byimplementers exercised
REQ-DDB-SCHEMA-014catalogunknown
Also reaches 1 requirement

Its run touches their code; that is reach, not proof.