test_one_character_has_one_spelling_in_a_reply¶
Tests › tests/test_strip_xml.py
What this test is for
Why it exists
FOUND BY ENTROPIC against the installed 2.0.0 (2026-11-23): doxygen stores the same character two ways — verbatim in some descriptions, as an entity in others (inside <computeroutput>) — so one reply could say `std::atomic<bool>` beside `n_tokens < 2`. Entities are decoded after doxygen's elements are removed, so a reply reads as the source.
Given
stored = ( "<para>Holds a <computeroutput>std::atomic<bool></computeroutput> flag; " "n_tokens < 2 & done.</para>" )
When
strip_xml(stored)strip_xml("<para>write <para> literally</para>")
Then
- ✓ strip_xml(stored) equals "Holds a std::atomic<bool> flag; n_tokens < 2 & done."
- ✓ strip_xml("<para>write <para> literally</para>") equals "write <para> literally"
tests/test_strip_xml.py:28 · its file's page
What it checks (2)
assert strip_xml(stored) == "Holds a std::atomic<bool> flag; n_tokens < 2 & done."observesstrip_xmlassert strip_xml("<para>write <para> literally</para>") == "write <para> literally"observesstrip_xml
Where the product reaches it
build_wiki→_build_site→test_pages→_briefs→strip_xml(flow)
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 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-QUERY-003 measured