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

Function test_read_ctu_info_line

addons/test/misra_test.py:169–173  ·  view source on GitHub ↗
(checker)

Source from the content-addressed store, hash-verified

167
168
169def test_read_ctu_info_line(checker):
170 assert checker.read_ctu_info_line('{') is None
171 assert checker.read_ctu_info_line('{"summary":"123"}') is None
172 assert checker.read_ctu_info_line('{"data":123}') is None
173 assert checker.read_ctu_info_line('{"summary":"123","data":123}') is not None
174
175def test_platform(checker):
176 test_file = os.path.join('addons','test','misra','misra-test.c')

Callers

nothing calls this directly

Calls 1

read_ctu_info_lineMethod · 0.80

Tested by

no test coverage detected