test_text_that_looks_like_a_doxygen_element_is_kept¶
Tests › tests/test_wiki_apiref.py
What this test is for
Why it exists
ENTROPIC'S AUDIT, the last 3 of 1,485: `<root>/sub/.gitignore` and `"summary":"<summary>"` are text, though `summary` is also a doxygen element name. An element name whose opens and closes do not balance is text.
Given
- —
When
doc_text("<para>Path (e.g. <root>/sub/.gitignore).</para>")doc_text('<para>{"summary":"<summary>"}</para>')doc_text('<para>See <image type="html" name="a.png"/><ulink url="u">it</ulink>.</para>')
Then
- ✓ doc_text("<para>Path (e.g. <root>/sub/.gitignore).</para>") equals "Path (e.g. <root>/sub/.gitignore)."
- ✓ doc_text('<para>{"summary":"<summary>"}</para>') equals '{"summary":"<summary>"}'
- ✓ doc_text('<para>See <image type="html" name="a.png"/><ulink url="u">it</ulink>.</para>') equals "See it ."
tests/test_wiki_apiref.py:434 · its file's page
What it checks (3)
assert ( doc_text("<para>Path (e.g. <root>/sub/.gitignore).</para>") == "Path (e.g. <root>/sub/.gitignore)." )observesdoc_textassert doc_text('<para>{"summary":"<summary>"}</para>') == '{"summary":"<summary>"}'observesdoc_textassert ( doc_text('<para>See <image type="html" name="a.png"/><ulink url="u">it</ulink>.</para>') == "See it ." )observesdoc_text
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.
Also reaches 2 requirements
Its run touches their code; that is reach, not proof.
- REQ-DDB-QUERY-003 inferred
- REQ-DDB-WIKI-053 measured