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

Function test_sln_no_projects

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

Source from the content-addressed store, hash-verified

111
112
113def test_sln_no_projects(tmpdir):
114 content = "\xEF\xBB\xBF\r\n" \
115 "Microsoft Visual Studio Solution File, Format Version 12.00\r\n"
116
117 expected = "no projects found in Visual Studio solution file"
118
119 __test_project_error(tmpdir, "sln", content, expected)
120
121
122def test_sln_project_file_not_found(tmpdir):

Callers

nothing calls this directly

Calls 1

__test_project_errorFunction · 0.85

Tested by

no test coverage detected