test_text_that_looks_like_a_doxygen_element_is_kept

Tests › tests/test_wiki_apiref.py

passed Passed in the packaged run.

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

  1. —
→

When

  1. doc_text("<para>Path (e.g. <root>/sub/.gitignore).</para>")
  2. doc_text('<para>{"summary":"<summary>"}</para>')
  3. doc_text('<para>See <image type="html" name="a.png"/><ulink url="u">it</ulink>.</para>')
→

Then

  1. ✓ doc_text("<para>Path (e.g. <root>/sub/.gitignore).</para>") equals "Path (e.g. <root>/sub/.gitignore)."
  2. ✓ doc_text('<para>{"summary":"<summary>"}</para>') equals '{"summary":"<summary>"}'
  3. ✓ 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)

  1. assert ( doc_text("<para>Path (e.g. <root>/sub/.gitignore).</para>") == "Path (e.g. <root>/sub/.gitignore)." ) observes doc_text
  2. assert doc_text('<para>{"summary":"<summary>"}</para>') == '{"summary":"<summary>"}' observes doc_text
  3. assert ( doc_text('<para>See <image type="html" name="a.png"/><ulink url="u">it</ulink>.</para>') == "See it ." ) observes doc_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

test_text_that_looks_like_a_doxygen_element_is_kept→doc_text

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_text_that_looks_like_a_doxygen_element_is_kept · 3 checksdoc_textstrip_xmlREQ-DDB-QUERY-003 · inferreddoc_textREQ-DDB-WIKI-053 · measured
Also reaches 2 requirements

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