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

Function test_loadRuleTexts_empty_lines

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

Source from the content-addressed store, hash-verified

50
51
52def test_loadRuleTexts_empty_lines(checker):
53 checker.loadRuleTexts("./addons/test/misra/misra_rules_empty_lines.txt")
54 assert(len(checker.ruleTexts) == 3)
55 assert(len(checker.ruleTexts[102].text) == len("Rule text."))
56
57
58def test_loadRuleTexts_mutiple_lines(checker):

Callers

nothing calls this directly

Calls 1

loadRuleTextsMethod · 0.80

Tested by

no test coverage detected