Rise
The Vieneo Province
Loading...
Searching...
No Matches
BuildTestCatalog Namespace Reference

Functions

 read (path)
 mask (text)
 close (text, start, opening='(', closing=')')
 strings (text)
 messages (text)
 cpp_cases (text)
 python_cases (text)
 source_cases (path)
 inventory ()
 includes (entry)
 ident (text)
 case_title (name)
 escape (text)
 generate (data)
 main ()

Variables

 ROOT = Path(__file__).resolve().parents[1]
str MANIFEST = ROOT / 'docs/TestCatalog.json'
str OUTPUT = ROOT / 'docs/TestCatalog.dox'
 TOKEN = re.compile(r'R"(?P<delim>[^ ()\\\t\r\n]{0,16})\‍(.*?\‍)(?P=delim)"|//[^\n]*|/\*.*?\*/|(?:u8|[LuU])?"(?:\\.|[^"\\‍])*"|\'(?:\\.|[^\'\\‍])*\'', re.S)
 CHECK = re.compile(r'\b(?:Check|check|Require|require|Expect|Assert|Near|HR|CHECK|REQUIRE|assert|static_assert|CheckNear|ExpectNear)\s*\‍(')

Detailed Description

Build/check the Doxygen test catalog without importing or running any tests.

Run with Python 3.10+: python docs/BuildTestCatalog.py [--check]
The reviewed fixture and case inventory lives in TestCatalog.json. Assertion
messages are read from source, so the documentation quotes the actual checks.

Function Documentation

◆ case_title()

case_title ( name)

Definition at line 195 of file BuildTestCatalog.py.

◆ close()

close ( text,
start,
opening = '(',
closing = ')' )

Definition at line 33 of file BuildTestCatalog.py.

Here is the caller graph for this function:

◆ cpp_cases()

cpp_cases ( text)

Definition at line 89 of file BuildTestCatalog.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ escape()

escape ( text)

Definition at line 206 of file BuildTestCatalog.py.

Here is the caller graph for this function:

◆ generate()

generate ( data)

Definition at line 216 of file BuildTestCatalog.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ident()

ident ( text)

Definition at line 191 of file BuildTestCatalog.py.

Here is the caller graph for this function:

◆ includes()

includes ( entry)
Local test-source closure; never follow production or generated trees.

Definition at line 172 of file BuildTestCatalog.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ inventory()

inventory ( )

Definition at line 158 of file BuildTestCatalog.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

main ( )

Definition at line 345 of file BuildTestCatalog.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mask()

mask ( text)

Definition at line 29 of file BuildTestCatalog.py.

Here is the caller graph for this function:

◆ messages()

messages ( text)

Definition at line 61 of file BuildTestCatalog.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ python_cases()

python_cases ( text)

Definition at line 124 of file BuildTestCatalog.py.

Here is the caller graph for this function:

◆ read()

read ( path)

Definition at line 25 of file BuildTestCatalog.py.

Here is the caller graph for this function:

◆ source_cases()

source_cases ( path)

Definition at line 148 of file BuildTestCatalog.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ strings()

strings ( text)

Definition at line 45 of file BuildTestCatalog.py.

Here is the caller graph for this function:

Variable Documentation

◆ CHECK

BuildTestCatalog.CHECK = re.compile(r'\b(?:Check|check|Require|require|Expect|Assert|Near|HR|CHECK|REQUIRE|assert|static_assert|CheckNear|ExpectNear)\s*\‍(')

Definition at line 22 of file BuildTestCatalog.py.

◆ MANIFEST

str BuildTestCatalog.MANIFEST = ROOT / 'docs/TestCatalog.json'

Definition at line 19 of file BuildTestCatalog.py.

◆ OUTPUT

str BuildTestCatalog.OUTPUT = ROOT / 'docs/TestCatalog.dox'

Definition at line 20 of file BuildTestCatalog.py.

◆ ROOT

BuildTestCatalog.ROOT = Path(__file__).resolve().parents[1]

Definition at line 18 of file BuildTestCatalog.py.

◆ TOKEN

BuildTestCatalog.TOKEN = re.compile(r'R"(?P<delim>[^ ()\\\t\r\n]{0,16})\‍(.*?\‍)(?P=delim)"|//[^\n]*|/\*.*?\*/|(?:u8|[LuU])?"(?:\\.|[^"\\‍])*"|\'(?:\\.|[^\'\\‍])*\'', re.S)

Definition at line 21 of file BuildTestCatalog.py.