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

Function test_sln_no_header

test/cli/project_test.py:104–110  ·  view source on GitHub ↗
(tmpdir)

Source from the content-addressed store, hash-verified

102
103
104def test_sln_no_header(tmpdir):
105 content = "\xEF\xBB\xBF\r\n" \
106 "some header"
107
108 expected = "Visual Studio solution file header not found"
109
110 __test_project_error(tmpdir, "sln", content, expected)
111
112
113def test_sln_no_projects(tmpdir):

Callers

nothing calls this directly

Calls 1

__test_project_errorFunction · 0.85

Tested by

no test coverage detected