MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / checker

Function checker

addons/test/misra_test.py:25–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24@pytest.fixture(scope="function")
25def checker():
26 from addons.misra import MisraChecker, MisraSettings, get_args_parser
27 parser = get_args_parser()
28 args = parser.parse_args([])
29 settings = MisraSettings(args)
30 return MisraChecker(settings)
31
32
33# FIXME: files are generates in the source tree so it will cause issues if tests are run with xdist.

Callers

nothing calls this directly

Calls 3

get_args_parserFunction · 0.90
MisraSettingsClass · 0.90
MisraCheckerClass · 0.90

Tested by

no test coverage detected