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

Function test_cmd_include

test/cli/clang-import_test.py:200–204  ·  view source on GitHub ↗
(tmp_path)

Source from the content-addressed store, hash-verified

198
199
200def test_cmd_include(tmp_path):
201 inc_file = tmp_path / 'inc.h'
202 with open(inc_file, 'wt'):
203 pass
204 __test_cmd(tmp_path, 'test.cpp',['--include=inc.h'], '-x c++ --include inc.h')
205
206
207def test_cmd_enforce_c(tmp_path): # #13128

Callers

nothing calls this directly

Calls 1

__test_cmdFunction · 0.85

Tested by

no test coverage detected