(tmpdir)
| 148 | |
| 149 | |
| 150 | def test_slnx_no_projects(tmpdir): |
| 151 | content = '<?xml version="1.0" encoding="UTF-8"?>\r\n' \ |
| 152 | "<Solution>\r\n" \ |
| 153 | " <Configurations>\r\n" \ |
| 154 | ' <Platform Name="x64" />\r\n' \ |
| 155 | ' <Platform Name="x86" />\r\n' \ |
| 156 | " </Configurations>\r\n" \ |
| 157 | "</Solution>\r\n" |
| 158 | |
| 159 | expected = "no projects found in Visual Studio solution file" |
| 160 | |
| 161 | __test_project_error(tmpdir, "slnx", content, expected) |
| 162 | |
| 163 | |
| 164 | def test_slnx_project_file_not_found(tmpdir): |
nothing calls this directly
no test coverage detected