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

Function test_sln_invalid_file

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

Source from the content-addressed store, hash-verified

94
95
96def test_sln_invalid_file(tmpdir):
97 content = "some file"
98
99 expected = "Visual Studio solution file header not found"
100
101 __test_project_error(tmpdir, "sln", content, expected)
102
103
104def test_sln_no_header(tmpdir):

Callers

nothing calls this directly

Calls 1

__test_project_errorFunction · 0.85

Tested by

no test coverage detected